/* ============================================
   PARTY VAULT — VR Gaming Arcade
   Dark futuristic aesthetic
   ============================================ */

:root {
  --bg-deep: #050508;
  --bg-dark: #0a0a12;
  --bg-card: #0f0f1a;
  --bg-elevated: #141420;

  --accent-cyan: #00f0ff;
  --accent-magenta: #ff00aa;
  --accent-purple: #8b5cf6;
  --accent-blue: #3b82f6;
  --accent-green: #00ff88;

  --text-primary: #f0f0f8;
  --text-secondary: #8888a8;
  --text-muted: #555570;

  --glow-cyan: 0 0 40px rgba(0, 240, 255, 0.4);
  --glow-magenta: 0 0 40px rgba(255, 0, 170, 0.4);
  --glow-purple: 0 0 40px rgba(139, 92, 246, 0.4);

  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --marquee-height: 30px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* Background effects */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1000;
}

.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  pointer-events: none;
  z-index: 999;
  opacity: 0.4;
}

/* Marquee */
.marquee-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  min-height: var(--marquee-height);
  background: linear-gradient(90deg, rgba(255, 0, 170, 0.15), rgba(0, 240, 255, 0.1), rgba(255, 0, 170, 0.15));
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  overflow: hidden;
  padding: 6px 0;
  padding-top: calc(6px + env(safe-area-inset-top));
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  flex-shrink: 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: var(--bg-deep);
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(0, 240, 255, 0.6), 0 0 30px rgba(139, 92, 246, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1);
}

.btn-nav {
  padding: 10px 22px;
  font-size: 0.75rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
}

.btn-nav:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: var(--glow-cyan);
}

.btn-large {
  padding: 18px 40px;
  font-size: 0.95rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Navbar */
.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-panel {
  display: contents;
}

.btn-nav--mobile {
  display: none;
}

.navbar {
  position: fixed;
  top: calc(var(--marquee-height) + env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 5%;
  padding-top: calc(16px + env(safe-area-inset-top));
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
  animation: pulse-glow 3s ease-in-out infinite;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.logo-accent {
  color: var(--accent-magenta);
  text-shadow: var(--glow-magenta);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  transition: width 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 120px 5% 80px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow--left {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25), transparent 70%);
  top: 10%;
  left: -10%;
}

.hero-glow--right {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15), transparent 70%);
  bottom: 10%;
  right: -5%;
}

.hero-glow--center {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 170, 0.12), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.title-line {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.title-main {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 40%, var(--accent-magenta) 80%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.3));
}

.title-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 500;
  color: var(--accent-purple);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 8px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: rgba(15, 15, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

/* Hero VR Headset Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12), rgba(255, 0, 170, 0.06) 40%, transparent 70%);
  filter: blur(30px);
  animation: aura-breathe 6s ease-in-out infinite;
  z-index: 0;
}

/* VR Scene — Advanced Hero Visual */
.vr-scene {
  position: relative;
  width: 560px;
  height: 560px;
  perspective: 1200px;
  z-index: 1;
  animation: scene-tilt 12s ease-in-out infinite;
}

.vr-scene-aura {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 240, 255, 0.15), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(255, 0, 170, 0.12), transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08), transparent 55%);
  filter: blur(20px);
  animation: aura-breathe 5s ease-in-out infinite;
  pointer-events: none;
}

.vr-aurora {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

.vr-aurora--1 {
  background: linear-gradient(125deg, transparent 30%, rgba(0, 240, 255, 0.15) 50%, transparent 70%);
  animation: aurora-shift 8s ease-in-out infinite;
}

.vr-aurora--2 {
  background: linear-gradient(235deg, transparent 30%, rgba(255, 0, 170, 0.12) 50%, transparent 70%);
  animation: aurora-shift 10s ease-in-out infinite reverse;
}

/* Ring Hub — centered on VR headset */
.vr-ring-hub {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 320px;
  height: 380px;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  z-index: 1;
  pointer-events: none;
}

.vr-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-expand 3.5s ease-out infinite;
}

.vr-pulse-ring--2 {
  animation-delay: 1.2s;
  border-color: rgba(255, 0, 170, 0.35);
}

.vr-pulse-ring--3 {
  animation-delay: 2.4s;
  border-color: rgba(0, 255, 136, 0.3);
}

.vr-gyro {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.vr-gyro-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%);
}

.vr-gyro-ring--outer {
  width: 100%;
  height: 100%;
  animation: gyro-tilt-x 14s linear infinite;
}

.vr-gyro-ring--mid {
  width: 82%;
  height: 82%;
  animation: gyro-tilt-y 10s linear infinite reverse;
}

.vr-gyro-ring--inner {
  width: 64%;
  height: 64%;
  animation: gyro-flat 7s linear infinite;
}

.vr-gyro-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.vr-gyro-arc--cyan {
  border-top-color: var(--accent-cyan);
  border-right-color: rgba(0, 240, 255, 0.5);
  border-bottom-color: rgba(0, 240, 255, 0.1);
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.6));
}

.vr-gyro-arc--magenta {
  border-top-color: var(--accent-magenta);
  border-left-color: rgba(255, 0, 170, 0.45);
  filter: drop-shadow(0 0 12px rgba(255, 0, 170, 0.5));
}

.vr-gyro-arc--green {
  border-top-color: var(--accent-green);
  border-right-color: rgba(0, 255, 136, 0.4);
  filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.45));
}

.vr-gyro-arc--purple {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(139, 92, 246, 0.5);
  border-radius: 50%;
  animation: gyro-flat 5s linear infinite reverse;
}

.vr-gyro-ticks {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(0, 240, 255, 0.35) 0deg 1.5deg, transparent 1.5deg 10deg);
  mask: radial-gradient(circle, transparent 86%, black 87%);
  -webkit-mask: radial-gradient(circle, transparent 86%, black 87%);
  opacity: 0.7;
}

