/* ========================================
   PLAVONSTUDIO - NEON GAME CORE UI
   Full Design System
   ======================================== */

/* --- CSS VARIABLES --- */
:root {
  /* Colors */
  --bg-primary: #05070d;
  --bg-secondary: #0b1220;
  --bg-layer: #111827;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --text-primary: #f0f4ff;
  --text-secondary: rgba(240, 244, 255, 0.65);
  --text-muted: rgba(240, 244, 255, 0.4);
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;
  --accent-red: #ef4444;
  --accent-red-light: #f87171;
  --gradient-blue: linear-gradient(135deg, #3b82f6, #06b6d4);
  --gradient-purple: linear-gradient(135deg, #8b5cf6, #a78bfa);
  --gradient-red: linear-gradient(135deg, #ef4444, #f87171);
  --glow-blue: 0 0 20px rgba(59, 130, 246, 0.3), 0 0 60px rgba(59, 130, 246, 0.1);
  --glow-purple: 0 0 20px rgba(139, 92, 246, 0.3), 0 0 60px rgba(139, 92, 246, 0.1);
  --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.3), 0 0 60px rgba(6, 182, 212, 0.1);

  /* Spacing */
  --section-padding: clamp(60px, 8vw, 120px);
  --container-max: 1280px;
  --container-padding: clamp(16px, 4vw, 40px);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Typography */
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* --- CURSOR GLOW --- */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: clamp(10px, 2vw, 20px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - clamp(20px, 4vw, 80px));
  max-width: var(--container-max);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(10px, 1.5vw, 16px) clamp(16px, 2vw, 32px);
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.header.scrolled .nav-container {
  background: rgba(5, 7, 13, 0.95);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-blue);
  border-radius: 10px;
  font-size: 14px;
  color: #fff;
  box-shadow: var(--glow-blue);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.logo-accent {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-blue);
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

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

/* Nav CTA */
.btn-nav {
  font-size: 13px;
  padding: 10px 24px;
}

/* Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-links,
  .btn-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* --- MOBILE NAV --- */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0 12px 12px;
}

.mobile-nav.show {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 8px;
  background: rgba(11, 18, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
  padding: 4px 8px;
}

.mobile-nav-link.active {
  color: var(--accent-blue);
}

.mobile-nav-icon {
  font-size: 20px;
}

@media (max-width: 768px) {
  .mobile-nav {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  padding: 14px 32px;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5), var(--glow-blue);
}

.btn-glass {
  background: var(--glass-bg);
  color: var(--text-primary);
  padding: 14px 32px;
  font-size: 15px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 14px;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  font-size: 12px;
}

.pulse-btn {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.2);
  }
}

@media (max-width: 480px) {
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(120px, 15vw, 160px) 0 var(--section-padding);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Grid Floor */
.grid-floor {
  position: absolute;
  bottom: 0;
  left: -50%;
  right: -50%;
  height: 60%;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center bottom;
  animation: grid-move 20s linear infinite;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

@keyframes grid-move {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Light Beams */
.light-beam {
  position: absolute;
  width: 2px;
  height: 100%;
  opacity: 0.07;
}

.beam-1 {
  left: 20%;
  background: linear-gradient(to bottom, transparent, var(--accent-blue), transparent);
  animation: beam-flicker 4s ease-in-out infinite;
}

.beam-2 {
  left: 50%;
  background: linear-gradient(to bottom, transparent, var(--accent-purple), transparent);
  animation: beam-flicker 5s ease-in-out infinite 1s;
}

.beam-3 {
  left: 80%;
  background: linear-gradient(to bottom, transparent, var(--accent-cyan), transparent);
  animation: beam-flicker 6s ease-in-out infinite 2s;
}

@keyframes beam-flicker {
  0%, 100% { opacity: 0.03; }
  50% { opacity: 0.1; }
}

/* Particles */
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 8s ease-in-out infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: clamp(16px, 2vw, 24px);
  letter-spacing: -0.5px;
}

.gradient-text {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 20px);
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: clamp(28px, 4vw, 44px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(16px, 2vw, 24px) clamp(24px, 3vw, 48px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: clamp(10px, 1vw, 13px);
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--glass-border);
}

/* --- SECTIONS --- */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- GAME SECTION --- */
.game-section {
  background: var(--bg-secondary);
}

.game-panel {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.game-panel-glow {
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--gradient-blue);
  border-radius: 2px;
  filter: blur(1px);
  box-shadow: var(--glow-blue);
}

.game-iframe-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.game-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-iframe-large {
  aspect-ratio: 16 / 9;
}

.game-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 28px) clamp(20px, 2.5vw, 32px);
  flex-wrap: wrap;
}

.game-info {
  flex: 1;
  min-width: 200px;
}

.game-panel-title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 700;
  margin-bottom: 6px;
}

