/* ==========================================================================
   NEON LINES - Cyberpunk Synthwave Design System
   Sleek, Refined & Proportional Theme matching Mobile Game DNA
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700;800&family=Orbitron:wght@600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  /* Core Colors */
  --bg-main: #08090C;
  --bg-surface: #11141E;
  --bg-card: #181C2B;
  --bg-glass: rgba(17, 20, 30, 0.85);
  --border-subtle: #1F2438;
  --grid-line: #151824;

  /* Neon Accents */
  --neon-cyan: #00F0FF;
  --neon-lime: #00FF66;
  --neon-pink: #FF2A85;
  --neon-purple: #B026FF;
  --neon-orange: #FF7700;
  --neon-yellow: #FFE600;
  --neon-red: #FF3366;

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #5A657D;

  /* Refined Glows */
  --glow-cyan: 0 0 12px rgba(0, 240, 255, 0.45);
  --glow-pink: 0 0 12px rgba(255, 42, 133, 0.45);
  --glow-lime: 0 0 12px rgba(0, 255, 102, 0.45);
  --glow-purple: 0 0 12px rgba(176, 38, 255, 0.45);
  --glow-yellow: 0 0 12px rgba(255, 230, 0, 0.45);

  /* Typography */
  --font-heading: 'Orbitron', -apple-system, sans-serif;
  --font-body: 'Rajdhani', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Dimensions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --max-width: 1080px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Canvas Background */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  pointer-events: none;
  z-index: -2;
}

.glow-top-left {
  top: -100px;
  left: -100px;
  background: var(--neon-cyan);
}

.glow-bottom-right {
  bottom: -100px;
  right: -100px;
  background: var(--neon-pink);
}

/* ==========================================================================
   Typography Utilities (Sleek & Proportional)
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.8px;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--neon-cyan);
}

.neon-cyan { color: var(--neon-cyan); }
.neon-pink { color: var(--neon-pink); }
.neon-lime { color: var(--neon-lime); }
.neon-purple { color: var(--neon-purple); }
.neon-yellow { color: var(--neon-yellow); }
.neon-orange { color: var(--neon-orange); }

.glow-text-cyan {
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.glow-text-pink {
  text-shadow: 0 0 10px rgba(255, 42, 133, 0.6);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.12);
  padding: 10px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-heading);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.18), rgba(255, 42, 133, 0.18));
  border: 1px solid var(--neon-cyan);
  color: #fff !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-full);
  font-size: 0.75rem !important;
  letter-spacing: 1px !important;
}

.nav-cta:hover {
  background: var(--neon-cyan) !important;
  color: var(--bg-main) !important;
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--neon-cyan);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.audio-btn:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.audio-pulse {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 5px;
  height: 5px;
  background: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 4px var(--neon-lime);
}

.lang-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--neon-cyan);
}

.lang-select option {
  background: var(--bg-surface);
  color: #fff;
  font-family: var(--font-body);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section (Refined & Proportional)
   ========================================================================== */
.hero-section {
  padding: 48px 0 40px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(24, 28, 43, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  margin-bottom: 18px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.hero-title {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.22;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 500;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Cyber Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-cyan), #0099FF);
  color: #08090C !important;
  box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
  color: #08090C !important;
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--neon-pink);
  color: #fff !important;
  box-shadow: 0 0 10px rgba(255, 42, 133, 0.2);
}

.btn-secondary:hover {
  border-color: #fff;
  box-shadow: var(--glow-pink);
  transform: translateY(-2px);
}

/* Hero Artwork Showcase Card */
.hero-graphic-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 240, 255, 0.12);
  transition: border-color 0.3s ease;
}

.hero-graphic-card:hover {
  border-color: rgba(0, 240, 255, 0.5);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-card-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(24, 28, 43, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--neon-cyan);
  text-transform: uppercase;
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 56px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

/* ==========================================================================
   Campaign Levels & Top 1 Table (Catalog from /system/levels_summary)
   ========================================================================== */
.levels-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.levels-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(24, 28, 43, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.levels-bar-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
}

.levels-bar-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neon-lime);
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Desktop Levels Table */
.levels-table-wrap {
  overflow-x: auto;
}

table.levels-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

table.levels-table th {
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

table.levels-table td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(31, 36, 56, 0.6);
  vertical-align: middle;
}

