/* ============================================================
   Crystal Harbon — лендинг
   Палитра: тёмный нави из паттерна + рубиновый акцент.
   ============================================================ */
/* Шрифт: Baloo 2 (Google Fonts, подключён в <head> каждой страницы).
   Заголовки — вес 800 (визуально это старый «Baloo»), текст — 500–600.
   Полная поддержка чешской диакритики (latin-ext). */

:root {
  --bg: #0a1420;            /* фон паттерна (подложка) */
  --bg-diamond: #0e1a2b;    /* ромбики паттерна */
  --surface: #0a1523;       /* хедер/футер */
  --placeholder: #182b44;   /* панели/заглушки */
  --placeholder-light: #21395a;
  --cell: #0b1626;          /* ячейки слота */
  --text: #f2f5fa;
  --text-dim: #93a3b8;
  --accent: #c81f45;        /* рубиновый */
  --accent-hover: #e02955;
  --accent-text: #ffffff;
  --radius: 16px;           /* базовое скругление */
  --radius-lg: 24px;        /* крупные плашки */
  --header-h: 56px;
  --font: "Baloo 2", "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  /* ромбовидный паттерн с закруглениями, кучный, ромбы чуть светлее фона */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Crect width='170' height='170' fill='%230a1420'/%3E%3Cg fill='%230c1723'%3E%3Crect x='46' y='46' width='78' height='78' rx='15' transform='rotate(45 85 85)'/%3E%3Crect x='-39' y='-39' width='78' height='78' rx='15' transform='rotate(45 0 0)'/%3E%3Crect x='131' y='-39' width='78' height='78' rx='15' transform='rotate(45 170 0)'/%3E%3Crect x='-39' y='131' width='78' height='78' rx='15' transform='rotate(45 0 170)'/%3E%3Crect x='131' y='131' width='78' height='78' rx='15' transform='rotate(45 170 170)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 170px 170px;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* градиент поверх паттерна: светлее сверху, уходит в темноту */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(62, 92, 136, .30) 0%,
    rgba(62, 92, 136, .12) 32%,
    rgba(0, 0, 0, 0) 62%,
    rgba(0, 0, 0, .25) 100%);
}

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

a { color: inherit; }

/* Типографика: заголовки — Baloo 2 ExtraBold (800, «старый Baloo»),
   подзаголовки и текст — Baloo 2 средних весов */
body { font-weight: 500; }
p, li, .check span { font-weight: 500; letter-spacing: .01em; }
h1, h2, h3 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.btn, .sd-auto, .promo-badge {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.main-nav a, .link-login { font-weight: 600; text-transform: uppercase; }
.faq-list summary { font-weight: 600; }
.sd-msg { font-weight: 700; }
.si-row b { font-weight: 700; }

/* ---------- Заглушки (skeleton) ---------- */
.ph {
  background: var(--placeholder);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* лёгкое "дыхание" — намёк на будущие анимации */
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: shimmer 2.8s infinite;
}
@keyframes shimmer {
  to { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ph::after, .mini-cta, .mini-cta .btn, .marquee-track,
  .header-auth .btn-primary, .cta-row .btn-cta { animation: none !important; }
}

/* ---------- Хедер ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img { height: 46px; width: auto; display: block; }
.main-nav {
  display: flex;
  gap: 20px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.header-auth {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.link-login {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.link-login:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
/* кристальные кнопки — вместо бордовых, везде */
.btn-primary {
  background: url("../assets/img/btn-crystal.webp") center / 100% 100% no-repeat;
  color: #4a2a06;
  padding: 11px 26px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 246, 214, .55);
}
.btn-cta {
  background: url("../assets/img/btn-crystal.webp") center / 100% 100% no-repeat;
  color: #4a2a06;
  padding: 17px 46px;
  font-size: 16px;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 246, 214, .55);
  filter: drop-shadow(0 4px 14px rgba(255, 185, 80, .35));
}
.btn-primary:hover, .btn-cta:hover { filter: brightness(1.08) drop-shadow(0 4px 16px rgba(255, 195, 90, .5)); }

/* бургер для мобилы */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform .2s, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Контент ---------- */
main { flex: 1; }
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Первый экран: hero-баннер в формате ~16:9 + мини-CTA под ним.
   max-height страхует, чтобы баннер вместе с CTA не вылезал
   за вьюпорт на невысоких экранах. */
