/* =========================================================
   Big Bass Splash — лендинг
   Визуальная тема в духе Betano: почти чёрный фон, фирменный
   огненно-оранжевый акцент, наклонные жирные заголовки,
   острые угловатые формы вместо мягких скруглений.
   Автомат горизонтальный (рамка 1672×941).
   ========================================================= */

:root {
  --img-w: 1672;
  --img-h: 941;

  --bg-0: #08090b;
  --bg-1: #0f1113;
  --bg-2: #17191c;
  --bg-card: #141618;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent: #ff4713;
  --accent-2: #ff7a1a;
  --accent-dark: #c22e0a;
  --accent-soft: rgba(255, 71, 19, 0.14);

  --text: #f7f7f8;
  --text-dim: #a8acb3;
  --text-faint: #6b7078;

  --green: #21c95e;
  --radius: 4px;
  --radius-lg: 8px;

  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(28px, 4vw, 46px); font-style: italic; }
h2 { font-size: clamp(22px, 3vw, 32px); font-style: italic; }
h3 { font-size: 17px; margin-bottom: 8px; text-transform: none; font-style: normal; }

p { margin: 0 0 14px; color: var(--text-dim); }

/* =========================================================
   Кнопки
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 4px 0 var(--accent-dark), 0 10px 24px rgba(255, 71, 19, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn--primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--accent-dark), 0 4px 14px rgba(255, 71, 19, 0.3);
}

.btn--secondary {
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
}

.btn--secondary:hover {
  background: #202327;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-2);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 12.5px;
}

.btn--block {
  width: 100%;
}

/* =========================================================
   Шапка сайта
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 9, 11, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
  font-size: 19px;
  font-style: italic;
  text-transform: uppercase;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  font-style: normal;
  transform: skew(-6deg);
}

.brand__name strong {
  color: var(--accent-2);
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: 12px;
  flex: 1;
}

.nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  transition: right 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  right: 0;
}

.nav__cta {
  margin-left: auto;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .header__inner { justify-content: space-between; }
}

@media (max-width: 480px) {
  .header__inner {
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .brand { font-size: 15px; }
  .brand__mark { width: 28px; height: 28px; font-size: 12px; }

  .nav__cta {
    padding: 9px 12px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }
}

/* =========================================================
   Главный экран
   ========================================================= */

.hero {
  position: relative;
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 65% 55% at 85% 0%, rgba(255, 71, 19, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 45% at 5% 100%, rgba(255, 122, 26, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 180%;
  background: linear-gradient(100deg, transparent 40%, rgba(255, 71, 19, 0.06) 50%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.tag--gold {
  background: var(--accent-soft);
  border-color: rgba(255, 71, 19, 0.4);
  color: var(--accent-2);
}

.hero__lead {
  font-size: 17px;
  max-width: 56ch;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 22px 0 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
  background: var(--bg-card);
  min-width: 96px;
  flex: 1;
  border-right: 1px solid var(--border);
}

.stat-pill:last-child {
  border-right: none;
}

.stat-pill__value {
  font-weight: 900;
  font-size: 19px;
  color: var(--accent-2);
  font-style: italic;
}

.stat-pill__label {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__art {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__art::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle, rgba(255, 71, 19, 0.25), transparent 65%);
  z-index: 0;
}

/* Hero из нескольких сладостей — у слота нет персонажа-талисмана */
.hero__art--candy {
  min-height: 320px;
  align-items: center;
}

.hero__art--candy .candy {
  position: absolute;
  z-index: 1;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.55));
  animation: candyFloat 4s ease-in-out infinite;
}

.hero__art--candy .candy--main {
  position: relative;
  width: 260px;
  max-width: 260px;
}

.hero__art--candy .candy--a { width: 120px; top: 0; left: 8%; animation-delay: -1s; }
.hero__art--candy .candy--b { width: 130px; bottom: 4%; right: 4%; animation-delay: -2s; }
.hero__art--candy .candy--c { width: 90px; top: 6%; right: 12%; animation-delay: -3s; }

@keyframes candyFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-10px) rotate(4deg); }
}

