/*
Theme Name: Panda — pandacasino-vhod.run
Description: Тема «Вход» для pandacasino-vhod.run. Блоки — произвольные поля (Secure Custom Fields), руководство — редактор.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: panda-pandacasino-vhod-run
*/

/* =========================================================
   Panda Casino — обзор. Палитра, шрифт и компоненты взяты
   с оригинального лобби Panda (тёмный фон, зелёный + золото)
   ========================================================= */
:root {
  color-scheme: dark;
  --bg: #050705;
  --bg-elevated: #0b0d0c;
  --surface: #131514;
  --surface-2: #1d201f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #fff8e8;
  --muted: #b9c3bd;
  --green: #00c982;
  --green-dark: #033b2c;
  --gold: #ffb657;
  --gold-2: #ffd079;
  --blue: #48a7ff;
  --rose: #f15476;
  --violet: #8f6fff;
  --danger: #f94168;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.48);
  --radius: 8px;
  --container: 1280px;
  --hdr-h: 68px;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 78px),
    radial-gradient(circle at 72% 6%, rgba(0, 201, 130, 0.13), transparent 30%),
    radial-gradient(circle at 10% 60%, rgba(0, 201, 130, 0.06), transparent 30%),
    #000;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.ico {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.accent { color: var(--green); }
.gold { color: var(--gold-2); }

/* ---------- Buttons (Panda) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1.02rem; }
.btn-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}
.btn-dark:hover { border-color: rgba(255, 255, 255, 0.28); }
.btn-gold {
  color: #1a1306;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: rgba(255, 218, 155, 0.8);
  box-shadow: 0 8px 20px rgba(255, 182, 87, 0.18);
}
.btn-gold:hover { box-shadow: 0 12px 28px rgba(255, 182, 87, 0.32); }
.btn-green {
  color: #00170f;
  background: linear-gradient(180deg, #3dfcb4, var(--green));
  border-color: rgba(120, 255, 200, 0.7);
  box-shadow: 0 8px 20px rgba(0, 201, 130, 0.2);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.icon-btn:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.14); }

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- Age strip ---------- */
.agestrip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.agestrip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}
.agestrip b { color: var(--gold-2); }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(5, 7, 5, 0.97), rgba(5, 7, 5, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.hdr-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--hdr-h);
}
.logo img { width: 146px; height: auto; }

.hdr-nav { flex: 1; min-width: 0; }
.hdr-nav ul {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hdr-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #dfe7e2;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.hdr-nav a .ico { width: 17px; height: 17px; color: var(--gold); }
.hdr-nav a:hover,
.hdr-nav a.is-current {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
}
.hdr-cta { display: flex; gap: 8px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--text);
  transition: transform 220ms ease, opacity 220ms ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { padding-top: 16px; }
.hero-slider {
  position: relative;
  isolation: isolate;
  height: clamp(380px, 34vw, 460px);
  overflow: hidden;
  border: 1px solid rgba(0, 201, 130, 0.32);
  border-radius: var(--radius);
  background: var(--green-dark);
  box-shadow: var(--shadow);
}
.slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 600ms ease;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.slide-green {
  background:
    radial-gradient(circle at 78% 45%, rgba(0, 201, 130, 0.35), transparent 42%),
    linear-gradient(105deg, rgba(0, 56, 42, 0.98), rgba(0, 22, 16, 0.92) 58%, rgba(0, 201, 130, 0.22)),
    var(--green-dark);
}
.slide-dark { background: #080b14; }
.slide-teal {
  background:
    radial-gradient(circle at 70% 50%, rgba(61, 252, 180, 0.28), transparent 40%),
    linear-gradient(105deg, #021d18, #04342a 55%, #0a5a48);
}
.slide-gold {
  background:
    radial-gradient(circle at 75% 50%, rgba(255, 182, 87, 0.32), transparent 42%),
    linear-gradient(105deg, #1b1206, #2e1f0b 55%, #5c3a12);
}

/* wide promo art, mirrored so the object sits on the right */
.slide-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scaleX(-1);
}
.slide-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 7, 12, 0.92) 0%, rgba(5, 7, 12, 0.6) 45%, rgba(5, 7, 12, 0) 70%);
}

