/* ============================================
   SCOPEFUNNUDG — NEURAL HEXA GRID DESIGN SYSTEM
============================================ */

/* VARIABLES */
:root {
  --bg-primary: #07111f;
  --bg-secondary: #0d1c30;
  --bg-tertiary: #14263d;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(56,189,248,0.18);
  --glass-shadow: 0 0 80px rgba(34,211,238,0.12);
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --grad-cyan: linear-gradient(135deg, #06b6d4, #67e8f9);
  --grad-blue: linear-gradient(135deg, #3b82f6, #60a5fa);
  --grad-purple: linear-gradient(135deg, #8b5cf6, #a78bfa);
  --grad-premium: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6);
  --text-primary: #f4fbff;
  --text-secondary: #cce7f6;
  --text-muted: #87a5bb;
  --glow-cyan: rgba(103,232,249,0.45);
  --glow-blue: rgba(96,165,250,0.40);
  --glow-purple: rgba(167,139,250,0.35);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --container: 1440px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 34px;
}

/* RESET */
* { 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-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
img { max-width:100%; display:block; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* NEURAL BG */
.neural-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(6,182,212,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139,92,246,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(59,130,246,0.08) 0%, transparent 70%),
    var(--bg-primary);
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}
.hex-particle {
  position: absolute;
  width: 200px;
  height: 230px;
  background: var(--grad-cyan);
  opacity: 0.06;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  filter: blur(40px);
  animation: floatHex 18s ease-in-out infinite;
}
.hex-p1 { top: 10%; left: 5%; animation-delay: 0s; }
.hex-p2 { top: 60%; right: 8%; background: var(--grad-purple); animation-delay: -4s; }
.hex-p3 { top: 30%; left: 50%; background: var(--grad-blue); animation-delay: -8s; }
.hex-p4 { bottom: 10%; left: 20%; animation-delay: -12s; }
.hex-p5 { top: 80%; right: 40%; background: var(--grad-purple); animation-delay: -6s; }

@keyframes floatHex {
  0%,100% { transform: translate(0,0) rotate(0deg) scale(1); }
  33% { transform: translate(40px,-30px) rotate(120deg) scale(1.1); }
  66% { transform: translate(-30px,40px) rotate(240deg) scale(0.9); }
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.gradient-text {
  background: var(--grad-premium);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(103,232,249,0.3));
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(7,17,31,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}
.logo-hex {
  width: 38px;
  height: 42px;
  filter: drop-shadow(0 0 12px var(--glow-cyan));
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { filter: drop-shadow(0 0 12px var(--glow-cyan)); }
  50% { filter: drop-shadow(0 0 24px var(--glow-cyan)); }
}
.logo-text { color: var(--text-primary); letter-spacing: 0.05em; }
.logo-dot {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  display: flex;
  gap: 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 6px;
}
.nav-link {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 22px;
  color: var(--text-secondary);
  position: relative;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(6,182,212,0.1);
}
.nav-link.active {
  background: var(--grad-cyan);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--glow-cyan);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--grad-premium);
  color: white;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  box-shadow: 0 0 30px rgba(103,232,249,0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(103,232,249,0.5);
}
.cta-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.cta-btn:hover::after { left: 100%; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 80px 0 140px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.glow-cyan { top: -10%; left: -10%; width: 500px; height: 500px; background: var(--cyan); opacity: 0.18; }
.glow-purple { bottom: -10%; right: -10%; width: 600px; height: 600px; background: var(--purple); opacity: 0.15; }
.glow-blue { top: 40%; left: 40%; width: 400px; height: 400px; background: var(--blue); opacity: 0.12; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: calc(100vh - 220px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-light);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-light);
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-premium);
  color: white;
  box-shadow: 0 0 30px rgba(103,232,249,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 50px rgba(103,232,249,0.6);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 100%; }

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(20px);
}
.btn-secondary:hover {
  background: rgba(6,182,212,0.1);
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.btn-lg { padding: 20px 36px; font-size: 17px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.hero-disclaimer {
  margin-top: 30px;
  padding: 14px 18px;
  background: rgba(139,92,246,0.08);
  border-left: 3px solid var(--purple);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* HERO RIGHT - GAME PREVIEW */
.hero-right { position: relative; }
.hero-game-preview {
  position: relative;
  perspective: 1000px;
}
.preview-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(6,182,212,0.3) 0%, transparent 70%);
  filter: blur(40px);
}
.preview-frame {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(32px);
  padding: 28px;
  box-shadow: var(--glass-shadow);
  transform: rotateY(-5deg) rotateX(3deg);
  animation: floatPreview 6s ease-in-out infinite;
}
@keyframes floatPreview {
  0%,100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-12px); }
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 28px;
}
.dots { display: flex; gap: 6px; }
.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan-light);
  opacity: 0.5;
}
.dots span:nth-child(1) { background: #f43f5e; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: var(--cyan-light); }
.preview-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.hex-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}
.hex-cell {
  aspect-ratio: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: var(--cyan-light);
  text-shadow: 0 0 12px var(--glow-cyan);
  animation: cellGlow 3s ease-in-out infinite;
}
.hex-cell.center {
  background: var(--grad-premium);
  color: white;
  box-shadow: 0 0 30px var(--glow-cyan);
}
.hex-cell:nth-child(odd) { animation-delay: 0.5s; }
@keyframes cellGlow {
  0%,100% { box-shadow: 0 0 12px rgba(103,232,249,0.2); }
  50% { box-shadow: 0 0 24px rgba(103,232,249,0.5); }
}