.vr-gyro-satellite {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-cyan), 0 0 24px rgba(0, 240, 255, 0.4);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.vr-gyro-satellite--2 {
  bottom: 0;
  top: auto;
  background: var(--accent-cyan);
}

.vr-gyro-satellite--3 {
  background: var(--accent-magenta);
  box-shadow: 0 0 12px var(--accent-magenta);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.vr-gyro-satellite--4 {
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-magenta);
  box-shadow: 0 0 12px var(--accent-magenta);
}

.vr-hex-portal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  animation: hex-spin 20s linear infinite;
  opacity: 0.85;
}

.vr-hex-portal svg {
  width: 100%;
  height: 100%;
}

.vr-hex-shape {
  fill: none;
  stroke: rgba(0, 240, 255, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 12 8;
  animation: hex-dash 4s linear infinite;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
}

.vr-hex-shape--inner {
  stroke: rgba(255, 0, 170, 0.4);
  stroke-width: 1;
  stroke-dasharray: 8 12;
  animation: hex-dash 3s linear infinite reverse;
  filter: drop-shadow(0 0 6px rgba(255, 0, 170, 0.35));
}

.vr-scanner-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  height: 72%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.35);
  animation: scanner-spin 6s linear infinite;
}

.vr-scanner-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76%;
  height: 76%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0, 240, 255, 0.15) 30deg, transparent 60deg);
  animation: scanner-spin 3s linear infinite;
  mask: radial-gradient(circle, transparent 55%, black 56%, black 100%);
  -webkit-mask: radial-gradient(circle, transparent 55%, black 56%, black 100%);
}

.vr-nucleus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  opacity: 0.85;
  filter: blur(0.3px);
}

.vr-nucleus-ring {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(0, 240, 255, 0.4);
  border-radius: 50%;
  animation: nucleus-spin 8s linear infinite;
}

.vr-nucleus-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 170, 0.3);
  animation: nucleus-spin 5s linear infinite reverse;
}

.vr-nucleus-icon {
  font-size: 1.6rem;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px var(--accent-cyan), 0 0 40px rgba(0, 240, 255, 0.5);
  animation: pulse-glow 3s ease-in-out infinite;
  z-index: 1;
  opacity: 0.35;
}

.vr-nucleus-label {
  font-family: var(--font-display);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--accent-magenta);
  text-shadow: 0 0 10px rgba(255, 0, 170, 0.5);
  opacity: 0.7;
}

.vr-hex-grid {
  position: absolute;
  inset: 8%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0 L56 16 L56 50 L28 66 L0 50 L0 16 Z' fill='none' stroke='rgba(0,240,255,0.07)' stroke-width='1'/%3E%3Cpath d='M28 34 L56 50 L56 84 L28 100 L0 84 L0 50 Z' fill='none' stroke='rgba(0,240,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black 20%, transparent 72%);
  animation: hex-drift 30s linear infinite;
  pointer-events: none;
}

.vr-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.vr-beam {
  stroke: var(--accent-cyan);
  stroke-width: 1;
  opacity: 0.35;
  stroke-dasharray: 8 12;
  animation: beam-flow 2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

.vr-beam--2 {
  stroke: var(--accent-magenta);
  animation-delay: 0.7s;
  filter: drop-shadow(0 0 6px rgba(255, 0, 170, 0.5));
}

.vr-beam--3 {
  stroke: var(--accent-green);
  animation-delay: 1.4s;
  filter: drop-shadow(0 0 6px rgba(0, 255, 136, 0.5));
}

.vr-hud {
  position: absolute;
  padding: 8px 14px;
  background: rgba(5, 5, 8, 0.75);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.08);
  animation: hud-flicker 6s ease-in-out infinite;
  z-index: 5;
}

.vr-hud--tl { top: 4%; left: 0; }
.vr-hud--tr { top: 8%; right: 0; color: var(--accent-purple); border-color: rgba(139, 92, 246, 0.25); animation-delay: 1s; }
.vr-hud--bl { bottom: 12%; left: 0; color: var(--accent-magenta); border-color: rgba(255, 0, 170, 0.25); animation-delay: 2s; }
.vr-hud--br { bottom: 6%; right: 0; color: var(--accent-green); border-color: rgba(0, 255, 136, 0.25); animation-delay: 0.5s; }
.vr-hud--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -130px;
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.06);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  animation: hud-float 4s ease-in-out infinite;
  z-index: 6;
}

.vr-hud-bar {
  width: 60px;
  height: 3px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.vr-hud-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  border-radius: 2px;
  animation: bar-pulse 3s ease-in-out infinite;
}

.vr-hud-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
  vertical-align: middle;
}

.vr-node {
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 26, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
  z-index: 4;
  animation: node-orbit 8s ease-in-out infinite;
}

.vr-node i {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.4;
  animation: node-ping 2.5s ease-out infinite;
}

.vr-node--1 { top: 20%; left: 6%; animation-delay: 0s; }
.vr-node--2 { top: 56%; right: 4%; animation-delay: 2.5s; border-color: rgba(255, 0, 170, 0.35); color: var(--accent-magenta); }
.vr-node--3 { bottom: 26%; left: 10%; animation-delay: 5s; border-color: rgba(0, 255, 136, 0.35); color: var(--accent-green); }

.vr-assembly {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(6deg) rotateY(-10deg);
  transform-style: preserve-3d;
  animation: assembly-float 7s ease-in-out infinite;
  z-index: 3;
  width: 320px;
  height: 420px;
}

