/* ==========================================================================
   COIN BOXES - OFFICIAL WEBSITE DESIGN SYSTEM
   Theme: Electric Royal Blue, Radiant Cyan & Glossy Golden Coins
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #040919;
  --bg-deep: #071330;
  --bg-card: rgba(13, 29, 69, 0.7);
  --bg-card-hover: rgba(22, 48, 110, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.05);

  --primary-blue: #168aff;
  --electric-blue: #0138fd;
  --radiant-cyan: #00d4ff;
  --accent-cyan-glow: rgba(0, 212, 255, 0.35);

  --gold-primary: #ffb800;
  --gold-light: #ffd700;
  --gold-dark: #d97706;
  --gold-glow: rgba(255, 184, 0, 0.4);

  --violet-neon: #9562ed;
  --pink-neon: #ff5181;
  --mint-green: #19b985;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-cyan: rgba(0, 212, 255, 0.3);
  --border-gold: rgba(255, 184, 0, 0.4);

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 35px rgba(0, 212, 255, 0.3);
  --shadow-glow-gold: 0 0 35px rgba(255, 184, 0, 0.35);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0d2258 0%, #040919 75%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

/* Background Ambient Lighting Effect */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
}

.glow-top-left {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: #0138fd;
}

.glow-center-cyan {
  top: 30%;
  right: -150px;
  width: 600px;
  height: 600px;
  background: #00d4ff;
  opacity: 0.2;
}

.glow-bottom-gold {
  bottom: 10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: #ffb800;
  opacity: 0.15;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

.gradient-text-blue {
  background: linear-gradient(135deg, #ffffff 10%, #60a5fa 50%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fffbeb 10%, #ffd700 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--transition-normal);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
  background: rgba(4, 9, 25, 0.88);
  border-bottom: 1px solid var(--border-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  padding: 12px 0;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: rotate(-6deg) scale(1.08);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-title .badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #1a1001;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--radiant-cyan), var(--primary-blue));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  color: #0b0f19;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 18px var(--gold-glow);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 184, 0, 0.6);
  filter: brightness(1.08);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 140px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

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

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-cyan);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--radiant-cyan);
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.tag-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 45px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #168aff, #0138fd);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(22, 138, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(22, 138, 255, 0.65);
  background: linear-gradient(135deg, #2b95ff, #0a46ff);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffd700, #ffb800, #d97706);
  color: #0b0f19;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 26px var(--gold-glow);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-normal);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(255, 184, 0, 0.65);
  filter: brightness(1.06);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--radiant-cyan);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 540px;
}

.stat-item h4 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--radiant-cyan);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  height: 640px;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(145deg, #1e3a7a, #08112e);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 212, 255, 0.25);
  border: 2px solid rgba(0, 212, 255, 0.4);
  transform: rotate(-3deg);
  transition: transform var(--transition-normal);
}

.phone-mockup-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-badge {
  position: absolute;
  background: rgba(13, 29, 69, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-cyan);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 40px;
  right: -30px;
  border-color: var(--gold-primary);
  box-shadow: 0 10px 25px rgba(255, 184, 0, 0.25);
}

.badge-bottom-left {
  bottom: 50px;
  left: -40px;
  border-color: var(--radiant-cyan);
  animation-delay: -2s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 22px;
  height: 22px;
}

.icon-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1001;
}

.icon-blue {
  background: linear-gradient(135deg, var(--radiant-cyan), var(--primary-blue));
  color: #fff;
}

.badge-text h5 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.badge-text p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  color: var(--gold-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Game Modes Section
   ========================================================================== */
.modes-section {
  padding: 90px 0;
  position: relative;
}

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

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--radiant-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.mode-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.mode-card:hover::before {
  opacity: 1;
}

.mode-card.gold-theme:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-glow-gold);
}

.mode-card.gold-theme::before {
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.mode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mode-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pill-cyan {
  background: rgba(0, 212, 255, 0.15);
  color: var(--radiant-cyan);
  border: 1px solid var(--border-cyan);
}

.pill-gold {
  background: rgba(255, 184, 0, 0.15);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}

.mode-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--radiant-cyan);
}

.gold-theme .mode-icon {
  color: var(--gold-primary);
}

.mode-icon svg {
  width: 32px;
  height: 32px;
}

.mode-card h3 {
  font-size: 1.85rem;
  margin-bottom: 14px;
}

.mode-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 26px;
}

.mode-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.mode-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--radiant-cyan);
  flex-shrink: 0;
}

.gold-theme .check-icon {
  color: var(--gold-primary);
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-section {
  padding: 90px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(12px);
  position: relative;
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(22, 138, 255, 0.2), rgba(0, 212, 255, 0.1));
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--radiant-cyan);
  margin-bottom: 22px;
}

.feature-icon-wrapper svg {
  width: 26px;
  height: 26px;
}

.feature-box h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.feature-box p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ==========================================================================
   Screenshot Gallery
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.gallery-scroll-container {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 8px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-blue) rgba(255, 255, 255, 0.05);
}

.gallery-scroll-container::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: var(--radius-pill);
}

.gallery-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #06112d;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--radiant-cyan);
  box-shadow: 0 15px 40px rgba(0, 212, 255, 0.35);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(4, 9, 25, 0.95) 70%);
  padding: 24px 16px 14px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   Rules & How to Play
   ========================================================================== */
.rules-section {
  padding: 90px 0;
  position: relative;
}

.rules-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rule-step {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  position: relative;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: all var(--transition-normal);
}

.rule-step:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-glow-gold);
}

.step-number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #120e03;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 0 16px var(--gold-glow);
}

.rule-step h4 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.rule-step p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-section {
  padding: 90px 0;
}

.cta-banner {
  background: linear-gradient(135deg, #07194f 0%, #0d2e85 50%, #081a4b 100%);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(1, 56, 253, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.8rem;
  margin-bottom: 18px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #020612;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-column h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--radiant-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--radiant-cyan);
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */
.legal-header {
  padding: 130px 0 50px;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, rgba(1, 56, 253, 0.25) 0%, transparent 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-header h1 {
  font-size: 3.2rem;
  margin-bottom: 14px;
}

.legal-header .meta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.92rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.legal-header .meta-badge {
  background: rgba(0, 212, 255, 0.12);
  color: var(--radiant-cyan);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 1px solid var(--border-cyan);
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  padding: 60px 0 100px;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}

.toc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(14px);
}

.toc-card h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toc-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.toc-link:hover, .toc-link.active {
  background: rgba(0, 212, 255, 0.12);
  color: var(--radiant-cyan);
  padding-left: 14px;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 50px 45px;
  backdrop-filter: blur(16px);
}

.legal-section {
  margin-bottom: 45px;
  scroll-margin-top: 110px;
}

.legal-section h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-section h2 .section-num {
  font-size: 1.1rem;
  color: var(--gold-primary);
  background: rgba(255, 184, 0, 0.12);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
}

.legal-section p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.legal-section ul {
  margin-left: 20px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section li {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-section li strong {
  color: #fff;
}

.highlight-box {
  background: rgba(0, 212, 255, 0.06);
  border-left: 4px solid var(--radiant-cyan);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
}

.highlight-box p {
  margin: 0;
  color: #e0f2fe;
}

/* ==========================================================================
   Modal / Lightbox
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 20px;
  border: 2px solid var(--radiant-cyan);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rules-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .nav-menu {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: rgba(4, 9, 25, 0.98);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-cyan);
    display: none;
  }

  .nav-menu.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .modes-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .rules-timeline {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

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