/* MALINA FZ LLE — Nordic Berry design system */

@font-face {
  font-family: 'Gabarito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/assets/fonts/gabarito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Gabarito'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/assets/fonts/gabarito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #101726;
  --night-2: #161f33;
  --night-3: #1c2740;
  --ink: #EDEAF4;
  --ink-dim: #A9B0C7;
  --berry: #E8446E;
  --berry-soft: #F26D96;
  --aur-a: #55D6A5;
  --aur-b: #7B6CF6;
  --gold: #EFB958;
  --line: rgba(169, 176, 199, .16);
  --grad-aurora: linear-gradient(120deg, #55D6A5 0%, #5FB8D9 45%, #7B6CF6 100%);
  --grad-berry: linear-gradient(135deg, #F26D96 0%, #E8446E 55%, #B22553 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .5, 1);
  --radius: 18px;
  --font-d: 'Gabarito', 'Inter', system-ui, sans-serif;
  --font-t: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-t);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img, video, svg { max-width: 100%; }
img { height: auto; }
svg { width: 1.2em; height: 1.2em; fill: currentColor; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-d);
  font-weight: 700;
  line-height: 1.16;
  overflow-wrap: break-word;
  word-break: break-word;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { overflow-wrap: break-word; }
a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: color .25s var(--ease);
}
a:hover { color: var(--berry-soft); }
.prose a, .callout a, address a, .faq-item__body a, td a, li a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { padding-left: 1.3em; }
button { font: inherit; color: inherit; }
.btn, button, summary, .burger, .chat-toggle {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}
.container { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: .6rem 1rem; border-radius: 10px;
  background: var(--berry); color: #fff; font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85rem 1.7rem;
  border: 0; border-radius: 999px;
  font-family: var(--font-d); font-weight: 700; font-size: 1rem;
  cursor: pointer; text-align: center;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary {
  background: var(--grad-berry); color: #fff;
  box-shadow: 0 8px 24px rgba(232, 68, 110, .32);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(232, 68, 110, .45); }
.btn--aurora {
  background: var(--grad-aurora); color: #0d1420;
  box-shadow: 0 8px 24px rgba(85, 214, 165, .25);
}
.btn--aurora:hover { color: #0d1420; box-shadow: 0 12px 30px rgba(123, 108, 246, .4); }
.btn--ghost {
  background: rgba(237, 234, 244, .06); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost:hover { color: var(--berry-soft); box-shadow: inset 0 0 0 1px rgba(232, 68, 110, .5); }
.btn--sm { padding: .55rem 1.15rem; font-size: .9rem; }

/* ---------- Header (two rows) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(16, 23, 38, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-top { border-bottom: 1px solid rgba(169, 176, 199, .08); }
.header-top__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand svg { width: 42px; height: 42px; flex-shrink: 0; }
.brand__name { font-family: var(--font-d); font-weight: 800; font-size: 1.22rem; letter-spacing: .02em; white-space: nowrap; }
.brand__name em { font-style: normal; font-weight: 600; font-size: .72em; color: var(--ink-dim); letter-spacing: .14em; }
.brand:hover .brand__name { color: var(--berry-soft); }
.header-note { font-size: .78rem; color: var(--ink-dim); letter-spacing: .04em; }
.header-side { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: .45em; font-size: .88rem; font-weight: 600; }
.lang-switch a { color: var(--ink-dim); padding: .2em .1em; }
.lang-switch a[aria-current="true"] { color: var(--gold); }
.lang-switch a:hover { color: var(--berry-soft); }
.lang-switch span { color: var(--line); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-nav { overflow: visible; }
.nav { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding-block: 8px; }
.nav a {
  position: relative;
  display: inline-flex; align-items: center;
  padding: .45rem .7rem .45rem 1.55rem;
  font-size: .93rem; font-weight: 600;
  color: var(--ink-dim);
}
.nav a::before {
  content: '';
  position: absolute; left: .55rem; top: 50%;
  width: 10px; height: 10px;
  translate: 0 -50%;
  background: var(--grad-aurora);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: 0; scale: .3;
  transition: opacity .3s var(--ease), scale .35s var(--ease-spring);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::before, .nav a.is-here::before { opacity: 1; scale: 1; }
.nav a.is-here { color: var(--ink); }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(237, 234, 244, .06);
  border: 1px solid var(--line);
  cursor: pointer;
}
.burger span {
  position: absolute; left: 12px; right: 12px; 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: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Off-canvas drawer — slides from the LEFT */
.drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 120;
  width: min(78vw, 340px);
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, #131b2e 0%, #1a1430 100%);
  border-right: 1px solid var(--line);
  box-shadow: 24px 0 60px rgba(0, 0, 0, .45);
  transform: translateX(-102%);
  transition: transform .38s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 22px 28px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  padding: 14px 2px;
  font-size: 1.12rem; font-weight: 600;
  color: var(--ink-dim);
  border-bottom: 1px solid rgba(169, 176, 199, .1);
}
.drawer__nav a:hover, .drawer__nav a.is-here { color: var(--ink); }
.drawer__foot { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.drawer__foot .header-cta { flex-direction: column; align-items: stretch; }
.drawer-veil {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(10, 14, 24, .6);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.drawer-veil.is-open { opacity: 1; }

@media (max-width: 1219.98px) {
  .header-nav { display: none; }
  .burger { display: block; }
  .header-note { display: none; }
  .header-side .lang-switch, .header-side .header-cta { display: none; }
}
@media (min-width: 1220px) {
  .drawer, .drawer-veil { display: none !important; }
}

/* ---------- Generic sections ---------- */
.section-pad { padding-block: clamp(64px, 9vw, 110px); }
.sec-head { margin-bottom: clamp(28px, 4vw, 52px); }
.sec-head p { color: var(--ink-dim); margin-top: .7em; max-width: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split--rev > .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius); display: block; }
.split__body > * + * { margin-top: .9em; }
.split__body ul { margin-top: 1em; display: grid; gap: .5em; }
.section-pad .container > :not(.sec-head) + :not(.sec-head) { margin-top: clamp(18px, 2.4vw, 30px); }
.card-grid { display: grid; gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.info-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--night-2), var(--night-3));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 68, 110, .4);
  box-shadow: 0 8px 8px rgba(8, 12, 22, .32);
}
.info-card > svg { width: 34px; height: 34px; color: var(--aur-a); margin-bottom: 14px; }
.info-card h3 { margin-bottom: .5em; }
.info-card p { color: var(--ink-dim); font-size: .95rem; }
.prose { display: grid; gap: 1em; }
.prose h2 { margin-top: .6em; }
.prose h3 { margin-top: .3em; }
.prose ul, .prose ol { display: grid; gap: .45em; }
.callout {
  padding: 24px 26px;
  border-radius: var(--radius);
  background: rgba(232, 68, 110, .08);
  border: 1px solid rgba(232, 68, 110, .35);
  font-weight: 600;
}
.callout--aurora { background: rgba(85, 214, 165, .07); border-color: rgba(85, 214, 165, .35); }
.check-list { list-style: none; padding: 0; display: grid; gap: .65em; }
.check-list li { position: relative; padding-left: 1.9em; min-width: 0; }
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: .28em;
  width: 1.15em; height: 1.15em;
  background: var(--grad-aurora);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
.num-flow { list-style: none; padding: 0; counter-reset: numflow; display: grid; gap: 18px; }
.num-flow li {
  counter-increment: numflow;
  position: relative;
  padding: 20px 22px 20px 68px;
  border-radius: var(--radius);
  background: var(--night-2);
  border: 1px solid var(--line);
  min-width: 0;
}
.num-flow li::before {
  content: counter(numflow, decimal-leading-zero);
  position: absolute; left: 20px; top: 20px;
  font-family: var(--font-d); font-weight: 800; font-size: 1.15rem;
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.fig { margin: 0; }
.fig img { width: 100%; border-radius: var(--radius); display: block; }
.fig figcaption { margin-top: .6em; font-size: .85rem; color: var(--ink-dim); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat-band > div { min-width: 0; text-align: center; padding: 22px 12px; border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--line); }
.stat-band strong {
  display: block;
  font-family: var(--font-d); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem);
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-band span { font-size: .88rem; color: var(--ink-dim); }
.page-head { padding: clamp(52px, 8vw, 90px) 0 clamp(20px, 3vw, 36px); }
.page-head h1 { margin-bottom: .35em; }
.page-head .lead { color: var(--ink-dim); font-size: 1.08rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-d); background: var(--night-3); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* ---------- HOME: hero ---------- */
.home-hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; align-items: center;
  overflow: hidden;
  background-image: url('/assets/img/hero/hero-bg.avif');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.home-hero__media { position: absolute; inset: 0; z-index: 0; }
.home-hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 23, 38, .62) 0%, rgba(16, 23, 38, .5) 55%, rgba(16, 23, 38, .78) 100%);
}
.home-hero__ribbons { position: absolute; inset: -10% -20%; pointer-events: none; z-index: 1; }
.home-hero__ribbons span {
  position: absolute;
  width: 130%; height: 26%;
  border-radius: 50%;
  filter: blur(46px);
  opacity: .35;
  animation: ribbonDrift 14s var(--ease) infinite alternate;
}
.home-hero__ribbons span:nth-child(1) { top: 4%; left: -12%; background: linear-gradient(90deg, transparent, #55D6A5 45%, transparent); }
.home-hero__ribbons span:nth-child(2) { top: 20%; left: -6%; background: linear-gradient(90deg, transparent, #7B6CF6 50%, transparent); animation-duration: 18s; animation-delay: -6s; }
.home-hero__ribbons span:nth-child(3) { top: 12%; left: -18%; background: linear-gradient(90deg, transparent, #E8446E 50%, transparent); opacity: .18; animation-duration: 22s; animation-delay: -11s; }
@keyframes ribbonDrift {
  0%   { transform: translateX(-6%) skewY(-4deg) scaleY(.9); }
  50%  { transform: translateX(3%)  skewY(-1.5deg) scaleY(1.15); }
  100% { transform: translateX(8%)  skewY(-5deg) scaleY(.95); }
}
.home-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(70px, 12vw, 130px);
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.home-hero h1 { margin-bottom: .5em; }
.home-hero h1 em {
  font-style: normal;
  background: var(--grad-aurora);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero p { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #cfd4e6; margin-bottom: 1.6em; }
.home-hero__actions, .home-teaser__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.home-hero__actions { justify-content: center; }
.home-hero__inner > * { animation: heroLift .9s var(--ease) both; }
.home-hero__inner p { animation-delay: .12s; }
.home-hero__inner .home-hero__actions { animation-delay: .24s; }
@keyframes heroLift {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- HOME: constellation features ---------- */
.home-constellation {
  position: relative;
  background-image: url('/assets/img/sections/stars-texture.avif');
  background-size: cover; background-position: center;
}
.home-constellation::before { content: ''; position: absolute; inset: 0; background: rgba(16, 23, 38, .55); }
.home-constellation .container { position: relative; }
.constellation-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; }
.constellation-grid .info-card { background: rgba(22, 31, 51, .82); backdrop-filter: blur(6px); }
.constellation-grid .info-card:hover { transform: translateY(-5px); }
.constellation-grid .info-card::after {
  content: '';
  position: absolute;
  width: 9px; height: 9px; right: 16px; top: 16px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: starPulse 3.2s ease-in-out infinite;
}
.constellation-grid .info-card { position: relative; }
.constellation-grid .info-card:nth-child(2n)::after { animation-delay: 1.1s; }
.constellation-grid .info-card:nth-child(3n)::after { animation-delay: 2s; }
@keyframes starPulse { 0%, 100% { opacity: .5; scale: 1; } 50% { opacity: 1; scale: 1.35; } }

/* ---------- HOME: games shelf ---------- */
.game-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card {
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--night-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease-spring), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.game-card:hover { transform: translateY(-6px); border-color: rgba(123, 108, 246, .45); box-shadow: 0 20px 44px rgba(8, 12, 22, .55); }
.game-card img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.game-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.game-card__body h3 { font-size: 1.12rem; }
.game-card__body p { color: var(--ink-dim); font-size: .9rem; flex: 1; }
.game-card__meta { display: flex; align-items: center; gap: .45em; font-size: .8rem; color: var(--gold); }
.game-card .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- Game modal ---------- */
.game-modal {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 24, .82);
}
.game-modal__box {
  width: min(1040px, 100%);
  height: min(92dvh, 760px);
  max-height: calc(100dvh - 40px);
  background: var(--night-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.game-modal__head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.game-modal__head strong { font-family: var(--font-d); }
.game-modal__close { background: none; border: 0; cursor: pointer; font-size: 1.3rem; color: var(--ink-dim); padding: 4px 8px; }
.game-modal__close:hover { color: var(--berry-soft); }
.game-modal__frame { position: relative; flex: 1 1 auto; min-height: 0; width: 100%; background: #0b101c; }
.game-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 819.98px) {
  .game-modal { padding: 10px; }
  .game-modal__box { height: auto; max-height: calc(100dvh - 20px); }
  .game-modal__frame { flex: 0 0 auto; min-height: 280px; }
}

/* ---------- HOME: slot (Aurora Reels) ---------- */
.home-slot {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(85, 214, 165, .08), transparent 32%),
    linear-gradient(220deg, rgba(232, 68, 110, .1), transparent 38%),
    linear-gradient(180deg, var(--night) 0%, #141028 55%, var(--night) 100%);
}
.home-slot .container { position: relative; }
.slot-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.45fr);
  gap: clamp(16px, 2.6vw, 30px);
  align-items: stretch;
  padding: clamp(14px, 2.2vw, 22px);
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(123, 108, 246, .28);
  background: linear-gradient(145deg, rgba(18, 25, 42, .94), rgba(28, 20, 50, .9));
  box-shadow: inset 0 1px 0 rgba(237, 234, 244, .08), 0 8px 8px rgba(8, 10, 20, .36);
  overflow: hidden;
}
.slot-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(85, 214, 165, .08) 8% 8.5%, transparent 8.5% 100%),
    linear-gradient(160deg, transparent 0 58%, rgba(239, 185, 88, .12) 58% 60%, transparent 60% 100%);
  pointer-events: none;
}
.slot-stage > * { position: relative; z-index: 1; }
.slot-stage__play { min-width: 0; display: grid; align-items: center; }
.slot-paytable {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid rgba(169, 176, 199, .18);
  background: rgba(13, 19, 34, .72);
  padding: clamp(18px, 2vw, 24px);
}
.slot-paytable h3 { margin-bottom: 14px; }
.slot-pay-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.slot-pay-list li {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--night-3);
  border: 1px solid var(--line);
}
.slot-pay-list img { width: 40px; height: 40px; border-radius: 9px; display: block; flex-shrink: 0; }
.slot-pay-list__vals { font-size: .8rem; color: var(--ink-dim); display: flex; flex-wrap: wrap; gap: 2px 9px; min-width: 0; }
.slot-pay-list__vals b { color: var(--aur-a); font-weight: 700; }
.slot-pay-list__vals .pp { white-space: nowrap; }
.slot-paytable .slot-pay-note { margin-top: 12px; font-size: .8rem; color: var(--ink-dim); }
.slot-machine {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(180deg, rgba(85, 214, 165, .08), transparent 20%),
    linear-gradient(175deg, #1d1836, #131c31);
  border: 1px solid rgba(123, 108, 246, .35);
  box-shadow: inset 0 1px 0 rgba(237, 234, 244, .06), 0 8px 8px rgba(8, 10, 20, .36);
  padding: clamp(16px, 2.4vw, 28px);
}
.slot-machine::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--grad-aurora);
  opacity: .78;
}
.slot-machine > * { position: relative; z-index: 1; }
.slot-hud {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 18px; margin-bottom: 16px;
}
.slot-hud__wallet, .slot-hud__win, .slot-hud__bet {
  display: flex; align-items: center; gap: .5em;
  font-size: .9rem; color: var(--ink-dim);
}
.slot-hud strong { font-family: var(--font-d); font-size: 1.15rem; color: var(--ink); }
.slot-hud__wallet svg { color: var(--berry-soft); }
.slot-hud__bet { gap: .4em; }
.slot-hud__bet button {
  width: 30px; height: 30px; border-radius: 9px;
  border: 1px solid var(--line); background: var(--night-3);
  cursor: pointer; font-weight: 700; font-size: 1rem;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.slot-hud__bet button:hover { border-color: var(--berry); color: var(--berry-soft); }
.slot-reels {
  --cell: clamp(58px, 8.4vw, 108px);
  display: grid;
  grid-template-columns: repeat(5, var(--cell));
  gap: 8px;
  justify-content: center;
  padding: 14px;
  border-radius: 14px;
  background: #0d1322;
  box-shadow: inset 0 0 0 1px rgba(123, 108, 246, .25), inset 0 10px 30px rgba(0, 0, 0, .5);
}
.slot-reel { width: var(--cell); height: calc(var(--cell) * 3 + 12px); overflow: hidden; border: 0; position: relative; }
.slot-reel__strip { display: grid; gap: 6px; will-change: transform; }
.slot-cell {
  width: var(--cell); height: var(--cell);
  display: grid; place-items: center;
  border-radius: 12px;
  background: #131a2c;
  border: 1px solid rgba(169, 176, 199, .12);
}
.slot-cell img { width: calc(var(--cell) - 16px); height: calc(var(--cell) - 16px); border-radius: 9px; display: block; }
.slot-cell.is-win { border-color: var(--gold); box-shadow: 0 0 18px rgba(239, 185, 88, .45); animation: cellWin .6s var(--ease-spring) 3; }
@keyframes cellWin { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.slot-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.slot-msg { min-height: 1.7em; text-align: center; margin-top: 10px; font-weight: 600; color: var(--gold); }
@media (max-width: 859.98px) {
  .slot-stage { grid-template-columns: minmax(0, 1fr); }
  .slot-stage__play { order: -1; }
  .slot-reels { --cell: clamp(38px, 12.5vw, 88px); gap: 4px; padding: 10px; }
}

/* ---------- HOME: snow trail (how it works) ---------- */
.home-trail {
  background-image: url('/assets/img/sections/how-trail.avif');
  background-size: cover; background-position: center;
  position: relative;
}
.home-trail::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,23,38,.92), rgba(16,23,38,.72)); }
.home-trail .container { position: relative; }
.trail-steps { list-style: none; padding: 0; display: grid; gap: 30px; max-width: none; }
.trail-steps li {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px;
  align-items: start;
}
.trail-steps li:nth-child(2) { margin-left: clamp(0px, 8vw, 120px); }
.trail-steps li:nth-child(3) { margin-left: clamp(0px, 16vw, 240px); }
.trail-steps li:nth-child(4) { margin-left: clamp(0px, 24vw, 360px); }
.trail-steps .trail-steps__mark {
  width: 64px; height: 64px;
  border-radius: 50% 50% 50% 8px;
  display: grid; place-items: center;
  background: var(--grad-berry);
  box-shadow: 0 10px 26px rgba(232, 68, 110, .35);
  font-family: var(--font-d); font-weight: 800; font-size: 1.3rem; color: #fff;
}
.trail-steps h3 { margin-bottom: .3em; }
.trail-steps p { color: var(--ink-dim); }

/* ---------- HOME: coins ---------- */
.berry-badge {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .4em .95em;
  border-radius: 999px;
  background: rgba(239, 185, 88, .1);
  border: 1px solid rgba(239, 185, 88, .4);
  color: var(--gold); font-weight: 700; font-size: .9rem;
}
.berry-badge svg { color: var(--gold); }

/* ---------- HOME/Membership: plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.plan-card {
  min-width: 0;
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(175deg, var(--night-2), var(--night-3));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease-spring), border-color .3s var(--ease), box-shadow .35s var(--ease);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(8, 12, 22, .5); }
.plan-card--bronze { border-top: 3px solid #C98A5B; }
.plan-card--silver { border-top: 3px solid #B9C4D8; }
.plan-card--gold { border-top: 3px solid var(--gold); }
.plan-card--vip { border-top: 3px solid transparent; border-image: var(--grad-aurora) 1; }
.plan-card__tier { font-family: var(--font-d); font-weight: 800; font-size: 1.25rem; }
.plan-card__price { display: flex; align-items: baseline; gap: .4em; }
.plan-card__price strong {
  font-family: var(--font-d); font-weight: 800; font-size: 2.1rem;
  background: var(--grad-aurora); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.plan-card__price span { color: var(--ink-dim); font-size: .85rem; }
.plan-card .check-list { flex: 1; font-size: .92rem; }
.plan-card .btn { width: 100%; }

/* ---------- HOME: reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card {
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--night-2);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card__head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.review-card__head img { border-radius: 50%; flex-shrink: 0; }
.review-card__head strong { display: block; font-family: var(--font-d); font-size: .98rem; }
.review-card__head time { font-size: .78rem; color: var(--ink-dim); }
.review-card__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.review-card__stars svg { width: .95em; height: .95em; }
.review-card p { font-size: .9rem; color: var(--ink-dim); flex: 1; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: 14px;
  background: var(--night-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item.is-open { border-color: rgba(123, 108, 246, .45); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: var(--font-d); font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-right: 2px solid var(--aur-a);
  border-bottom: 2px solid var(--aur-a);
  transform: rotate(45deg);
  transition: transform .35s var(--ease);
  margin-top: -4px;
}
.faq-item.is-open summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-item__body { padding: 0 20px; }
.faq-item__body > * { padding-bottom: 18px; color: var(--ink-dim); }
.faq-item__body > * + * { margin-top: 0; padding-top: 0; }

/* ---------- Chat ---------- */
.chat-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 130;
  width: 46px; height: 46px;
  border-radius: 50% 50% 8px 50%;
  border: 0; cursor: pointer;
  background: var(--grad-berry);
  color: #fff;
  box-shadow: 0 12px 30px rgba(232, 68, 110, .45);
  display: grid; place-items: center;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease);
}
.chat-toggle:hover { transform: translateY(-3px) scale(1.05); }
.chat-toggle svg { width: 21px; height: 21px; }
.chat-toggle[aria-expanded="true"] { border-radius: 50%; }
.chat-panel {
  position: fixed; right: 20px; bottom: 76px; z-index: 130;
  width: min(360px, calc(100vw - 32px));
  height: min(460px, calc(100dvh - 110px));
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--night-2);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(8, 10, 20, .6);
  overflow: hidden;
}
.chat-panel__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--night-3); }
.chat-panel__head img { border-radius: 50%; }
.chat-panel__head strong { display: block; font-family: var(--font-d); font-size: .95rem; }
.chat-panel__head span { font-size: .74rem; color: var(--aur-a); }
.chat-panel__close { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--ink-dim); font-size: 1.05rem; padding: 4px 6px; }
.chat-panel__close:hover { color: var(--berry-soft); }
.chat-panel__log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 84%; padding: .6rem .85rem; border-radius: 14px; font-size: .88rem; line-height: 1.45; }
.chat-msg--bot { align-self: flex-start; background: var(--night-3); border-bottom-left-radius: 4px; }
.chat-msg--user { align-self: flex-end; background: var(--grad-berry); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg--typing span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-dim); margin-right: 3px; animation: typing 1s ease-in-out infinite; }
.chat-msg--typing span:nth-child(2) { animation-delay: .15s; }
.chat-msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.chat-panel__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-panel__form input {
  flex: 1; min-width: 0;
  padding: .55rem .8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--night);
  color: var(--ink);
  font: inherit; font-size: .88rem;
}
.chat-panel__form input:focus { outline: 2px solid rgba(123, 108, 246, .5); outline-offset: 1px; }

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 24, .92);
  backdrop-filter: blur(10px);
}
.age-gate__card, .age-gate__blocked {
  width: min(480px, 100%);
  padding: 36px 32px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(170deg, var(--night-2), var(--night-3));
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.age-gate__mark { width: 62px; height: 62px; margin-bottom: 14px; }
.age-gate__card h2, .age-gate__blocked h2 { margin-bottom: .5em; }
.age-gate__card p, .age-gate__blocked p { color: var(--ink-dim); font-size: .95rem; }
.age-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.age-gate__note { margin-top: 18px; font-size: .78rem; letter-spacing: .05em; }
.age-gate__blocked p + p { margin-top: .8em; }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 20px; bottom: 20px; z-index: 140;
  width: min(430px, calc(100vw - 40px));
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--night-2);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(8, 10, 20, .55);
}
.cookie-bar p { font-size: .87rem; color: var(--ink-dim); }
.cookie-bar__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: .75rem; }
.field { display: grid; gap: .3rem; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-dim); }
.field input, .field textarea, .field select {
  width: 100%; min-width: 0;
  padding: .6rem .85rem;
  font: inherit; font-size: .92rem;
  color: var(--ink);
  background: var(--night);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aur-b); }
