:root {
  --bg: #050507;
  --bg-alt: #08080D;
  --text: #FFFFFF;
  --text-muted: #888896;
  --accent: #00F0FF;
  --accent-2: #FFD700;
  --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Rajdhani', sans-serif; overflow-x: hidden; width: 100%; position: relative; cursor: none; }

#app-wrapper { width: 100%; position: relative; z-index: 2; }

/* Custom Neon Scrollbar & Progress */
#progress-bar { position: fixed; top: 0; left: 0; height: 4px; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 99999; box-shadow: 0 0 10px var(--accent); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 4px; box-shadow: 0 0 10px var(--accent); }

/* Scroll-Driven Frame Sequence Background */
#frame-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: none; }
#frame-static { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; background-size: cover; background-position: center; display: none; }
@media (min-width: 993px) { #frame-canvas { display: block; } }
@media (max-width: 992px) { #frame-static { display: block; } #frame-canvas { display: block; z-index: 1; } }

/* FIX: Reduced overlay opacity to make background video highly visible */
.frame-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(5,5,7,0.6) 0%, rgba(5,5,7,0.2) 40%, rgba(5,5,7,0.2) 60%, rgba(5,5,7,0.6) 100%); }

/* Glitch Wipe Overlay */
#glitch-overlay { position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0; background: linear-gradient(0deg, transparent, rgba(0,240,255,0.1), transparent); mix-blend-mode: difference; }
#glitch-overlay.active { animation: glitchWipe 0.3s ease-out; }
@keyframes glitchWipe { 0% { transform: translateY(-100%); opacity: 1; } 100% { transform: translateY(100%); opacity: 0; } }

/* Custom Cursor & Trail */
#cursor { position: fixed; top: 0; left: 0; width: 8px; height: 8px; background: #fff; border-radius: 50%; pointer-events: none; z-index: 99999; mix-blend-mode: difference; transition: width 0.3s, height 0.3s; }
#cursor.hover { width: 60px; height: 60px; background: var(--accent); }
.cursor-trail { position: fixed; top: 0; left: 0; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; pointer-events: none; z-index: 99998; opacity: 0; }
@media (max-width: 992px) { body { cursor: auto; } #cursor, .cursor-trail { display: none; } }

::selection { background: var(--accent); color: #000; }

/* Navbar */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 24px 48px; display: flex; justify-content: space-between; align-items: center; transition: all 0.4s ease; mix-blend-mode: difference; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.nav-logo-img { width: 36px; height: 36px; border-radius: 8px; }
.nav-logo-text { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.1em; }

/* 3D Liquid Glass Download Button */
.btn-holo { font-family: 'Rajdhani', sans-serif; text-decoration: none; font-size: 0.9rem; font-weight: 700; padding: 12px 24px; border-radius: 100px; color: #000; position: relative; overflow: hidden; background: linear-gradient(135deg, #00F0FF, #0066FF, #FFD700, #00F0FF); background-size: 300% 300%; animation: holoShift 4s ease infinite; box-shadow: 0 0 20px rgba(0, 240, 255, 0.4); transition: transform 0.3s; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.4); will-change: transform; text-transform: uppercase; }
@keyframes holoShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.btn-holo::after { content: ''; position: absolute; top: 0; left: -50%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent); transform: skewX(-25deg); animation: shine 3s infinite; }
@keyframes shine { 0% { left: -50%; } 100% { left: 150%; } }

/* Sound Toggle & Audio Visualizer */
#sound-toggle { position: fixed; bottom: 30px; right: 30px; z-index: 9999; width: 50px; height: 50px; border-radius: 50%; background: rgba(0, 0, 0, 0.8); border: 1px solid var(--accent); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: var(--accent); cursor: pointer; transition: all 0.3s; }
#sound-toggle:hover { transform: scale(1.1); border-color: var(--accent-2); color: var(--accent-2); }
#sound-toggle svg { width: 20px; height: 20px; }
#audio-visualizer { position: fixed; bottom: 30px; right: 90px; z-index: 9999; display: flex; align-items: flex-end; gap: 3px; height: 30px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
#audio-visualizer.active { opacity: 1; }
.audio-bar { width: 4px; background: var(--accent); border-radius: 2px; box-shadow: 0 0 8px var(--accent); animation: audioWave 0.8s ease-in-out infinite alternate; }
.audio-bar:nth-child(1) { animation-delay: 0.1s; height: 60%; } .audio-bar:nth-child(2) { animation-delay: 0.3s; height: 80%; } .audio-bar:nth-child(3) { animation-delay: 0.2s; height: 40%; } .audio-bar:nth-child(4) { animation-delay: 0.4s; height: 90%; }
@keyframes audioWave { 0% { transform: scaleY(0.3); } 100% { transform: scaleY(1); } }

/* Music Player Toggle (bottom-left) */
#music-toggle { position: fixed; bottom: 30px; left: 30px; z-index: 9999; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,215,0,0.18), rgba(0,0,0,0.85) 60%); border: 1px solid rgba(255,215,0,0.55); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: var(--accent-2); cursor: pointer; transition: all 0.3s; overflow: hidden; }
#music-toggle:hover { transform: scale(1.12); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 22px rgba(0,240,255,0.45); }
#music-toggle.on { animation: musicPulse 1.6s ease-in-out infinite; }
#music-toggle svg { width: 20px; height: 20px; position: relative; z-index: 2; transition: all 0.3s; }
#music-toggle.on svg { animation: musicNoteBounce 1.2s ease-in-out infinite; }
.music-ring { position: absolute; inset: 3px; border-radius: 50%; border: 2px dashed rgba(255,215,0,0.5); opacity: 0; transition: opacity 0.4s; }
#music-toggle.on .music-ring { opacity: 1; animation: musicSpin 6s linear infinite; }
.music-eq { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: 3px; z-index: 1; }
#music-toggle.on .music-eq { display: flex; }
.music-eq i { width: 3px; height: 10px; border-radius: 2px; background: var(--accent-2); box-shadow: 0 0 6px rgba(255,215,0,0.8); opacity: 0; animation: eqBounce 1s ease-in-out infinite; }
.music-eq i:nth-child(1) { animation-delay: 0s; } .music-eq i:nth-child(2) { animation-delay: 0.2s; } .music-eq i:nth-child(3) { animation-delay: 0.4s; } .music-eq i:nth-child(4) { animation-delay: 0.1s; }
#music-toggle.on .music-eq i { opacity: 1; }
@keyframes musicPulse { 0%, 100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); } 50% { box-shadow: 0 0 26px rgba(255, 215, 0, 0.85); } }
@keyframes musicSpin { to { transform: rotate(360deg); } }
@keyframes musicNoteBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes eqBounce { 0%, 100% { height: 8px; } 50% { height: 16px; } }
#music-nowplaying { position: fixed; bottom: 42px; left: 97px; z-index: 9999; display: flex; align-items: center; gap: 8px; font-family: 'Orbitron', sans-serif; font-size: 0.7rem; letter-spacing: 0.18em; color: var(--accent-2); text-shadow: 0 0 10px rgba(255,215,0,0.5); opacity: 0; transform: translateX(-8px); transition: all 0.4s; pointer-events: none; white-space: nowrap; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,215,0,0.25); border-radius: 20px; padding: 6px 14px; backdrop-filter: blur(8px); }
#music-nowplaying.show { opacity: 1; transform: translateX(0); }
.np-eq { display: flex; align-items: center; gap: 2px; }
.np-eq i { width: 2px; height: 8px; border-radius: 1px; background: var(--accent-2); animation: eqBounce 0.9s ease-in-out infinite; }
.np-eq i:nth-child(2) { animation-delay: 0.25s; } .np-eq i:nth-child(3) { animation-delay: 0.5s; }
@media (max-width: 480px) { #music-toggle { bottom: 88px; left: 16px; width: 48px; height: 48px; } #music-nowplaying { bottom: 97px; left: 76px; font-size: 0.58rem; padding: 5px 10px; gap: 6px; } }

/* Hero Section */
#hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px 24px 80px; position: relative; overflow: hidden; }
.hero-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 60%); z-index: 1; pointer-events: none; }
.hero-glow-2 { position: absolute; top: 60%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 60%); z-index: 1; pointer-events: none; }