.game-panel-desc {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--text-secondary);
  line-height: 1.6;
}

.game-panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Game Details Grid */
.game-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vw, 56px);
}

.game-detail-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  transition: all 0.3s ease;
}

.game-detail-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

/* --- FEATURES SECTION --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.08);
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 5vw, 60px);
  height: clamp(48px, 5vw, 60px);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  margin-bottom: 20px;
}

.feature-icon-wrap.icon-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.08));
  border-color: rgba(139, 92, 246, 0.2);
}

.feature-icon-wrap.icon-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.08));
  border-color: rgba(6, 182, 212, 0.2);
}

.feature-icon-wrap.icon-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(248, 113, 113, 0.08));
  border-color: rgba(239, 68, 68, 0.2);
}

.feature-icon {
  font-size: clamp(22px, 2.5vw, 28px);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CTA SECTION --- */
.cta-section {
  padding-bottom: 0;
}

.cta-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 96px) clamp(24px, 4vw, 64px);
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(139, 92, 246, 0.06) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto clamp(28px, 3vw, 40px);
  line-height: 1.7;
}

/* --- LEGAL BANNER --- */
.legal-banner {
  padding: clamp(24px, 3vw, 40px) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.legal-content {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
}

.legal-icon {
  font-size: clamp(24px, 3vw, 32px);
  flex-shrink: 0;
}

.legal-text {
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-text strong {
  color: var(--text-primary);
}

/* --- FOOTER --- */
.footer {
  padding: clamp(48px, 6vw, 80px) 0 clamp(24px, 3vw, 40px);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: clamp(32px, 4vw, 56px);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-desc {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-links li {
  font-size: clamp(13px, 1vw, 15px);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  background: var(--gradient-blue);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.footer-bottom {
  padding-top: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: clamp(12px, 1vw, 14px);
  color: var(--text-muted);
}

.footer-disclaimer {
  color: var(--text-muted);
}

/* --- PAGE HERO --- */
.page-hero {
  padding: clamp(140px, 18vw, 200px) 0 clamp(48px, 6vw, 80px);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  position: relative;
}

.page-hero-sm {
  padding-bottom: clamp(32px, 4vw, 56px);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: clamp(15px, 1.3vw, 20px);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* --- CONTENT CARDS --- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(48px, 6vw, 80px);
}

.content-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 48px);
}

.content-card-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.content-card p {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CONTACT PAGE --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(20px, 3vw, 40px);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card,
.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 48px);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.contact-info-item a:hover {
  color: var(--accent-blue);
}

.contact-notice {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 16px;
  padding: 20px;
}

.contact-notice h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  margin-bottom: 8px;
}

.contact-notice p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-notice a {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* --- LEGAL PAGE CONTENT --- */
.legal-page-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 56px);
  max-width: 860px;
  margin: 0 auto;
}

.legal-page-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  margin-top: clamp(28px, 3vw, 40px);
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-page-content h2:first-child {
  margin-top: 0;
}

.legal-page-content p {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page-content li {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-page-content a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.responsible-highlight {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(28px, 3vw, 40px);
}

.responsible-highlight h2 {
  margin-top: 0 !important;
}

/* --- ANIMATIONS --- */
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Neon Flicker */
@keyframes neon-flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.8; }
  94% { opacity: 1; }
  96% { opacity: 0.9; }
  97% { opacity: 1; }
}

/* --- GAME PAGE --- */
.game-page-section {
  padding-top: clamp(20px, 3vw, 40px);
}

.game-panel-full {
  max-width: 100%;
}

/* --- RESPONSIVE UTILITIES --- */
@media (max-width: 768px) {
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }

  .game-panel-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .game-panel-actions {
    width: 100%;
  }

  .game-panel-actions .btn {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    width: 100%;
  }

  .stat-item {
    flex: 1;
  }
}

/* Reduced Motion */
@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;
  }

  .animate-in {
    opacity: 1;
    transform: none;
  }

  .grid-floor,
  .light-beam,
  .particle,
  .cursor-glow {
    display: none;
  }
}

/* Ensure no horizontal overflow */
html, body {
  max-width: 100vw;
}

section, header, footer, div {
  max-width: 100%;
}