.slide-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(24px, 4vw, 52px);
}
.slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 201, 130, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(0, 201, 130, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 201, 130, 0); }
}
.slide-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.1rem, 4.4vw, 3.9rem);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
}
.slide-title .accent { display: block; }
.slide-gold .slide-title .accent,
.slide-dark .slide-title .accent.gold { color: var(--gold-2); }
.slide-text {
  max-width: 44ch;
  margin: 14px 0 22px;
  color: #e8fff4;
  font-weight: 700;
}
.slide-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.slide-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 20px;
  color: rgba(228, 255, 241, 0.72);
  font-size: 0.9rem;
  font-weight: 900;
}

.slide-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-width: 0;
  height: 100%;
}
.slide-visual .panda-scene {
  position: absolute;
  inset: 0 0 0 auto;
  height: 100%;
  width: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.slide-visual .panda-cut {
  position: absolute;
  right: 4%;
  bottom: -4%;
  height: 104%;
  width: auto;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.55));
}
.slide-visual .slot-cover {
  position: absolute;
  top: 50%;
  right: 30%;
  width: clamp(150px, 15vw, 210px);
  border: 2px solid rgba(61, 252, 180, 0.6);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 201, 130, 0.35);
  transform: translateY(-50%) rotate(-6deg);
}
.slide-visual .slot-cover.second {
  right: 8%;
  width: clamp(120px, 12vw, 170px);
  transform: translateY(-38%) rotate(7deg);
  opacity: 0.95;
}
.slide-visual .panda-mini {
  position: absolute;
  left: 2%;
  bottom: -2%;
  height: 62%;
  width: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5));
}

.slider-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.slider-thumbs button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 56px;
  padding: 6px 10px 6px 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  font-size: 0.82rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}
.slider-thumbs img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
}
.slider-thumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slider-thumbs i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.slider-thumbs button[aria-selected="true"] {
  color: #fff;
  border-color: rgba(0, 201, 130, 0.5);
  background: linear-gradient(180deg, rgba(0, 201, 130, 0.2), rgba(0, 201, 130, 0.06));
}
.slider-thumbs button[aria-selected="true"] i { animation: thumbbar var(--slide-ms, 6500ms) linear forwards; }
.hero-slider.paused + .slider-thumbs button[aria-selected="true"] i,
.hero.paused .slider-thumbs button[aria-selected="true"] i { animation-play-state: paused; }
@keyframes thumbbar { from { width: 0; } to { width: 100%; } }

.slider-arrows {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  display: flex;
  gap: 6px;
}
.slider-arrows .icon-btn { background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); }

/* ---------- Promo tiles (Panda) ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.promo-tile {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: clamp(96px, 8vw, 112px);
  padding: 14px 14px 14px clamp(118px, 42%, 220px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #080b14;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  color: #fff;
  font-size: clamp(1.02rem, 1.08vw, 1.4rem);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease;
}
.promo-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.48));
}
.promo-tile:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.28); }
.promo-tile > * { position: relative; z-index: 1; }
.promo-tile span { display: block; max-width: 12ch; }
.promo-tile small {
  display: block;
  margin-top: 6px;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: none;
}
.promo-tile-bonus { background-image: url("/img/promo/bonus-shop.webp"); }
.promo-tile-vip { background-image: url("/img/promo/vip-club.webp"); }
.promo-tile-tournament { background-image: url("/img/promo/tournament.webp"); }
.promo-tile-wheel { background-image: url("/img/promo/wheel.webp"); }

/* ---------- Ticker ---------- */
.ticker {
  margin-top: 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ticker-track {
  display: flex;
  gap: 7px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.ticker article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  width: 168px;
  min-height: 54px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(0, 201, 130, 0.1), transparent 72%), rgba(255, 255, 255, 0.06);
}
.ticker img {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: cover;
}
.ticker b, .ticker small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker b { color: #e7f3ed; font-size: 0.7rem; }
.ticker small { color: var(--green); font-size: 0.78rem; font-weight: 850; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-tight { padding: 28px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p { margin-inline: auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kicker .ico { width: 16px; height: 16px; }
.section-head h2,
.h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 10px;
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
}
.section-head.center h2 { justify-content: center; }
.section-head p {
  max-width: 62ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
}
.head-actions { display: flex; gap: 8px; }

.panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
}

/* ---------- Intro / overview ---------- */
.crumbs {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}
.crumbs a { color: var(--gold-2); }
.page-title {
  max-width: 28ch;
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3.4vw, 2.8rem);
  font-weight: 950;
  line-height: 1.06;
  text-wrap: balance;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 20px;
  align-items: start;
}
.lead {
  margin: 0 0 20px;
  color: rgba(233, 241, 236, 0.86);
  font-size: 1.06rem;
  font-weight: 600;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.quick-card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}
.quick-card .ico { width: 22px; height: 22px; color: var(--gold); }
.quick-card b { font-size: 1.25rem; font-weight: 950; line-height: 1.1; }
.quick-card span { color: var(--muted); font-size: 0.8rem; font-weight: 750; }

.verdict {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(0, 201, 130, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 58, 43, 0.95), rgba(0, 20, 15, 0.95));
  box-shadow: var(--shadow);
}
.verdict-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.verdict-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 4px;
}
.verdict-score b { font-size: 3.6rem; font-weight: 950; line-height: 1; }
.verdict-score span { color: var(--muted); font-weight: 800; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars .ico { width: 18px; height: 18px; fill: currentColor; }
.verdict ul {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.verdict li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}
.verdict li span { color: var(--muted); font-weight: 700; }
.verdict li b { text-align: right; }
.verdict .btn { width: 100%; }
.verdict-panda {
  position: absolute;
  right: -18px;
  top: -10px;
  width: 104px;
  opacity: 0.95;
  transform: rotate(8deg);
  pointer-events: none;
}
.fine { margin: 10px 0 0; color: var(--muted); font-size: 0.76rem; font-weight: 700; text-align: center; }

/* ---------- Bonus package ---------- */
.bonus-wrap {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}
.bonus-side {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 420px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(0, 201, 130, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 201, 130, 0.35), transparent 55%),
    linear-gradient(180deg, #04382b, #011510);
}
.bonus-side img {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(78%, 300px);
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5));
}
.bonus-total {
  position: relative;
  z-index: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(36, 39, 38, 0.9), rgba(19, 23, 22, 0.96));
  text-align: center;
}
.bonus-total b { display: block; color: var(--green); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 950; line-height: 1; }
.bonus-total span { color: var(--gold-2); font-weight: 900; }

