/* ============ Gipfelstürmer Social Casino — Alpenglow Light ============ */

@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/big-shoulders-display.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/manrope.woff2') format('woff2');
}

:root {
  --bg: #FAFBFD;
  --card: #FFFFFF;
  --ink: #1E2A3E;
  --ink-soft: #4A5B74;
  --coral: #F0605A;
  --coral-deep: #D9463F;
  --gold: #E8A93D;
  --gold-soft: #F6D9A2;
  --steel: #33507A;
  --mist: #E4EAF2;
  --line: #DDE5EF;
  --night: #12203A;
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --radius: 18px;
  --shadow: 0 14px 40px rgba(30, 42, 62, .10);
  --shadow-soft: 0 6px 20px rgba(30, 42, 62, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img, svg, video { max-width: 100%; display: block; }
svg { width: 1.2em; height: 1.2em; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .015em;
  overflow-wrap: break-word;
  word-break: break-word;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.15rem; letter-spacing: .04em; }

p { color: var(--ink-soft); }

a {
  color: var(--steel);
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: color .3s var(--ease);
}
a:hover { color: var(--coral); }
/* text links must be distinguishable without color (a11y) */
p a:not(.btn), .prose a:not(.btn), .faq-item__body a, li a:not(.btn):not(.nav a):not(.footer-pin a) {
  text-decoration: underline;
  text-underline-offset: 2px;
}

ul, ol { list-style: none; }

button, a, label { -webkit-tap-highlight-color: transparent; }
.btn, .burger, .nav a, .brand, .chat-toggle, summary { user-select: none; -webkit-user-select: none; touch-action: manipulation; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: 1280px; margin: 0 auto; padding-inline: 28px; }

section { padding-block: 92px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 1rem;
  padding: 15px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: linear-gradient(120deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(240, 96, 90, .32);
}
.btn--primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(240, 96, 90, .42); }
.btn--ghost {
  background: transparent;
  border-color: var(--steel);
  color: var(--steel);
}
.btn--ghost:hover { background: var(--steel); color: #fff; }
.btn--gold {
  background: linear-gradient(120deg, var(--gold) 0%, #D48F1F 100%);
  color: #3A2A05;
  box-shadow: 0 10px 26px rgba(232, 169, 61, .30);
}
.btn--gold:hover { transform: translateY(-3px); color: #3A2A05; box-shadow: 0 16px 34px rgba(232, 169, 61, .42); }

/* ============ Header (two rows, ТЗ 25.1) ============ */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topbar__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 46px; height: 46px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.5rem; text-transform: uppercase;
  letter-spacing: .03em; color: var(--ink); line-height: 1;
}
.brand__name small {
  display: block; font-family: var(--font-body); font-size: .6rem;
  font-weight: 700; letter-spacing: .34em; color: var(--coral); text-transform: uppercase;
}
.header-cta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.header-cta .btn { padding: 10px 24px; font-size: .92rem; white-space: nowrap; }
.coin-balance {
  display: none; align-items: center; gap: 8px;
  font-weight: 800; font-size: .95rem; color: var(--steel);
}
.coin-balance svg { width: 22px; height: 22px; }
body[data-auth="in"] .coin-balance { display: inline-flex; }

/* nav row — sibling of header, sticky */
.mainnav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(250, 251, 253, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mainnav__row { display: flex; }
.nav {
  display: flex; width: 100%;
  justify-content: space-between; align-items: stretch;
}
.nav a:not(.nav-join) {
  position: relative;
  display: inline-flex; align-items: center;
  padding-block: 16px;
  font-weight: 700; font-size: .95rem;
  color: var(--ink-soft);
}
/* hover indicator: rising summit flag (no underline, no dot) */
.nav a:not(.nav-join)::before {
  content: '';
  position: absolute; left: 50%; top: 4px;
  width: 9px; height: 8px;
  transform: translateX(-50%) translateY(6px);
  background: var(--coral);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.nav a:not(.nav-join):hover, .nav a.is-active:not(.nav-join) { color: var(--ink); }
.nav a:not(.nav-join):hover::before, .nav a.is-active:not(.nav-join)::before {
  opacity: 1; transform: translateX(-50%) translateY(0);
}

.burger {
  display: none;
  width: 46px; height: 46px;
  position: relative;
  flex-shrink: 0;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1220px) {
  .site-header { position: sticky; top: 0; z-index: 90; }
  .burger { display: block; }
  .mainnav {
    position: fixed; inset: 0 auto 0 0;
    width: min(340px, 78vw);
    transform: translateX(-100%);
    visibility: hidden;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: var(--bg);
    backdrop-filter: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform .42s var(--ease), visibility 0s linear .42s;
    z-index: 120;
  }
  .mainnav[data-open="true"] {
    transform: translateX(0); visibility: visible;
    transition: transform .42s var(--ease), visibility 0s linear 0s;
    box-shadow: 24px 0 60px rgba(18, 32, 58, .18);
  }
  .mainnav__row { padding-inline: 0; }
  .nav { flex-direction: column; padding: 84px 30px 40px; }
  .nav a:not(.nav-join) { padding: 15px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); width: 100%; }
  .nav a:not(.nav-join)::before { left: auto; right: 6px; top: 50%; transform: translateY(-50%) translateX(-8px); clip-path: polygon(100% 0, 100% 100%, 0 50%); }
  .nav a:not(.nav-join):hover::before, .nav a.is-active:not(.nav-join)::before { transform: translateY(-50%) translateX(0); }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 110px;
  color: #fff;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--night) url('/assets/img/hero/poster.avif') center/cover no-repeat;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(18, 32, 58, .78) 0%, rgba(18, 32, 58, .40) 52%, rgba(240, 96, 90, .18) 100%);
}
.hero h1 { max-width: 15ch; animation: heroLift 1.1s var(--ease) both; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead {
  margin-top: 26px; font-size: 1.2rem; color: rgba(255, 255, 255, .88);
  animation: heroLift 1.1s var(--ease) .18s both;
}
.hero__actions {
  margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px;
  animation: heroLift 1.1s var(--ease) .34s both;
}
.hero__note {
  margin-top: 30px; font-size: .85rem; color: rgba(255, 255, 255, .62);
  animation: heroLift 1.1s var(--ease) .5s both;
}
@keyframes heroLift {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero h1, .hero__lead, .hero__actions, .hero__note { animation: none; }
}

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Section heading ============ */
.sec-head { margin-bottom: 54px; }
.sec-head h2 span { color: var(--coral); }
.sec-head p { margin-top: 16px; font-size: 1.08rem; }

/* ============ Switchback trail (features) ============ */
.switchback { position: relative; }
.switchback::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  border-left: 2px dashed var(--gold);
  opacity: .55;
}
.switchback__item {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding-block: 44px;
}
.switchback__item:nth-child(even) .switchback__media { order: 2; }
.switchback__item::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 18px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--card);
  border: 3px solid var(--coral);
  border-radius: 4px;
  z-index: 1;
}
.switchback__media img {
  width: 100%; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.switchback__body h3 { margin-bottom: 14px; }
.switchback__body p { margin-bottom: 10px; }

/* ============ Cards / grids ============ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card > svg { width: 34px; height: 34px; color: var(--coral); margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* games */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.game-card { display: flex; flex-direction: column; overflow: hidden; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.game-card:hover .game-card__media img { transform: scale(1.06); }
.game-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 24px 26px; }
.game-card__body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.game-card__body p { font-size: .95rem; margin-bottom: 16px; }
.game-card__play { margin-top: auto; padding: 10px 26px; font-size: .9rem; }

/* membership tiers */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tier { padding: 32px 26px; text-align: center; position: relative; }
.tier img { width: 110px; height: 110px; margin: 0 auto 18px; border-radius: 50%; }
.tier h3 { font-size: 1.4rem; }
.tier__price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--steel); margin-block: 12px; }
.tier__price span { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.tier ul { text-align: left; margin-block: 18px; display: grid; gap: 9px; }
.tier li { position: relative; padding-left: 26px; font-size: .94rem; color: var(--ink-soft); }
.tier li::before {
  content: ''; position: absolute; left: 2px; top: .42em;
  width: 12px; height: 10px; background: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tier--vip { border-color: var(--gold); box-shadow: 0 18px 44px rgba(232, 169, 61, .22); }

/* reviews — "trail register" notes */
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.review {
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.review__top { display: flex; align-items: center; gap: 14px; }
.review__top img { width: 52px; height: 52px; border-radius: 50%; }
.review__name { font-weight: 800; font-size: .98rem; }
.review__date { font-size: .8rem; color: var(--ink-soft); }
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__stars svg { width: 15px; height: 15px; }
.review p { font-size: .93rem; flex: 1; }

/* steps — route map */
.route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.route__step { position: relative; padding: 34px 28px; counter-increment: step; }
.route__step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 3.6rem;
  color: var(--mist); line-height: 1; display: block; margin-bottom: 12px;
}
.route__step h3 { margin-bottom: 10px; font-size: 1.25rem; }

/* stats — elevation markers */
.elevation { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: end; }
.elevation__item { text-align: center; padding-bottom: 22px; position: relative; }
.elevation__item::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--coral), var(--gold)); }
.elevation__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--steel); line-height: 1; }
.elevation__label { margin-top: 8px; font-size: .92rem; color: var(--ink-soft); font-weight: 600; }