/* Hero Player — person wearing VR headset */
.hero-player {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-player-frame {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(0, 240, 255, 0.45);
  box-shadow:
    0 0 40px rgba(0, 240, 255, 0.25),
    0 0 80px rgba(255, 0, 170, 0.12),
    0 20px 50px rgba(0, 0, 0, 0.5);
  animation: player-frame-glow 4s ease-in-out infinite;
}

.hero-player-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(1.15) contrast(1.05);
  transition: transform 0.6s ease;
}

.hero-player:hover .hero-player-frame img {
  transform: scale(1.04);
}

.hero-player-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 240, 255, 0.08) 0%,
    transparent 35%,
    transparent 55%,
    rgba(5, 5, 8, 0.85) 100%
  );
  pointer-events: none;
}

.hero-player-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 16px var(--accent-cyan);
  animation: visor-scan 3s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

.hero-player-corners span {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent-cyan);
  border-style: solid;
  opacity: 0.8;
  z-index: 3;
}

.hero-player-corners span:nth-child(1) { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.hero-player-corners span:nth-child(2) { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.hero-player-corners span:nth-child(3) { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.hero-player-corners span:nth-child(4) { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

.hero-game-brand {
  position: relative;
  width: 100%;
  margin-top: -52px;
  padding: 18px 16px 16px;
  text-align: center;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.6), rgba(15, 15, 26, 0.95));
  border: 2px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 30px rgba(0, 240, 255, 0.15),
    inset 0 0 20px rgba(0, 240, 255, 0.04);
  z-index: 6;
}

.hero-game-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.hero-game-brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
  margin-bottom: 6px;
}

.hero-game-brand-accent {
  color: var(--accent-magenta);
  text-shadow: 0 0 25px rgba(255, 0, 170, 0.6);
}

.hero-game-brand-sub {
  display: block;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent-cyan);
  opacity: 0.9;
}

.hero-player-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.hero-players-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  width: 100%;
}

.hero-players-avatars {
  display: flex;
  align-items: center;
}

.hero-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-deep);
  margin-left: -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
}

.hero-mini-avatar:first-child {
  margin-left: 0;
}

.hero-mini-avatar--2 { background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple)); }
.hero-mini-avatar--3 { background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan)); }
.hero-mini-avatar--4 { background: linear-gradient(135deg, #ffd700, #ff8c00); color: var(--bg-deep); }

.hero-mini-avatar--more {
  background: var(--bg-elevated);
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.3);
  font-size: 0.45rem;
}

.hero-players-label {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.vr-energy-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 240, 255, 0.35), rgba(255, 0, 170, 0.15) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(18px);
  animation: core-pulse 3s ease-in-out infinite;
  z-index: -1;
}

.vr-glow-floor {
  position: absolute;
  width: 340px;
  height: 90px;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%) rotateX(75deg);
  background: radial-gradient(ellipse, rgba(0, 240, 255, 0.35), transparent 70%);
  filter: blur(14px);
}

.vr-glow-floor--2 {
  width: 200px;
  height: 50px;
  bottom: -30px;
  background: radial-gradient(ellipse, rgba(255, 0, 170, 0.3), transparent 70%);
  animation: floor-pulse 4s ease-in-out infinite;
}


.vr-headset-shell {
  position: relative;
  width: 300px;
  height: 200px;
  transform-style: preserve-3d;
}

.vr-headset-band {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 36px;
  background: linear-gradient(180deg, #22223a, #12121f);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px 18px 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.vr-visor-housing {
  position: relative;
  width: 280px;
  height: 155px;
  margin: 20px auto 0;
  transform-style: preserve-3d;
}

.vr-visor {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(155deg, #2a2a42 0%, #141420 45%, #1e1035 100%);
  border-radius: 55px 55px 42px 42px;
  border: 3px solid rgba(0, 240, 255, 0.5);
  box-shadow:
    0 0 60px rgba(0, 240, 255, 0.35),
    0 0 100px rgba(255, 0, 170, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.6),
    inset 0 -8px 20px rgba(0, 0, 0, 0.4),
    inset 0 8px 16px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform: translateZ(20px);
  animation: visor-glow-pulse 4s ease-in-out infinite;
}

.vr-visor-rim {
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(from var(--rim-angle, 0deg), var(--accent-cyan), var(--accent-magenta), var(--accent-purple), var(--accent-green), var(--accent-cyan));
  z-index: 6;
  pointer-events: none;
  animation: rim-spin 4s linear infinite;
  opacity: 0.7;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.vr-visor-chroma {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 3px 0 12px rgba(0, 240, 255, 0.15),
    inset -3px 0 12px rgba(255, 0, 170, 0.15);
  z-index: 5;
  pointer-events: none;
  animation: chroma-shift 5s ease-in-out infinite;
}

.vr-visor-inner {
  position: absolute;
  inset: 14px;
  border-radius: 38px;
  overflow: hidden;
  background: #050508;
}

.vr-world {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.vr-world-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #061228 0%, #1a0a2e 35%, #0d0820 70%, #050508 100%);
}

.vr-world-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 60% 15%, rgba(0,240,255,0.9), transparent),
    radial-gradient(1.5px 1.5px at 80% 40%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 35% 55%, rgba(255,0,170,0.7), transparent),
    radial-gradient(1px 1px at 75% 70%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(0,255,136,0.6), transparent);
  animation: stars-twinkle 4s ease-in-out infinite alternate;
}

.vr-world-aurora {
  position: absolute;
  top: 0;
  left: -20%;
  right: -20%;
  height: 60%;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 170, 0.1), transparent);
  filter: blur(8px);
  animation: world-aurora 6s ease-in-out infinite;
}