@media (max-width: 860px) {
  .hero__art--candy { min-height: 220px; }
  .hero__art--candy .candy--main { width: 170px; }
  .hero__art--candy .candy--a { width: 80px; }
  .hero__art--candy .candy--b { width: 90px; }
  .hero__art--candy .candy--c { width: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__art--candy .candy { animation: none; }
}

.hero__art img {
  position: relative;
  z-index: 1;
  max-width: 340px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; }
  .hero__art img { max-width: 220px; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }

  .hero { padding: 32px 0 40px; }
  .hero__art img { max-width: 160px; }
  .hero__lead { font-size: 15px; }

  .hero__stats { margin: 18px 0 22px; }
  .stat-pill { min-width: 0; padding: 10px 8px; }
  .stat-pill__value { font-size: 15px; }
  .stat-pill__label { font-size: 9.5px; }

  .hero__actions .btn { width: 100%; }
}

/* =========================================================
   Общие стили секций
   ========================================================= */

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section--dark {
  background: var(--bg-1);
}

.section__head {
  max-width: 720px;
  margin-bottom: 36px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__sub {
  font-size: 16px;
}

@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .section__head { margin-bottom: 24px; }
  .section__sub { font-size: 14.5px; }
}

/* =========================================================
   О слоте + демо: текст и характеристики сверху,
   горизонтальный автомат на всю ширину под ними
   ========================================================= */

.demo-intro {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.demo-intro__copy h2 {
  margin-bottom: 20px;
}

.demo-intro__copy p {
  font-size: 14.5px;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 26px;
}

.info-card--compact {
  padding: 14px 18px;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}

.spec-list > div:last-child {
  border-bottom: none;
}

.spec-list dt {
  color: var(--text-faint);
  font-size: 13.5px;
}

.spec-list dd {
  margin: 0;
  font-weight: 800;
  font-size: 13.5px;
  text-align: right;
}

.spec-list--compact > div {
  padding: 6px 0;
}

.spec-list--compact dt,
.spec-list--compact dd {
  font-size: 12px;
}

@media (max-width: 900px) {
  .demo-intro { grid-template-columns: 1fr; gap: 20px; }
}

/* =========================================================
   Демо слота — горизонтальный автомат
   ========================================================= */

.demo-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.machine-wrap {
  position: relative;
  width: min(100%, 1100px);
  container-type: inline-size;
}

.machine {
  position: relative;
  width: 100%;
  container-type: inline-size;
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.machine__bg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.ov { position:absolute; left:var(--x); top:var(--y); width:var(--w); height:var(--h); }

.reels-window {
  transition: box-shadow 0.4s ease;
}

.reels-window::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse at center, rgba(255, 230, 140, 0.35), rgba(255, 210, 90, 0) 70%);
}

.machine.is-spinning .reels-window {
  animation: spinGlow 0.9s ease-in-out infinite alternate;
}

.reels-window.is-win {
  animation: winGlow 1.5s ease-out;
}

.reels-window.is-win::before {
  animation: winFlash 1.5s ease-out;
}

.reels {
  position: absolute;
  inset: 0;
  display: flex;
}

.reel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.reel__inner {
  position: absolute;
  inset: 0;
}

.reel__inner.is-bouncing {
  animation: reelBounce 0.32s ease-out;
}

.strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.reel.is-blurred .strip {
  filter: blur(0.25cqw) brightness(1.1);
}

/* Ячейка и символ: символы «плавают» в воде без плиток */

.cell {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  padding: 5%;
}

.tile {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1cqw;
}

.tile img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 0.3cqw 0.4cqw rgba(0, 30, 60, 0.45));
}

/* Денежные рыбы — квадратные плашки, поэтому чуть крупнее */
.tile--fish img {
  width: 100%;
  height: 100%;
}

.cell.is-win {
  position: relative;
  z-index: 1;
}

.cell.is-win .tile {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(120, 220, 255, 0) 70%);
  animation: winPulse 0.5s ease-in-out 3;
}

.cell.is-win .tile img {
  filter: drop-shadow(0 0 0.9cqw rgba(255, 230, 120, 0.95));
}