.coupons { display: grid; gap: 10px; align-content: start; }
.coupon {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  transition: border-color 180ms ease, transform 180ms ease;
}
.coupon:hover { border-color: rgba(0, 201, 130, 0.5); transform: translateY(-2px); }
.coupon-left {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 14px 8px;
  background: linear-gradient(110deg, rgba(0, 201, 130, 0.72), rgba(0, 70, 48, 0.74));
  text-align: center;
}
.coupon:nth-child(2) .coupon-left { background: linear-gradient(110deg, rgba(205, 126, 40, 0.8), rgba(59, 39, 19, 0.8)); }
.coupon:nth-child(3) .coupon-left { background: linear-gradient(110deg, rgba(72, 167, 255, 0.7), rgba(16, 52, 92, 0.8)); }
.coupon-left::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border-right: 2px dashed rgba(0, 0, 0, 0.45);
}
.coupon-left b { display: block; font-size: 1.9rem; font-weight: 950; line-height: 1; }
.coupon-left span { font-size: 0.72rem; font-weight: 900; text-transform: uppercase; }
.coupon-body { padding: 14px 16px; min-width: 0; }
.coupon-body h3 { margin: 0; font-size: 1.15rem; font-weight: 950; }
.coupon-body p { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.coupon .btn { margin-right: 14px; min-height: 38px; padding: 6px 14px; font-size: 0.86rem; }
.coupon-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.extras {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.mini-promo {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 84px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}
.mini-promo img { width: 64px; height: 64px; object-fit: contain; }
.mini-promo .ico-box {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-inline: auto;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
}
.mini-promo .ico-box .ico { width: 28px; height: 28px; color: #fff; }
.mini-promo strong { display: block; font-size: 0.98rem; font-weight: 900; }
.mini-promo span { display: block; color: var(--gold-2); font-size: 0.8rem; font-weight: 800; }
.mini-promo small { display: block; color: #fff; font-size: 0.74rem; font-weight: 700; opacity: 0.85; }
.mini-promo-green { background: linear-gradient(110deg, rgba(0, 201, 130, 0.72), rgba(0, 70, 48, 0.74)); }
.mini-promo-gold { background: linear-gradient(110deg, rgba(205, 126, 40, 0.72), rgba(59, 39, 19, 0.8)); }
.mini-promo-blue { background: linear-gradient(110deg, rgba(72, 167, 255, 0.6), rgba(12, 40, 80, 0.85)); }
.mini-promo-violet { background: linear-gradient(110deg, rgba(143, 111, 255, 0.62), rgba(36, 22, 80, 0.85)); }

/* ---------- Games ---------- */
.chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.chip .ico { width: 18px; height: 18px; }
.chip.is-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.24);
}
.chip.is-active .ico { color: var(--gold); }

.game-grid {
  --cell: minmax(0, 1fr);
  display: grid;
  grid-template-columns: 1.9fr repeat(6, var(--cell));
  grid-auto-rows: auto;
  gap: 12px;
}
.game-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  aspect-ratio: 5 / 6;
  background: #171717;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}
.game-card[hidden] { display: none; }
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}
.game-card:hover img { transform: scale(1.04); filter: saturate(1.08) brightness(0.7); }
.game-card .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 8px;
  opacity: 0;
  transition: opacity 200ms ease;
}
.game-card:hover .play,
.game-card:focus-visible .play { opacity: 1; }
.game-card .play i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #1a1306;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 8px 20px rgba(255, 182, 87, 0.35);
}
.game-card .play i .ico { width: 22px; height: 22px; fill: currentColor; }
.game-card .play span {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}
.game-card .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 7px;
  border-radius: 6px;
  color: #1a1306;
  background: var(--gold-2);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}