.hero {
  padding: 14px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
/* hero-слайдер */
.hero-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - var(--header-h) - 130px);
  min-height: 200px;
  font-size: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s;
}
.hs-slide.active { opacity: 1; cursor: pointer; }
.hs-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* текст поверх слайда */
.hs-caption {
  position: absolute;
  left: 5%;
  bottom: 12%;
  max-width: 58%;
  z-index: 2;
  text-align: left;
  pointer-events: none;
}
.hs-caption--top { top: 9%; bottom: auto; max-width: 54%; }
.hs-caption h2 {
  font-size: clamp(22px, 3.6vw, 48px);
  line-height: 1.22;
  margin-bottom: 16px;
  text-shadow: 0 3px 10px rgba(0,0,0,.95), 0 0 30px rgba(0,0,0,.6);
}
.hs-caption p {
  font-size: clamp(14px, 1.9vw, 24px);
  line-height: 1.75;
  color: #eef3fa;
  text-shadow: 0 2px 8px rgba(0,0,0,.95), 0 0 22px rgba(0,0,0,.55);
}
.hs-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--placeholder);
  color: var(--text-dim);
}
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 20, 35, .55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.hs-arrow:hover { background: var(--accent); }
.hs-prev { left: 14px; }
.hs-next { right: 14px; }
.hs-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.hs-dot.active { background: var(--accent); transform: scale(1.25); }

/* CTA-плашка «золотой кристалл»: арт-бар, текст по центру, сердцебиение + пульс свечения */
.mini-cta {
  position: relative;
  width: 100%;
  height: clamp(88px, 9.5vw, 142px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../assets/img/cta-crystal.webp") center / 100% 100% no-repeat;
  border: none;
  padding: 0 8.5%;
  cursor: pointer;
  text-align: center;
  animation: heartbeat 1.9s ease-in-out infinite, ctaBarGlow 1.9s ease-in-out infinite;
}
.mini-cta:hover { filter: brightness(1.06); }
/* ПК: текст в одну строку; мобила: в две (см. media) */
.mini-cta .cta-br { display: none; }
.mini-cta h1 {
  white-space: nowrap;
  font-size: clamp(12.5px, 1.35vw, 17px);
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
  color: #4a2a06;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-shadow: 0 1px 0 rgba(255, 246, 214, .55);
}
@keyframes ctaBarGlow {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 185, 80, .25)); }
  50% { filter: drop-shadow(0 0 26px rgba(255, 200, 100, .65)); }
}
@keyframes heartbeat {
  0%, 28%, 60%, 100% { transform: scale(1); }
  10% { transform: scale(1.035); }
  18% { transform: scale(1.012); }
  40% { transform: scale(1.05); }
}

/* бегущая лента лого провайдеров */
.marquee {
  margin: 56px 0 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee var(--marquee-dur, 26s) linear infinite;
}
.marquee-set { display: flex; gap: 14px; flex-shrink: 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.provider {
  width: 150px;
  aspect-ratio: 5 / 2;
  font-size: 10px;
  flex-shrink: 0;
  padding: 10px 16px;
  background: var(--placeholder);
  border-radius: var(--radius);
}
.provider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* все лого приводим к белому */
  filter: brightness(0) invert(1);
  opacity: .85;
  transition: opacity .2s;
}
.provider:hover img { opacity: 1; }
@keyframes marquee {
  to { transform: translateX(calc(-1 * var(--marquee-shift, 1200px))); }
}

/* потряхивание кнопок Sign in (хедер) и Create Account */
@keyframes shake-attn {
  0%, 84%, 100% { transform: translateX(0) rotate(0); }
  86% { transform: translateX(-2px) rotate(-1.6deg); }
  88% { transform: translateX(2px) rotate(1.6deg); }
  90% { transform: translateX(-2px) rotate(-1.2deg); }
  92% { transform: translateX(2px) rotate(1.2deg); }
  94% { transform: translateX(-1px) rotate(-.6deg); }
  96% { transform: translateX(1px) rotate(0); }
}
.header-auth .btn-primary,
.cta-row .btn-cta {
  animation: shake-attn 3.4s infinite;
}

/* сетка слотов */
.section-title {
  text-align: center;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  margin: 64px 0 40px;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}
.slot {
  aspect-ratio: 3 / 4;
  font-size: 18px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--placeholder);
}
.slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slot:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(200,31,69,.35); }

.cta-row { display: flex; justify-content: center; margin: 48px 0; }

/* играть в браузере — слот-демка */
.play-block { padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; }
.slot-demo { width: min(780px, 100%); }

/* подсчёт — панель над экраном слота */
.slot-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  background: var(--placeholder);
  border-radius: var(--radius);
  padding: 12px 24px;
  margin-bottom: 14px;
}
.si-row { display: flex; align-items: baseline; gap: 10px; font-size: 12px; letter-spacing: .08em; }
.si-row span { color: var(--text-dim); }
.si-row b { color: var(--text); font-size: 15px; }
.si-row i { font-style: normal; }