/* Линии выплат поверх поля (SVG в координатах 5×3) */
.paylines {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.paylines.is-visible {
  opacity: 1;
}

.paylines polyline {
  fill: none;
  stroke: #ffe066;
  stroke-width: 0.045;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-width: max(3px, 0.35cqw);
  filter: drop-shadow(0 0 4px rgba(255, 200, 60, 0.9));
}

/* Деревянная табличка сверху: статус */
.wood-sign {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wood-sign span {
  font-weight: 900;
  font-size: max(8px, 1.7cqw);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #fff4d6;
  text-shadow: 0 0.15cqw 0 #4a2208, 0 0 0.7cqw rgba(0, 0, 0, 0.45);
}

.last-win.is-updated .control-bar__value {
  animation: bump 0.6s ease-out;
}

/* Всплывающий выигрыш */

.win-popup {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  font-weight: 900;
  font-size: max(18px, 4.5cqw);
  white-space: nowrap;
  color: #fff6cf;
  -webkit-text-stroke: max(1px, 0.12cqw) #0a4a7a;
  text-shadow:
    0 0.2cqw 0 #073a60,
    0 0 1cqw rgba(255, 220, 90, 0.9),
    0 0 2.5cqw rgba(80, 200, 255, 0.6);
}

.win-popup.is-active {
  animation: popupRise 1.9s ease-out forwards;
}

/* Панель управления под автоматом — на рамке Big Bass Splash нет ни кнопки спина,
   ни HUD, поэтому показываем её на всех экранах */


.control-bar {
  position: absolute;
  z-index: 8;
  inset: auto 0 0;
  height: 11%;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5cqw, 20px);
  padding: 5px 8% 6px 10%;
  background: linear-gradient(180deg, rgba(5,28,48,.72), rgba(2,14,35,.97));
  border-top: 1px solid rgba(167,231,247,.55);
  box-shadow: 0 -8px 24px rgba(0,23,43,.3);
}
.control-bar__stat { display:flex; flex-direction:column; min-width:0; line-height:1.12; }
.control-bar__stat--center { align-items:center; min-width:44px; }
.control-bar__label {
  color:#8fdbed; font-size:clamp(8px,1cqw,12px); font-weight:800;
  letter-spacing:.04em; text-transform:uppercase;
}
.control-bar__value {
  color:#fff5ca; font-size:clamp(12px,1.55cqw,19px); font-weight:900;
  white-space:nowrap; font-variant-numeric:tabular-nums; text-shadow:0 2px 6px #001b2d;
}
.control-bar__value--win { color:#ffd36c; }
.control-bar__status {
  flex: 0 1 145px;
  min-width: 0;
  padding: 5px 8px;
  border: 1px solid rgba(191,235,244,.4);
  border-radius: 6px;
  background: rgba(3,40,60,.8);
  color: #fff3c8;
  font-size: clamp(9px,1.05cqw,12px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 1px 3px #001a2c;
}
.control-bar__status span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.control-bar__bet { display:flex; align-items:center; gap:clamp(4px,.7cqw,9px); margin-left:auto; }
.control-bar__round {
  width:clamp(28px,3.4cqw,42px); height:clamp(28px,3.4cqw,42px);
  display:grid; place-items:center; border:2px solid #caeef6; border-radius:50%;
  background:#03243d; color:white; font:inherit; font-size:clamp(17px,2cqw,23px);
  line-height:1; cursor:pointer; transition:transform .18s,background .18s,box-shadow .18s;
}
.control-bar__round:hover,.control-bar__round:focus-visible {
  transform:scale(1.08); background:#0d7194; box-shadow:0 0 14px #5ad8ee;
}
.control-bar__round:disabled,.control-bar__buy:disabled { opacity:.5; cursor:wait; }
.control-bar__buy {
  padding:7px 10px; border:1px solid #e6b26a; border-radius:999px;
  background:linear-gradient(#594020,#261b24); color:#ffe2a1; font:inherit;
  font-size:clamp(9px,.95cqw,12px); font-weight:900; text-transform:uppercase;
  white-space:nowrap; cursor:pointer; transition:transform .18s,filter .18s;
}
.control-bar__buy:hover { transform:translateY(-2px); filter:brightness(1.2); }
.control-bar__spin {
  width:clamp(56px,7.4cqw,84px); height:clamp(56px,7.4cqw,84px); flex:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  border:3px solid #d9faff; border-radius:50%;
  background:radial-gradient(circle at 35% 25%,#38b8d2,#075378 55%,#031c38);
  color:white; box-shadow:0 0 0 4px #031b38,0 5px 18px #00182c,inset 0 2px 5px #86e9f5;
  font:inherit; font-size:clamp(8px,.95cqw,11px); font-weight:900; line-height:1;
  text-transform:uppercase; text-shadow:0 2px 3px #00172f; cursor:pointer;
  transition:transform .18s,filter .18s,box-shadow .18s;
}
.control-bar__spin-icon {
  display:block; height:.8em; font-family:Arial,sans-serif;
  font-size:clamp(32px,4.5cqw,50px); font-weight:400; line-height:.65;
}
.control-bar__spin:hover,.control-bar__spin:focus-visible {
  transform:scale(1.07); filter:brightness(1.15);
  box-shadow:0 0 0 4px #031b38,0 0 22px #5ad8ee;
}
.control-bar__spin:active { transform:scale(.94); }
.control-bar__spin:disabled { filter:saturate(.55) brightness(.75); cursor:wait; }
.control-bar__spin.is-intro { animation:spinCta 1.25s ease-in-out 3; }
@keyframes spinCta {
  0%,100% { transform:scale(1); }
  50% { transform:scale(1.08); box-shadow:0 0 0 4px #031b38,0 0 25px #5ad8ee; }
}
@media (max-width:720px) {
  .control-bar {
    position:relative; inset:auto; height:auto; min-height:82px; display:grid;
    grid-template-columns:1fr 1fr auto; gap:9px 12px; padding:11px 12px;
    border:1px solid rgba(167,231,247,.45); border-radius:0 0 8px 8px;
  }
  .control-bar__status { grid-column:3; grid-row:1; max-width:90px; }
  .control-bar__bet { grid-column:2 / 4; grid-row:2; margin-left:auto; }
  .control-bar__buy { grid-column:1; grid-row:2; width:fit-content; }
  .control-bar__spin {
    position:absolute; right:7%; top:-72px; width:60px; height:60px; font-size:8px;
  }
  .control-bar__spin-icon { font-size:34px; }
}

.play-modal {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(4, 4, 6, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.play-modal[hidden] {
  display: flex;
  pointer-events: none;
}

.play-modal.is-visible {
  opacity: 1;
}

.play-modal__card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.play-modal.is-visible .play-modal__card {
  transform: scale(1);
}

.play-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.play-modal__close:hover {
  color: var(--text);
  border-color: var(--accent);
}

.play-modal__eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
}

.play-modal__title {
  margin: 0 0 10px;
  font-size: 22px;
  font-style: italic;
  text-transform: uppercase;
}

.play-modal__text {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-dim);
}

.play-modal .btn--ghost {
  margin-top: 10px;
  background: transparent;
}

@media (max-width: 760px) {
  .play-modal {
    position: fixed;
    z-index: 100;
    border-radius: 0;
  }

  .play-modal__title { font-size: 19px; }
}

/* =========================================================
   3. Бонусы (раскрывающиеся карточки)
   ========================================================= */

.bonus-list {
  display: grid;
  gap: 14px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-left-color 0.2s ease;
}

.bonus-card[open],
.bonus-card:hover {
  border-left-color: var(--accent);
}

.bonus-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}

.bonus-card__head::-webkit-details-marker {
  display: none;
}

.bonus-card__title h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}

.bonus-card__short {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-faint);
}

.bonus-card__chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.bonus-card__chevron::before,
.bonus-card__chevron::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--text-dim);
  transform-origin: center;
}

.bonus-card__chevron::before {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity 0.2s ease;
}

.bonus-card__chevron::after {
  transform: translate(-50%, -50%);
}

.bonus-card[open] .bonus-card__chevron {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.bonus-card[open] .bonus-card__chevron::before {
  opacity: 0;
}

.bonus-card[open] .bonus-card__chevron::after {
  background: var(--accent-2);
}

.bonus-card__body {
  padding: 0 26px 26px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  animation: bonusFadeIn 0.25s ease;
}

@keyframes bonusFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bonus-card__body p {
  font-size: 14.5px;
}

.bonus-card__body h4 {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-2);
}

.bonus-card__body h4:not(:first-child) {
  margin-top: 22px;
}

.bonus-steps {
  margin: 0 0 4px;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.bonus-steps > li {
  font-size: 14px;
  color: var(--text);
  padding-left: 4px;
}

.bonus-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bonus-rules > li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.bonus-rules > li::before {
  content: "•";
  position: absolute;
  left: 2px;
  color: var(--accent-2);
}

.bonus-sublist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.bonus-sublist > li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--text-dim);
}