.vr-world-city {
  position: absolute;
  bottom: 22%;
  left: 0;
  right: 0;
  height: 35%;
  background:
    linear-gradient(90deg, transparent 0%, rgba(0, 240, 255, 0.15) 15%, transparent 20%),
    linear-gradient(90deg, transparent 25%, rgba(255, 0, 170, 0.12) 30%, transparent 35%),
    linear-gradient(90deg, transparent 45%, rgba(139, 92, 246, 0.18) 52%, transparent 58%),
    linear-gradient(90deg, transparent 65%, rgba(0, 240, 255, 0.1) 72%, transparent 78%),
    linear-gradient(90deg, transparent 85%, rgba(255, 0, 170, 0.14) 90%, transparent 95%);
  mask-image: linear-gradient(to top, black, transparent);
  animation: city-pulse 5s ease-in-out infinite;
}

.vr-world-glitch {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 48%, rgba(0, 240, 255, 0.08) 49%, rgba(255, 0, 170, 0.08) 51%, transparent 52%);
  opacity: 0;
  animation: glitch-flash 8s steps(1) infinite;
  z-index: 5;
  pointer-events: none;
}

.vr-world-scan--2 {
  animation-delay: 1.25s;
  background: linear-gradient(90deg, transparent, var(--accent-magenta), transparent);
  box-shadow: 0 0 10px var(--accent-magenta);
  height: 1px;
  opacity: 0.7;
}

.vr-world-layer {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 4px;
  opacity: 0.7;
}

.vr-world-layer--back {
  bottom: 28%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.4));
  animation: world-drift 12s ease-in-out infinite;
}

.vr-world-layer--mid {
  bottom: 18%;
  height: 25%;
  background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.25));
  animation: world-drift 8s ease-in-out infinite reverse;
}

.vr-world-layer--front {
  bottom: 8%;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(255, 0, 170, 0.35));
  animation: world-drift 6s ease-in-out infinite;
}

.vr-world-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.12) 1px, transparent 1px);
  background-size: 12px 12px;
  transform: perspective(200px) rotateX(55deg) scale(1.4);
  transform-origin: center bottom;
  opacity: 0.6;
  animation: grid-scroll 4s linear infinite;
}

.vr-world-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: visor-scan 2.5s ease-in-out infinite;
  z-index: 3;
}

.vr-world-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 240, 255, 0.6);
  border-radius: 50%;
  z-index: 4;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
  animation: reticle-pulse 2s ease-in-out infinite;
}

.vr-world-reticle::before,
.vr-world-reticle::after {
  content: '';
  position: absolute;
  background: rgba(0, 240, 255, 0.6);
}

.vr-world-reticle::before {
  top: 50%;
  left: -6px;
  right: -6px;
  height: 1px;
  transform: translateY(-50%);
}

.vr-world-reticle::after {
  left: 50%;
  top: -6px;
  bottom: -6px;
  width: 1px;
  transform: translateX(-50%);
}

.vr-visor-shine {
  position: absolute;
  top: 12px;
  left: 24px;
  width: 90px;
  height: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%);
  border-radius: 14px;
  transform: rotate(-8deg);
  z-index: 5;
  pointer-events: none;
}

.vr-visor-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 30px rgba(0, 240, 255, 0.08);
  pointer-events: none;
  z-index: 5;
}

.vr-lens {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, #1a1a2e 30%, #0a0a12 100%);
  border: 2px solid rgba(0, 240, 255, 0.3);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 240, 255, 0.2);
}

.vr-lens--l { left: 18px; }
.vr-lens--r { right: 18px; }

.vr-headset-cheek {
  position: absolute;
  top: 55px;
  width: 28px;
  height: 90px;
  background: linear-gradient(180deg, #1e1e32, #0e0e18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.vr-headset-cheek--l {
  left: -8px;
  transform: rotateY(25deg) rotateZ(-8deg);
}

.vr-headset-cheek--r {
  right: -8px;
  transform: rotateY(-25deg) rotateZ(8deg);
}

.vr-headset-vent {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: repeating-linear-gradient(90deg, rgba(0,240,255,0.3) 0 4px, transparent 4px 8px);
  border-radius: 3px;
  opacity: 0.5;
}

.vr-headset-status {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-green);
  text-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.vr-status-led {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

.vr-controller {
  position: absolute;
  top: 55%;
  width: 44px;
  height: 44px;
  transform-style: preserve-3d;
  animation: controller-float 5s ease-in-out infinite;
  z-index: 6;
}

.vr-controller--left {
  left: -70px;
  animation-delay: 0s;
}

.vr-controller--right {
  right: -70px;
  animation-delay: 2.5s;
}

.vr-controller-body {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a40, #12121f);
  border: 2px solid rgba(0, 240, 255, 0.45);
  border-radius: 12px;
  box-shadow:
    0 0 25px rgba(0, 240, 255, 0.25),
    0 0 40px rgba(255, 0, 170, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.4);
  transform: rotateX(15deg) rotateY(-20deg);
  animation: controller-glow 3s ease-in-out infinite;
}

.vr-controller--right .vr-controller-body {
  transform: rotateX(15deg) rotateY(20deg);
}

.vr-controller-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 0, 170, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 0, 170, 0.3);
}

.vr-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: particle-float 5s ease-in-out infinite;
}