/* ============ FAQ details ============ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-caret {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--mist); display: grid; place-items: center;
  transition: transform 360ms cubic-bezier(.22,1,.36,1), background-color 360ms cubic-bezier(.22,1,.36,1);
}
.faq-item.is-open summary .faq-caret { transform: rotate(45deg); background: var(--gold-soft); }
.faq-caret svg { width: 14px; height: 14px; }
.faq-item__body { overflow: hidden; }
.faq-item__body > * { padding: 0 24px; }
.faq-item__body > *:first-child { padding-top: 4px; }
.faq-item__body > *:last-child { padding-bottom: 22px; }
.faq-item__body p { font-size: .97rem; }

/* ============ Two-col generic ============ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.duo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.duo h2 { margin-bottom: 18px; }
.duo p { margin-bottom: 12px; }

/* CTA band */
.cta-band {
  background: linear-gradient(115deg, var(--night) 0%, var(--steel) 100%);
  color: #fff; border-radius: 26px;
  padding: 64px 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; right: -40px; bottom: -40px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232, 169, 61, .35), transparent 65%);
}
.cta-band h2 { max-width: 20ch; position: relative; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 10px; position: relative; }

/* ============ Slot machine — cabin layout ============ */
.slot-cabin {
  background: linear-gradient(160deg, var(--night) 0%, #1D3355 100%);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.slot-cabin__grid {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 28px;
  align-items: stretch;
}
.slot-stage { display: flex; flex-direction: column; justify-content: center; }
.slot-console-slot { position: relative; min-width: 0; }
.slot-console {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-evenly;
  gap: 10px;
  text-align: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 12px 16px;
  color: #fff;
  min-height: 0;
  overflow: hidden;
}
.slot-console__block { display: grid; gap: 5px; justify-items: center; }
.slot-console .slot-hud__value { font-size: 1.4rem; }
.slot-console__stepper { display: flex; align-items: center; gap: 12px; }
.slot-console__coins { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-soft); }
.slot-console__coins svg { width: 22px; height: 22px; }
.slot-payline__title {
  margin-top: 28px; margin-bottom: 14px;
  color: #fff; font-size: 1.1rem; letter-spacing: .12em;
}
.slot-payline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pay-chip {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  padding: 10px 13px;
  min-width: 0;
  transition: background-color .3s var(--ease), transform .35s var(--ease);
}
.pay-chip:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.pay-chip img { width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0; }
.pay-chip div { min-width: 0; }
.pay-chip strong { display: block; color: #fff; font-size: .8rem; line-height: 1.3; }
.pay-chip span { color: rgba(255, 255, 255, .6); font-size: .76rem; white-space: nowrap; }
.slot-payline__note { margin-top: 16px; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.slot-reels {
  --cell: 96px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, .05);
  border-radius: 16px;
  padding: 12px;
  border: 0;
}
.slot-reel { overflow: hidden; height: calc(var(--cell) * 3 + 16px); border-radius: 12px; background: #0E1930; }
.slot-strip { display: grid; gap: 8px; padding: 4px; }
.slot-cell {
  height: var(--cell);
  display: grid; place-items: center;
  background: #16264400;
  border-radius: 10px;
}
.slot-cell img { height: calc(var(--cell) - 16px); width: calc(var(--cell) - 16px); object-fit: cover; border-radius: 10px; }
.slot-cell.is-win img { animation: winPulse 1s var(--ease) infinite; }
@keyframes winPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.1); filter: brightness(1.35); }
}
.slot-hud__label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.slot-hud__value { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: #fff; }
.slot-hud__value.is-win { color: var(--gold); }
.bet-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: #fff;
  font-size: 1.2rem; font-weight: 800; cursor: pointer;
  transition: background-color .3s var(--ease);
}
.bet-btn:hover { background: rgba(255,255,255,.2); }
.spin-btn {
  width: 80px; height: 80px; border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, .25);
  background: radial-gradient(circle at 32% 28%, #F6CF6B, var(--gold) 55%, #C77E15 100%);
  color: #3A2A05;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: .08em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(232, 169, 61, .35), inset 0 -4px 10px rgba(0, 0, 0, .18);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .3s var(--ease);
}
.spin-btn:hover { transform: scale(1.06); box-shadow: 0 16px 38px rgba(232, 169, 61, .5), inset 0 -4px 10px rgba(0,0,0,.18); }
.spin-btn:active { transform: scale(.96); }
.spin-btn[disabled] { opacity: .55; cursor: default; transform: none; }
.slot-msg { margin-top: 16px; min-height: 1.6em; text-align: center; color: var(--gold); font-weight: 700; }