.bonus-sublist > li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

.bonus-card__body > a.btn {
  margin-top: 20px;
}

.bonus-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.offers__disclaimer {
  margin: 28px 0 0;
  font-size: 12.5px;
  color: var(--text-faint);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .bonus-card__head {
    padding: 18px 18px;
  }

  .bonus-card__body {
    padding: 0 18px 20px;
  }
}

@media (max-width: 480px) {
  .bonus-card__head {
    padding: 14px 14px;
    gap: 12px;
  }

  .bonus-card__body {
    padding: 0 14px 18px;
  }

  .bonus-card__title h3 { font-size: 15px; }
  .bonus-card__short { font-size: 12.5px; }

  .bonus-more .btn { width: 100%; }
}

/* =========================================================
   Подвал сайта
   ========================================================= */

.site-footer {
  padding: 40px 0;
  background: var(--bg-1);
  border-top: 3px solid var(--accent);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 17px;
  font-style: italic;
  text-transform: uppercase;
}

.footer__brand .brand__name strong {
  color: var(--accent-2);
}

.footer__legal {
  max-width: 640px;
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 0;
}

/* =========================================================
   Анимации
   ========================================================= */

@keyframes reelBounce {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(4%); }
  70%  { transform: translateY(-1.2%); }
  100% { transform: translateY(0); }
}