.vr-particles span:nth-child(1) { top: 15%; left: 25%; }
.vr-particles span:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.7s; background: var(--accent-magenta); box-shadow: 0 0 6px var(--accent-magenta); }
.vr-particles span:nth-child(3) { bottom: 35%; left: 18%; animation-delay: 1.4s; }
.vr-particles span:nth-child(4) { bottom: 20%; right: 25%; animation-delay: 2.1s; background: var(--accent-purple); }
.vr-particles span:nth-child(5) { top: 45%; left: 5%; animation-delay: 2.8s; }
.vr-particles span:nth-child(6) { top: 12%; right: 35%; animation-delay: 3.5s; background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.vr-particles span:nth-child(7) { bottom: 45%; right: 10%; animation-delay: 4.2s; }
.vr-particles span:nth-child(8) { top: 65%; left: 30%; animation-delay: 1s; width: 5px; height: 5px; }
.vr-particles span:nth-child(9) { top: 38%; right: 8%; animation-delay: 3s; width: 2px; height: 2px; }
.vr-particles span:nth-child(10) { bottom: 12%; left: 40%; animation-delay: 4.8s; background: var(--accent-magenta); }
.vr-particles span:nth-child(11) { top: 8%; left: 45%; animation-delay: 1.8s; width: 6px; height: 6px; }
.vr-particles span:nth-child(12) { bottom: 8%; right: 40%; animation-delay: 3.2s; background: var(--accent-purple); }
.vr-particles span:nth-child(13) { top: 72%; right: 30%; animation-delay: 0.4s; }
.vr-particles span:nth-child(14) { top: 25%; left: 42%; animation-delay: 2.6s; background: var(--accent-green); }
.vr-particles span:nth-child(15) { bottom: 50%; left: 3%; animation-delay: 5.2s; width: 5px; height: 5px; background: var(--accent-magenta); }

.vr-data-rain span {
  position: absolute;
  top: -20px;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-cyan), transparent);
  opacity: 0.4;
  animation: data-fall 3s linear infinite;
}

.vr-data-rain span:nth-child(1) { left: 15%; animation-delay: 0s; }
.vr-data-rain span:nth-child(2) { left: 28%; animation-delay: 0.8s; height: 55px; background: linear-gradient(180deg, var(--accent-magenta), transparent); }
.vr-data-rain span:nth-child(3) { left: 42%; animation-delay: 1.6s; }
.vr-data-rain span:nth-child(4) { left: 58%; animation-delay: 0.4s; height: 35px; background: linear-gradient(180deg, var(--accent-green), transparent); }
.vr-data-rain span:nth-child(5) { left: 72%; animation-delay: 2.2s; }
.vr-data-rain span:nth-child(6) { left: 88%; animation-delay: 1s; height: 50px; }

/* Sections */
.section {
  position: relative;
  padding: 100px 5%;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s ease;
}

.feature-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--glow-cyan);
}

.feature-card--large {
  grid-column: span 2;
  grid-row: span 2;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}

.feature-card--image {
  padding: 0;
  overflow: hidden;
  min-height: 360px;
}

.feature-card-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card--image:hover .feature-card-image img {
  transform: scale(1.05);
}

.feature-card--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.97) 35%, rgba(5, 5, 8, 0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.feature-card--image .feature-icon,
.feature-card--image h3,
.feature-card--image p,
.feature-card--image .feature-glow {
  position: relative;
  z-index: 2;
}

.feature-card--image .feature-icon,
.feature-card--image h3,
.feature-card--image p {
  margin-left: 48px;
  margin-right: 48px;
}

.feature-card--image .feature-icon {
  margin-top: auto;
  padding-top: 48px;
}

.feature-card--image p {
  margin-bottom: 48px;
}

.feature-card--accent {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(255, 0, 170, 0.08));
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-card--accent:hover {
  border-color: var(--accent-magenta);
  box-shadow: var(--glow-magenta);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08), transparent 50%);
  pointer-events: none;
}

/* Games */
.games {
  background: linear-gradient(180deg, transparent, rgba(15, 15, 26, 0.5), transparent);
  padding-bottom: 72px;
}

.games-carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.games-scroll-hint {
  display: none;
}

.game-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: scale(1.03);
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-cyan);
}

.game-card--featured {
  grid-column: span 1;
  border-color: rgba(255, 0, 170, 0.3);
}

.game-card--featured:hover {
  border-color: var(--accent-magenta);
  box-shadow: var(--glow-magenta);
}

.game-card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
  overflow: hidden;
}

.game-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 5, 8, 0.98) 0%,
    rgba(5, 5, 8, 0.55) 45%,
    rgba(5, 5, 8, 0.25) 100%
  );
  z-index: 1;
}

.game-card:hover .game-card-bg img {
  transform: scale(1.08);
}

.game-card-bg--village::after {
  background: linear-gradient(to top, rgba(5, 5, 8, 0.98) 0%, rgba(10, 40, 64, 0.5) 50%, rgba(139, 92, 246, 0.2) 100%);
}

.game-card-bg--escape::after {
  background: linear-gradient(to top, rgba(5, 5, 8, 0.98) 0%, rgba(40, 10, 24, 0.55) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.game-card-bg--kids::after {
  background: linear-gradient(to top, rgba(5, 5, 8, 0.98) 0%, rgba(16, 40, 24, 0.45) 50%, rgba(0, 255, 136, 0.15) 100%);
}

.game-card-bg--1 {
  background: linear-gradient(160deg, #0a1628 0%, #1a0a2e 40%, #ff00aa33 100%);
}

.game-card-bg--2 {
  background: linear-gradient(160deg, #0a1a28 0%, #0a2840 30%, #00f0ff33 60%, #8b5cf633 100%);
}

.game-card-bg--3 {
  background: linear-gradient(160deg, #0a2010 0%, #102818 40%, #00ff8833 100%);
}

.game-card-bg--4 {
  background: linear-gradient(160deg, #1a0a0a 0%, #280a18 40%, #8b5cf633 100%);
}

.game-card-bg--village,
.game-card-bg--escape,
.game-card-bg--kids {
  background: var(--bg-card);
}

.game-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.game-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.game-tag--purple {
  color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.15);
}

.game-tag--magenta {
  color: var(--accent-magenta);
  background: rgba(255, 0, 170, 0.12);
}

.game-tag--green {
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.1);
}

.game-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.game-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 14px;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.game-players {
  font-family: var(--font-display);
  font-size: 0.7rem;
  color: var(--accent-green);
  letter-spacing: 0.08em;
}

.game-rating {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.game-rating--all {
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.08);
}

.game-rating--teen {
  color: #ffaa44;
  border-color: rgba(255, 170, 68, 0.3);
  background: rgba(255, 170, 68, 0.08);
}

.game-rating--kids {
  color: var(--accent-green);
  border-color: rgba(0, 255, 136, 0.25);
  background: rgba(0, 255, 136, 0.08);
}

/* Pricing */
.pricing {
  background: linear-gradient(180deg, transparent, rgba(15, 15, 26, 0.6), transparent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--glow-cyan);
}

.price-card--featured {
  border-color: rgba(255, 0, 170, 0.35);
  background: linear-gradient(160deg, rgba(15, 15, 26, 0.95), rgba(139, 92, 246, 0.08));
}

.price-card--featured:hover {
  border-color: var(--accent-magenta);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), var(--glow-magenta);
}

.price-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple));
  color: white;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  border-radius: 100px;
  box-shadow: var(--glow-magenta);
}

