/* =========================================
   EMBER SUMMIT QUEST — Global Stylesheet
   ========================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Exo+2:wght@300;400;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-primary:    #060d1a;
  --bg-secondary:  #0d1f3c;
  --bg-surface:    #111e38;
  --bg-card:       rgba(13, 31, 60, 0.85);
  --bg-card-hover: rgba(17, 38, 72, 0.95);

  --color-primary:       #00c9b1;
  --color-primary-glow:  rgba(0, 201, 177, 0.25);
  --color-primary-dark:  #009d8b;
  --color-ember:         #ff6b35;
  --color-ember-glow:    rgba(255, 107, 53, 0.25);
  --color-sky:           #4facfe;
  --color-success:       #22c55e;
  --color-warning:       #f59e0b;
  --color-error:         #ef4444;

  --text-primary:   #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  --border:       rgba(0, 201, 177, 0.18);
  --border-hover: rgba(0, 201, 177, 0.45);

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --font-logo:    'Orbitron', sans-serif;
  --font-heading: 'Exo 2', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-height: 72px;
  --section-gap: 100px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-secondary); line-height: 1.7; }

.text-primary  { color: var(--color-primary) !important; }
.text-ember    { color: var(--color-ember)   !important; }
.text-sky      { color: var(--color-sky)     !important; }
.text-center   { text-align: center; }
.text-muted    { color: var(--text-muted); }

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #060d1a;
  box-shadow: 0 4px 20px var(--color-primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 201, 177, 0.45);
}

.btn-ember {
  background: linear-gradient(135deg, var(--color-ember), #e5531e);
  color: #fff;
  box-shadow: 0 4px 20px var(--color-ember-glow);
}
.btn-ember:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 107, 53, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
}

.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-teal    { background: var(--color-primary-glow); color: var(--color-primary); border: 1px solid rgba(0,201,177,0.3); }
.badge-ember   { background: var(--color-ember-glow); color: var(--color-ember); border: 1px solid rgba(255,107,53,0.3); }
.badge-sky     { background: rgba(79,172,254,0.15); color: var(--color-sky); border: 1px solid rgba(79,172,254,0.3); }

/* =========================================
   NAV
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 900;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(6, 13, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: var(--font-logo);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-ember));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav__logo span { color: var(--color-primary); }
.nav__logo em { color: var(--color-ember); font-style: normal; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.nav__cta { margin-left: 8px; }

.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: var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 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, 13, 26, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 899;
  transform: translateY(-8px);
  opacity: 0;
  transition: var(--transition);
}

.nav__mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile .nav__link {
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   AGE GATE MODAL
   ========================================= */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(3, 7, 15, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate__box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0,201,177,0.08);
}

.age-gate__icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--color-primary-glow), var(--color-ember-glow));
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.age-gate__box h2 { margin-bottom: 12px; }
.age-gate__box p  { color: var(--text-secondary); margin-bottom: 28px; font-size: 0.95rem; }

.age-gate__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  cursor: pointer;
}

.age-gate__check input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
  margin-top: 2px;
}

.age-gate__check label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.age-gate__check label strong { color: var(--text-primary); }

.age-gate__btn { width: 100%; justify-content: center; opacity: 0.5; pointer-events: none; }
.age-gate__btn.enabled { opacity: 1; pointer-events: all; }

.age-gate__notice {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  z-index: 8888;
  display: none;
  animation: slideUp 0.4s ease;
}

.cookie-banner.visible { display: flex; justify-content: center; }