/* экран слота 16:9 с фоном-артом */
.slot-screen16 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: url("../assets/img/slot/bg.jpg") center / cover no-repeat;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 100%;
  align-items: center;
  padding: 3% 4% 6%;
  box-shadow: 0 12px 44px rgba(0,0,0,.55);
}
/* видео-фон слота */
.sd-bgvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sd-reels {
  position: relative;
  z-index: 1;
  height: 92%;
  aspect-ratio: 1;
  justify-self: center;
  align-self: center;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 100%;
  gap: 2.4%;
}
/* колонка — «окно», внутри вертикальная лента символов.
   В покое overflow открыт, чтобы пульсация выигрыша и свечение
   не обрезались; прячем лишнее только во время вращения. */
.sd-col { position: relative; overflow: visible; }
.sd-reels.masked .sd-col {
  overflow: hidden;
  /* края окна плавно растворяются — нет жёсткого среза */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.sd-strip {
  display: flex;
  flex-direction: column;
  gap: var(--sgap, 8px);
  will-change: transform;
}
.sd-cell {
  position: relative;
  flex: none;
  width: 100%;
  height: var(--cellH, auto);
  background: url("../assets/img/slot/cell.png") center / 100% 100% no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-cell img { width: 74%; height: 74%; object-fit: contain; }
.sd-strip.moving .sd-cell img { filter: blur(1.6px); }

/* эффект выигрыша: сердцебиение ячеек + золотое свечение */
.sd-cell.win { animation: winPulse .8s ease-in-out infinite; z-index: 2; }
@keyframes winPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,210,90,0)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 20px rgba(255,210,90,.9)); }
}
.slot-screen16::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,215,100,.4), transparent 70%);
  opacity: 0;
}
.slot-screen16::after { z-index: 2; }
.slot-screen16.flash::after { animation: flashFade 1.1s forwards; }
@keyframes flashFade { 0% { opacity: 1; } 100% { opacity: 0; } }