.price-card-glow {
  position: absolute;
  top: -60%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06), transparent 50%);
  pointer-events: none;
}

.price-card-glow--magenta {
  background: radial-gradient(circle, rgba(255, 0, 170, 0.08), transparent 50%);
}

.price-tier {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.price-card--featured .price-tier {
  color: var(--accent-magenta);
}

.price-header h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.price-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.price-amount {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
  line-height: 1;
}

.price-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 8px;
}

.price-card--featured .price-currency {
  color: var(--accent-magenta);
}

.price-value {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-card--featured .price-value {
  background: linear-gradient(135deg, var(--text-primary), var(--accent-magenta));
  -webkit-background-clip: text;
  background-clip: text;
}

.price-cents {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 10px;
}

.price-card--featured .price-cents {
  color: var(--accent-magenta);
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 40px;
  font-style: italic;
}

/* Leaderboard */
.leaderboard-section {
  padding: 64px 5% 80px;
  margin-top: -24px;
  background: linear-gradient(180deg, transparent, rgba(15, 15, 26, 0.4), transparent);
}

.leaderboard-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.leaderboard-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.leaderboard-section .section-header {
  margin-bottom: 44px;
}

.leaderboard-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.podium-player {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 200px;
}

.podium-player--1 {
  order: 2;
  z-index: 2;
}

.podium-player--2 {
  order: 1;
}

.podium-player--3 {
  order: 3;
}

.podium-crown {
  font-size: 1.5rem;
  margin-bottom: 4px;
  animation: float 3s ease-in-out infinite;
}

.podium-rank {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.podium-player--1 .podium-rank {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.podium-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
}

.podium-avatar--gold {
  width: 80px;
  height: 80px;
  border-color: #ffd700;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.podium-avatar--silver {
  border-color: #c0c0c0;
  box-shadow: 0 0 20px rgba(192, 192, 192, 0.3);
  background: linear-gradient(135deg, #c0c0c0, #808080);
}

.podium-avatar--bronze {
  border-color: #cd7f32;
  box-shadow: 0 0 20px rgba(205, 127, 50, 0.3);
  background: linear-gradient(135deg, #cd7f32, #8b4513);
}

.podium-player h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.podium-score {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent-cyan);
  text-shadow: var(--glow-cyan);
}

.podium-player--1 .podium-score {
  font-size: 1.6rem;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.podium-game {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.podium-stand {
  width: 100%;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
}

.podium-stand--1 {
  height: 120px;
  border-color: rgba(255, 215, 0, 0.25);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.1);
}

.podium-stand--2 {
  height: 80px;
  border-color: rgba(192, 192, 192, 0.2);
}

.podium-stand--3 {
  height: 60px;
  border-color: rgba(205, 127, 50, 0.2);
}

.leaderboard-table {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  max-height: 520px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 240, 255, 0.3) transparent;
}

.leaderboard-table::-webkit-scrollbar {
  width: 6px;
}

.leaderboard-table::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.3);
  border-radius: 3px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 120px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.leaderboard-row:not(.leaderboard-header):hover {
  background: rgba(0, 240, 255, 0.04);
}

.leaderboard-header {
  background: rgba(0, 240, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.lb-rank {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-muted);
}

.lb-player {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.lb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  flex-shrink: 0;
}

.lb-avatar--magenta { background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple)); }
.lb-avatar--green { background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan)); }
.lb-avatar--purple { background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue)); }
.lb-avatar--gold { background: linear-gradient(135deg, #ffd700, #ff8c00); }
.lb-avatar--orange { background: linear-gradient(135deg, #ff8844, var(--accent-magenta)); }

.lb-game {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.lb-score {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-cyan);
  text-align: right;
}

.players-active {
  max-width: 1000px;
  margin: 36px auto 0;
  overflow: hidden;
}

.players-active-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-green);
  margin-bottom: 16px;
}

.players-active-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: players-scroll 35s linear infinite;
}

.player-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(15, 15, 26, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.player-chip em {
  font-style: normal;
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
}

.player-chip-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

.leaderboard-cta {
  text-align: center;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.leaderboard-cta a {
  color: var(--accent-magenta);
  font-weight: 600;
  transition: color 0.3s;
}

.leaderboard-cta a:hover {
  color: var(--accent-cyan);
}

.spec-orb {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 20px;
  background: rgba(15, 15, 26, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
}

.spec-orb--1 { top: 10%; left: 5%; animation-delay: 0s; }
.spec-orb--2 { top: 20%; right: 0; animation-delay: 1s; }
.spec-orb--3 { bottom: 15%; left: 15%; animation-delay: 2s; }

.spec-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-cyan);
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.spec-list {
  list-style: none;
  margin-bottom: 36px;
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.check {
  color: var(--accent-green);
  font-weight: 700;
}

/* Community */
.community-banner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 48px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(0, 240, 255, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.community-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 0, 170, 0.15), transparent 70%);
  pointer-events: none;
}

.community-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.community-content p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.community-players {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}

.community-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  background: rgba(5, 5, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  transition: border-color 0.3s, transform 0.3s;
}

.community-player:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.community-player--more {
  border-style: dashed;
  border-color: rgba(0, 240, 255, 0.25);
  color: var(--accent-cyan);
}

.community-player-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  flex-shrink: 0;
}

.community-player-avatar--m { background: linear-gradient(135deg, var(--accent-magenta), var(--accent-purple)); }
.community-player-avatar--g { background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan)); }
.community-player-avatar--p { background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue)); }
.community-player-avatar--c { background: linear-gradient(135deg, #ff8844, var(--accent-magenta)); }
.community-player-avatar--o { background: linear-gradient(135deg, #ffd700, #ff8c00); }
.community-player-avatar--l { background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan)); }

/* Footer */
.footer {
  padding: 60px 5% 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 6px 0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--accent-magenta);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes ring-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(0, 240, 255, 0.5); }
  50% { text-shadow: 0 0 40px rgba(0, 240, 255, 0.8), 0 0 60px rgba(255, 0, 170, 0.3); }
}