/* 3D Floating Glass Orbs */
.orb { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), rgba(0,240,255,0.05)); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(5px); box-shadow: 0 0 30px rgba(0,240,255,0.2), inset 0 0 20px rgba(0,240,255,0.1); z-index: 2; pointer-events: none; will-change: transform; }
.orb-1 { width: 80px; height: 80px; top: 15%; left: 10%; animation: floatOrb 8s ease-in-out infinite; }
.orb-2 { width: 120px; height: 120px; bottom: 10%; right: 5%; animation: floatOrb 12s ease-in-out infinite reverse; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), rgba(255,215,0,0.05)); box-shadow: 0 0 30px rgba(255,215,0,0.2), inset 0 0 20px rgba(255,215,0,0.1); }
.orb-3 { width: 50px; height: 50px; top: 25%; right: 15%; animation: floatOrb 6s ease-in-out infinite 1s; }
@keyframes floatOrb { 0%, 100% { transform: translateZ(0) translateY(0); } 50% { transform: translateZ(50px) translateY(-30px); } }

.hero-content { max-width: 1400px; margin: 0 auto; width: 100%; position: relative; z-index: 3; text-align: center; will-change: transform; }
.hero-eyebrow { font-family: 'Orbitron', sans-serif; font-size: 0.85rem; color: var(--accent); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 32px; display: flex; align-items: center; gap: 12px; justify-content: center; opacity: 0; transform: translateY(20px); text-shadow: 0 0 10px rgba(0,240,255,0.6); }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* UNIQUE HERO TEXT: Aggressive Cyberpunk Glitch Effect (FIXED) */
.hero-arena-text { 
  font-family: 'Orbitron', sans-serif; 
  font-size: clamp(3rem, 15vw, 12rem); 
  line-height: 0.85; 
  font-weight: 900; 
  text-transform: uppercase; 
  margin-bottom: 30px; 
  letter-spacing: -0.02em; 
  position: relative; 
  z-index: 2; 
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.5), 0 0 20px rgba(0,240,255,0.5), 0 0 40px rgba(0,240,255,0.3);
  opacity: 0;
}
.hero-arena-text::before, .hero-arena-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hero-arena-text::before {
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  clip: rect(0, 0, 0, 0);
  animation: glitch-anim-1 3s infinite linear alternate-reverse;
}
.hero-arena-text::after {
  left: -2px;
  text-shadow: -2px 0 #00fff9;
  clip: rect(0, 0, 0, 0);
  animation: glitch-anim-2 2s infinite linear alternate-reverse;
}
@keyframes glitch-anim-1 {
  0% { clip: rect(10px, 9999px, 30px, 0); } 10% { clip: rect(50px, 9999px, 20px, 0); } 20% { clip: rect(20px, 9999px, 80px, 0); }
  30% { clip: rect(80px, 9999px, 10px, 0); } 40% { clip: rect(0px, 9999px, 50px, 0); } 50% { clip: rect(60px, 9999px, 90px, 0); }
  60% { clip: rect(10px, 9999px, 40px, 0); } 70% { clip: rect(30px, 9999px, 20px, 0); } 80% { clip: rect(90px, 9999px, 60px, 0); }
  90% { clip: rect(40px, 9999px, 10px, 0); } 100% { clip: rect(0px, 9999px, 0px, 0); opacity: 0; }
}
@keyframes glitch-anim-2 {
  0% { clip: rect(20px, 9999px, 50px, 0); } 10% { clip: rect(80px, 9999px, 10px, 0); } 20% { clip: rect(10px, 9999px, 80px, 0); }
  30% { clip: rect(40px, 9999px, 20px, 0); } 40% { clip: rect(60px, 9999px, 90px, 0); } 50% { clip: rect(0px, 9999px, 40px, 0); }
  60% { clip: rect(90px, 9999px, 10px, 0); } 70% { clip: rect(20px, 9999px, 50px, 0); } 80% { clip: rect(50px, 9999px, 80px, 0); }
  90% { clip: rect(10px, 9999px, 30px, 0); } 100% { clip: rect(0px, 9999px, 0px, 0); opacity: 0; }
}