@keyframes spinGlow {
  from { box-shadow: inset 0 0 1.5cqw rgba(0, 0, 0, 0.5), 0 0 1cqw 0.1cqw rgba(255, 130, 60, 0.3); }
  to   { box-shadow: inset 0 0 1.5cqw rgba(0, 0, 0, 0.5), 0 0 2.2cqw 0.4cqw rgba(255, 130, 60, 0.55); }
}

@keyframes winGlow {
  0%, 100% { box-shadow: inset 0 0 1.5cqw rgba(0, 0, 0, 0.5); }
  20% { box-shadow: inset 0 0 2.5cqw rgba(255, 140, 70, 0.4), 0 0 3cqw 0.6cqw rgba(255, 120, 60, 0.7); }
}

@keyframes winFlash {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes winPulse {
  0%   { transform: scale(1); filter: brightness(1); }
  50%  { transform: scale(1.1); filter: brightness(1.3); }
  100% { transform: scale(1); filter: brightness(1); }
}

@keyframes popupRise {
  0%   { opacity: 0; transform: translateY(25%) scale(0.8); }
  15%  { opacity: 1; transform: translateY(0) scale(1.06); }
  25%  { transform: translateY(-3%) scale(1); }
  75%  { opacity: 1; transform: translateY(-14%) scale(1); }
  100% { opacity: 0; transform: translateY(-40%) scale(1); }
}

@keyframes bump {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .control-bar__spin.is-intro,
  .machine.is-spinning .reels-window {
    animation: none;
  }
}

/* Motion for the active control and the stopped reels. */
.control-bar__spin.is-spinning .control-bar__spin-icon {
  animation: spinIcon .58s linear infinite;
}
.reel.is-stopped::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(173,244,255,.32), transparent);
  animation: reelStopFlash .38s ease-out both;
}
@keyframes spinIcon { to { transform: rotate(360deg); } }
@keyframes reelStopFlash {
  from { opacity: 1; transform: translateY(-35%); }
  to { opacity: 0; transform: translateY(30%); }
}
@media (prefers-reduced-motion: reduce) {
  .control-bar__spin.is-spinning .control-bar__spin-icon,
  .reel.is-stopped::after { animation: none; }
}

/* Сгенерированный морской пульт: живые значения и кликабельные зоны. */
.bass-status,
.bass-dashboard,
.bass-bet {
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff6c8;
  text-align: center;
  text-shadow: 0 2px 3px rgba(0, 24, 45, .95), 0 0 8px rgba(65, 226, 255, .45);
  pointer-events: none;
}

.bass-status {
  color: #fff5bf;
  font-size: max(8px, 1.38cqw);
  font-weight: 900;
  letter-spacing: .045em;
}

.bass-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.bass-dashboard > div,
.bass-bet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15cqw;
}

.bass-dashboard .last-win {
  border-left: 1px solid rgba(102, 232, 255, .45);
}

.bass-hud__label {
  color: #90efff;
  font-size: max(6px, .76cqw);
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1;
}