@keyframes visor-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes particle-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-15px) scale(1.2); opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes visor-scan {
  0%, 100% { top: 10%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 90%; opacity: 0; }
}

@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.6; }
  94% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
}

@keyframes assembly-float {
  0%, 100% { transform: translate(-50%, -50%) rotateX(8deg) rotateY(-14deg) translateY(0); }
  50% { transform: translate(-50%, -50%) rotateX(10deg) rotateY(-12deg) translateY(-18px); }
}

@keyframes controller-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes node-orbit {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate(4px, -8px) scale(1.1); opacity: 1; }
}

@keyframes world-drift {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(8px); opacity: 0.9; }
}

@keyframes grid-scroll {
  from { background-position: 0 0; }
  to { background-position: 0 24px; }
}

@keyframes hex-drift {
  from { background-position: 0 0; }
  to { background-position: 56px 100px; }
}

@keyframes hud-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
  94% { opacity: 1; }
  95% { opacity: 0.7; }
  96% { opacity: 1; }
}

@keyframes player-frame-glow {
  0%, 100% {
    border-color: rgba(0, 240, 255, 0.45);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.25), 0 0 80px rgba(255, 0, 170, 0.12), 0 20px 50px rgba(0, 0, 0, 0.5);
  }
  50% {
    border-color: rgba(255, 0, 170, 0.5);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.35), 0 0 90px rgba(255, 0, 170, 0.2), 0 20px 50px rgba(0, 0, 0, 0.5);
  }
}

@keyframes aura-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes scene-tilt {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(4deg); }
}

@keyframes aurora-shift {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.4; }
  50% { transform: rotate(8deg) scale(1.08); opacity: 0.7; }
}

@keyframes pulse-expand {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

@keyframes gyro-tilt-x {
  from { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); }
}

@keyframes gyro-tilt-y {
  from { transform: translate(-50%, -50%) rotateY(68deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateY(68deg) rotateZ(360deg); }
}

@keyframes gyro-flat {
  from { transform: translate(-50%, -50%) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateZ(360deg); }
}

@keyframes hex-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes hex-dash {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 40; }
}

@keyframes scanner-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes nucleus-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes beam-flow {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}

@keyframes hud-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-6px); }
}

