/* PacificDawnTide — single stylesheet for all pages */

:root {
  --bg-0: #060f1a;
  --bg-1: #0a1a2a;
  --bg-2: #102537;
  --bg-3: #18324a;
  --bg-card: rgba(255, 255, 255, 0.025);
  --bg-card-hover: rgba(255, 200, 140, 0.045);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ece4d3;
  --text-mute: #94a8b8;
  --text-dim: #6b8092;
  --accent: #ff8a5c;
  --accent-hot: #ffa46f;
  --accent-warm: #ffc78b;
  --teal: #5fd1c5;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --shadow-card: 0 2px 0 rgba(255,255,255,0.04) inset, 0 8px 24px rgba(0,0,0,0.25);
  --transition: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --serif: ui-serif, "Iowan Old Style", "Apple Garamond", Cambria, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-1);
  background-image:
    radial-gradient(1200px 600px at 85% -8%, rgba(255, 138, 92, 0.18), transparent 60%),
    radial-gradient(900px 600px at 12% 8%, rgba(95, 209, 197, 0.10), transparent 65%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 22%, var(--bg-1) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hot); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.18rem; letter-spacing: -0.005em; font-family: var(--sans); font-weight: 600; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

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

/* === LAYOUT === */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; position: relative; }
.section + .section { border-top: 1px solid var(--border); }

/* === HEADER === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 15, 26, 0.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  color: var(--text); letter-spacing: -0.01em;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 28px; height: 28px; flex: 0 0 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a {
  font-size: 14.5px; color: var(--text-mute); padding: 6px 0;
  border-bottom: 1px solid transparent; transition: color var(--transition), border-color var(--transition);
}
.nav a:hover, .nav a.is-current { color: var(--text); border-bottom-color: var(--accent); }
.lang {
  display: inline-flex; gap: 0; border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 2px; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.15em; margin-left: 8px;
}
.lang button {
  background: transparent; border: 0; color: var(--text-mute);
  padding: 5px 10px; border-radius: 999px; cursor: pointer; font: inherit; letter-spacing: inherit;
}
.lang button.is-active { background: var(--accent); color: #2a0f00; }
.menu-toggle {
  display: none; margin-left: 8px; background: transparent;
  border: 1px solid var(--border-strong); color: var(--text);
  border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-primary { background: var(--accent); color: #2a0f00; }
.btn-primary:hover { background: var(--accent-hot); color: #2a0f00; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 14px; font-size: 13.5px; }

/* === HERO === */
.hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px; align-items: center;
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-mute); max-width: 56ch;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-aside {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(95,209,197,0.05), rgba(255,138,92,0.04));
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.hero-aside .horizon {
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 75% 70%, rgba(255, 196, 130, 0.55), rgba(255, 138, 92, 0.18) 22%, transparent 55%),
    linear-gradient(180deg, #1d3a55 0%, #0f2335 55%, #0a1a2a 100%);
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.hero-aside .horizon::before {
  content: ""; position: absolute; inset: 64% 0 0 0;
  background: repeating-linear-gradient(180deg, rgba(95,209,197,0.18) 0 1px, transparent 1px 6px);
  mask-image: linear-gradient(180deg, black, transparent);
  -webkit-mask-image: linear-gradient(180deg, black, transparent);
}
.hero-aside .horizon::after {
  content: ""; position: absolute;
  width: 110px; height: 110px; border-radius: 50%;
  right: 12%; top: 30%;
  background: radial-gradient(circle at 30% 30%, #ffe4b8, #ff9a5e 55%, #d65a2c 100%);
  box-shadow: 0 0 80px 12px rgba(255, 138, 92, 0.45);
}
.hero-aside dl {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
  margin: 18px 0 0; padding: 0;
}
.hero-aside dl > div { display: contents; }
.hero-aside dt {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-dim); grid-column: 1;
}
.hero-aside dd { margin: 0; grid-column: 2; font-size: 14px; color: var(--text); text-align: right; }

/* === STATS === */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.stat {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; background: var(--bg-card);
}
.stat .num {
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--text);
  display: flex; align-items: baseline; gap: 8px;
}
.stat .num small { font-size: .85rem; color: var(--text-mute); font-family: var(--mono); letter-spacing: 0.1em; }
.stat .lbl {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute); margin-top: 12px;
}

/* === FEATURES === */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; background: var(--bg-card);
  transition: border-color var(--transition), background var(--transition);
}
.feature:hover { border-color: var(--border-strong); }
.feature .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,138,92,0.2), rgba(95,209,197,0.16));
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; margin-bottom: 16px;
}
.feature .icon svg { width: 18px; height: 18px; color: var(--accent); }
.feature h3 { margin: 0 0 8px; }
.feature p { color: var(--text-mute); margin: 0; font-size: 15px; }