/* Glitch Decode Title */
.hero-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.2rem, 5vw, 4rem); line-height: 1; font-weight: 700; margin-bottom: 40px; text-transform: uppercase; position: relative; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.95); opacity: 0; transform: translateY(20px); }
.line-mask { overflow: hidden; display: inline-block; padding-bottom: 5px; }
.line { display: block; } .line:nth-child(2) { color: var(--accent); text-shadow: 0 4px 20px rgba(0,0,0,0.95), 0 0 24px rgba(0,240,255,0.5); }

.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); color: #ddd; max-width: 600px; margin: 0 auto 48px; font-weight: 400; text-shadow: 0 2px 16px rgba(0,0,0,0.95); opacity: 0; transform: translateY(20px); padding: 0 10px; }
.hero-cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: center; opacity: 0; transform: translateY(20px); }
.btn-holo-lg { padding: 18px 36px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.btn-ghost { color: #fff; text-decoration: none; font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 4px; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; z-index: 3; display: flex; justify-content: center; padding-top: 6px; }
.scroll-indicator span { width: 4px; height: 8px; background: var(--accent); border-radius: 2px; animation: scrollWheel 1.5s infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(15px); } }

/* HUD Stats Row */
.hud-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 56px; position: relative; z-index: 3; will-change: transform; }
.hud-card { background: rgba(10, 10, 15, 0.75); border: 1px solid rgba(0, 240, 255, 0.2); backdrop-filter: blur(15px); padding: 14px 22px; border-radius: 8px; font-family: 'Rajdhani', sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 240, 255, 0.15), inset 0 0 10px rgba(0,240,255,0.05); }
.hud-card-1 { animation: float 4s ease-in-out infinite; }
.hud-card-2 { animation: float 6s ease-in-out infinite 0.8s; }
.hud-card-3 { animation: float 5s ease-in-out infinite 1.6s; }
.hud-card h4 { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.hud-card span { font-size: 1.2rem; font-weight: 700; color: #fff; }
.hud-card span.gold { color: var(--accent-2); text-shadow: 0 0 10px rgba(255,215,0,0.4); } .hud-card span.blue { color: var(--accent); text-shadow: 0 0 10px rgba(0,240,255,0.4); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* Live Activity Toasts */
#toast-feed { position: fixed; bottom: 100px; left: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.activity-toast { background: rgba(10, 10, 15, 0.85); border: 1px solid rgba(0, 240, 255, 0.3); border-left: 4px solid var(--accent); padding: 12px 18px; border-radius: 6px; font-family: 'Rajdhani', sans-serif; font-size: 0.9rem; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(0,240,255,0.1); backdrop-filter: blur(10px); display: flex; align-items: center; gap: 10px; }
.activity-toast .val { color: var(--accent-2); font-weight: 700; }
.activity-toast .ic { color: var(--accent); }

/* Marquee */
#marquee { padding: 24px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(8, 8, 13, 0.75); backdrop-filter: blur(10px); position: relative; z-index: 2; }
.marquee-track { display: inline-block; animation: marquee 25s linear infinite; font-family: 'Orbitron', sans-serif; font-size: clamp(1rem, 3vw, 1.5rem); font-weight: 700; text-transform: uppercase; }
.marquee-track span { margin: 0 30px; color: var(--text-muted); } .marquee-track span.accent { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Glitch Text on Hover */
.section-title { cursor: pointer; }
.section-title:hover { animation: glitchAnim 0.3s steps(2) infinite; }
@keyframes glitchAnim { 0% { transform: translate(0); text-shadow: 0 4px 20px rgba(0,0,0,0.95); } 50% { transform: translate(-2px, 2px); text-shadow: 2px 0 #00F0FF, -2px 0 #FFD700; } 100% { transform: translate(2px, -2px); text-shadow: -2px 0 #00F0FF, 2px 0 #FFD700; } }

/* FIX: Reduced section background opacity from 0.75 to 0.4 and blur from 15px to 6px to make background video visible */
#features { padding: 120px 24px; position: relative; z-index: 2; background: rgba(8, 8, 13, 0.4); backdrop-filter: blur(6px); overflow: hidden; border-top: 1px solid rgba(0, 240, 255, 0.05); }
.features-container { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.section-header { margin-bottom: 60px; text-align: center; }
.eyebrow { color: var(--accent); font-family: 'Orbitron', sans-serif; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 12px; text-shadow: 0 0 12px rgba(0,240,255,0.5); }
.section-title { font-family: 'Orbitron', sans-serif; font-size: clamp(1.8rem, 5vw, 3.5rem); font-weight: 900; line-height: 1; text-transform: uppercase; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.95); }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 24px; perspective: 1000px; }
.bento-card { background: linear-gradient(145deg, rgba(14, 14, 22, 0.8), rgba(8, 8, 13, 0.85)); border: 1px solid rgba(0, 240, 255, 0.2); padding: 32px; padding-top: 40px; position: relative; overflow: hidden; transition: all 0.4s ease; backdrop-filter: blur(15px); border-radius: 0; transform-style: preserve-3d; will-change: transform; display: flex; flex-direction: column; justify-content: flex-start; box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0, 240, 255, 0.15), inset 0 0 15px rgba(0,240,255,0.04); clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%); }
.bento-card::after { content: ''; position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; border-top: 2px solid var(--accent); border-left: 2px solid var(--accent); transition: all 0.3s; z-index: 2; filter: drop-shadow(0 0 5px var(--accent)); }
.bento-card .hud-tag { position: absolute; top: 16px; right: 16px; font-family: 'Orbitron', sans-serif; font-size: 0.65rem; color: var(--accent); border: 1px solid var(--accent); padding: 2px 8px; border-radius: 4px; letter-spacing: 0.1em; z-index: 2; background: rgba(0, 240, 255, 0.1); box-shadow: 0 0 10px rgba(0,240,255,0.2); }
.bento-card.gold .hud-tag { color: var(--accent-2); border-color: var(--accent-2); background: rgba(255, 215, 0, 0.1); box-shadow: 0 0 10px rgba(255,215,0,0.2); }
.bento-card.gold::after { border-color: var(--accent-2); filter: drop-shadow(0 0 5px var(--accent-2)); }
.bento-card .spotlight { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 240, 255, 0.2), transparent 40%); opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: 0; }
.bento-card:hover .spotlight { opacity: 1; }
.bento-card:hover { border-color: rgba(0, 240, 255, 0.6); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.2); transform: translateY(-5px); }
.bento-card:hover::after { width: 30px; height: 30px; }
.bento-card.large { grid-column: span 2; grid-row: span 2; } .bento-card.tall { grid-row: span 2; } .bento-card.wide { grid-column: span 2; }
.card-icon { width: 48px; height: 48px; margin-bottom: 24px; color: var(--accent); position: relative; z-index: 1; filter: drop-shadow(0 0 8px rgba(0,240,255,0.5)); }
.bento-card.gold .card-icon { color: var(--accent-2); filter: drop-shadow(0 0 8px rgba(255,215,0,0.5)); }
.card-title { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; position: relative; z-index: 1; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
.card-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.5; position: relative; z-index: 1; text-shadow: 0 1px 8px rgba(0,0,0,0.9); }