@keyframes bar-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes node-ping {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes core-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

@keyframes floor-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes visor-glow-pulse {
  0%, 100% { box-shadow: 0 0 60px rgba(0, 240, 255, 0.35), 0 0 100px rgba(255, 0, 170, 0.15), 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 -8px 20px rgba(0, 0, 0, 0.4); }
  50% { box-shadow: 0 0 80px rgba(0, 240, 255, 0.5), 0 0 120px rgba(255, 0, 170, 0.25), 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 -8px 20px rgba(0, 0, 0, 0.4); }
}

@keyframes rim-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes chroma-shift {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes stars-twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

@keyframes world-aurora {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(10px); opacity: 1; }
}

@keyframes city-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

@keyframes glitch-flash {
  0%, 92%, 100% { opacity: 0; transform: translateX(0); }
  93% { opacity: 0.8; transform: translateX(-3px); }
  94% { opacity: 0; transform: translateX(3px); }
  95% { opacity: 0.5; transform: translateX(0); }
}

@keyframes reticle-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes controller-glow {
  0%, 100% { border-color: rgba(0, 240, 255, 0.45); }
  50% { border-color: rgba(255, 0, 170, 0.5); }
}

@keyframes data-fall {
  from { transform: translateY(-20px); opacity: 0; }
  10% { opacity: 0.5; }
  to { transform: translateY(560px); opacity: 0; }
}

@keyframes players-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 150px;
    padding-bottom: 60px;
    gap: 24px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
  }

  .hero-visual {
    order: -1;
  }

  .vr-scene {
    width: min(420px, 88vw);
    height: min(420px, 88vw);
  }

  .vr-hud--center { display: none; }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card--large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: auto;
  }

  .feature-card--image {
    min-height: 300px;
  }

  .feature-card--image .feature-icon,
  .feature-card--image h3,
  .feature-card--image p {
    margin-left: 28px;
    margin-right: 28px;
  }

  .feature-card--image .feature-icon {
    padding-top: 28px;
  }

  .feature-card--image p {
    margin-bottom: 28px;
  }

  .games-carousel {
    grid-template-columns: repeat(2, 1fr);
  }

  .leaderboard-podium {
    gap: 12px;
  }

  .podium-player {
    max-width: 140px;
  }

  .podium-avatar--gold {
    width: 64px;
    height: 64px;
  }

  .community-banner {
    flex-direction: column;
    text-align: center;
  }

  .community-players {
    justify-content: center;
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --marquee-height: 28px;
  }

  body:has(.nav-toggle:checked) {
    overflow: hidden;
  }

  .navbar {
    padding: 12px 4%;
  }

  .nav-hamburger {
    display: flex;
  }

  .btn-nav--desktop {
    display: none;
  }

  .nav-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    position: fixed;
    top: calc(var(--marquee-height) + 58px + env(safe-area-inset-top));
    left: 0;
    right: 0;
    padding: 20px 4% 24px;
    background: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    z-index: 105;
  }

  .nav-toggle:checked ~ .nav-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle:checked + .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 16px 12px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links a::after {
    display: none;
  }

  .btn-nav--mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 8px;
    min-height: 52px;
    font-size: 0.8rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .section {
    padding: 72px 4%;
  }

  .leaderboard-section {
    padding: 48px 4% 64px;
    margin-top: -16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero {
    padding: 130px 4% 48px;
    min-height: auto;
  }

  .title-line {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
  }

  .title-sub {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
  }

  .hero-desc {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
    gap: 16px;
    justify-content: space-between;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  .vr-scene {
    width: min(320px, 92vw);
    height: min(320px, 92vw);
    transform: scale(0.92);
  }

  .vr-assembly {
    width: 260px;
    height: 360px;
  }

  .vr-ring-hub {
    width: 260px;
    height: 320px;
  }

  .hero-player {
    width: 220px;
  }

  .hero-player-frame {
    height: 250px;
  }

  .hero-game-brand-title {
    font-size: 1.35rem;
  }

  .vr-hud {
    font-size: 0.5rem;
    padding: 6px 10px;
  }

  .vr-controller--left { left: -50px; }
  .vr-controller--right { right: -50px; }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card--large {
    grid-column: span 1;
    padding: 28px;
  }

  .feature-card--image {
    min-height: 280px;
  }

  .feature-card--image .feature-icon,
  .feature-card--image h3,
  .feature-card--image p {
    margin-left: 24px;
    margin-right: 24px;
  }

  .hero-game-brand-sub {
    letter-spacing: 0.2em;
  }

  .feature-card {
    padding: 24px;
  }

  .games {
    overflow: hidden;
  }

  .games-scroll-hint {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
  }

  .games-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 4px 16px;
    margin: 0 -4%;
    padding-left: 4%;
    padding-right: 4%;
  }

  .games-carousel::-webkit-scrollbar {
    display: none;
  }

  .game-card {
    flex: 0 0 min(85vw, 320px);
    height: 340px;
    scroll-snap-align: center;
  }

  .pricing-grid {
    max-width: 100%;
    gap: 20px;
  }

  .price-card {
    padding: 28px 22px;
  }

  .price-value {
    font-size: 3.2rem;
  }

  .price-cents {
    font-size: 1.4rem;
  }

  .leaderboard-podium {
    gap: 8px;
    padding: 0 4px;
  }

  .podium-player {
    max-width: none;
    flex: 1;
    min-width: 0;
  }

  .podium-player h3 {
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .podium-score {
    font-size: 0.95rem;
  }

  .podium-player--1 .podium-score {
    font-size: 1.1rem;
  }

  .podium-game {
    font-size: 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .podium-avatar {
    width: 48px;
    height: 48px;
  }

  .podium-avatar--gold {
    width: 56px;
    height: 56px;
  }

  .podium-stand--1 { height: 72px; }
  .podium-stand--2 { height: 52px; }
  .podium-stand--3 { height: 40px; }

  .leaderboard-row {
    grid-template-columns: 36px 1fr 72px;
    gap: 8px;
    padding: 14px 14px;
    font-size: 0.9rem;
  }

  .lb-game {
    display: none;
  }

  .leaderboard-header .lb-game {
    display: none;
  }

  .lb-player {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .community-banner {
    padding: 36px 24px;
    gap: 28px;
  }

  .community-banner .btn-large {
    width: 100%;
  }

  .footer {
    padding: 48px 4% 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-social {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .scanlines {
    opacity: 0.2;
  }

  .hero-glow--left,
  .hero-glow--right {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 380px) {
  :root {
    --marquee-height: 26px;
  }

  .logo-icon {
    font-size: 1.25rem;
  }

  .logo-text {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .marquee-track span {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-badge {
    font-size: 0.58rem;
    padding: 6px 12px;
    letter-spacing: 0.12em;
  }

  .vr-scene {
    width: min(280px, 94vw);
    height: min(280px, 94vw);
    transform: scale(0.82);
  }

  .vr-assembly {
    width: 220px;
    height: 320px;
  }

  .vr-ring-hub {
    width: 220px;
    height: 280px;
  }

  .hero-player {
    width: 190px;
  }

  .hero-player-frame {
    height: 220px;
  }

  .hero-game-brand {
    margin-top: -44px;
    padding: 14px 12px;
  }

  .hero-game-brand-title {
    font-size: 1.15rem;
  }

  .hero-player-status {
    font-size: 0.48rem;
  }

  .hero-mini-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.45rem;
  }

  .players-active-track {
    animation-duration: 25s;
  }

  .community-player {
    font-size: 0.65rem;
    padding: 6px 12px 6px 6px;
  }

  .vr-hud--tl,
  .vr-hud--tr,
  .vr-hud--center { display: none; }

  .vr-beams { opacity: 0.5; }
  .vr-data-rain { display: none; }

  .vr-node { width: 26px; height: 26px; font-size: 0.5rem; }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    flex: 1 1 28%;
    min-width: 80px;
  }

  .price-badge {
    top: 12px;
    right: 12px;
    font-size: 0.55rem;
    padding: 5px 10px;
  }

  .podium-crown {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }
}