table.levels-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.level-id-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.level-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.level-meta-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stars-badge {
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.champion-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trophy-icon {
  font-size: 1.1rem;
}

.trophy-dim {
  font-size: 0.95rem;
  opacity: 0.4;
}

.champ-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.champ-highlight {
  color: var(--neon-yellow);
}

.champ-unclaimed {
  color: var(--text-muted);
  font-weight: 500;
}

.time-cell {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

.time-highlight {
  color: var(--neon-yellow);
  background: rgba(255, 230, 0, 0.1);
  border: 1px solid rgba(255, 230, 0, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.time-dim {
  color: var(--text-muted);
}

.text-right {
  text-align: right;
}

/* Mobile Responsive Cards Grid (Hidden on Desktop, Visible on Mobile) */
.levels-cards-grid {
  display: none;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
}

.level-card-compact {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.level-card-compact.has-champ {
  border-color: rgba(255, 230, 0, 0.35);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title-group h4 {
  font-size: 0.95rem;
}

.card-stages-info {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.champ-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.time-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==========================================================================
   Mechanics & Line Arsenal
   ========================================================================== */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.line-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.line-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.line-card.cyan::before { background: var(--neon-cyan); box-shadow: var(--glow-cyan); }
.line-card.lime::before { background: var(--neon-lime); box-shadow: var(--glow-lime); }
.line-card.pink::before { background: var(--neon-pink); box-shadow: var(--glow-pink); }
.line-card.orange::before { background: var(--neon-orange); box-shadow: 0 0 10px var(--neon-orange); }
.line-card.purple::before { background: var(--neon-purple); box-shadow: var(--glow-purple); }

.line-card:hover {
  transform: translateY(-3px);
}

.line-card.cyan:hover { border-color: var(--neon-cyan); }
.line-card.lime:hover { border-color: var(--neon-lime); }
.line-card.pink:hover { border-color: var(--neon-pink); }
.line-card.orange:hover { border-color: var(--neon-orange); }
.line-card.purple:hover { border-color: var(--neon-purple); }

.line-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.line-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.line-card.cyan .line-badge { background: rgba(0, 240, 255, 0.12); color: var(--neon-cyan); border: 1px solid rgba(0, 240, 255, 0.3); }
.line-card.lime .line-badge { background: rgba(0, 255, 102, 0.12); color: var(--neon-lime); border: 1px solid rgba(0, 255, 102, 0.3); }
.line-card.pink .line-badge { background: rgba(255, 42, 133, 0.12); color: var(--neon-pink); border: 1px solid rgba(255, 42, 133, 0.3); }
.line-card.orange .line-badge { background: rgba(255, 119, 0, 0.12); color: var(--neon-orange); border: 1px solid rgba(255, 119, 0, 0.3); }
.line-card.purple .line-badge { background: rgba(176, 38, 255, 0.12); color: var(--neon-purple); border: 1px solid rgba(176, 38, 255, 0.3); }

.line-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.line-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* Physics chips */
.line-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.game-mockup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.mockup-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: left;
  transition: transform 0.2s ease;
}

.mockup-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 255, 0.3);
}

.mockup-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.mockup-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.mockup-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Legal Pages
   ========================================================================== */
.legal-wrapper {
  padding: 48px 0 80px;
  max-width: 820px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-header .badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.legal-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.legal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 14px;
  color: var(--neon-cyan);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 20px 0 8px;
}

.legal-content p, .legal-content ul, .legal-content ol {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 6px;
}

.callout {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  border-left: 3px solid;
}

.callout-info {
  background: rgba(0, 240, 255, 0.06);
  border-color: var(--neon-cyan);
}

.callout-info h4 {
  color: var(--neon-cyan);
  margin-bottom: 6px;
  font-size: 1rem;
}

.callout-warning {
  background: rgba(255, 119, 0, 0.06);
  border-color: var(--neon-orange);
}

.callout-warning h4 {
  color: var(--neon-orange);
  margin-bottom: 6px;
  font-size: 1rem;
}

.callout-danger {
  background: rgba(255, 51, 102, 0.06);
  border-color: var(--neon-red);
}

.callout-danger h4 {
  color: var(--neon-red);
  margin-bottom: 6px;
  font-size: 1rem;
}

.steps-container {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--neon-pink);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.step-body p {
  margin: 0;
  font-size: 0.92rem;
}

.data-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

table.data-table th,
table.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

table.data-table th {
  background: var(--bg-card);
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 10px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.92rem;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-content {
    padding: 20px 16px;
  }

  .hero-section {
    padding: 36px 0 28px;
  }

  .levels-table-wrap {
    display: none;
  }

  .levels-cards-grid {
    display: grid;
  }
}