/* FIX: Reduced section background opacity to make video visible */
#showcase { padding: 120px 0; background: rgba(5, 5, 7, 0.4); backdrop-filter: blur(6px); position: relative; z-index: 2; overflow: hidden; text-align: center; border-top: 1px solid rgba(0, 240, 255, 0.05); }
.showcase-header { padding: 0 48px; margin-bottom: 80px; text-align: center; position: relative; z-index: 4; }
.int-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Orbitron', sans-serif; font-size: clamp(3rem, 15vw, 12rem); font-weight: 900; color: rgba(255,255,255,0.03); text-transform: uppercase; z-index: 0; white-space: nowrap; pointer-events: none; transition: all 0.5s ease; }

.int-phone-container { perspective: 1200px; display: flex; justify-content: center; align-items: center; position: relative; max-width: 800px; margin: 0 auto; padding: 0 60px; }

.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(0,0,0,0.6); border: 1px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; backdrop-filter: blur(5px); transition: all 0.3s; box-shadow: 0 0 15px rgba(0,240,255,0.4); color: var(--accent); }
.nav-arrow:hover { background: var(--accent); color: #000; box-shadow: 0 0 30px rgba(0,240,255,0.8); transform: translateY(-50%) scale(1.1); }
.nav-arrow.prev { left: 10px; } .nav-arrow.next { right: 10px; }
.nav-arrow svg { width: 24px; height: 24px; }

.int-phone { width: 300px; height: 620px; background: #000; border-radius: 42px; border: 4px solid #1a1a24; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.5), 0 0 80px rgba(0, 240, 255, 0.3), 0 0 20px rgba(0, 240, 255, 0.2); position: relative; transform-style: preserve-3d; z-index: 2; cursor: grab; touch-action: pan-y; }
.int-phone:active { cursor: grabbing; }
.int-phone::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #000; border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; z-index: 10; }
.int-phone-screen { width: 100%; height: 100%; position: relative; pointer-events: none; }
.int-phone-screen img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; opacity: 0; filter: blur(15px) hue-rotate(90deg); transform: scale(1.1); transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease; user-select: none; -webkit-user-drag: none; }
.int-phone-screen img.active { opacity: 1; filter: blur(0) hue-rotate(0deg); transform: scale(1); }

.int-holo-ring { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); width: 350px; height: 80px; background: radial-gradient(ellipse, rgba(0,240,255,0.5) 0%, transparent 60%); filter: blur(20px); z-index: 0; animation: pulseRing 3s infinite; }
@keyframes pulseRing { 0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); } 50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); } }