.sd-msg {
  position: absolute;
  z-index: 1;
  bottom: 2.5%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.85);
}
.sd-msg.win {
  color: #ffd76a;
  font-size: 30px;
  animation: msgPop .5s;
}
@keyframes msgPop { 0% { transform: scale(.5); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* управление: крупные кнопки-арты справа, вплотную к барабанам */
.sd-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sd-btnrow { display: flex; align-items: center; gap: 12px; }
.sd-img-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform .15s;
  line-height: 0;
}
.sd-img-btn:hover { transform: scale(1.08); }
.sd-img-btn:active { transform: scale(.93); }
.sd-img-btn[disabled] { opacity: .55; cursor: default; transform: none; }
.sd-img-btn img { display: block; }
.sd-minus img, .sd-plus img { width: clamp(46px, 6vw, 64px); }
.sd-spin-img img { width: clamp(104px, 13vw, 148px); }
.sd-sound {
  position: absolute;
  top: 3.5%;
  right: 2.5%;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(10, 20, 35, .55);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background .2s;
}
.sd-sound:hover { background: rgba(10, 20, 35, .85); }
.sd-auto {
  border-radius: 999px;
  padding: 9px 22px;
  background: rgba(10, 20, 35, .6);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.sd-auto:hover { background: rgba(10, 20, 35, .85); }
.sd-auto.active { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.sd-free {
  text-align: center;
  font-size: 11px;
  color: #dfe7f2;
  text-shadow: 0 1px 4px rgba(0,0,0,.75);
}

/* нижняя панель как у реальных слотов: баланс / посл. выигрыш / ставка ± */
.slot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 22px;
  background: var(--placeholder);
  border-radius: var(--radius);
  padding: 12px 24px;
  margin-top: 14px;
}
.sb-item { display: flex; flex-direction: column; gap: 2px; }
.sb-item span {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}
.sb-item b { color: var(--text); font-weight: 800; font-size: 19px; line-height: 1.15; }
.sb-item i { font-style: normal; }
.sb-balance b { font-size: 24px; }
.sb-lastwin { text-align: center; align-items: center; }
.sb-bet { display: flex; align-items: center; gap: 12px; }
.sb-betval { align-items: center; text-align: center; min-width: 86px; }
.sb-bet-btn img { width: 44px; }


/* ---------- Внутренние страницы ---------- */
.page-body { padding: 48px 0 72px; max-width: 760px; margin: 0 auto; }
.page-body h1 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 24px; text-align: center; }
.ph-text {
  background: var(--placeholder);
  border-radius: var(--radius);
  min-height: 90px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- Контент внутренних страниц ---------- */
.page-intro {
  text-align: center;
  color: var(--text-dim);
  max-width: 640px;
  margin: -8px auto 36px;
  font-size: 15px;
  line-height: 1.65;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.step-card {
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(200,31,69,.4);
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; }

.content-card {
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 18px;
}
.content-card h2 { font-size: 20px; margin-bottom: 10px; }
.content-card p, .content-card li { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.content-card ul { padding-left: 20px; margin-top: 6px; }
.content-note { font-size: 12px; color: var(--text-dim); text-align: center; margin: 20px 0; opacity: .7; }

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 26px;
}
.promo-card {
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.promo-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.promo-badge.soon { background: var(--placeholder-light); color: var(--text-dim); }
.promo-card h3 { font-size: 18px; margin-bottom: 8px; }
.promo-card p { color: var(--text-dim); font-size: 14px; line-height: 1.65; }

.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}
.tier-card {
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  text-align: center;
  border-top: 3px solid var(--tier, var(--placeholder-light));
}
.tier-card h3 { font-size: 16px; margin-bottom: 10px; }
.tier-card ul { list-style: none; color: var(--text-dim); font-size: 12.5px; line-height: 1.9; }

.faq-list details {
  background: var(--placeholder);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 22px; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 20px 16px; color: var(--text-dim); font-size: 14px; line-height: 1.7; }

@media (max-width: 700px) {
  .steps-grid, .promo-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Футер ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0 36px;
  font-size: 12px;
  color: var(--text-dim);
}
.disclaimer {
  max-width: 760px;
  margin: 0 auto 26px;
  line-height: 1.6;
}
.disclaimer a { color: var(--text); }
.footer-bottom {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-logo { flex-shrink: 0; }
.footer-logo img { height: 40px; width: auto; display: block; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.footer-links a { color: var(--text-dim); }
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--text-dim);
  border-radius: 50%;
  font-weight: 700;
  font-size: 12px;
  color: var(--text);
  flex-shrink: 0;
}

/* ---------- Модалки ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}
.modal-overlay.show { display: flex; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 100%;
  max-width: 420px;
  position: relative;
  overflow: hidden;
  animation: slideUp .25s;
  border: 1px solid rgba(255, 205, 100, .35);
  /* "наградное" пульсирующее свечение */
  box-shadow: 0 0 30px rgba(255, 185, 80, .2), 0 20px 60px rgba(0,0,0,.6);
}

/* арт модалки — скруглённая плашка */
.modal-art {
  margin: 6px 0 18px;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
}
.modal-art img {
  width: 100%;
  display: block;
  animation: artIn .5s ease-out;
}
@keyframes artIn {
  0% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
/* блик, пробегающий по арту при открытии */
.modal-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,240,190,.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: artShine 1.4s .3s ease-out forwards;
}
@keyframes artShine {
  to { transform: translateX(120%); }
}

/* монетный дождь при успешной регистрации */
.coin-burst {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
}
.coin-p {
  position: absolute;
  top: -24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #ffeeb0, #f5c343 55%, #c98d1b);
  box-shadow: 0 0 6px rgba(255, 205, 90, .8);
  animation: coinFall linear forwards;
}
@keyframes coinFall {
  0% { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
  100% { transform: translateY(560px) rotate(680deg) scale(.75); opacity: .15; }
}
.success-msg {
  text-align: center;
  padding: 18px 0 10px;
  animation: msgPop .5s;
}
.success-msg .big {
  font-size: 21px;
  font-weight: 800;
  color: #ffd76a;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 8px;
  animation: winPulse 1.2s ease-in-out infinite;
  display: inline-block;
}
@keyframes slideUp { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { font-size: 20px; margin-bottom: 6px; text-align: center; }
.modal .modal-sub { font-size: 13px; color: var(--text-dim); margin-bottom: 18px; text-align: center; }
.modal .field label { text-align: center; }
.modal .form-note { text-align: center; }
/* кнопка отправки дрожит, как CTA на сайте */
.modal .btn-cta { animation: shake-attn 3.4s infinite; }
/* успех: остаётся только арт-плашка (+ монетный дождь) */
.modal.success h2,
.modal.success .modal-sub { display: none; }
.modal.success .modal-art { margin-bottom: 6px; }
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 6;
  width: 34px;
  height: 34px;
  background: rgba(10, 20, 35, .6);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover { background: rgba(10, 20, 35, .9); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 5px; }
.field input[type="email"], .field input[type="password"], .field input[type="text"] {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }
.check input { margin-top: 2px; }
.check a { color: var(--text); }
.modal .btn-cta { width: 100%; margin-top: 6px; }
.form-note { font-size: 11px; color: var(--text-dim); margin-top: 12px; text-align: center; }
.form-error { color: #ff6b6b; font-size: 12px; margin-top: 8px; display: none; }
.form-error.show { display: block; }

/* ---------- Cookie popup ---------- */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 16px 18px;
  max-width: 560px;
  margin: 0 auto;
  display: none;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  animation: slideUp .3s;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 12px; color: var(--text-dim); line-height: 1.5; flex: 1 1 260px; }
.cookie-banner p a { color: var(--text); }
.cookie-actions { display: flex; gap: 10px; }
.btn-secondary {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
}
.btn-secondary:hover { color: var(--text); }
.cookie-actions .btn-primary { font-size: 13px; }

/* ============================================================
   Мобильная версия
   ============================================================ */
@media (max-width: 800px) {
  /* больше воздуха по краям — плашки не липнут к границам экрана */
  .container { padding: 0 24px; }
  .header-inner { padding: 0 20px; }
  .burger { display: flex; margin-left: auto; }
  .header-auth { margin-left: 0; }
  .header-auth .link-login { display: none; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s, opacity .2s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 20px; font-size: 15px; }

  .slots-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-banner { aspect-ratio: 16 / 10; min-height: 0; font-size: 18px; }
  /* мобила: текст слева, контент справа — не перекрываем персонажей */
  .hs-caption { max-width: 58%; bottom: 10%; }
  .hs-caption--top { top: 6%; bottom: auto; max-width: 60%; }
  .hs-caption h2 { font-size: clamp(15px, 4.2vw, 22px); margin-bottom: 8px; }
  .hs-caption p { font-size: clamp(11px, 2.9vw, 14px); line-height: 1.6; }
  /* стрелки прячем — листание свайпом и точками */
  .hs-arrow { display: none; }
  .mini-cta { height: clamp(86px, 22vw, 120px); padding: 0 15%; }
  .mini-cta .cta-br { display: inline; }
  .mini-cta .cta-sep { display: none; }
  .mini-cta h1 { white-space: normal; font-size: clamp(10px, 2.9vw, 14px); line-height: 1.35; }
  .provider { width: 104px; }
  .marquee { margin-top: 40px; }
}

@media (max-width: 700px) {
  /* слот на мобиле: выше формат, управление под барабанами */
  .slot-screen16 {
    aspect-ratio: 2 / 3;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;   /* управление уходит под барабаны */
    align-content: start;
    padding: 5% 4% 12%;
  }
  .sd-reels { height: auto; width: 86%; margin: 2% auto 0; align-self: auto; }
  .sd-side { margin-top: 6%; gap: 8px; }
  .sd-spin-img img { width: 104px; }
  .slot-bar { padding: 10px 14px; gap: 8px 12px; }
  .sb-balance b { font-size: 19px; }
  .sb-item b { font-size: 16px; }
  .sb-bet-btn img { width: 38px; }
  .sb-betval { min-width: 64px; }
  .sd-msg { bottom: 2%; }
}

@media (max-width: 480px) {
  .slot { font-size: 15px; }
  .mini-cta { padding: 0 16%; }
}

/* ============================================================
   Аккаунты, дейли-бонус, каталог, страница игры (2026-08-11)
   ============================================================ */

/* --- каталог: некликабельные тайлы JIŽ BRZY --- */
.slot { position: relative; } /* якорь для оверлея и подписи */
.slot.soon { cursor: default; }
.slot.soon:hover { transform: none; box-shadow: none; }
.soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 18, .68);
  display: flex;
  align-items: center;
  justify-content: center;
}
.soon-badge {
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 7px 18px;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: 12px;
  color: #eef3fa;
  background: rgba(10, 18, 30, .65);
  text-transform: uppercase;
}
.slot-cap {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #dfe7f2;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

/* --- наши игры --- */
.ourgames-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}
.ourgame {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  text-decoration: none;
  color: var(--text);
  background: var(--placeholder);
}
.ourgame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.ourgame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 8, 16, .85));
}
.ourgame:hover img { transform: scale(1.05); }
.ourgame.soon img { filter: brightness(.45) saturate(.65); }
.ourgame.soon { cursor: default; }
.og-info { position: absolute; left: 16px; bottom: 12px; z-index: 2; }
.og-info h3 { font-size: 18px; margin: 0; }
.og-info span { font-size: 12px; color: var(--text-dim); }
.og-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #dfe7f2;
  background: rgba(10, 18, 30, .7);
  border: 1px solid rgba(255,255,255,.3);
}
.og-badge.live {
  background: linear-gradient(180deg, #ffd76a, #d9a12f);
  color: #4a2a06;
  border-color: rgba(255, 235, 170, .9);
}

/* --- страница игры --- */
.game-page { max-width: 1040px; }
.game-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.back-link { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 600; }
.back-link:hover { color: var(--text); }
.free-badge {
  border: 1px solid rgba(125, 223, 138, .7);
  color: #8ff09b;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
}
.game-title-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.game-title-row img { width: 52px; height: 52px; object-fit: contain; }
.game-title-row h1 { text-align: left; font-size: 26px; margin: 0; }
.game-studio { font-size: 13px; color: var(--text-dim); }
.game-page .slot-demo { width: 100%; }

/* --- модалка: табы + welcome-плашка + показ пароля --- */
.modal-tabs {
  display: flex;
  background: var(--placeholder);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 16px;
}
.modal-tab {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--text-dim);
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal-tab.active { background: var(--accent); color: #fff; }
.welcome-pack {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(60, 42, 8, .9), rgba(36, 26, 6, .9));
  border: 1px solid rgba(255, 205, 100, .55);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.welcome-pack img { width: 52px; flex-shrink: 0; }
.wp-label { font-size: 10px; letter-spacing: .12em; color: #ffd76a; text-transform: uppercase; }
.wp-amount { font-size: 22px; font-weight: 800; color: #ffd76a; line-height: 1.2; }
.wp-sub { font-size: 11px; color: var(--text-dim); }
.field { position: relative; }
.pw-toggle {
  position: absolute;
  right: 12px;
  bottom: 11px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.pw-toggle:hover { color: var(--text); }
.modal.success .modal-tabs,
.modal.success .welcome-pack { display: none; }

/* --- хедер залогиненного --- */
.balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 205, 100, .1);
  border: 1px solid rgba(255, 205, 100, .55);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  color: #ffd76a;
  font-size: 13px;
  white-space: nowrap;
}
.balance-chip img { width: 18px; }
.daily-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--placeholder);
  border: 1px solid rgba(255, 205, 100, .5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.daily-btn img { width: 22px; }
.daily-btn:hover { background: var(--placeholder-light); }
.daily-btn.ready::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffd76a;
  border: 2px solid var(--surface);
  animation: heartbeat 1.4s infinite;
}
.avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--placeholder);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 4px 12px 4px 4px;
  cursor: pointer;
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
}
.avatar-btn:hover { background: var(--placeholder-light); }
.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* --- меню аккаунта --- */
.account-menu {
  position: fixed;
  top: calc(var(--header-h) + 8px);
  right: 16px;
  width: 290px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 16px;
  z-index: 220;
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
  display: none;
}
.account-menu.open { display: block; animation: slideUp .2s; }
.am-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.am-head .avatar-circle { width: 40px; height: 40px; font-size: 17px; }
.am-name { font-weight: 800; font-size: 15px; }
.am-email { font-size: 12px; color: var(--text-dim); word-break: break-all; }
.am-balance {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 205, 100, .08);
  border: 1px solid rgba(255, 205, 100, .5);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.am-balance img { width: 26px; }