.bass-hud__value {
  color: #fff3ae;
  font-size: max(9px, 1.32cqw);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.bass-hud__value--win { color: #8dffff; }
.last-win.is-updated .bass-hud__value { animation: bump .6s ease-out; }

.bass-buy-bonus {
  z-index: 10;
  padding: 0;
  border: 0;
  border-radius: 1cqw;
  background: transparent;
  color: #fff1ae;
  cursor: pointer;
  font: 900 max(6px, .78cqw)/1 Inter, sans-serif;
  letter-spacing: .03em;
  text-shadow: 0 2px 3px rgba(8, 26, 38, .9);
}

.bass-ready-control {
  z-index: 10;
  padding: 0;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.bass-ready-control:hover:not(:disabled),
.bass-ready-control:focus-visible:not(:disabled) {
  box-shadow: 0 0 1.35cqw .25cqw var(--bass-glow);
}

.bass-ready-control:active:not(:disabled) { transform: scale(.96); }
.bass-ready-control:disabled,
.bass-buy-bonus:disabled { cursor: wait; filter: saturate(.45) brightness(.78); }
.bass-ready-control--spin.is-intro { animation: bassControlPulse 1.2s ease-in-out 3; }
.bass-ready-control--spin.is-spinning { animation: bassControlSpinPulse .7s ease-in-out infinite; }
.bass-ready-control--spin.is-spinning::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: max(2px, .28cqw) solid rgba(255, 255, 255, .78);
  border-top-color: transparent;
  border-radius: 50%;
  animation: bassControlRotate .65s linear infinite;
}

@keyframes bassControlPulse {
  50% { box-shadow: 0 0 2cqw .45cqw var(--bass-glow); }
}

@keyframes bassControlSpinPulse {
  50% { box-shadow: 0 0 2.2cqw .5cqw var(--bass-glow); }
}

@keyframes bassControlRotate { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  /* Встроенный пульт остаётся активным на телефоне. Расширяем невидимую
     область нажатия, не меняя размер нарисованных в рамке кнопок. */
  .bass-ready-control::before {
    content: "";
    position: absolute;
    inset-block: -10px;
  }

  .bass-ready-control--down::before { inset-inline: -10px; }
  .bass-ready-control--up::before { inset-inline: -10px 0; }
  .bass-ready-control--spin::before {
    inset-block: -6px;
    inset-inline: -4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bass-ready-control--spin.is-intro,
  .bass-ready-control--spin.is-spinning,
  .bass-ready-control--spin.is-spinning::after { animation: none; }
}
/* Постоянно показывает, что кнопка вращения готова к нажатию. */
.machine:not(.is-spinning) button[data-spin]:not(:disabled) {
  animation: spinReadyPulse 2.4s ease-in-out infinite;
}

@keyframes spinReadyPulse {
  0%, 100% {
    box-shadow: 0 0 .6cqw .08cqw var(--spin-ready-glow, var(--ready-glow, var(--bass-glow, rgba(255, 210, 74, .45))));
    filter: brightness(1.03);
  }
  50% {
    box-shadow:
      0 0 0 .16cqw rgba(255, 255, 255, .7),
      0 0 1.35cqw .22cqw var(--spin-ready-glow, var(--ready-glow, var(--bass-glow, rgba(255, 210, 74, .7))));
    filter: brightness(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .machine:not(.is-spinning) button[data-spin]:not(:disabled) {
    animation: none;
    box-shadow: 0 0 0 .16cqw rgba(255, 255, 255, .7), 0 0 1cqw .16cqw var(--spin-ready-glow, var(--ready-glow, var(--bass-glow, rgba(255, 210, 74, .6))));
    filter: brightness(1.08);
  }
}
/* Внутренняя вращающаяся полоска мешает считывать кнопку; оставляем только внешнюю подсветку. */
.machine .ready-control--spin.is-spinning::after,
.machine .bass-ready-control--spin.is-spinning::after {
  content: none;
  animation: none;
}
/* Во время прокрутки дублируем фрагмент рамки с кнопкой поверх барабанов. */
.machine button.bass-ready-control--spin.is-spinning {
  z-index: 30;
  isolation: isolate;
  background-image: url(assets/machine-frame-controls-v2.webp);
  background-repeat: no-repeat;
  background-size: 1063.8298% 662.2517%;
  background-position: 93.0795% 100%;
}
/* Чистая типографика выигрыша без двойного контура и масштабирования. */
.win-popup {
  font-family: Inter, Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-text-stroke: 0;
  paint-order: normal;
  text-shadow: 0 .08em .14em rgba(0, 0, 0, .78);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  transform: none;
}
.win-popup.is-active { animation: winPopupFade 1.8s ease-out forwards; }
@keyframes winPopupFade {
  0%, 100% { opacity: 0; }
  14%, 78% { opacity: 1; }
}
