/* Fonts loaded asynchronously from pages / main.js — avoid @import render-block */

:root {
  --bg: #f6f4ef;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --ink: #12151c;
  --ink-soft: rgba(18, 21, 28, 0.68);
  --muted: rgba(18, 21, 28, 0.52);
  --line: rgba(18, 21, 28, 0.08);
  --line-strong: rgba(18, 21, 28, 0.14);
  --accent: #0d9488;
  --accent-deep: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --gold: #c4a35a;
  --gold-soft: rgba(196, 163, 90, 0.16);
  --surface: #ffffff;
  --surface-dark: #10141c;
  --surface-dark-2: #171c27;
  --cream: #f8f6f1;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(16, 20, 28, 0.04), 0 8px 24px rgba(16, 20, 28, 0.04);
  --shadow: 0 4px 8px rgba(16, 20, 28, 0.03), 0 18px 48px rgba(16, 20, 28, 0.08);
  --shadow-lg: 0 12px 40px rgba(16, 20, 28, 0.14);
  --font-display: "Outfit", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1160px;
  --header-h: 72px;
  --age-strip-h: 2.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(13, 148, 136, 0.09), transparent 55%),
    radial-gradient(720px 420px at 100% 0%, rgba(196, 163, 90, 0.1), transparent 50%),
    linear-gradient(180deg, #f7f5f0 0%, #f3f1eb 40%, #faf9f6 100%);
  min-height: 100vh;
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--gold); }

h1, h2, h3, .brand-word, .hero-brand {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header — reserve age-strip + bar so fetch inject does not shift layout */
#site-header {
  min-height: calc(var(--header-h) + var(--age-strip-h));
  display: block;
}
#site-footer {
  min-height: 280px;
  display: block;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  background: rgba(246, 244, 239, 0.78);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  object-fit: cover;
}