.int-float-ui { position: absolute; background: rgba(10, 10, 15, 0.9); border: 1px solid var(--accent); padding: 8px 12px; font-family: 'Orbitron', sans-serif; font-size: 0.7rem; color: var(--accent); border-radius: 4px; backdrop-filter: blur(10px); z-index: 3; box-shadow: 0 0 20px rgba(0,240,255,0.3); transition: all 0.3s ease; }
.int-float-ui.right { right: 15%; top: 30%; animation: float 4s ease-in-out infinite; }
.int-float-ui.left { left: 15%; bottom: 35%; animation: float 5s ease-in-out infinite 1s; border-color: var(--accent-2); color: var(--accent-2); box-shadow: 0 0 20px rgba(255,215,0,0.3); }

.int-dots { display: flex; justify-content: center; gap: 12px; margin-top: 60px; position: relative; z-index: 4; }
.int-dot { width: 8px; height: 8px; background: rgba(255,255,255,0.2); border-radius: 50%; cursor: pointer; transition: all 0.3s; }
.int-dot.active { background: var(--accent); width: 24px; border-radius: 4px; box-shadow: 0 0 10px var(--accent); }
.int-hint { color: var(--text-muted); font-family: 'Rajdhani', sans-serif; font-size: 0.95rem; font-weight: 600; margin-top: 16px; letter-spacing: 0.1em; text-transform: uppercase; position: relative; z-index: 4; }