.preview-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.word-chip {
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.word-chip.found {
  background: var(--grad-cyan);
  color: var(--bg-primary);
  font-weight: 600;
  box-shadow: 0 0 16px var(--glow-cyan);
}

.floating-hex {
  position: absolute;
  width: 60px;
  height: 70px;
  background: var(--grad-cyan);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.3;
  animation: floatHex2 8s ease-in-out infinite;
}
.hex-f1 { top: -30px; right: -20px; }
.hex-f2 { bottom: -20px; left: -30px; background: var(--grad-purple); animation-delay: -3s; }
.hex-f3 { top: 50%; right: -40px; background: var(--grad-blue); animation-delay: -5s; width: 40px; height: 46px; }
@keyframes floatHex2 {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(10px,-15px) rotate(15deg); }
}

/* SECTIONS COMMON */
.section-head {
  text-align: center;
  margin-bottom: 80px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-tag {
  display: inline-block;
  padding: 8px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--cyan-light);
  margin-bottom: 24px;
  backdrop-filter: blur(20px);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.1;
}
.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* GAME SECTION */
.game-section { padding: 140px 0; }
.game-container {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: all 0.4s ease;
}
.game-container:hover {
  box-shadow: 0 0 100px rgba(103,232,249,0.25);
  transform: translateY(-4px);
}
.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(7,17,31,0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.game-info { display: flex; align-items: center; gap: 16px; }
.game-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 16px var(--glow-cyan));
}
.game-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.game-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.game-actions { display: flex; gap: 8px; align-items: center; }
.g-btn {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.g-btn:hover {
  background: rgba(6,182,212,0.15);
  border-color: var(--cyan);
  color: var(--cyan-light);
  transform: translateY(-2px);
}
.g-btn.fullscreen {
  width: auto;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 500;
}

.game-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #000;
}
.game-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-howto {
  padding: 48px 32px;
  border-top: 1px solid var(--glass-border);
}
.game-howto h3 {
  font-size: 24px;
  margin-bottom: 32px;
  text-align: center;
}
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.howto-card {
  padding: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.howto-card:hover {
  background: rgba(6,182,212,0.05);
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.howto-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.howto-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.howto-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* FEATURES */
.features-section { padding: 140px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 36px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(32px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card.large {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--grad-cyan);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(6,182,212,0.2);
  border-color: rgba(6,182,212,0.4);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  font-size: 36px;
  margin-bottom: 20px;
  display: inline-block;
  width: 64px;
  height: 64px;
  line-height: 64px;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.feature-card img {
  margin-top: 24px;
  border-radius: var(--radius);
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

/* SHOWCASE */
.showcase-section { padding: 140px 0; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.showcase-text .section-tag { margin-bottom: 24px; }
.showcase-text .section-title { text-align: left; margin-bottom: 24px; }
.showcase-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}
.check-list {
  margin-bottom: 36px;
}
.check-list li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 15px;
  border-bottom: 1px solid rgba(56,189,248,0.08);
}
.check-list li:last-child { border-bottom: none; }

.showcase-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}
.showcase-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.showcase-visual:hover img { transform: scale(1.05); }
.showcase-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(103,232,249,0.3) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

/* STATS */
.stats-section { padding: 140px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  padding: 40px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(32px);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad-premium);
  z-index: -1;
  opacity: 0;
  border-radius: var(--radius-lg);
  filter: blur(20px);
  transition: opacity 0.4s ease;
}
.stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6,182,212,0.4);
}
.stat-card:hover::after { opacity: 0.2; }
.stat-card-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  background: var(--grad-premium);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.stat-card-label {
  color: var(--text-muted);
  font-size: 14px;
  font-family: var(--font-mono);
}