.game-card .badge.new { color: #00170f; background: var(--green); }
.featured-game {
  grid-row: span 2;
  aspect-ratio: auto;
  border-color: rgba(0, 201, 130, 0.44);
  background: #07392f;
  box-shadow: 0 18px 44px rgba(0, 201, 130, 0.14), 0 16px 36px rgba(0, 0, 0, 0.36);
}
.featured-game img { position: absolute; inset: 0; object-position: center top; }
.game-grid:not(.is-open) .game-card:nth-child(n + 14) { display: none; }
.featured-game:hover img { filter: none; transform: scale(1.03); }
.featured-info {
  position: absolute;
  inset: auto 9px 9px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  padding: 10px 10px 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(36, 39, 38, 0.9), rgba(19, 23, 22, 0.96));
  text-align: left;
}
.featured-info strong { font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1; }
.featured-info span { color: rgba(255, 255, 255, 0.84); font-size: 0.74rem; font-weight: 800; }
.featured-info em { color: var(--green); font-style: normal; }
.featured-info .btn { grid-column: 2; grid-row: 1 / 3; min-height: 42px; padding: 0 16px; }
.empty-state {
  margin: 12px 0 0;
  padding: 30px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

/* ---------- Rail slider (hot/cold) ---------- */
.hot-band {
  position: relative;
  overflow: hidden;
  padding: 26px 0 24px;
  border: 1px solid rgba(72, 167, 255, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(10, 117, 220, 0.8), rgba(69, 164, 255, 0.9) 46%, rgba(19, 115, 199, 0.82)),
    #1278cc;
}
.hot-band .section-head { padding: 0 24px; margin-bottom: 16px; }
.hot-band .section-head p { color: #e6f3ff; }
.hot-band .kicker { color: #fff; }
.segment {
  display: flex;
  gap: 4px;
}
.segment button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}
.segment button .ico { width: 16px; height: 16px; }
.segment button.is-active { background: rgba(0, 0, 0, 0.85); border-color: rgba(255, 255, 255, 0.3); }
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 168px);
  gap: 12px;
  overflow-x: auto;
  padding: 0 24px 8px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.temp-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  aspect-ratio: 5 / 6;
  background: #0d2a44;
  cursor: pointer;
  transition: opacity 220ms ease, transform 220ms ease;
}
.temp-card img { width: 100%; height: 100%; object-fit: cover; }
.temp-card:hover { transform: translateY(-3px); }
.temp-card span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 4px 7px;
  border-radius: 6px;
  color: #eef8ff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}
.temp-card span b { color: var(--gold-2); }
.temp-card.is-dimmed { opacity: 0.38; }

