:root {
  --bg-primary: #070A12;
  --bg-secondary: #0C1024;
  --bg-surface: #121A33;
  
  --accent-cyan-1: #00e5ff;
  --accent-cyan-2: #00bcd4;
  --accent-purple-1: #7c4dff;
  --accent-purple-2: #b388ff;
  --accent-lime-1: #a6ff00;
  --accent-lime-2: #6dff7a;

  --grad-cyan: linear-gradient(135deg, var(--accent-cyan-1), var(--accent-cyan-2));
  --grad-purple: linear-gradient(135deg, var(--accent-purple-1), var(--accent-purple-2));
  --grad-lime: linear-gradient(135deg, var(--accent-lime-1), var(--accent-lime-2));

  --glow-cyan: rgba(0, 229, 255, 0.45);
  --glow-purple: rgba(124, 77, 255, 0.40);
  --glow-lime: rgba(166, 255, 0, 0.30);

  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-blur: blur(26px);
  --glass-border: 1px solid rgba(0, 229, 255, 0.18);
  --glass-shadow: 0 0 50px rgba(0, 229, 255, 0.18);

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  
  --nav-height: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: #ffffff;
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(124, 77, 255, 0.08), transparent 25%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
              linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
  animation: grid-move 20s linear infinite;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

a {
  color: var(--accent-cyan-1);
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography & Colors */
.text-cyan { color: var(--accent-cyan-1); text-shadow: 0 0 10px var(--glow-cyan); }
.text-purple { color: var(--accent-purple-1); text-shadow: 0 0 10px var(--glow-purple); }
.text-lime { color: var(--accent-lime-1); text-shadow: 0 0 10px var(--glow-lime); }

.mono-text { font-family: var(--font-mono); }

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
}

/* Animations */
@keyframes grid-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--glow-cyan); }
  50% { box-shadow: 0 0 50px var(--glow-cyan), 0 0 80px var(--accent-cyan-1); }
}

@keyframes spin-reel {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.scanline-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.1), transparent);
  height: 10px;
  animation: scanline 6s linear infinite;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  z-index: 1000;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 15px var(--glow-cyan);
}

.brand-logo img {
  height: 40px;
  width: auto;
  animation: float 4s ease-in-out infinite;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #a0a5b5;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
  text-shadow: 0 0 10px var(--glow-cyan);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; width: 0%; height: 2px;
  background: var(--grad-cyan);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: var(--grad-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--glow-cyan);
  color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-cyan-1);
  border: 1px solid var(--accent-cyan-1);
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.3);
}

/* Hero Section */
.hero {
  padding: calc(var(--nav-height) + 60px) 5% 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #a0a5b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.2rem;
  color: #a0a5b5;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--accent-cyan-1);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hologram-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 70%);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 4s infinite alternate;
}

.hologram-container img {
  width: 80%;
  height: auto;
  filter: drop-shadow(0 0 30px var(--glow-cyan));
  animation: float 6s ease-in-out infinite;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 12px 5%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.5px;
}

/* Game Section */
.section-game {
  padding: 100px 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: #a0a5b5;
  max-width: 600px;
  margin: 0 auto;
}

.game-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.game-container {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #000;
  padding: 4px; /* Border glow thickness */
  background: linear-gradient(135deg, var(--accent-cyan-1), var(--accent-purple-1));
  box-shadow: 0 0 80px rgba(0, 229, 255, 0.2);
}

.game-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 24px;
  background: var(--bg-primary);
}

.game-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding: 1rem 2rem;
}

/* Features Matrix Grid */
.section-features {
  padding: 100px 5%;
  position: relative;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(transparent, rgba(0,229,255,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 229, 255, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-cyan-1);
}

.feature-card p {
  color: #a0a5b5;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  padding: 80px 5% 40px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.footer-brand p {
  color: #a0a5b5;
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: #a0a5b5;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-cyan-1);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #6b7280;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.footer-disclaimer {
  margin-bottom: 1rem;
  color: #888;
}

/* Internal Pages (Legal/Info) */
.page-header {
  padding: 180px 5% 80px;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,229,255,0.05), transparent);
}

.page-content {
  max-width: 800px;
  margin: 0 auto 100px;
  padding: 0 5%;
}

.page-content h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--accent-cyan-1);
}

.page-content p {
  color: #a0a5b5;
  margin-bottom: 1.5rem;
}

.page-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1.5rem;
  color: #a0a5b5;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 5%;
}

.contact-info {
  padding: 3rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: var(--accent-cyan-1);
}

.contact-info p {
  color: #a0a5b5;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 1rem;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-mono);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-cyan-1);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

/* Mobile Specifics */
.mobile-bottom-nav, .mobile-sticky-spin {
  display: none;
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav-links { display: none; } /* Replaced by bottom nav on mobile */
  .hero-text h1 { font-size: 2.5rem; }
  .game-container { aspect-ratio: auto; height: 60vh; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 1.5rem auto 0; }
  
  /* Mobile App feel */
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(7, 10, 18, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    padding: 10px 0;
    z-index: 1000;
  }
  
  .mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    color: #a0a5b5;
    font-family: var(--font-display);
  }

  .mobile-bottom-nav a.active {
    color: var(--accent-cyan-1);
  }
  
  .mobile-sticky-spin {
    display: flex;
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
  }
  
  .mobile-sticky-spin .btn { width: 100%; padding: 16px; font-size: 1.1rem; }
  
  body { padding-bottom: 120px; }
}