/* ============ Game modal ============ */
.game-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.game-modal__backdrop { position: absolute; inset: 0; background: rgba(18, 32, 58, .78); backdrop-filter: blur(6px); }
.game-modal__box {
  position: relative; width: min(960px, 100%);
  background: var(--night); border-radius: 20px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: modalRise .5s var(--ease) both;
}
@keyframes modalRise {
  from { opacity: 0; transform: translateY(40px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.game-modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; color: #fff;
}
.game-modal__head h3 { font-size: 1.15rem; }
.game-modal__close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.game-modal__close:hover { background: var(--coral); transform: rotate(90deg); }
.game-modal__frame { aspect-ratio: 16 / 10; background: #0E1930; }
.game-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) {
  .game-modal { padding: 10px; }
  .game-modal__frame { aspect-ratio: auto; height: min(74dvh, 520px); }
}
body.modal-open { overflow: hidden; }

/* ============ Forms ============ */
.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 32px;
}
.auth-wrap { display: grid; grid-template-columns: 440px 1fr; gap: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.auth-wrap .form-card { border: 0; border-radius: 0; box-shadow: none; }
.auth-side { position: relative; min-height: 420px; }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.form-grid { display: grid; gap: .75rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .85rem; }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: .92rem;
  padding: .6rem .85rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink);
  width: 100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: none; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(51, 80, 122, .14);
}
.field--check { display: flex; align-items: center; gap: 10px; }
.field--check input {
  appearance: none; -webkit-appearance: none;
  padding: 0; margin: 0;
  width: 20px; height: 20px; flex-shrink: 0;
  border: 2px solid var(--steel); border-radius: 6px;
  cursor: pointer; display: grid; place-items: center;
  transition: background-color .25s var(--ease);
}
.field--check input::before {
  content: ''; width: 10px; height: 10px;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  background: #fff; transform: scale(0);
  transition: transform .25s var(--ease);
}
.field--check input:checked { background: var(--steel); }
.field--check input:checked::before { transform: scale(1); }
.field--check label { font-size: .8rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.field .err { font-size: .78rem; color: var(--coral-deep); min-height: 1em; }

/* captcha */
.captcha { display: flex; align-items: center; gap: 12px; }
.captcha__box {
  width: 20px; height: 20px; flex-shrink: 0;
  padding: 0;
  border: 2px solid var(--steel); border-radius: 6px;
  background: #fff; cursor: pointer; position: relative;
  display: grid; place-items: center;
}
.captcha__box .spin {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--mist); border-top-color: var(--coral);
  animation: capSpin .7s linear infinite;
}
@keyframes capSpin { to { transform: rotate(360deg); } }
.captcha__box .tick {
  width: 10px; height: 10px; background: #2E9E5B;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  animation: tickIn .3s var(--ease) both;
}
@keyframes tickIn { from { transform: scale(0); } to { transform: scale(1); } }
.captcha__label { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.captcha__label svg { width: 26px; height: 26px; }

/* toast */
.toast-wrap { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.toast-wrap__backdrop { position: absolute; inset: 0; background: rgba(18, 32, 58, .5); backdrop-filter: blur(4px); }
.toast {
  position: relative; background: var(--card); border-radius: 18px;
  padding: 34px 40px; text-align: center; max-width: 420px;
  box-shadow: var(--shadow); animation: modalRise .45s var(--ease) both;
}
.toast h3 { margin-bottom: 8px; }
.toast p { font-size: .95rem; }
.toast--ok h3 { color: #2E9E5B; }
.toast--err h3 { color: var(--coral-deep); }

/* ============ Age gate ============ */
.age-gate { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; }
.age-gate__backdrop { position: absolute; inset: 0; background: rgba(18, 32, 58, .92); backdrop-filter: blur(10px); }
.age-gate__box {
  position: relative; max-width: 430px; width: 100%;
  background: var(--card); border-radius: 20px;
  padding: 26px 26px 22px; text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  animation: modalRise .6s var(--ease) both;
}
.age-gate__box svg { width: 44px; height: 44px; margin: 0 auto 10px; }
.age-gate__box h2 { font-size: 1.45rem; margin-bottom: 8px; }
.age-gate__box p { font-size: .87rem; margin-bottom: 8px; }
.age-gate__actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.age-gate__actions .btn { padding: 11px 22px; font-size: .9rem; }
.age-gate__links { margin-top: 14px; font-size: .8rem; }
body.age-locked { overflow: hidden; }
body.age-locked main, body.age-locked .site-header, body.age-locked .mainnav, body.age-locked .site-footer { filter: blur(14px); pointer-events: none; user-select: none; }

/* ============ Cookie banner ============ */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 250;
  max-width: 420px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow);
  padding: 22px 24px;
  animation: cookieIn .7s var(--ease) both;
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.cookie-bar h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-bar p { font-size: .85rem; margin-bottom: 14px; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { padding: 9px 20px; font-size: .85rem; }

/* ============ Chat ============ */
.chat-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 240;
  width: 60px; height: 60px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--steel), var(--night));
  box-shadow: 0 12px 30px rgba(18, 32, 58, .35);
  display: grid; place-items: center; color: #fff;
  transition: transform .4s var(--ease);
}
.chat-toggle:hover { transform: translateY(-4px) scale(1.05); }
.chat-toggle svg { width: 28px; height: 28px; }
.chat-panel {
  position: fixed; right: 20px; bottom: 92px; z-index: 245;
  width: 360px; max-width: calc(100vw - 40px);
  height: 460px; max-height: calc(100dvh - 120px);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(18px) scale(.97);
  visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.chat-panel.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear 0s; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(120deg, var(--night), var(--steel)); color: #fff; }
.chat-head img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold); }
.chat-head__name { font-weight: 800; font-size: .98rem; }
.chat-head__status { font-size: .75rem; color: #9FE3B4; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.45; }
.chat-msg--bot { background: var(--mist); color: var(--ink); border-bottom-left-radius: 4px; justify-self: start; }
.chat-msg--user { background: var(--steel); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input {
  flex: 1; min-width: 0;
  font-family: var(--font-body); font-size: .9rem;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
}
.chat-input input:focus { outline: none; border-color: var(--steel); }
.chat-input button {
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--coral); color: #fff; display: grid; place-items: center;
  transition: background-color .3s var(--ease);
}
.chat-input button:hover { background: var(--coral-deep); }
.chat-input button svg { width: 18px; height: 18px; }

/* ============ Footer — Trail Map ============ */
.site-footer {
  position: relative;
  background: var(--night);
  color: rgba(255, 255, 255, .88);
  padding: 80px 0 36px;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='.055' stroke-width='1.4'%3E%3Cpath d='M60 210c0-83 67-150 150-150s150 67 150 150-67 150-150 150S60 293 60 210z'/%3E%3Cpath d='M95 210c0-63 52-115 115-115s115 52 115 115-52 115-115 115S95 273 95 210z'/%3E%3Cpath d='M130 210c0-44 36-80 80-80s80 36 80 80-36 80-80 80-80-36-80-80z'/%3E%3Cpath d='M165 210c0-25 20-45 45-45s45 20 45 45-20 45-45 45-45-20-45-45z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px;
  pointer-events: none;
}
.footer-pins {
  position: relative;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer-brand .brand__name { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 16px; }
.footer-brand .socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-brand .socials a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: grid; place-items: center; color: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.footer-brand .socials a:hover { background: var(--coral); transform: translateY(-3px); }
.footer-brand .socials svg { width: 18px; height: 18px; }
.footer-pin h3 {
  display: flex; align-items: center; gap: 9px;
  font-size: 1rem; letter-spacing: .1em; color: #fff;
  margin-bottom: 18px;
}
.footer-pin h3 svg { width: 17px; height: 17px; color: var(--coral); flex-shrink: 0; }
.footer-pin ul { display: grid; gap: 10px; }
.footer-pin a { color: rgba(255,255,255,.85); font-size: .93rem; position: relative; padding-left: 0; transition: color .3s var(--ease), padding-left .35s var(--ease); }
.footer-pin a:hover { color: var(--gold); padding-left: 10px; }
.footer-legend {
  position: relative;
  margin-top: 60px;
  border: 1.5px dashed rgba(255,255,255,.3);
  border-radius: 16px;
  padding: 26px 30px;
}
.footer-legend__title {
  position: absolute; top: -12px; left: 26px;
  background: var(--night); padding-inline: 12px;
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: .18em; font-size: .85rem; color: var(--gold);
  text-transform: uppercase;
}
.footer-legend p { color: rgba(255,255,255,.82); font-size: .85rem; }
.footer-legend a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; }
.footer-legend a:hover { color: #fff; }
.footer-legend p + p { margin-top: 8px; }
.footer-legend .age-badge {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--coral); color: var(--coral);
  font-weight: 800; font-size: .95rem; margin-right: 16px;
  float: left;
}
.footer-base {
  position: relative;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: .84rem; color: rgba(255,255,255,.78); }
.footer-base p { color: rgba(255,255,255,.78); }
.footer-base a { color: rgba(255,255,255,.88); }
.footer-base a:hover { color: var(--gold); }

/* ============ Page hero (inner) ============ */
.page-hero {
  position: relative;
  background: linear-gradient(115deg, var(--night) 0%, var(--steel) 90%);
  color: #fff;
  padding-block: 90px;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px; height: 60px;
  background: var(--bg);
  clip-path: polygon(0 100%, 0 70%, 8% 45%, 16% 75%, 27% 30%, 38% 68%, 50% 12%, 62% 66%, 73% 34%, 84% 72%, 92% 48%, 100% 70%, 100% 100%);
}
.page-hero h1 { animation: heroLift .9s var(--ease) both; }
.page-hero p { margin-top: 18px; font-size: 1.12rem; color: rgba(255,255,255,.82); animation: heroLift .9s var(--ease) .15s both; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: .85rem; animation: heroLift .9s var(--ease) .05s both; }
.breadcrumbs a { color: rgba(255,255,255,.65); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: rgba(255,255,255,.45); }

/* prose blocks */
.prose h2 { margin-top: 46px; margin-bottom: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; margin-bottom: 12px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 26px; color: var(--ink-soft); }
.prose ul li::before {
  content: ''; position: absolute; left: 2px; top: .45em;
  width: 12px; height: 10px; background: var(--coral);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-block: 24px; width: 100%; height: auto; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-info__row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__row svg { width: 24px; height: 24px; color: var(--coral); flex-shrink: 0; margin-top: 3px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 56px; }
.map-wrap iframe { width: 100%; height: 440px; border: 0; display: block; }

/* tables generic */
table { border-collapse: collapse; }
.table-wrap { overflow-x: auto; }

/* ============ Responsive ============ */
@media (max-width: 1220px) {
  .switchback::before { left: 24px; }
  .switchback__item { grid-template-columns: 1fr; gap: 26px; padding-left: 64px; }
  .switchback__item:nth-child(even) .switchback__media { order: 0; }
  .switchback__item::after { left: 24px; }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .slot-cabin__grid { grid-template-columns: 1fr; }
  .slot-console { position: static; inset: auto; flex-direction: row; flex-wrap: wrap; padding: 20px; gap: 20px 34px; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 860px) {
  section { padding-block: 64px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .route { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr; }
  .elevation { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .duo { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 30px; }
  .footer-pins { grid-template-columns: 1fr 1fr; }
  .slot-reels { --cell: 64px; gap: 6px; padding: 8px; }
  .slot-strip { gap: 6px; }
  .slot-payline { grid-template-columns: repeat(2, 1fr); }
  .slot-cabin { padding: 20px; }
  .spin-btn { width: 88px; height: 88px; font-size: 1.15rem; }
  .hero { padding-block: 72px; }
  .hero__video { display: none; }
}
@media (max-width: 640px) {
  .games-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .footer-pins { grid-template-columns: 1fr; gap: 34px; }
  .header-cta .js-join-link { display: none !important; }
  .brand__name { font-size: 1.15rem; white-space: nowrap; }
  .brand svg { width: 38px; height: 38px; }
  .brand { gap: 8px; }
}
@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .elevation { grid-template-columns: 1fr 1fr; }
  .slot-reels { --cell: 46px; }
  .slot-cabin { padding: 14px; }
  .slot-payline { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pay-chip { padding: 8px 10px; }
  .pay-chip span { white-space: normal; }
  .cookie-bar { left: 12px; right: 12px; max-width: none; }
  .chat-panel { right: 12px; }
  .chat-toggle { right: 12px; }
}
@media (max-width: 430px) {
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 8px 14px; font-size: .82rem; }
  .brand__name { font-size: 1rem; }
  .brand__name small { letter-spacing: .22em; }
  .topbar__row { gap: 10px; }
}
@media (max-width: 380px) {
  body { font-size: 15.5px; }
  .slot-reels { --cell: 40px; }
  .btn { padding: 13px 24px; font-size: .92rem; }
  .header-cta .btn { padding: 8px 12px; font-size: .8rem; }
  .brand svg { width: 32px; height: 32px; }
}