/* CTA SECTION */
.cta-section { padding: 80px 0 140px; }
.cta-box {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(32px);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(6,182,212,0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(139,92,246,0.2) 0%, transparent 50%);
  filter: blur(40px);
  z-index: -1;
}
.cta-box h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
}
.cta-box p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-fineprint {
  margin-top: 24px !important;
  font-size: 12px !important;
  color: var(--text-muted) !important;
  font-family: var(--font-mono);
}

/* PAGE HERO */
.page-hero {
  padding: 100px 0 60px;
  text-align: center;
}
.page-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  margin: 20px 0;
  line-height: 1.1;
}
.page-sub {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* LEGAL */
.legal-section { padding: 60px 0 140px; }
.legal-content {
  max-width: 880px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(32px);
  padding: 60px 56px;
}
.legal-block { margin-bottom: 40px; }
.legal-block:last-child { margin-bottom: 0; }
.legal-block h2 {
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--text-primary);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.legal-block p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 15px;
}
.legal-block ul {
  margin: 16px 0;
  padding-left: 0;
}
.legal-block li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}
.legal-block li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--cyan-light);
  font-size: 10px;
  top: 14px;
}
.legal-block strong { color: var(--text-primary); }

.info-banner {
  margin-top: 60px;
  padding: 32px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.3);
  border-radius: var(--radius-lg);
}
.info-banner h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--purple-light);
}
.info-banner p { color: var(--text-secondary); line-height: 1.7; }

/* GAME INFO GRID */
.game-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.info-card {
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}
.info-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.info-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.info-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

/* CONTACT */
.contact-section { padding: 60px 0 140px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}
.contact-card {
  padding: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}
.contact-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
}
.contact-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.contact-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--cyan-light);
}
.contact-card p, .contact-card a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-card a:hover { color: var(--cyan-light); }

.contact-form {
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(32px);
}
.contact-form h2 {
  font-size: 24px;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(7,17,31,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(6,182,212,0.05);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}
.form-field textarea { resize: vertical; }

/* FOOTER */
.site-footer {
  position: relative;
  padding: 80px 0 32px;
  background: rgba(7,17,31,0.8);
  backdrop-filter: blur(32px);
  border-top: 1px solid var(--glass-border);
  margin-top: 60px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-premium);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--glass-border);
}
.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--cyan-light);
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all 0.3s ease;
}
.footer-col a:hover { color: var(--cyan-light); transform: translateX(4px); }
.footer-col p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}
.footer-col p.hours {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  max-width: 320px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.disclaimer { color: var(--purple-light) !important; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-right { order: -1; }
  .showcase-grid { grid-template-columns: 1fr; gap: 60px; }
  .showcase-visual img { height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.large { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .howto-grid { grid-template-columns: 1fr; }
  .game-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .main-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    padding: 16px;
    z-index: 99;
    background: rgba(7,17,31,0.95);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 14px 20px; text-align: center; }
  .mobile-toggle { display: flex; }
  .cta-btn span { display: none; }
  .cta-btn { padding: 12px; }
  .header-inner { gap: 12px; }

  .hero { padding: 60px 0 80px; min-height: auto; }
  .hero-title { font-size: 40px; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .features-section, .game-section, .showcase-section, .stats-section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .features-grid, .stats-grid { grid-template-columns: 1fr; }
  .feature-card.large { grid-column: span 1; }
  .feature-card img { height: 200px; }
  .legal-content { padding: 40px 24px; }
  .game-controls { padding: 20px; flex-direction: column; align-items: stretch; }
  .game-actions { justify-content: center; flex-wrap: wrap; }
  .game-howto { padding: 32px 20px; }
  .cta-box { padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
}

@media (max-width: 480px) {
  .hex-board { max-width: 220px; gap: 8px; }
  .hex-cell { font-size: 18px; }
  .preview-frame { padding: 20px; transform: none; }
  .hero-game-preview { transform: none; }
  .stat-card-num { font-size: 32px; }
  .page-title { font-size: 36px; }
}