.field textarea { resize: none; min-height: 120px; }
.field--check { display: flex; align-items: center; gap: .6rem; }
.field--check input {
  appearance: none; -webkit-appearance: none;
  width: 19px; height: 19px; padding: 0; flex-shrink: 0;
  border: 1px solid var(--ink-dim); border-radius: 5px;
  background: var(--night); cursor: pointer; position: relative;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.field--check input:checked { background: var(--berry); border-color: var(--berry); }
.field--check input:checked::after {
  content: '';
  position: absolute; left: 5.5px; top: 2px;
  width: 5px; height: 9px;
  border-right: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.field--check label { font-size: .8rem; font-weight: 500; }
.field-err { font-size: .78rem; color: var(--berry-soft); min-height: 1em; }
.auth-card {
  width: min(440px, 100%);
  margin-inline: auto;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: linear-gradient(172deg, var(--night-2), var(--night-3));
  border: 1px solid var(--line);
}
.auth-card h2 { margin-bottom: 4px; }
.auth-card > p { color: var(--ink-dim); font-size: .9rem; margin-bottom: 18px; }
.auth-card .btn { width: 100%; margin-top: .4rem; }
.auth-alt { margin-top: 16px; text-align: center; font-size: .86rem; color: var(--ink-dim); }
.auth-alt a { color: var(--aur-a); text-decoration: underline; text-underline-offset: 3px; }
.captcha-row { display: flex; align-items: center; gap: .6rem; }
.captcha-box {
  width: 19px; height: 19px; flex-shrink: 0;
  border: 1px solid var(--ink-dim); border-radius: 5px;
  background: var(--night); cursor: pointer; position: relative;
  display: grid; place-items: center;
}
.captcha-box.is-loading::after {
  content: '';
  width: 11px; height: 11px;
  border: 2px solid var(--aur-b); border-top-color: transparent;
  border-radius: 50%;
  animation: capSpin .7s linear infinite;
}
.captcha-box.is-done { background: var(--aur-a); border-color: var(--aur-a); }
.captcha-box.is-done::after {
  content: '';
  width: 5px; height: 9px;
  border-right: 2px solid #0d1420; border-bottom: 2px solid #0d1420;
  transform: rotate(45deg); margin-top: -2px;
}
@keyframes capSpin { to { transform: rotate(360deg); } }
.captcha-row__brand { display: flex; align-items: center; gap: .45rem; font-size: .74rem; color: var(--ink-dim); }
.captcha-row__brand svg { width: 22px; height: 22px; color: #6f8ede; }

/* Toast modal */
.toast-veil {
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(10, 14, 24, .7);
}
.toast-card {
  width: min(400px, 100%);
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--night-2);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  animation: toastIn .4s var(--ease-spring);
}
.toast-card--ok { border-color: rgba(85, 214, 165, .5); }
.toast-card--err { border-color: rgba(232, 68, 110, .5); }
.toast-card h3 { margin-bottom: .35em; }
.toast-card p { color: var(--ink-dim); font-size: .92rem; }
@keyframes toastIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.contact-info { display: grid; gap: 18px; }
.contact-tile {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--night-2);
  border: 1px solid var(--line);
  min-width: 0;
}
.contact-tile svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--aur-a); margin-top: 2px; }
.contact-tile strong { display: block; font-family: var(--font-d); margin-bottom: 2px; }
.contact-tile span, .contact-tile a { font-size: .92rem; color: var(--ink-dim); }
.contact-tile a { text-decoration: underline; text-underline-offset: 3px; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer: Night Sky Map ---------- */
.sky-footer { position: relative; margin-top: clamp(60px, 8vw, 100px); background: linear-gradient(180deg, var(--night) 0%, #0c1120 60%, #0a0e1a 100%); overflow: hidden; }
.sky-footer__stars { position: absolute; inset: 0; pointer-events: none; }
.sky-footer__stars::before, .sky-footer__stars::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 22%, rgba(237,234,244,.8), transparent 60%),
    radial-gradient(1px 1px at 21% 64%, rgba(237,234,244,.55), transparent 60%),
    radial-gradient(2px 2px at 34% 15%, rgba(239,185,88,.7), transparent 60%),
    radial-gradient(1px 1px at 47% 48%, rgba(237,234,244,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 58% 28%, rgba(85,214,165,.6), transparent 60%),
    radial-gradient(1px 1px at 69% 66%, rgba(237,234,244,.6), transparent 60%),
    radial-gradient(2px 2px at 82% 18%, rgba(237,234,244,.75), transparent 60%),
    radial-gradient(1px 1px at 93% 52%, rgba(123,108,246,.6), transparent 60%);
}
.sky-footer__stars::after {
  background-image:
    radial-gradient(1px 1px at 14% 82%, rgba(237,234,244,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 78%, rgba(237,234,244,.5), transparent 60%),
    radial-gradient(1px 1px at 64% 88%, rgba(85,214,165,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 76%, rgba(237,234,244,.5), transparent 60%);
  animation: starPulse 4.5s ease-in-out infinite;
}
.sky-footer__map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px 18px;
  padding-block: clamp(50px, 7vw, 84px) clamp(28px, 4vw, 44px);
}
.sky-footer__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sky-footer__lines path { stroke: rgba(169, 176, 199, .14); stroke-width: 1; stroke-dasharray: 3 7; }
.sky-cluster { min-width: 0; }
.sky-cluster--explore { grid-column: 1 / span 4; }
.sky-cluster--legal { grid-column: 9 / span 4; }
.sky-cluster--safe { grid-column: 5 / span 4; grid-row: 1; margin-top: clamp(30px, 6vw, 90px); }
.sky-cluster--org { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding-top: 10px; }
.sky-cluster__name {
  font-family: var(--font-d); font-size: .82rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: .6em;
}
.sky-cluster__name::after { content: ''; flex: 0 0 34px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.sky-cluster ul { list-style: none; padding: 0; display: grid; gap: 9px; }
.sky-cluster li { position: relative; padding-left: 1.35em; min-width: 0; }
.sky-cluster li::before {
  content: '';
  position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px;
  background: rgba(237, 234, 244, .5);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  transition: background-color .25s var(--ease), scale .3s var(--ease-spring);
}
.sky-cluster li:hover::before { background: var(--gold); scale: 1.3; }
.sky-cluster li a { font-size: .93rem; color: var(--ink-dim); }
.sky-cluster li a:hover { color: var(--ink); }
.brand--foot svg { width: 38px; height: 38px; }
.sky-cluster--org address { font-style: normal; font-size: .86rem; color: var(--ink-dim); }
.sky-cluster--org address a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 3px; }
.sky-cluster--org address a:hover { color: var(--ink); }
ul.sky-social { list-style: none; padding: 0; display: flex; gap: 10px; margin-left: auto; }
ul.sky-social li { padding-left: 0; }
ul.sky-social li::before { display: none; }
ul.sky-social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease-spring);
}
ul.sky-social a:hover { color: var(--berry-soft); border-color: rgba(232, 68, 110, .5); transform: translateY(-3px); }
ul.sky-social svg { width: 17px; height: 17px; }
.sky-footer__ridge {
  height: 46px;
  background: #070a12;
  clip-path: polygon(0 100%, 0 62%, 4% 38%, 7% 58%, 11% 30%, 14% 55%, 18% 20%, 21% 52%, 25% 34%, 29% 60%, 33% 26%, 36% 50%, 40% 38%, 44% 62%, 48% 18%, 52% 54%, 56% 32%, 60% 58%, 64% 24%, 67% 50%, 71% 36%, 75% 60%, 79% 28%, 83% 54%, 86% 40%, 90% 62%, 94% 30%, 97% 52%, 100% 44%, 100% 100%);
}
.sky-footer__base { background: #070a12; padding-block: 22px 28px; }
.rg-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.rg-band__age {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--berry);
  color: var(--berry-soft);
  font-family: var(--font-d); font-weight: 800; font-size: .82rem;
}
.rg-logo {
  display: inline-flex; align-items: center;
  max-width: 100%; min-width: 0;
  opacity: .85;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.rg-logo:hover { opacity: 1; transform: translateY(-2px); }
.rg-logo img { display: block; height: 38px; width: auto; max-width: 100%; object-fit: contain; }
.rg-logo__text { display: flex; flex-direction: column; margin-left: 9px; line-height: 1.15; color: var(--ink-dim); min-width: 0; }
.rg-logo__text b { font-family: var(--font-d); font-weight: 800; font-size: .84rem; letter-spacing: .02em; }
.rg-logo__text em { font-style: normal; font-size: .68rem; opacity: .75; }
@media (max-width: 429.98px) {
  .rg-logo img { height: 30px; }
}
.sky-footer__disc { font-size: .82rem; color: var(--ink-dim); }
.sky-footer__base p { overflow-wrap: break-word; }
.sky-footer__legal { margin-top: 10px; font-size: .78rem; color: rgba(169, 176, 199, .65); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 76px; z-index: 125;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(123, 108, 246, .45);
  background: rgba(22, 31, 51, .92);
  color: var(--aur-a);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(8, 10, 20, .5);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .35s var(--ease-spring), visibility .3s, color .25s var(--ease), border-color .25s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--berry-soft); border-color: rgba(232, 68, 110, .55); }
.to-top svg { width: 20px; height: 20px; }
body:has(.chat-panel:not([hidden])) .to-top { opacity: 0; visibility: hidden; }
@media (max-width: 519.98px) {
  .to-top { right: 16px; }
}

@media (max-width: 819.98px) {
  .home-hero__media video { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .home-hero__media video { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1219.98px) {
  .card-grid--4, .plan-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .sky-cluster--explore { grid-column: 1 / span 6; }
  .sky-cluster--legal { grid-column: 7 / span 6; }
  .sky-cluster--safe { grid-column: 1 / -1; grid-row: auto; margin-top: 0; }
}
@media (max-width: 819.98px) {
  .split, .contact-wrap { grid-template-columns: minmax(0, 1fr); }
  .split--rev > .split__media { order: 0; }
  .card-grid--3, .card-grid--2, .constellation-grid, .game-shelf { grid-template-columns: minmax(0, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .game-shelf { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .constellation-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .trail-steps li:nth-child(n) { margin-left: 0; }
  .contact-map iframe { height: 300px; }
  .home-hero { min-height: 0; }
}
@media (max-width: 519.98px) {
  .container { padding-inline: 16px; }
  .plan-grid, .review-grid, .card-grid--4, .card-grid--3, .game-shelf, .constellation-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trail-steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .trail-steps .trail-steps__mark { width: 48px; height: 48px; font-size: 1.05rem; }
  .home-hero__actions .btn, .home-teaser__actions .btn { width: 100%; }
  .age-gate__card, .age-gate__blocked { padding: 26px 20px; }
  .chat-panel { right: 16px; }
  .cookie-bar { left: 16px; }
  .auth-card { padding: 24px 18px; }
}
@media (max-width: 429.98px) {
  .brand__name { font-size: 1.05rem; }
  .brand svg { width: 36px; height: 36px; }
  .slot-hud { justify-content: center; }
  .btn { padding: .8rem 1.3rem; }
}
@media (max-width: 359.98px) {
  .stat-band { grid-template-columns: minmax(0, 1fr); }
  .brand__name em { display: none; }
}