/* FIX: Reduced section background opacity to make video visible */
#how-to-play { padding: 120px 24px; background: rgba(8, 8, 13, 0.4); backdrop-filter: blur(6px); position: relative; z-index: 2; border-top: 1px solid rgba(0, 240, 255, 0.05); }
.h2p-container { max-width: 1000px; margin: 0 auto; position: relative; }
.circuit-svg { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 100%; z-index: 1; }
.circuit-path { fill: none; stroke: var(--border); stroke-width: 2; }
.circuit-path-glow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 2000; stroke-dashoffset: 2000; filter: drop-shadow(0 0 5px var(--accent)); }
.h2p-step { display: flex; justify-content: center; margin-bottom: 80px; position: relative; z-index: 2; }
.h2p-step:nth-child(even) { justify-content: flex-end; } .h2p-step:nth-child(odd) { justify-content: flex-start; }
.h2p-card { background: rgba(18, 18, 26, 0.85); border: 1px solid rgba(0, 240, 255, 0.2); padding: 24px; border-radius: 12px; width: 300px; backdrop-filter: blur(15px); position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(0,240,255,0.1); }
.h2p-card h3 { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--accent); text-shadow: 0 0 10px rgba(0,240,255,0.5); }
.h2p-card p { color: var(--text-muted); font-size: 0.95rem; }
.h2p-node { position: absolute; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: var(--bg-alt); border: 2px solid var(--accent); border-radius: 50%; z-index: 3; box-shadow: 0 0 15px var(--accent); }
.h2p-step:nth-child(even) .h2p-node { left: -10px; } .h2p-step:nth-child(odd) .h2p-node { right: -10px; }