.am-balance b { color: #ffd76a; font-size: 17px; }
.am-balance span { display: block; font-size: 11px; color: var(--text-dim); }
.am-tier { margin-bottom: 14px; }
.am-tier-row { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.am-tier-row b { color: #ffd76a; }
.am-tier-row span { color: var(--text-dim); }
.xp-bar { height: 6px; background: var(--placeholder); border-radius: 3px; overflow: hidden; }
.xp-fill { height: 100%; background: linear-gradient(90deg, #ffd76a, var(--accent)); border-radius: 3px; }
.am-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 4px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.am-item:hover { color: #ffd76a; }
.am-item small { display: block; font-size: 11px; color: var(--text-dim); font-weight: 500; }
.am-item.logout { color: #ff6b6b; }
.am-item img { width: 20px; }

/* --- дейли-бонус модалка --- */
.modal--daily { max-width: 360px; text-align: center; padding-top: 34px; }
.daily-coin {
  width: 110px;
  margin: 0 auto 10px;
  animation: heartbeat 1.9s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(255, 205, 100, .55));
}
.daily-tier {
  font-size: 11px;
  letter-spacing: .18em;
  color: #ffd76a;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.modal--daily h2 { text-align: center; }
.daily-amount {
  background: rgba(255, 205, 100, .08);
  border: 1px solid rgba(255, 205, 100, .55);
  border-radius: 14px;
  padding: 14px;
  font-size: 24px;
  font-weight: 800;
  color: #ffd76a;
  margin: 14px 0;
}
.modal--daily .btn-cta { width: 100%; }
.link-later {
  display: block;
  margin: 12px auto 0;
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.link-later:hover { color: var(--text); }

/* --- мобила для новых блоков --- */
@media (max-width: 800px) {
  .ourgames-grid { grid-template-columns: 1fr; }
  .av-name { display: none; }
  .balance-chip { font-size: 11px; padding: 5px 10px; }
  .daily-btn { width: 34px; height: 34px; }
  .header-auth.logged { gap: 8px; }
  .account-menu { right: 8px; left: 8px; width: auto; }
  .game-title-row h1 { font-size: 20px; }
}

/* --- VIP: способы получения XP + тиры --- */
.xp-ways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
  text-align: center;
}
.xp-card {
  background: var(--placeholder);
  border-radius: var(--radius-lg);
  padding: 22px 14px;
}
.xp-card img { width: 46px; height: 46px; object-fit: contain; margin: 0 auto 10px; }
.xp-card h3 { font-size: 14px; margin-bottom: 6px; }
.xp-card p { font-size: 12px; color: var(--text-dim); }
.tier-card { position: relative; }
.tier-range { font-size: 11px; color: var(--text-dim); margin: -4px 0 12px; }
.tier-pop {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 205, 100, .14);
  border: 1px solid rgba(255, 205, 100, .6);
  color: #ffd76a;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 10px;
  text-transform: uppercase;
}
.tier-card ul li::before { content: "✓ "; color: #ffd76a; font-weight: 800; }
@media (max-width: 700px) {
  .xp-ways { grid-template-columns: repeat(2, 1fr); }
}

/* --- вход через Google + разделитель --- */
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.or-divider::before, .or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.14);
}
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: #ffffff;
  color: #1f2937;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
}
.google-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.modal.success .or-divider, .modal.success .google-btn { display: none; }

/* --- каталог до регистрации: тайлы яркие и кликабельные --- */
body:not(.logged) .catalog-section .soon-overlay { display: none; }
body:not(.logged) .catalog-section .slot.soon { cursor: pointer; }
body:not(.logged) .catalog-section .slot.soon:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(200,31,69,.35); }

/* --- вид для залогиненных: лобби вместо баннера и промо-секций --- */
.lobby-section { display: none; padding-top: 26px; }
body.logged .lobby-section { display: block; }
body.logged .hero,
body.logged .catalog-section,
body.logged .ourgames-section { display: none; }

.lobby-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.lf-btn {
  border: 1px solid rgba(255,255,255,.18);
  background: var(--placeholder);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 9px 22px;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lf-btn:hover { color: var(--text); }
.lf-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.lobby-grid { max-width: 100%; }
.slot.playable { cursor: pointer; }
.slot.playable:hover { transform: scale(1.03); box-shadow: 0 8px 30px rgba(255, 185, 80, .35); }
.slot .og-badge.live { top: 10px; right: 10px; }
.slot-cap em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
  color: var(--text-dim);
}

/* каталог для незалогиненных: подписи не дублируем — название уже на баннере */
.catalog-section .slot-cap { display: none; }

/* ============================================================
   Frost Golem — экран с головой голема над барабанами
   ============================================================ */
.fg-screen {
  /* фон — общий видео-ролик как у Crystal Quest (см. .sd-bgvid) */
}
.fg-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* лёгкое затемнение поверх видео, чтобы ледяные символы читались */
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 18, 34, .34) 0%, rgba(6, 18, 34, .42) 60%, rgba(4, 12, 24, .55) 100%);
}
.fg-stage {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5%;
}
.fg-stage .sd-reels {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  margin: 0;
  align-self: center;
}
/* голова голема */
.sd-golem {
  flex: none;
  width: 17%;
  min-width: 96px;
  line-height: 0;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .55));
}
.sd-golem img { width: 100%; height: auto; aspect-ratio: 89 / 100; object-fit: contain; }
.sd-golem.is-spin { animation: golemShake .5s ease-in-out infinite; }
@keyframes golemShake {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-4%) rotate(-3deg); }
  75% { transform: translateY(-4%) rotate(3deg); }
}
.sd-golem.is-win { animation: golemBounce .5s ease-out 3; }
@keyframes golemBounce {
  0% { transform: scale(1) translateY(0); }
  35% { transform: scale(1.12) translateY(-10%); }
  65% { transform: scale(.97) translateY(0); }
  100% { transform: scale(1) translateY(0); }
}
.sd-golem.is-bigwin {
  animation: golemCheer .45s ease-out 5;
  filter: drop-shadow(0 0 26px rgba(120, 230, 255, .95)) drop-shadow(0 8px 20px rgba(0, 0, 0, .5));
}
@keyframes golemCheer {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.18) rotate(-5deg) translateY(-12%); }
  55% { transform: scale(1.1) rotate(5deg) translateY(-6%); }
  100% { transform: scale(1) rotate(0deg); }
}
.sd-golem.is-lose { animation: golemDroop .8s ease-out forwards; }
@keyframes golemDroop {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  100% { transform: translateY(7%) rotate(-5deg) scale(.93); }
}
.sd-golem.is-angry { animation: golemAngry .28s ease-in-out 6; }
@keyframes golemAngry {
  0%, 100% { transform: translateX(0) scale(1.04); }
  30% { transform: translateX(-5%) scale(1.04); }
  70% { transform: translateX(5%) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .sd-golem { animation: none !important; }
}
/* выплатная таблица */
.fg-pays {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 12px;
}
.fg-pay {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--placeholder);
  border-radius: 999px;
  padding: 7px 16px 7px 10px;
}
.fg-pay img { width: 30px; height: 30px; object-fit: contain; }
.fg-pay b { margin-left: 6px; font-size: 17px; color: #7fd8f0; font-weight: 800; }
.fg-pay span { font-size: 11px; color: var(--text-dim); letter-spacing: .06em; text-transform: uppercase; }

/* ледяные ячейки барабанов вместо рубиновых рамок */
.fg-screen .sd-cell {
  background-image: none;
  background: linear-gradient(180deg, rgba(26, 68, 108, .72), rgba(9, 30, 54, .82));
  border: 2px solid rgba(140, 220, 255, .42);
  border-radius: 14px;
  box-shadow: inset 0 2px 14px rgba(120, 220, 255, .16), 0 4px 14px rgba(0, 0, 0, .45);
}
.fg-screen .sd-cell.win {
  border-color: rgba(180, 245, 255, .95);
  background: linear-gradient(180deg, rgba(46, 110, 160, .85), rgba(16, 52, 88, .9));
}
.fg-screen .sd-cell img { width: 87%; height: 87%; }

/* мобильные правила Frost Golem — в конце файла, чтобы перебивать базовые */
@media (max-width: 700px) {
  .fg-screen {
    aspect-ratio: auto;
    padding-bottom: 15%;
  }
  .fg-stage { height: auto; gap: 1%; }
  .fg-stage .sd-reels { flex: none; width: 82%; height: auto; margin: 1% auto 0; }
  .sd-golem { width: 26%; margin-top: 0; }
  .fg-screen .sd-side { margin-top: 4%; }
  .fg-screen .sd-spin-img img { width: 100px; }
  .fg-pays { gap: 8px 10px; }
  .fg-pay { padding: 6px 12px 6px 8px; gap: 3px; }
  .fg-pay img { width: 24px; height: 24px; }
  .fg-pay b { font-size: 15px; margin-left: 4px; }
  .fg-pay span { display: none; }
}

/* лого игры поверх hero-баннера (селектор специфичнее, чем .hs-slide img) */
.hs-slide img.hs-logo {
  position: absolute;
  left: 3.5%;
  top: 3%;
  width: 25%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .55));
  animation: heroLogoFloat 4.5s ease-in-out infinite;
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3.5%) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { .hs-slide img.hs-logo { animation: none; } }
@media (max-width: 800px) {
  /* на узком баннере текст слева — лого уводим вправо вверх */
  .hs-slide img.hs-logo { width: 33%; left: auto; right: 2.5%; top: 3%; }
}

