/* ============================================
   MysticForest — CSS Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --bg-void:      #030C06;
  --bg-deep:      #060F0A;
  --bg-base:      #0A1810;
  --bg-surface:   #0F2116;
  --bg-card:      #142B1A;
  --bg-card-hover:#1A3422;
  --bg-glass:     rgba(20, 43, 26, 0.7);

  --primary:      #22C55E;
  --primary-dark: #16A34A;
  --primary-dim:  #14532D;
  --primary-glow: rgba(34, 197, 94, 0.25);
  --primary-glow-strong: rgba(34, 197, 94, 0.45);

  --teal:         #14B8A6;
  --teal-dim:     rgba(20, 184, 166, 0.2);
  --amber:        #F59E0B;
  --amber-dim:    rgba(245, 158, 11, 0.2);
  --rose:         #F43F5E;
  --rose-dim:     rgba(244, 63, 94, 0.15);

  --success:      #22C55E;
  --warning:      #F59E0B;
  --error:        #F43F5E;
  --info:         #38BDF8;

  --text-primary:   #F0FDF4;
  --text-secondary: #A7C4AC;
  --text-muted:     #5A8066;
  --text-faint:     #2E5040;

  --border:       rgba(34, 197, 94, 0.12);
  --border-mid:   rgba(34, 197, 94, 0.22);
  --border-bright:rgba(34, 197, 94, 0.45);

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full:9999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow:0 0 32px var(--primary-glow);
  --shadow-glow-strong:0 0 64px var(--primary-glow-strong);

  --nav-height: 72px;
  --container:  1200px;
  --gap:        8px;
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography ────────────────────────────── */
.font-cinzel { font-family: 'Cinzel', serif; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-secondary); line-height: 1.7; }
.text-muted { color: var(--text-muted); font-size: 0.85rem; }
.label-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-glow);
  margin-bottom: 16px;
}

/* ── Layout ────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary), #4ADE80);
  box-shadow: 0 6px 32px var(--primary-glow-strong);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-mid);
}
.btn--outline:hover {
  border-color: var(--primary);
  background: var(--primary-glow);
  box-shadow: var(--shadow-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-mid);
}
.btn--lg { padding: 16px 40px; font-size: 1.05rem; }
.btn--sm { padding: 8px 20px; font-size: 0.85rem; }
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Age Gate Modal ─────────────────────────── */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(6,15,10,0.97) 0%, rgba(3,12,6,0.99) 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.age-gate-overlay.hidden { display: none; }
.age-gate {
  background: var(--bg-surface);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(34,197,94,0.08);
  position: relative;
  overflow: hidden;
}
.age-gate::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 50% 0%, rgba(34,197,94,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.age-gate__logo {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.age-gate__badge {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-dim), var(--bg-card));
  border: 2px solid var(--border-mid);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}