/* === GAMES === */
.games {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.game {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.game:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--bg-card-hover); }
.game-cover {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,138,92,0.18), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.game-cover::before {
  content: "";
  position: absolute; top: 0; left: 22px;
  width: 36px; height: 3px;
  background: var(--accent);
  z-index: 2;
}
.game-cover::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(6,15,26,0.55));
  pointer-events: none;
}
.game-cover img, .game-cover svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; }
.game-meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-dim);
}
.game-actions { margin-top: auto; padding-top: 6px; }

/* === SECTION HEADS === */
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px; flex-wrap: wrap;
}
.sec-head .sec-title { max-width: 60ch; }
.sec-head h2 { margin: 0; }
.sec-head p { color: var(--text-mute); margin: 10px 0 0; max-width: 52ch; }

/* === FINAL CTA === */
.final-cta {
  border: 1px solid var(--border-strong); border-radius: 18px;
  padding: 56px 40px; text-align: center;
  background:
    radial-gradient(800px 300px at 50% 110%, rgba(255, 138, 92, 0.25), transparent 60%),
    var(--bg-card);
}
.final-cta h2 { margin: 0 0 12px; }
.final-cta p { color: var(--text-mute); margin: 0 0 22px; }

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  margin-top: 60px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}
.site-footer .wrap { display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand .tag { color: var(--text-mute); font-size: 14px; max-width: 38ch; }
.foot-col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-dim);
  margin: 0 0 12px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--text); font-size: 14.5px; }
.foot-col a:hover { color: var(--accent); }
.foot-disclaimer {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: grid; gap: 8px; font-size: 13px; color: var(--text-mute);
}
.foot-disclaimer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-disclaimer li::before { content: "— "; color: var(--accent); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--text-dim);
}

/* === 18+ BADGE === */
.badge18 {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--accent); color: var(--accent);
  border-radius: 999px; padding: 4px 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
}
.badge18 strong { font-weight: 700; }