/* ============================================================
   Игры, доступные только после регистрации
   ============================================================ */
.ourgame .og-badge.lock, .ourgame .og-lock { display: none; }
body:not(.logged) .ourgame[data-locked] .og-badge.live { display: none; }
body:not(.logged) .ourgame[data-locked] .og-badge.lock {
  display: inline-flex;
  background: rgba(10, 20, 35, .85);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--text);
}
body:not(.logged) .ourgame[data-locked] { cursor: pointer; }
body:not(.logged) .ourgame[data-locked] img { filter: brightness(.5) saturate(.7); }
body:not(.logged) .ourgame[data-locked] .og-lock {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.ogl-plate {
  background: rgba(10, 20, 35, .82);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  backdrop-filter: blur(2px);
}

/* замок поверх экрана слота на закрытой игре */
.game-lock {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6%;
  background: rgba(5, 12, 24, .74);
  backdrop-filter: blur(3px);
}
.gl-box {
  max-width: 440px;
  text-align: center;
  background: rgba(12, 26, 44, .9);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 16px 46px rgba(0, 0, 0, .55);
}
.gl-box .gl-ico { font-size: 30px; display: block; margin-bottom: 8px; }
.gl-box h3 { font-size: clamp(16px, 2.4vw, 21px); margin-bottom: 8px; }
.gl-box p { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
@media (max-width: 700px) {
  .gl-box { padding: 20px 18px; }
  .gl-box p { font-size: 13px; }
}