/* ---------- Missions ---------- */
.missions {
  display: grid;
  grid-template-columns: clamp(170px, 16vw, 230px) minmax(180px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 201, 130, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(0, 58, 43, 0.92), rgba(0, 20, 15, 0.94)), var(--green-dark);
}
.missions > img { width: min(100%, 210px); margin: -18px auto; }
.mission-copy h2 { margin: 0; font-size: clamp(1.08rem, 1.45vw, 1.55rem); line-height: 1.18; text-wrap: balance; }
.mission-copy strong { display: block; margin-top: 4px; color: var(--green); font-size: clamp(1.8rem, 2.6vw, 2.65rem); line-height: 1; }
.mission-copy p { margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.mission-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mission-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  min-height: 132px;
  padding: 12px 8px;
  border: 1px solid rgba(0, 201, 130, 0.38);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  text-align: center;
}
.mission-card .ico { width: 22px; height: 22px; color: var(--gold); }
.mission-card span { font-size: 0.86rem; font-weight: 850; line-height: 1.1; }
.mission-card small {
  padding: 1px 8px;
  border-radius: var(--radius);
  color: #1d1505;
  background: #fff0cf;
  font-size: 0.7rem;
  font-weight: 950;
}

/* ---------- VIP ---------- */
.vip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 182, 87, 0.28);
  border-radius: var(--radius);
  background: #080b14;
}
.vip-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  opacity: 0.9;
}
.vip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 11, 20, 0.2) 0%, rgba(8, 11, 20, 0.86) 36%, rgba(8, 11, 20, 0.97) 60%);
}
.vip-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: clamp(20px, 3vw, 36px);
}
.vip-side { display: grid; align-content: end; min-height: 260px; }
.vip-side .panda-cut { width: min(80%, 230px); margin: 0 auto -36px 0; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.6)); }
.vip-lead { margin: 10px 0 18px; color: var(--muted); font-weight: 600; }
.tiers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.tier {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}
.tier .ico { width: 26px; height: 26px; margin: 0 auto 4px; }
.tier b { font-size: 0.82rem; font-weight: 900; text-transform: uppercase; }
.tier strong { font-size: 1.7rem; font-weight: 950; line-height: 1.05; }
.tier small { color: var(--muted); font-size: 0.72rem; font-weight: 750; }
.tier-bronze .ico, .tier-bronze strong { color: #e0995e; }
.tier-silver .ico, .tier-silver strong { color: #d8e1e8; }
.tier-gold .ico, .tier-gold strong { color: var(--gold-2); }
.tier-platinum { border-color: rgba(0, 201, 130, 0.5); background: linear-gradient(180deg, rgba(0, 201, 130, 0.2), rgba(0, 201, 130, 0.04)); }
.tier-platinum .ico, .tier-platinum strong { color: var(--green); }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 11px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; white-space: nowrap; }
th { color: var(--gold-2); background: rgba(255, 255, 255, 0.05); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
td { color: rgba(233, 241, 236, 0.86); font-weight: 650; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--green); font-weight: 900; }
td.hl, th.hl { background: rgba(0, 201, 130, 0.08); }

/* ---------- Tournaments ---------- */
.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.tour-main {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090c16 url("/img/promo/tournament.webp") left center / auto 100% no-repeat;
}
.tour-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 22, 0) 20%, rgba(9, 12, 22, 0.94) 75%);
}
.tour-main > * { position: relative; }
.tour-main span { color: var(--gold-2); font-size: 0.8rem; font-weight: 900; text-transform: uppercase; }
.tour-main strong { display: block; margin: 4px 0 12px; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 950; line-height: 1; }
.tour-main .btn { justify-self: start; }
.tour {
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.tour-green { background: linear-gradient(160deg, rgba(0, 201, 130, 0.35), rgba(0, 60, 43, 0.82)); }
.tour-gold { background: linear-gradient(160deg, rgba(255, 182, 87, 0.32), rgba(66, 39, 18, 0.82)); }
.tour h3 { margin: 0; font-size: 1.1rem; font-weight: 950; }
.tour p { margin: 4px 0 0; color: #dfe9e4; font-size: 0.88rem; font-weight: 650; }
.tour .prize { font-size: 1.7rem; font-weight: 950; line-height: 1; }
.tour .timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}
.tour .timer .ico { width: 16px; height: 16px; }

/* ---------- Cashier ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.flow li { padding: 18px; }
.flow b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  color: #1a1306;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  font-weight: 950;
}
.flow h3 { margin: 0 0 4px; font-size: 1.08rem; }
.flow p { margin: 0; color: var(--muted); font-size: 0.92rem; font-weight: 600; }
.methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.methods span {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)), var(--surface);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}
.methods b { color: #fff; font-size: 0.98rem; font-weight: 950; text-transform: uppercase; }
.limits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.limits span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(0, 201, 130, 0.35);
  border-radius: var(--radius);
  background: rgba(0, 201, 130, 0.08);
  font-size: 0.86rem;
  font-weight: 850;
}
.limits .ico { width: 16px; height: 16px; color: var(--green); }

/* ---------- Providers ---------- */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.provider-grid span {
  display: grid;
  place-items: center;
  min-height: 78px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)), var(--surface);
  color: #f7fbff;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ---------- App ---------- */
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.app-card { display: grid; align-content: start; gap: 10px; padding: 22px; }
.app-card .app-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: #00170f;
  background: linear-gradient(180deg, #3dfcb4, var(--green));
}
.app-card .app-ico.gold { color: #1a1306; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.app-card .app-ico .ico { width: 26px; height: 26px; }
.app-card h3 { margin: 0; font-size: 1.2rem; }
.app-card p { margin: 0; color: var(--muted); font-weight: 600; font-size: 0.94rem; }
.app-card ul { margin: 0; padding-left: 18px; color: rgba(233, 241, 236, 0.82); font-size: 0.9rem; }
.app-card .btn { justify-self: start; margin-top: 6px; }
.app-visual {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(0, 201, 130, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 201, 130, 0.35), transparent 60%),
    linear-gradient(180deg, #04382b, #011510);
}
.app-visual img { width: 82%; margin-bottom: -10px; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5)); }
.download-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--gold), rgba(0, 139, 101, 0.88));
  color: #111;
  font-weight: 900;
}
.download-strip .ico { width: 24px; height: 24px; }
.download-strip small { display: block; color: #113a28; font-size: 0.8rem; }
.download-strip .btn { margin-left: auto; }

/* ---------- Score ---------- */
.score-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.5fr) minmax(0, 1fr);
  gap: 14px;
}
.score-total {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 26px;
  text-align: center;
}
.score-ring {
  --v: 92;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #0b0d0c 80%, transparent 81% 100%),
    conic-gradient(var(--green) calc(var(--v) * 1%), rgba(255, 255, 255, 0.1) 0);
}
.score-ring b { font-size: 2.6rem; font-weight: 950; line-height: 1; }
.score-ring small { display: block; color: var(--muted); font-size: 0.8rem; font-weight: 800; }
.score-total p { margin: 6px 0 0; color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.bars { display: grid; gap: 12px; padding: 22px; }
.bar {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 14px;
}
.bar span { font-weight: 800; font-size: 0.92rem; }
.bar i {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}
.bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--v) * 1%);
  border-radius: 10px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform-origin: left;
  animation: grow 1.2s ease both;
}
@keyframes grow { from { transform: scaleX(0); } }
.bar b { color: var(--gold-2); font-weight: 950; text-align: right; }