/* === FORMS === */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--text-mute); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.form input, .form textarea {
  background: rgba(0,0,0,0.25); border: 1px solid var(--border-strong);
  color: var(--text); border-radius: 10px; padding: 12px 14px; font: 15px/1.4 var(--sans);
  transition: border-color var(--transition);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { min-height: 140px; resize: vertical; }
.form .actions { display: flex; gap: 12px; align-items: center; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--bg-3); color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 999px; padding: 10px 18px; font-size: 14px;
  opacity: 0; transition: opacity var(--transition), transform var(--transition);
  z-index: 100;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* === LEGAL DOCS === */
.doc { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .25em; }
.doc .doc-lead { color: var(--text-mute); font-size: 1.05rem; margin-bottom: 2em; }
.doc h2 { font-size: 1.25rem; margin-top: 2.2em; margin-bottom: .4em; font-family: var(--sans); font-weight: 600; }
.doc h2::before {
  content: attr(data-num) " · "; color: var(--accent); font-family: var(--mono); font-size: 0.85rem;
  letter-spacing: 0.15em; margin-right: 4px;
}
.doc p, .doc li { color: var(--text); font-size: 16px; }
.doc ul { padding-left: 1.2em; }

/* === LAUNCH BAY === */
.lb-shell {
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--bg-card); overflow: hidden;
  box-shadow: var(--shadow-card);
}
.lb-bar {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.25);
  flex-wrap: wrap;
}
.lb-bar .lb-title { font-family: var(--serif); font-size: 1.3rem; flex: 1; min-width: 0; }
.lb-bar .lb-title small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--text-dim); display: block; margin-bottom: 2px; }
.lb-bar .spacer { flex: 1; }
.lb-frame-wrap {
  position: relative; background: #000;
  aspect-ratio: 16 / 10;
}
.lb-frame-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  z-index: 2; opacity: 0; transition: opacity 400ms ease;
}
.lb-frame-wrap.is-loaded iframe { opacity: 1; }
.lb-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.8; filter: saturate(115%);
  transition: opacity 400ms ease;
  z-index: 1;
}
.lb-frame-wrap.is-loaded .lb-cover { opacity: 0; }
.lb-loading {
  position: absolute; inset: 0;
  z-index: 3;
  display: grid; place-items: center; gap: 14px; color: var(--text);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  background: linear-gradient(180deg, rgba(6,15,26,0.35), rgba(6,15,26,0.70));
  pointer-events: none;
  transition: opacity var(--transition);
}
.lb-loading .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 1.4s infinite; }
.lb-frame-wrap.is-loaded .lb-loading { opacity: 0; }
.lb-fallback {
  position: absolute; inset: 0; display: none;
  z-index: 4;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 30px; text-align: center; color: var(--text-mute); background: rgba(6,15,26,0.92);
}
.lb-frame-wrap.is-blocked .lb-fallback { display: flex; }
.lb-frame-wrap.is-blocked .lb-loading { display: none; }
@keyframes pulse {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* === REVEALS ===
 * Content is fully visible at first paint — per TZ "анимации видимы по умолчанию".
 * .reveal is a no-op style hook; JS may add tasteful in-motion later, never gate visibility.
 */
.reveal { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 880px) {
  .section { padding: 60px 0; }
  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 28px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; right: 16px; top: 60px;
    flex-direction: column; align-items: stretch; gap: 8px;
    background: var(--bg-2); border: 1px solid var(--border-strong);
    border-radius: var(--radius); padding: 16px; min-width: 200px;
    display: none; box-shadow: var(--shadow-card);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 6px 0; border-bottom: 0; }
  .lang { margin-left: 0; align-self: flex-start; }
  .final-cta { padding: 40px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ==========================================================================
   Scroll effects + age gate — all guarded by body.js-on so no-JS shows full
   content. The global prefers-reduced-motion rule above neutralises
   transitions; for scroll-linked transforms (inline styles), the JS skips
   when reduce is set.
   ========================================================================== */

/* === Scroll progress bar === */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: var(--p, 0%); height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 14px rgba(255, 138, 92, 0.55);
  z-index: 200; pointer-events: none;
  transition: width 80ms linear;
}

/* === Cursor spotlight === */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(380px at var(--cx, 50%) var(--cy, -200px),
    rgba(255, 138, 92, 0.10), transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity 600ms ease;
}
body.js-on::before { opacity: 1; }
@media (hover: none) { body::before { display: none; } }

/* === Stagger reveal (cards, features, stats) === */
body.js-on .stagger > * {
  opacity: 0;
  filter: blur(6px);
  transition: opacity 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
              filter 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
body.js-on .stagger.is-in > * { opacity: 1; filter: blur(0); }

/* === Hero parallax sun === */
body.js-on .hero-aside .horizon::after {
  transform: translateY(var(--sun-y, 0px));
  opacity: var(--sun-opacity, 1);
  will-change: transform;
}

/* === Magnetic tilt on game cards === */
body.js-on .game { transform-style: preserve-3d; will-change: transform; }

/* === Section heading underline reveal === */
body.js-on main h2.reveal-line { position: relative; padding-bottom: 14px; }
body.js-on main h2.reveal-line::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: width 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.js-on main h2.reveal-line.is-in::after { width: 72px; }

/* === AGE GATE === */
.age-gate {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 80% -10%, rgba(255, 138, 92, 0.20), transparent 55%),
    radial-gradient(circle at 10% 110%, rgba(95, 209, 197, 0.14), transparent 60%),
    rgba(4, 10, 18, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; pointer-events: none;
  transition: opacity 400ms ease;
}
.age-gate[hidden] { display: none !important; }
.age-gate.is-shown { opacity: 1; pointer-events: auto; }
body.gate-open { overflow: hidden; }

.age-gate-card {
  max-width: 460px; width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: scale(0.96);
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.age-gate.is-shown .age-gate-card { transform: scale(1); }

.age-gate-mark {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255, 196, 130, 0.45), rgba(255, 138, 92, 0.18) 60%, transparent);
  border: 1px solid var(--accent);
  font-family: var(--mono); font-weight: 700; font-size: 16px;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.age-gate-card h2 {
  font-size: 1.6rem; margin: 0 0 10px;
  font-family: var(--serif); font-weight: 500;
  letter-spacing: -0.015em;
}
.age-gate-card p {
  color: var(--text-mute); font-size: 15px; line-height: 1.55;
  margin: 0 0 24px;
}
.age-gate-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 22px;
}
.age-gate-note {
  font-size: 11.5px; color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 0;
  font-family: var(--mono); letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .age-gate, .age-gate-card { transition: none; }
  .age-gate-card { transform: none; }
  body.js-on .stagger > * { opacity: 1; filter: none; }
  body.js-on .hero-aside .horizon::after { transform: none; opacity: 1; }
  body::before { display: none; }
  .cookie-banner { transition: none; }
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 220;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  max-width: 920px; margin: 0 auto;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 420ms ease;
}
.cookie-banner.is-shown { transform: translateY(0); opacity: 1; }
.cookie-text {
  margin: 0; flex: 1; min-width: 240px;
  font-size: 13.5px; line-height: 1.5; color: var(--text-mute);
}
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* === RESPONSIBLE GAMING (footer block) === */
.foot-rg {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: grid; gap: 14px;
}
.foot-rg h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-dim); margin: 0;
}
.foot-rg p { margin: 0; font-size: 13px; color: var(--text-mute); max-width: 70ch; }
.foot-rg ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.foot-rg li { display: flex; }
.foot-rg a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text);
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 6px 13px;
  transition: border-color var(--transition), color var(--transition);
}
.foot-rg a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: flex-end; }
}