.brand-text { display: flex; flex-direction: column; gap: 0.1rem; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.brand-text span {
  font-family: var(--font-display);
  font-size: 0.68rem;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-toggle:hover { background: #fff; transform: translateY(-1px); }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-list a:hover {
  color: var(--ink);
  background: rgba(255,255,255,0.7);
}

.lang-switch { display: flex; gap: 0.3rem; margin-left: 0.35rem; }
.lang-switch a {
  border: 1px solid var(--line);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-decoration: none;
  background: rgba(255,255,255,0.55);
}
.lang-switch a.active {
  background: var(--surface-dark);
  color: #fff;
  border-color: var(--surface-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #f3d984 0%, #e8bf4a 48%, #c99228 100%);
  color: #10140f !important;
  box-shadow: 0 10px 28px rgba(196, 163, 90, 0.32);
  font-weight: 700;
}
.btn-primary:hover {
  color: #0a0e0a !important;
  box-shadow: 0 14px 34px rgba(196, 163, 90, 0.42);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #f5f2ea;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.14); }

.btn-dark {
  background: var(--surface-dark);
  color: #f5f2ea;
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover { background: #1c2330; color: #fff; }

/* Hero — fixed min-height only (no aspect-ratio fight) keeps CLS stable */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 780px);
  display: grid;
  align-items: end;
  color: #f7f4ee;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--surface-dark);
  background-image: url("../assets/images/hero.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  contain: layout paint;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 12, 18, 0.55) 6%, rgba(10, 12, 18, 0.22) 48%, rgba(10, 12, 18, 0.35) 100%),
    linear-gradient(to top, rgba(10, 12, 18, 0.4) 0%, transparent 38%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5rem;
  max-width: 680px;
  animation: riseIn 0.95s var(--ease) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-brand {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  margin: 0 0 1rem;
  font-weight: 650;
  text-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.hero h1 {
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  font-weight: 500;
  margin: 0 0 1.1rem;
  max-width: 28ch;
  color: rgba(247, 244, 238, 0.92);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0 0 1.75rem;
  max-width: 40ch;
  color: rgba(247, 244, 238, 0.78);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Sections */
.section { padding: 5.25rem 0; position: relative; }
.section-head { max-width: 38rem; margin-bottom: 2.4rem; }
.section-head-wide { max-width: 46rem; }
.section-head h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  margin: 0 0 0.75rem;
}
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.section-demo {
  padding-top: 3.5rem;
  background:
    radial-gradient(720px 280px at 50% 0%, rgba(13,148,136,0.12), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.55));
  border-block: 1px solid var(--line);
}

.section-leaf {
  background:
    linear-gradient(145deg, rgba(16, 20, 28, 0.92), rgba(13, 118, 110, 0.78)),
    url("../assets/images/about-bg.webp") center/cover;
  color: #f7f4ee;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.section-leaf::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 80% 20%, rgba(196,163,90,0.18), transparent 60%);
  pointer-events: none;
}
.section-leaf .container { position: relative; z-index: 1; }
.section-leaf a { color: #e8c86a; }
.section-leaf a:hover { color: #fff; }
.section-leaf a.btn,
.section-leaf a.btn-primary {
  color: #10140f !important;
  background: linear-gradient(135deg, #f3d984 0%, #e8bf4a 48%, #c99228 100%);
  border: 1px solid rgba(255, 236, 170, 0.55);
}
.section-leaf a.btn-primary:hover {
  color: #0a0e0a !important;
  background: linear-gradient(135deg, #ffe7a0 0%, #f0cb55 50%, #d9a532 100%);
}
.section-leaf a.btn-dark {
  color: #f7f4ee !important;
  background: #10141c;
  border: 1px solid rgba(255,255,255,0.18);
}
.section-leaf .section-head p { color: rgba(247,244,238,0.72); }
.section-leaf h2, .section-leaf h3 { color: #f7f4ee; }

.grid-2 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-games {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-block {
  padding: 1.5rem 1.6rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.feature-block h3 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}
.feature-block p { margin: 0; color: var(--ink-soft); }

.media-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: 540px;
  background: var(--surface-dark);
}
.media-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.media-panel:hover img { transform: scale(1.03); }

/* Games */
.game-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #f7f4ee;
  display: block;
  min-height: 300px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transform: translateY(0);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.game-tile:hover {
  transform: translateY(-8px);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.game-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.game-tile:hover img { transform: scale(1.07); }
.game-tile span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 2.2rem 1.25rem 1.2rem;
  background: linear-gradient(to top, rgba(8, 10, 16, 0.94) 20%, rgba(8, 10, 16, 0.55) 70%, transparent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.game-tile em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 0.28rem;
  font-weight: 500;
  color: #e8fff6;
}

.badge-demo {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: linear-gradient(135deg, #dfc27a, #c4a35a);
  color: #1a1408;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.game-iframe-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0b0f16;
  border: 1px solid var(--line-strong);
  aspect-ratio: 16 / 10;
  min-height: 420px;
  isolation: isolate;
}
.game-iframe-wrap--xl {
  aspect-ratio: 16 / 9.5;
  min-height: min(72vh, 640px);
  box-shadow: 0 24px 64px rgba(8, 40, 36, 0.22);
  border: 2px solid rgba(13, 148, 136, 0.28);
}
.game-tile--featured {
  display: block;
  max-width: 920px;
  min-height: 420px;
  margin: 0 auto;
}
.game-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0f16;
  display: block;
}
.game-iframe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}
.game-iframe-meta p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* Reviews */
.review-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.review {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.review-top {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.review-top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
}
.review-top strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.review-top time {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--muted);
}
.review p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* FAQ */
.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.faq-item:hover {
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: var(--shadow);
}
.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}
.faq-item p { margin: 0; color: var(--ink-soft); }

/* Plans */
.plan-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.plan {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.plan:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}
.plan h3 { margin: 0 0 0.4rem; }
.plan .price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin: 0.7rem 0;
  color: #e5cc8a;
  letter-spacing: -0.02em;
}
.plan ul { padding-left: 1.1rem; margin: 0 0 1.2rem; color: rgba(247,244,238,0.8); }
.plan .btn-primary {
  color: #10140f !important;
  background: linear-gradient(135deg, #f3d984 0%, #e8bf4a 48%, #c99228 100%);
  border: 1px solid rgba(255, 236, 170, 0.55);
}

/* Prose / pages */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.2rem; }
.prose ol, .prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.85rem; color: var(--ink-soft); }

.page-hero {
  padding: 4.2rem 0 2.2rem;
  position: relative;
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin: 0 0 0.75rem;
}
.page-hero p {
  margin: 0;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.form-box {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  width: min(100%, 480px);
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.section-auth {
  padding-top: 1.5rem;
}
.section-auth .container {
  display: flex;
  justify-content: center;
  width: min(var(--max), calc(100% - 2rem));
}
.section-auth .form-box {
  width: min(100%, 440px);
}
.form-box label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  margin: 0.9rem 0 0.4rem;
  color: var(--ink);
}
.form-box input,
.form-box textarea,
.form-box select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  font: inherit;
  background: rgba(255,255,255,0.92);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-box input:focus,
.form-box textarea:focus,
.form-box select:focus {
  outline: none;
  border-color: rgba(13, 148, 136, 0.55);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form-box button { margin-top: 1.2rem; width: 100%; }
.form-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.9rem;
}
.form-box label:has(input[type="checkbox"]) {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.45;
}
.form-box input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  accent-color: var(--accent-deep);
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 380px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1.15fr 0.85fr;
}

/* Footer */
.site-footer {
  background:
    radial-gradient(700px 280px at 10% 0%, rgba(13,148,136,0.16), transparent 55%),
    linear-gradient(180deg, #121620, #0a0d14);
  color: rgba(247, 244, 238, 0.86);
  padding: 4.2rem 0 2.4rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: 1.45fr 1fr 1fr;
  margin-bottom: 2.4rem;
}
.site-footer h2,
.site-footer h3 {
  color: #f7f4ee;
  margin: 0 0 0.85rem;
}
.site-footer p,
.site-footer li { color: rgba(247,244,238,0.7); }
.site-footer a {
  color: #e5cc8a;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-footer a:hover { color: #fff; }
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
}
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.4rem;
  font-size: 0.9rem;
}
.footer-disclaimer p { margin: 0 0 0.75rem; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  font-family: var(--font-display);
  color: rgba(247,244,238,0.5);
}

/* Age gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(8, 10, 16, 0.86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.age-gate.hidden { display: none; }
.age-gate__panel {
  width: min(460px, 100%);
  background: linear-gradient(165deg, rgba(28, 34, 46, 0.95), rgba(16, 20, 28, 0.98));
  color: #f7f4ee;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 1.85rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: riseIn 0.5s var(--ease) both;
}
.age-gate__panel h2 { margin: 0 0 0.8rem; }
.age-gate__panel p {
  margin: 0 0 1.35rem;
  color: rgba(247,244,238,0.72);
}
.age-gate__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.age-gate__actions .btn { min-width: 128px; }

.access-restricted {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: #0a0d14;
  color: #f7f4ee;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}
.access-restricted.visible { display: flex; }
.access-restricted h1 { margin-top: 0; }

body.age-blocked main,
body.age-blocked .site-header,
body.age-blocked .site-footer {
  filter: none;
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

.compliance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
}
.compliance-links a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.compliance-links a:hover { color: var(--ink); }

.site-age-strip {
  background: #10141c;
  color: #f5ffe9;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 0.55rem 1rem;
  min-height: var(--age-strip-h);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(123, 201, 111, 0.35);
}
.site-age-strip a { color: #ffd36b; }

.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100000;
  max-width: 560px;
  margin: 0 auto;
  background: #121820;
  color: #f7f4ee;
  border: 1px solid rgba(123, 201, 111, 0.45);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 18px 48px rgba(0,0,0,0.28);
  font-family: var(--font-display);
}
.cookie-banner.hidden { display: none; }
.cookie-banner p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(247,244,238,0.9);
}
.cookie-banner a { color: #9be7a8; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.cookie-banner__actions .btn { min-width: 120px; }

.anchor-note {
  scroll-margin-top: calc(var(--header-h) + 16px);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13,148,136,0.28);
  background: rgba(13,148,136,0.08);
  margin: 1.25rem 0;
}

@media (max-width: 980px) {
  .grid-2,
  .grid-3,
  .footer-grid,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr !important; }

  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    right: 1.25rem;
    top: calc(var(--header-h) + 4px);
    background: rgba(255,255,255,0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.7rem;
    flex-direction: column;
    align-items: stretch;
    min-width: 230px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
  }
  .nav-list.open { display: flex; }
  .nav-list a { color: var(--ink); }
  .lang-switch { margin-left: 0; }

  .hero { min-height: clamp(460px, 70vh, 640px); }
  .hero-content { padding: 5.5rem 0 3.5rem; max-width: 100%; }
  .section { padding: 3.2rem 0; }
  .media-panel { max-height: 360px; }
  .game-iframe-wrap {
    min-height: 360px;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }
  .game-iframe-wrap--xl {
    min-height: min(78vh, 560px);
    aspect-ratio: 3 / 4;
  }
  .game-iframe-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .game-iframe-meta .btn { width: 100%; }
  .page-hero { padding: 5.5rem 0 1.5rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
}

@media (max-width: 600px) {
  .container { width: min(var(--max), calc(100% - 1.5rem)); }
  .hero-brand { font-size: clamp(2.1rem, 10vw, 3rem); }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .game-tile { min-height: 260px; }
  .game-tile--featured { min-height: 280px; max-width: 100%; }
  .game-iframe-wrap {
    min-height: 380px;
    aspect-ratio: 3 / 4;
  }
  .game-iframe-wrap--xl { min-height: min(75vh, 520px); }
  .section-auth .form-box {
    width: 100%;
    padding: 1.25rem;
  }
  .cookie-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .compliance-links {
    flex-direction: column;
    gap: 0.45rem;
  }
}

html { overflow-x: clip; }
body { overflow-x: clip; }