/* ---------- CTA strip ---------- */
.ctastrip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.6fr) 1fr;
  align-items: end;
  gap: 12px;
  overflow: hidden;
  padding: 0 20px;
  border: 1px solid rgba(0, 201, 130, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 120%, rgba(0, 201, 130, 0.45), transparent 60%),
    linear-gradient(105deg, rgba(0, 56, 42, 0.98), rgba(0, 22, 16, 0.92) 50%, rgba(0, 56, 42, 0.98));
}
.ctastrip img { width: min(100%, 210px); margin: 18px auto 0; }
.ctastrip img.right { transform: scaleX(-1); }
.cta-body { padding: 34px 0; text-align: center; }
.cta-body h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 950; text-transform: uppercase; line-height: 1.02; }
.cta-body p { margin: 0 auto 18px; max-width: 46ch; color: #e8fff4; font-weight: 650; }

/* ---------- SEO article ---------- */
.seo { padding: clamp(20px, 3vw, 36px); }
.seo-content { display: grid; gap: 15px; max-width: 920px; }
.seo-content > * { margin: 0; }
.seo-content h2 {
  margin-top: 14px;
  color: var(--gold-2);
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  line-height: 1.2;
}
.seo-content h2:first-child { margin-top: 0; color: var(--text); font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.seo-content h3 { color: var(--green); font-size: 1.08rem; }
.seo-content p, .seo-content li { color: rgba(233, 241, 236, 0.82); font-size: 0.99rem; }
.seo-content ul, .seo-content ol { display: grid; gap: 8px; padding-left: 22px; }
.seo-content strong { color: #fff; }
.seo-content a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.seo-updated { color: var(--muted) !important; font-size: 0.86rem !important; }
.callout {
  padding: 14px 16px;
  border: 1px solid rgba(0, 201, 130, 0.35);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: rgba(0, 201, 130, 0.07);
}
.callout.warn { border-color: rgba(255, 182, 87, 0.45); background: rgba(255, 182, 87, 0.07); }
.callout p { margin: 0; }
.callout p + p { margin-top: 4px; }
.pm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pm > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); }
.pm h3 { margin: 0 0 8px; }
.pm .cons h3 { color: var(--rose); }
.pm ul { list-style: none; padding: 0; }
.pm li { position: relative; padding-left: 24px; }
.pm li::before { content: "+"; position: absolute; left: 0; color: var(--green); font-weight: 950; }
.pm .cons li::before { content: "−"; color: var(--rose); }

/* ---------- FAQ ---------- */
.narrow { width: min(100% - 40px, 900px); }
.faq-list { display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: border-color 180ms ease;
}
.faq-item[open] { border-color: rgba(0, 201, 130, 0.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--green); font-style: normal; font-weight: 950; font-size: 0.85rem; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 16px 16px 46px; color: var(--muted); font-weight: 600; }

/* ---------- Footer (Panda) ---------- */
.site-footer {
  display: grid;
  gap: 22px;
  margin: 30px auto 24px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 201, 130, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    #080a09;
  color: var(--muted);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.32);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(120px, 0.7fr));
  gap: 22px;
}
.footer-brand-block { display: grid; align-content: start; gap: 14px; }
.footer-brand img { width: 176px; }
.footer-brand-block p { max-width: 390px; margin: 0; color: rgba(233, 241, 236, 0.72); font-size: 0.9rem; font-weight: 600; }
.footer-badges, .footer-payments { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badges span, .footer-payments span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 248, 232, 0.88);
  font-size: 0.78rem;
  font-weight: 950;
}
.footer-badges span:first-child {
  color: #1a1306;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: rgba(255, 218, 155, 0.72);
}
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h3 { margin: 0 0 4px; color: var(--text); font-size: 0.92rem; font-weight: 950; text-transform: uppercase; }
.footer-column a { width: fit-content; color: rgba(233, 241, 236, 0.72); font-size: 0.88rem; font-weight: 800; }
.footer-column a:hover { color: #fff; }
.footer-licence { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom p { margin: 0; font-size: 0.86rem; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: none;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 5, 0.95);
  backdrop-filter: blur(10px);
}
.mobile-cta .btn { flex: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ========================= Responsive ========================= */
@media (max-width: 1240px) {
  .hdr-nav a .ico { display: none; }
  .hdr-nav a { padding: 8px 9px; }
  .game-grid { grid-template-columns: 1.9fr repeat(4, minmax(0, 1fr)); }
  .game-grid .game-card:nth-child(n + 10) { display: none; }
  .game-grid.is-open .game-card:nth-child(n + 10):not([hidden]) { display: block; }
  .mission-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .missions { grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr); }
  .missions > img { display: none; }
}

@media (max-width: 1080px) {
  .hdr-nav {
    position: fixed;
    top: var(--hdr-h);
    right: 0;
    left: 0;
    max-height: calc(100dvh - var(--hdr-h));
    overflow-y: auto;
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 7, 5, 0.98);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }
  .hdr-nav.open { opacity: 1; visibility: visible; transform: none; }
  .hdr-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .hdr-nav a {
    width: 100%;
    min-height: 48px;
    border-color: var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  }
  .hdr-nav a .ico { display: inline-block; }
  .hdr-cta { margin-left: auto; }
  .burger { display: block; }

  .intro-grid, .bonus-wrap, .score-grid { grid-template-columns: 1fr; }
  .bonus-side { min-height: 360px; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vip-inner { grid-template-columns: 1fr; }
  .vip-side { display: none; }
  .vip::after { background: linear-gradient(180deg, rgba(8, 11, 20, 0.55), rgba(8, 11, 20, 0.95) 45%); }
  .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-main { grid-column: 1 / -1; }
  .provider-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-visual { grid-column: 1 / -1; grid-row: 1; min-height: 260px; }
  .app-visual img { width: auto; height: 250px; }
  .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand-block { grid-column: 1 / -1; }
  .slider-thumbs span { display: none; }
  .slider-thumbs button { justify-content: center; padding: 6px; }
}

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-game { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .game-grid .game-card:nth-child(n + 8) { display: none; }
  .game-grid.is-open .game-card:nth-child(n + 8):not([hidden]) { display: block; }
  .flow { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --hdr-h: 60px; }
  body { font-size: 15px; padding-bottom: 72px; }
  .container { width: min(100% - 32px, var(--container)); }
  .narrow { width: min(100% - 32px, 900px); }
  .agestrip .container span:last-child { display: none; }
  .logo img { width: 116px; }
  .hdr-cta .btn-dark { display: none; }
  .hdr-cta .btn { min-height: 40px; padding: 8px 12px; font-size: 0.88rem; }
  .hdr-nav { padding-inline: 16px; }
  .mobile-cta { display: flex; }

  .hero-slider { height: 470px; }
  .slide { display: block; }
  .slide-content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px 18px 22px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.88));
  }
  .slide-title { font-size: clamp(1.8rem, 8.4vw, 2.3rem); max-width: none; }
  .slide-text { margin: 8px 0 14px; font-size: 0.92rem; }
  .slide-pay { display: none; }
  .slide-cta .btn { flex: 1; min-height: 46px; padding: 10px 14px; }
  .slide-visual { position: absolute; inset: 0 0 auto 0; height: 62%; }
  .slide-visual .panda-scene { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; -webkit-mask-image: none; mask-image: none; }
  .slide-visual .panda-cut { right: 50%; bottom: auto; top: 6%; height: 92%; transform: translateX(50%); }
  .slide-visual .slot-cover { right: 46%; width: 130px; top: 46%; }
  .slide-visual .slot-cover.second { right: 14%; width: 110px; }
  .slide-visual .panda-mini { height: 58%; left: 0; bottom: -4%; }
  .slide-art { object-position: left top; height: 70%; }
  .slide-dark::after { background: linear-gradient(180deg, rgba(5, 7, 12, 0) 20%, rgba(5, 7, 12, 0.9) 60%); }
  .slider-arrows { top: 12px; bottom: auto; right: 12px; }
  .slider-arrows .icon-btn { width: 38px; height: 38px; }
  .slider-thumbs { gap: 6px; }
  .slider-thumbs button { min-height: 50px; }
  .slider-thumbs img { width: 38px; height: 38px; }

  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo-tile { min-height: 84px; padding: 10px 10px 10px 44%; font-size: 0.86rem; }
  .promo-tile small { display: none; }

  .section { padding: 40px 0; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coupon { grid-template-columns: 96px minmax(0, 1fr); }
  .coupon .btn { grid-column: 1 / -1; margin: 0 12px 12px; }
  .coupon-left b { font-size: 1.5rem; }
  .extras { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .featured-game { aspect-ratio: 5 / 6; }
  .featured-info { grid-template-columns: 1fr; }
  .featured-info .btn { grid-column: 1; grid-row: auto; width: 100%; }
  .game-grid .game-card:nth-child(n + 8) { display: none; }
  .hot-band .section-head, .rail { padding-inline: 16px; }
  .missions { grid-template-columns: 1fr; text-align: center; }
  .mission-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-grid { grid-template-columns: 1fr; }
  .download-strip { flex-wrap: wrap; }
  .download-strip .btn { width: 100%; margin-left: 0; }
  .bar { grid-template-columns: 1fr 40px; gap: 6px 10px; }
  .bar i { grid-column: 1 / -1; grid-row: 2; }
  .ctastrip { grid-template-columns: 1fr; padding: 0 18px; }
  .ctastrip img { display: none; }
  .pm { grid-template-columns: 1fr; }
  .faq-item p { padding-left: 16px; }
  .site-footer { padding: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-tile { padding-left: 42%; font-size: 1rem; }
  .footer-main { grid-template-columns: 1fr; }
}

/* ---------- Шапка: бургер, если меню не помещается ---------- */
.hdr.is-compact .hdr-nav {
  position: fixed;
  top: var(--hdr-h);
  right: 0;
  left: 0;
  max-height: calc(100dvh - var(--hdr-h));
  overflow-y: auto;
  padding: 12px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 7, 5, 0.98);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
}
.hdr.is-compact .hdr-nav.open { opacity: 1; visibility: visible; transform: none; }
.hdr.is-compact .hdr-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.hdr.is-compact .hdr-nav a {
  width: 100%;
  min-height: 48px;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
}
.hdr.is-compact .hdr-nav a .ico { display: inline-block; }
.hdr.is-compact .hdr-cta { margin-left: auto; }
.hdr.is-compact .burger { display: block; }