.age-gate h2 { font-size: 1.5rem; margin-bottom: 12px; }
.age-gate p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 28px; }
.age-gate__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition);
}
.age-gate__check:hover { border-color: var(--border-mid); }
.age-gate__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--primary);
  margin-top: 2px;
  cursor: pointer;
}
.age-gate__check label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}
.age-gate__notice {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* ── Cookie Banner ──────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 760px;
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 8000;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 20px;
  backdrop-filter: blur(16px);
  transition: all 0.4s ease;
}
.cookie-banner.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}
.cookie-banner__icon { font-size: 1.8rem; min-width: 40px; text-align: center; }
.cookie-banner__text { flex: 1; }
.cookie-banner__text p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.cookie-banner__text a { color: var(--primary); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(6, 15, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 12px var(--primary-glow);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}
.nav__link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav__link.active { color: var(--primary); }
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
}
.nav__cta { margin-left: 12px; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(6, 15, 10, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}
.nav__mobile .nav__cta { margin: 8px 0 0; width: 100%; }
.nav__mobile .btn { width: 100%; justify-content: center; }

/* ── Hero ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,94,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(20,184,166,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-void) 100%);
  z-index: 0;
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border-mid);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}
.hero__kicker-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: 'Cinzel', serif;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Floating Orbs ──────────────────────────── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.orb--green { background: rgba(34,197,94,0.12); }
.orb--teal  { background: rgba(20,184,166,0.1); }
.orb--amber { background: rgba(245,158,11,0.08); }

/* ── Section Headers ────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header.text-center { text-align: center; }
.section-header h2 { color: var(--text-primary); margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; max-width: 560px; }
.section-header.text-center p { margin: 0 auto; }

/* ── Game Cards ─────────────────────────────── */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 40px var(--primary-glow);
}
.game-card__thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.game-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game-card:hover .game-card__thumb img { transform: scale(1.05); }
.game-card__thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7) 100%);
}
.game-card__thumb-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  transition: transform 0.4s ease;
  user-select: none;
}
.game-card:hover .game-card__thumb-emoji { transform: scale(1.1); }
.game-card__thumb-emoji--ocean {
  background: linear-gradient(135deg, #0a2a4a 0%, #0e4d7a 50%, #0a7fa8 100%);
}
.game-card__thumb-emoji--build {
  background: linear-gradient(135deg, #2b1a08 0%, #6b3a14 50%, #c17a2c 100%);
}
.game-card__thumb-emoji--gods {
  background: linear-gradient(135deg, #1a0f2e 0%, #3d1f6e 50%, #7b3fa0 100%);
}
.game-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(34,197,94,0.85);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}
.game-card__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.game-card:hover .game-card__play-btn { opacity: 1; }
.game-card__play-icon {
  width: 56px; height: 56px;
  background: rgba(34,197,94,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 32px var(--primary-glow-strong);
}
.game-card__play-icon svg { fill: #fff; margin-left: 4px; }
.game-card__body { padding: 20px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.game-card__provider { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.game-card__title { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.game-card__desc { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.game-card__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.game-card__tag {
  font-size: 0.72rem;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(20,184,166,0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* ── Feature Cards ──────────────────────────── */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  border-color: var(--border-mid);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
}
.feature-card__icon--green { background: var(--primary-dim); color: var(--primary); box-shadow: 0 0 20px var(--primary-glow); }
.feature-card__icon--teal  { background: var(--teal-dim); color: var(--teal); }
.feature-card__icon--amber { background: var(--amber-dim); color: var(--amber); }
.feature-card h4 { color: var(--text-primary); margin-bottom: 10px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ── CTA Section ────────────────────────────── */
.cta-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-box {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box h2 { color: var(--text-primary); margin-bottom: 16px; position: relative; }
.cta-box p { max-width: 480px; margin: 0 auto 36px; font-size: 1.05rem; position: relative; }
.cta-box__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ─────────────────────────────────── */
.footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand { }
.footer__logo {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__brand-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--primary); }
.footer__notice {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.footer__notice-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.footer__notice-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.footer__rg {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
}
.footer__rg-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.footer__rg-link:hover { color: var(--text-primary); border-color: var(--border-mid); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copyright { font-size: 0.82rem; color: var(--text-muted); }
.footer__badge-18 {
  width: 36px; height: 36px;
  background: var(--rose-dim);
  border: 2px solid rgba(244,63,94,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #F87171;
  letter-spacing: -0.02em;
}
.footer__legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal-link { font-size: 0.82rem; color: var(--text-muted); transition: color var(--transition); }
.footer__legal-link:hover { color: var(--text-primary); }

/* ── Game Window ────────────────────────────── */
.game-window {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.game-window__header {
  background: var(--bg-surface);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.game-window__dots { display: flex; gap: 6px; }
.game-window__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.game-window__dot:nth-child(1) { background: #F87171; }
.game-window__dot:nth-child(2) { background: var(--amber); }
.game-window__dot:nth-child(3) { background: var(--primary); }
.game-window__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.game-window__coins-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--border-mid);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.game-content {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: #000;
}
.game-content iframe {
  border: none;
  width: 100%;
  height: calc(100% + 40px);
  position: absolute;
  top: 0;
  left: 0;
}
@media (max-width: 768px) {
  .game-content { aspect-ratio: 4/3; }
  .game-content iframe { height: calc(100% + 30px); }
}

/* ── Breadcrumb ─────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: calc(var(--nav-height) + 24px) 0 0;
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb__sep { color: var(--text-faint); }
.breadcrumb__current { color: var(--text-secondary); }

/* ── Steps ──────────────────────────────────── */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 52px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-glow), var(--teal-dim), var(--primary-glow));
}
.step-card { padding: 24px; text-align: center; position: relative; }
.step-card__num {
  width: 52px; height: 52px;
  background: var(--bg-card);
  border: 2px solid var(--border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step-card:hover .step-card__num {
  background: var(--primary-dim);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}
.step-card h4 { color: var(--text-primary); margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* ── FAQ Accordion ──────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--border-mid); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: rgba(255,255,255,0.03); }
.faq-arrow {
  width: 28px; height: 28px;
  min-width: 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  background: var(--primary-dim);
  border-color: var(--border-mid);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer__inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── Stats Bar ──────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-bar__item { }
.stats-bar__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: 'Outfit', sans-serif;
}
.stats-bar__label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Team Cards ─────────────────────────────── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.team-card:hover { border-color: var(--border-mid); transform: translateY(-4px); }
.team-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-dim), var(--teal-dim));
  border: 2px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  overflow: hidden;
}
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { color: var(--text-primary); margin-bottom: 4px; }
.team-card__role { font-size: 0.82rem; color: var(--primary); margin-bottom: 10px; }
.team-card p { font-size: 0.85rem; color: var(--text-secondary); }

/* ── Community Feature Cards ────────────────── */
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}
.community-card:hover { border-color: var(--border-mid); background: var(--bg-card-hover); }
.community-card__icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-dim);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.community-card h4 { color: var(--text-primary); margin-bottom: 8px; }
.community-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Disclaimer ─────────────────────────────── */
.disclaimer {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 20px;
}
.disclaimer p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── Page Hero (inner pages) ────────────────── */
.page-hero {
  padding: calc(var(--nav-height) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34,197,94,0.08) 0%, transparent 65%);
  z-index: 0;
}
.page-hero__content { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { font-family: 'Cinzel', serif; color: var(--text-primary); margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Contact Info ───────────────────────────── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
}
.contact-card:hover { border-color: var(--border-mid); }
.contact-card__icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--primary-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.contact-card h4 { color: var(--text-primary); margin-bottom: 6px; }
.contact-card p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }
.contact-card a { color: var(--primary); font-weight: 500; }

/* ── Legal Pages ────────────────────────────── */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-hero { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal-hero h1 { font-size: 2rem; color: var(--text-primary); margin-bottom: 8px; }
.legal-meta { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.legal-content h2 { color: var(--text-primary); font-size: 1.3rem; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.legal-content h3 { color: var(--text-primary); font-size: 1.05rem; margin: 24px 0 8px; }
.legal-content p { margin-bottom: 16px; font-size: 0.95rem; }
.legal-content ul { margin: 12px 0 16px 20px; }
.legal-content ul li { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.6; list-style: disc; }
.legal-content a { color: var(--primary); text-decoration: underline; }

/* ── Values Grid ────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border-top: 3px solid var(--primary);
  transition: all 0.3s ease;
}
.value-card:hover { border-color: var(--border-mid); transform: translateY(-3px); }
.value-card:hover { border-top-color: var(--primary); }
.value-card h4 { color: var(--text-primary); margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* ── Notice Box ─────────────────────────────── */
.notice-box {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.04));
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius-md);
  padding: 24px 28px;
}
.notice-box__title { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.notice-box p { font-size: 0.88rem; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* ── Responsible Gaming ─────────────────────── */
.rg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.rg-card:hover { border-color: var(--border-mid); }
.rg-card__icon { font-size: 2rem; margin-bottom: 16px; }
.rg-card h4 { color: var(--text-primary); margin-bottom: 10px; }
.rg-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

/* ── Scroll Reveal ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Compact Footer (game pages) ────────────── */
.footer--compact {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.footer--compact .footer__bottom {
  border-top: none;
  padding: 0;
}

/* ── Utilities ──────────────────────────────── */
.mt-8  { margin-top:  8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom:  8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.divider { height: 1px; background: var(--border); margin: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ── Page-specific layout helpers ───────────── */
.game-page-main {
  padding-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
}
.game-page-content { flex: 1; padding: 24px 0 40px; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 64px 0; }
  .section--sm { padding: 48px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__cta  { display: none; }
  .nav__hamburger { display: flex; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .cta-box { padding: 48px 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 28px 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .age-gate { padding: 40px 28px; }
  .game-window__header { flex-wrap: wrap; gap: 8px; }
  .breadcrumb { padding-top: calc(var(--nav-height) + 16px); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__rg { flex-direction: column; align-items: flex-start; }
  .stats-bar { grid-template-columns: 1fr; }
}