/* FIX: Reduced section background opacity to make video visible */
#players { padding: 120px 24px; background: rgba(5, 5, 7, 0.4); backdrop-filter: blur(6px); position: relative; z-index: 2; border-top: 1px solid rgba(0, 240, 255, 0.05); text-align: center; }
.players-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1000px; margin: 0 auto; }
.flip-card { background-color: transparent; width: 300px; height: 400px; perspective: 1000px; cursor: pointer; }
.flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.flip-card-front { background: linear-gradient(145deg, rgba(14, 14, 22, 0.9), rgba(8, 8, 13, 0.95)); border: 1px solid rgba(0, 240, 255, 0.2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; }
.flip-card-back { background: linear-gradient(145deg, rgba(14, 14, 22, 0.9), rgba(8, 8, 13, 0.95)); border: 1px solid var(--accent-2); transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 32px; }
.player-avatar { width: 100px; height: 100px; border-radius: 50%; background: #1a1a24; border: 2px solid var(--accent); box-shadow: 0 0 20px rgba(0,240,255,0.3); object-fit: cover; }
.player-name { font-family: 'Orbitron', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff; }
.player-level { font-family: 'Rajdhani', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); padding: 4px 12px; border-radius: 100px; background: rgba(0,240,255,0.1); }
.player-review { color: #ddd; font-size: 1rem; line-height: 1.5; }
.player-stats { display: flex; gap: 20px; margin-top: 10px; }
.player-stat-item h4 { color: var(--accent-2); font-size: 1.5rem; font-family: 'Orbitron', sans-serif; }
.player-stat-item p { color: var(--text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* FIX: Reduced section background opacity to make video visible */
#payments, #stats { padding: 100px 24px; background: rgba(5, 5, 7, 0.4); backdrop-filter: blur(6px); position: relative; z-index: 2; border-top: 1px solid rgba(0, 240, 255, 0.05); text-align: center; overflow: hidden; }
.payments-grid { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.payment-card { background: rgba(18, 18, 26, 0.85); border: 1px solid rgba(0, 240, 255, 0.2); padding: 30px 40px; border-radius: 16px; backdrop-filter: blur(15px); display: flex; align-items: center; gap: 20px; animation: glowPulse 3s infinite alternate; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
@keyframes glowPulse { 0% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(0, 240, 255, 0.1); border-color: rgba(0, 240, 255, 0.2); } 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 30px rgba(0, 240, 255, 0.3); border-color: rgba(0, 240, 255, 0.5); } }
.payment-card.gold { animation: glowPulseGold 3s infinite alternate; }
@keyframes glowPulseGold { 0% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 215, 0, 0.1); border-color: rgba(255, 215, 0, 0.2); } 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 30px rgba(255, 215, 0, 0.3); border-color: rgba(255, 215, 0, 0.5); } }
.payment-icon-wrap { width: 70px; height: 70px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; flex-shrink: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.payment-logo { width: 100%; height: 100%; object-fit: contain; }
.payment-text { text-align: left; } .payment-text h4 { font-family: 'Orbitron', sans-serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; color: #fff; } .payment-text p { color: var(--text-muted); font-size: 0.9rem; }

.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; position: relative; z-index: 2; }
.stat-num { font-family: 'Orbitron', sans-serif; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; color: transparent; -webkit-text-stroke: 1px var(--accent); line-height: 1; margin-bottom: 8px; filter: drop-shadow(0 0 12px rgba(0,240,255,0.4)); }
.stat-label { color: #ddd; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-family: 'Rajdhani', sans-serif; font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,0.9); }

.float-asset { position: absolute; width: 40px; height: 40px; pointer-events: none; z-index: 1; animation: float3d 8s ease-in-out infinite; }
.float-asset svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px var(--accent)); }
.float-asset.gold svg { filter: drop-shadow(0 0 10px var(--accent-2)); }
@keyframes float3d { 0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); } 50% { transform: translate3d(20px, -30px, 20px) rotateY(180deg); } }

/* FIX: Reduced section background opacity to make video visible */
#faq { padding: 120px 24px; background: rgba(8, 8, 13, 0.4); backdrop-filter: blur(6px); position: relative; z-index: 2; border-top: 1px solid rgba(0, 240, 255, 0.05); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 16px; background: rgba(18, 18, 26, 0.85); border: 1px solid rgba(0, 240, 255, 0.15); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; backdrop-filter: blur(15px); }
.faq-item.active { border-color: var(--accent); box-shadow: 0 0 20px rgba(0, 240, 255, 0.15); }
.faq-question { padding: 24px 32px; padding-right: 60px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; font-weight: 600; position: relative; color: #fff; }
.faq-toggle { width: 24px; height: 24px; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--accent); transition: all 0.3s; box-shadow: 0 0 8px var(--accent); }
.faq-toggle::before { width: 12px; height: 2px; } .faq-toggle::after { width: 2px; height: 12px; }
.faq-item.active .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 32px; color: #ccc; font-size: 1rem; line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 24px; }

/* FIX: Reduced section background opacity to make video visible */
#footer-cta { padding: 100px 0 0; text-align: center; position: relative; z-index: 2; overflow: hidden; background: rgba(5, 5, 7, 0.4); backdrop-filter: blur(6px); border-top: 1px solid rgba(0, 240, 255, 0.05); }
.footer-eyebrow { color: var(--accent); font-family: 'Orbitron', sans-serif; font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 12px; text-shadow: 0 0 12px rgba(0,240,255,0.5); }

/* FIXED FOOTER TEXT: Reduced font size clamp to prevent screen overflow on mobile */
.footer-massive-text { 
  font-family: 'Orbitron', sans-serif; 
  font-size: clamp(2.5rem, 14vw, 14rem); 
  font-weight: 900; 
  line-height: 0.8; 
  text-transform: uppercase; 
  margin-bottom: 40px; 
  color: #ffffff;
  cursor: pointer; 
  transition: all 0.3s ease; 
  text-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 15px rgba(0,0,0,0.9);
  letter-spacing: -0.02em;
  display: block;
  max-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}