.cookie-banner__inner {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  max-width: 780px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-lg);
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.cookie-banner__text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0,201,177,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(255,107,53,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(79,172,254,0.06) 0%, transparent 50%),
    var(--bg-primary);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,201,177,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,201,177,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero__content {
  position: relative;
  text-align: center;
  max-width: 860px;
  padding: 80px 24px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-glow);
  border: 1px solid rgba(0,201,177,0.3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero__title .highlight {
  background: linear-gradient(90deg, var(--color-primary), var(--color-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title .ember {
  background: linear-gradient(90deg, var(--color-ember), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-num span { color: var(--color-primary); }

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero divider */
.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.hero__scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

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

.section-header h2 { margin-bottom: 16px; }
.section-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* =========================================
   FEATURED GAMES SECTION
   ========================================= */
.games { padding: var(--section-gap) 0; }

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

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.game-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px var(--color-primary-glow);
}

.game-card__thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}

.game-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-card__thumb img { transform: scale(1.06); }

.game-card__emoji-bg {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.game-card__emoji-bg--shark {
  background: radial-gradient(ellipse at 30% 40%, #0a3d6b 0%, #021b3a 60%, #000d1f 100%);
}

.game-card__emoji-bg--build {
  background: radial-gradient(ellipse at 60% 30%, #3d1a00 0%, #5c2800 40%, #1a0d00 100%);
}

.game-card__emoji-bg--gods {
  background: radial-gradient(ellipse at 50% 30%, #1a0a3d 0%, #2d0a5c 40%, #0a0520 100%);
}

.game-card__emoji {
  font-size: 72px;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.6));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.game-card:hover .game-card__emoji { transform: scale(1.18) translateY(-4px); }

.game-card__thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,13,26,0.9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
}

.game-card__play {
  width: 44px; height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #060d1a;
  transition: var(--transition);
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

.game-card:hover .game-card__play {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(0,201,177,0.5);
}

.game-card__body { padding: 20px; }

.game-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.game-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.game-card__body h3 { margin-bottom: 8px; font-size: 1.2rem; }
.game-card__body p  { font-size: 0.88rem; margin-bottom: 16px; }

.game-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.game-card__provider {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================================
   WHY US / FEATURES
   ========================================= */
.features { padding: var(--section-gap) 0; background: var(--bg-secondary); }

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 24px var(--color-primary-glow);
}

.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card__icon--teal  { background: var(--color-primary-glow); }
.feature-card__icon--ember { background: var(--color-ember-glow); }
.feature-card__icon--sky   { background: rgba(79,172,254,0.15); }

.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p  { font-size: 0.9rem; }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-band__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 50% 50%, rgba(0,201,177,0.12), transparent 70%),
    var(--bg-primary);
}

.cta-band__content {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-band h2 { margin-bottom: 16px; }
.cta-band p  { margin-bottom: 32px; font-size: 1.05rem; }

.cta-band__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 0.9rem;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer__links { display: flex; flex-direction: column; gap: 12px; }

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

.footer__links a:hover { color: var(--color-primary); padding-left: 4px; }

.footer__notice {
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.footer__notice h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ember);
  margin-bottom: 8px;
}

.footer__notice p { font-size: 0.82rem; line-height: 1.6; }

.footer__responsible {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer__org {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer__org:hover { border-color: var(--border-hover); color: var(--text-primary); }

.footer__org-icon {
  width: 20px; height: 20px;
  background: var(--color-primary-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p { font-size: 0.82rem; }

.footer__badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--color-ember);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,201,177,0.08), transparent 60%),
    var(--bg-primary);
  text-align: center;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.page-hero p { max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 16px 0;
}

.breadcrumb a { color: var(--color-primary); transition: var(--transition); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb span { color: var(--text-muted); }

/* =========================================
   GAME PAGE
   ========================================= */
.game-page { padding-top: var(--nav-height); min-height: 100vh; }

.game-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
}

.game-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.game-window__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.game-window__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.game-window__dot:nth-child(1) { background: #ff5f57; }
.game-window__dot:nth-child(2) { background: #febc2e; }
.game-window__dot:nth-child(3) { background: #28c840; }

.game-window__title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.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;
}

.game-disclaimer {
  background: rgba(255,107,53,0.06);
  border-top: 1px solid rgba(255,107,53,0.2);
  padding: 12px 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.game-page__info {
  padding: 32px 0 48px;
}

.game-page__info h2 { margin-bottom: 12px; }
.game-page__info p  { margin-bottom: 16px; max-width: 720px; }

.game-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.game-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.game-footer__notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* =========================================
   HOW IT WORKS PAGE
   ========================================= */
.steps { padding: var(--section-gap) 0; }

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

.steps__list::before {
  content: '';
  position: absolute;
  top: 40px; left: calc(12.5% + 12px); right: calc(12.5% + 12px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-ember));
  opacity: 0.3;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

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

.step-card__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #060d1a;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px var(--color-primary-glow);
}

.step-card h3 { font-size: 1rem; margin-bottom: 10px; }
.step-card p  { font-size: 0.88rem; }

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq { padding: var(--section-gap) 0; background: var(--bg-secondary); }

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq__item.open { border-color: rgba(0,201,177,0.35); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq__question h4 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq__arrow {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 12px;
  color: var(--text-muted);
}

.faq__item.open .faq__arrow {
  transform: rotate(180deg);
  background: var(--color-primary-glow);
  color: var(--color-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item.open .faq__answer { max-height: 400px; }

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 16px;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.mission { padding: var(--section-gap) 0; }

.mission__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission__text h2 { margin-bottom: 20px; }
.mission__text p  { margin-bottom: 16px; }

.mission__visual {
  background: linear-gradient(135deg, rgba(0,201,177,0.1), rgba(255,107,53,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
}

.stats-bar {
  background: var(--bg-secondary);
  padding: 56px 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item__num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--color-primary), var(--color-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__label { font-size: 0.88rem; color: var(--text-secondary); }

.team { padding: var(--section-gap) 0; }

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

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

.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #060d1a;
}

.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card__role { font-size: 0.82rem; color: var(--color-primary); font-weight: 600; margin-bottom: 12px; }
.team-card p    { font-size: 0.85rem; }

/* =========================================
   COMMUNITY PAGE
   ========================================= */
.community-features { padding: var(--section-gap) 0; }

.community-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: var(--transition);
}

.community-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.community-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.community-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.community-card p  { font-size: 0.9rem; margin-bottom: 16px; }

/* =========================================
   HELP CENTER & LEGAL PAGES
   ========================================= */
.legal { padding: var(--section-gap) 0; }

.legal__content {
  max-width: 840px;
  margin: 0 auto;
}

.legal__content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.legal__content h2:first-child { margin-top: 0; }

.legal__content h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--color-primary);
}

.legal__content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.legal__content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal__content ul li {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.legal__content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal__updated {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.contact-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.contact-card h3 { margin-bottom: 8px; font-size: 1rem; }
.contact-card p  { font-size: 0.88rem; margin-bottom: 12px; }

.contact-card__value {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* =========================================
   RESPONSIBLE GAMING
   ========================================= */
.rg-resources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.rg-resource {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.rg-resource:hover { border-color: var(--border-hover); }

.rg-resource__icon { font-size: 32px; margin-bottom: 14px; display: block; }
.rg-resource h4 { font-size: 1rem; margin-bottom: 8px; }
.rg-resource p  { font-size: 0.85rem; }

.rg-warning {
  background: rgba(255,107,53,0.06);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.rg-warning h3 { color: var(--color-ember); margin-bottom: 12px; }
.rg-warning ul { list-style: disc; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.rg-warning ul li { font-size: 0.92rem; color: var(--text-secondary); }

/* =========================================
   GUIDELINES PAGE
   ========================================= */
.guideline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.guideline-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.guideline-item__icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.guideline-item h4 { margin-bottom: 6px; font-size: 0.97rem; }
.guideline-item p  { font-size: 0.86rem; }

/* =========================================
   NOTICE BLOCK
   ========================================= */
.notice-block {
  background: rgba(0,201,177,0.06);
  border: 1px solid rgba(0,201,177,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.notice-block h4 {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.notice-block p { font-size: 0.88rem; }

/* =========================================
   VALUES SECTION
   ========================================= */
.values { padding: var(--section-gap) 0; background: var(--bg-secondary); }

.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: 32px 28px;
  text-align: center;
  transition: var(--transition);
}

.value-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.value-card__icon { font-size: 40px; margin-bottom: 16px; display: block; }
.value-card h3  { margin-bottom: 10px; font-size: 1.05rem; }
.value-card p   { font-size: 0.88rem; }

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s 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; }

/* =========================================
   DIVIDER & UTILITIES
   ========================================= */
.section-divider {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-ember));
  border-radius: 2px;
  margin: 0 auto 32px;
}

.section { padding: var(--section-gap) 0; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .features__grid,
  .games__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .team__grid   { grid-template-columns: repeat(2, 1fr); }
  .steps__list  { grid-template-columns: repeat(2, 1fr); }
  .steps__list::before { display: none; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .mission__inner  { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; --nav-height: 64px; }

  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__stats { gap: 28px; }
  .hero__stat-num { font-size: 1.4rem; }

  .games__grid,
  .features__grid,
  .community-features__grid,
  .contact-grid,
  .rg-resources,
  .guideline-grid,
  .values__grid { grid-template-columns: 1fr; }

  .team__grid   { grid-template-columns: repeat(2, 1fr); }
  .steps__list  { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr; }

  .cookie-banner__inner { flex-direction: column; gap: 16px; }

  .game-content { aspect-ratio: 4/3; }
  .game-content iframe { height: calc(100% + 30px); }

  .hero__actions { flex-direction: column; align-items: center; }

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

  .age-gate__box { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .hero__title { font-size: 2rem; }
  .team__grid { grid-template-columns: 1fr; }
  .footer__responsible { flex-direction: column; }
}