.footer-massive-text:hover { 
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  text-shadow: none;
}
.footer-sub { color: #ddd; font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 48px; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
.footer-grid { position: relative; height: 300px; background: linear-gradient(to bottom, transparent 0%, var(--accent) 100%); opacity: 0.15; transform: perspective(500px) rotateX(60deg); transform-origin: bottom; margin-top: -100px; z-index: 1; }
.footer-grid::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(var(--accent) 1px, transparent 1px), linear-gradient(90deg, var(--accent) 1px, transparent 1px); background-size: 40px 40px; animation: gridMove 2s linear infinite; }
@keyframes gridMove { 0% { transform: translateY(0); } 100% { transform: translateY(40px); } }
.footer-info { position: relative; z-index: 2; padding: 48px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid var(--border); }
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 32px; height: 32px; border-radius: 8px; }
.footer-text { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 700; color: #fff; }
.footer-copy { color: #ccc; font-size: 0.8rem; }

.footer-socials { display: flex; gap: 16px; justify-content: center; margin-bottom: 32px; position: relative; z-index: 2; }
.social-link { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.3s; will-change: transform; }
.social-link:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 15px rgba(0,240,255,0.3); transform: translateY(-3px); }
.social-link svg { width: 20px; height: 20px; }

/* Toast */
#toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px); background: #fff; color: #000; padding: 14px 28px; z-index: 99999; font-family: 'Rajdhani', sans-serif; font-weight: 700; opacity: 0; transition: all 0.4s; border-radius: 100px; }

/* CSS Reveal Animation */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  #navbar { padding: 16px 24px; }
  #features, #how-to-play, #payments, #faq, #stats, #players { padding: 80px 24px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-card.large { grid-column: span 2; grid-row: span 1; } .bento-card.tall { grid-row: span 1; } .bento-card.wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .h2p-step:nth-child(even), .h2p-step:nth-child(odd) { justify-content: center; }
  .circuit-svg { display: none; } .h2p-node { display: none; } .int-float-ui { display: none; }
  .int-phone-container { padding: 0 40px; } .int-phone { width: 260px; height: 540px; }
}
@media (max-width: 768px) {
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .btn-holo-lg { width: 100%; justify-content: center; }
  .hud-row { gap: 10px; margin-top: 40px; } .hud-card { padding: 10px 16px; } .hud-card span { font-size: 1rem; }
  .faq-question { font-size: 1rem; padding: 20px 24px; padding-right: 50px; } .faq-answer { padding: 0 24px; } .faq-toggle { right: 16px; }
  .hero-title { flex-direction: column; gap: 5px; margin-bottom: 30px; } .hero-arena-text { margin-bottom: 15px; }
  .nav-arrow { width: 35px; height: 35px; } .nav-arrow.prev { left: 0; } .nav-arrow.next { right: 0; } .nav-arrow svg { width: 18px; height: 18px; }
  #toast-feed { display: none; }
  .footer-info { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  #hero { padding: 100px 16px 60px; }
  .hero-arena-text { font-size: 3rem; margin-bottom: 15px; } 
  .hero-title { font-size: 1.4rem; margin-bottom: 25px; } .hero-sub { font-size: 0.95rem; margin-bottom: 40px; }
  .nav-logo-text { display: none; }
  .bento-grid { grid-template-columns: 1fr; } .bento-card.large, .bento-card.tall, .bento-card.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .stat-num { font-size: 1.8rem; }
  .marquee-track { font-size: 1.1rem; } #marquee { padding: 16px 0; }
  .payment-card { padding: 20px; flex-direction: column; text-align: center; } .payment-text { text-align: center; }
  .int-phone { width: 220px; height: 460px; }
  .int-phone::before { width: 80px; height: 18px; }
}

/* Footer Legal Links */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; position: relative; z-index: 2; margin-bottom: 36px; padding: 0 24px; }
.footer-links a { color: #aaa; font-size: 0.9rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 0.08em; transition: all 0.3s ease; padding: 4px 0; }
.footer-links a:hover { color: var(--accent); text-shadow: 0 0 12px rgba(0,240,255,0.7); }
@media (max-width: 480px) { .footer-links { gap: 8px 20px; } .footer-links a { font-size: 0.8rem; } }
