/* =========================================================================
   PlayBaze Casino — Suomi (fi)  |  Shared stylesheet
   Brand colors:  yellow #FED100 · navy #101D2C · teal #017E80 · white #FFFFFF
   Fonts: headings Druk Cyr Heavy Italic, body Transducer (brandbook).
   Currently using close Google Fonts (Anton / Oswald / Saira) via the font
   variables below. To swap to the real brand fonts later: drop the .woff2
   files into /fonts, fill in the @font-face blocks marked TODO, and point
   --font-display / --font-body at them — no markup changes required.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Anton&family=Oswald:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600;1,700&family=Saira:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&family=Saira+Condensed:wght@600;700;800&display=swap");

/* ---- TODO: real brand fonts (swap-in later) -----------------------------
@font-face{ font-family:"Druk Cyr"; src:url("../fonts/DrukCyr-HeavyItalic.woff2") format("woff2"); font-weight:900; font-style:italic; font-display:swap; }
@font-face{ font-family:"Transducer"; src:url("../fonts/Transducer-ExtendedBlack.woff2") format("woff2"); font-weight:800; font-style:normal; font-display:swap; }
   Then set: --font-display:"Druk Cyr", "Anton", sans-serif;
             --font-body:"Transducer", "Saira", sans-serif;
-------------------------------------------------------------------------- */

/* ============================ TOKENS ==================================== */
:root {
  /* Brand palette */
  --pb-yellow: #fed100;
  --pb-yellow-600: #e0b900;
  --pb-navy: #101d2c;
  --pb-teal: #017e80;
  --pb-teal-300: #23b3b5;
  --pb-white: #ffffff;

  /* Surfaces (derived darks) */
  --bg: #0a121c;
  --bg-2: #101d2c;
  --bg-3: #16263a;
  --surface: #152337;
  --surface-2: #1b2d44;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: #eef3f9;
  --text-dim: #aab7c7;
  --text-muted: #7f8ea1;

  /* Fonts */
  --font-display: "Anton", "Oswald", sans-serif; /* big display headings (≈ Druk) */
  --font-head: "Oswald", sans-serif; /* sub headings */
  --font-body: "Saira", "Helvetica Neue", Arial, sans-serif; /* body (≈ Transducer) */

  /* Geometry */
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --container: 1200px;
  --header-h: 72px;

  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-yellow: 0 10px 30px -8px rgba(254, 209, 0, 0.45);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ============================ RESET ==================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(1, 126, 128, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 0%, rgba(254, 209, 0, 0.08), transparent 55%), var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  width: 100%;
}
:focus-visible {
  outline: 2px solid var(--pb-yellow);
  outline-offset: 2px;
}

/* ============================ LAYOUT =================================== */
.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
.section {
  padding: clamp(36px, 6vw, 70px) 0 0;
}
.section--tight {
  padding: clamp(36px, 6vw, 70px) 0 0;
}
.section__head {
  margin-bottom: 28px;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pb-teal-300);
  margin: 0 0 8px;
}

/* ============================ TYPOGRAPHY ============================== */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.05;
  color: var(--pb-white);
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
h1 {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
}
h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.01em;
}
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
p {
  margin: 0 0 1em;
}
.lead {
  font-size: 1.12rem;
  color: var(--text-dim);
}
strong {
  color: var(--pb-white);
}
.accent {
  color: var(--pb-yellow);
}
.section p:last-child {
  margin-bottom: 0;
}

/* ============================ BUTTONS ================================= */
.btn {
  --btn-bg: var(--pb-yellow);
  --btn-fg: #161a10;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85em 1.6em;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  line-height: 1.25;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}
.btn:active {
  transform: translateY(0);
}
.btn--lg {
  font-size: 1.05rem;
  padding: 1.05em 2.1em;
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--pb-white);
  border: 2px solid var(--line-strong);
  padding: 0.72em 1.4em;
}
.btn--ghost:hover {
  border-color: var(--pb-yellow);
  box-shadow: none;
  color: var(--pb-yellow);
}
.btn--teal {
  --btn-bg: var(--pb-teal);
  --btn-fg: #eafdfd;
}
.btn--block {
  display: flex;
  width: 100%;
  justify-content: center;
}

/* ============================ HEADER ================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 18, 28, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.site-header.is-scrolled {
  background: rgba(8, 14, 22, 0.95);
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--pb-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.brand__logo {
  display: block;
  height: 44px;
  width: auto;
}
.site-footer .brand__logo {
  height: 60px;
}
.main-nav {
  margin-right: auto;
}
/* CTA-кнопки внутри моб-меню (на десктопе скрыты — есть в .header__actions) */
.nav-cta {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
  color: var(--text-dim);
  padding: 0.55em 0.8em;
  border-radius: 8px;
  transition:
    color 0.15s,
    background 0.15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--pb-white);
  background: rgba(255, 255, 255, 0.06);
}
.main-nav a[aria-current="page"] {
  color: var(--pb-yellow);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang {
  margin-right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}
.lang .flag {
  width: 22px;
  height: 16px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 10px;
  color: var(--pb-white);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: 0.25s;
}
.nav-toggle span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.nav-toggle span::before {
  left: 0;
  top: -6px;
}
.nav-toggle span::after {
  left: 0;
  top: 6px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================ HERO =================================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 46vw, 580px);
  padding: clamp(40px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 14px, transparent 14px 28px),
    linear-gradient(120deg, #16263a, #0a121c);
}
.hero__bg {
  object-position: 70%;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(8, 14, 22, 0.85) 0%,
    rgba(8, 14, 22, 0.68) 38%,
    rgba(8, 14, 22, 0.32) 68%,
    rgba(1, 126, 128, 0.16) 100%
  );
}
.hero__inner {
  max-width: 660px;
}
.hero__verdict {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: rgba(8, 14, 22, 0.5);
  border: 1px solid var(--line);
  border-left: 4px solid var(--pb-yellow);
  color: var(--text-dim);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(254, 209, 0, 0.12);
  border: 1px solid rgba(254, 209, 0, 0.4);
}
.rating-badge .score {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--pb-yellow);
  line-height: 1;
}
.rating-badge .stars {
  color: var(--pb-yellow);
  letter-spacing: 2px;
}
.rating-badge small {
  display: block;
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================ KEY FACTS GRID ========================= */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.fact {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact .ico {
  font-size: 1.4rem;
}
.fact dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.fact dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--pb-white);
}

/* ============================ CARDS ================================= */
.cards {
  display: grid;
  gap: 18px;
}
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards--2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 209, 0, 0.4);
}
.card__media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(160deg, #16263a, #0a121c);
  border: 1px solid var(--line);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card h3 {
  margin: 0;
}
.card .btn {
  margin-top: auto;
}

/* media placeholder (until real /img assets exist) */
.media-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #16263a, #0a121c);
}
img.with-ph {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #16263a, #0a121c);
}

/* ============================ PROS / CONS =========================== */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pc {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.pc--pros {
  border-top: 4px solid var(--pb-teal);
}
.pc--cons {
  border-top: 4px solid var(--pb-yellow);
}
.pc h3 {
  margin-bottom: 14px;
}
.pc li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-dim);
}
.pc li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.pc--pros li::before {
  content: "✅";
}
.pc--cons li::before {
  content: "⚠️";
}

/* ============================ PROMO BANNER ========================== */
.promo-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  min-height: 250px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    120deg,
    rgba(16, 29, 44, 0.85) 0%,
    rgba(16, 29, 44, 0.35) 60%,
    rgba(1, 126, 128, 0.4) 100%
  );
}
.promo-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.promo-banner__in {
  padding: clamp(20px, 3vw, 34px);
  max-width: 60ch;
}
.promo-banner h3 {
  margin: 0 0 0.3em;
}
.promo-banner p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
}

/* ============================ SECTION BANNER ======================= */
.section-banner {
  position: relative;
  height: clamp(160px, 20vw, 260px);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #16263a, #0a121c);
  margin: 8px 0 28px;
}
.section-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================ GAME CARDS =========================== */
.games {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.game {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    transform 0.2s var(--ease),
    border-color 0.2s;
}
.game:hover {
  transform: translateY(-4px);
  border-color: rgba(254, 209, 0, 0.45);
}
.game__media {
  aspect-ratio: 3/4;
  position: relative;
}
.game__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game__name {
  padding: 10px 12px;
}
.game__name b {
  display: block;
  color: var(--pb-white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  line-height: 1.2;
}
.game__name span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================ LOGO STRIP =========================== */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.logos--center {
  justify-content: center;
}
.logo {
  height: 46px;
  min-width: 96px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.logo img {
  max-height: 26px;
  width: auto;
}

/* ============================ TABLES ================================ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table.pb-table {
  min-width: 560px;
}
.pb-table caption {
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-head);
  font-style: italic;
  text-transform: uppercase;
  color: var(--pb-yellow);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.pb-table th,
.pb-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.93rem;
}
.pb-table thead th {
  position: sticky;
  top: 0;
  background: var(--bg-3);
  color: var(--pb-white);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  border-bottom: 2px solid rgba(254, 209, 0, 0.5);
}
.pb-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}
.pb-table tbody tr:hover {
  background: rgba(254, 209, 0, 0.06);
}
.pb-table td:first-child {
  color: var(--pb-white);
  font-weight: 600;
}
/* 2-column "key facts" style table */
.pb-table--kv td:first-child {
  width: 42%;
  color: var(--text-dim);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

/* ============================ STEPS / LISTS ========================= */
.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  position: relative;
  padding: 14px 16px 14px 60px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  line-height: 1;
  text-align: center;
  background: var(--pb-yellow);
  color: #101d2c;
  font-family: var(--font-display);
  font-style: normal;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-dim);
}
.ticks li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: var(--pb-teal-300);
}
.bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-dim);
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pb-yellow);
}

/* ============================ CALLOUT / NOTE ======================= */
.note {
  border-radius: var(--radius);
  padding: 18px 20px;
  background: rgba(1, 126, 128, 0.12);
  border: 1px solid rgba(1, 126, 128, 0.4);
  color: var(--text-dim);
}
.note--warn {
  background: rgba(254, 209, 0, 0.1);
  border-color: rgba(254, 209, 0, 0.4);
}
.disclaimer {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 14px;
}
blockquote.quote {
  margin: 0;
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--surface);
  border-left: 4px solid var(--pb-teal);
  color: var(--text-dim);
}

/* ============================ EXPERT SUMMARY ======================= */
.summary-card {
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line);
}
.summary-card .byline {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.summary-card .byline b {
  color: var(--pb-white);
}

/* ============================ CTA STRIP ============================ */
.cta-strip {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 46px);
  text-align: center;
  background: linear-gradient(120deg, var(--pb-teal) -10%, var(--bg-2) 55%);
  border: 1px solid var(--line);
}
.cta-strip h2 {
  margin-bottom: 0.2em;
}
.cta-strip p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
  margin-inline: auto;
}

/* ============================ FAQ ================================== */
.faq {
  display: grid;
  gap: 12px;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--pb-white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 18px 54px 18px 20px;
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--pb-yellow);
  transition: transform 0.25s;
}
.faq__item.is-open .faq__q::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
}
.faq__a-inner {
  padding: 0 20px 18px;
  color: var(--text-dim);
}

/* ============================ FOOTER ============================== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: 48px;
  margin-top: 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.footer__grid h4 {
  color: var(--pb-white);
  margin-bottom: 14px;
}
.footer__links li {
  margin-bottom: 10px;
}
.footer__links a {
  color: var(--text-dim);
  transition: color 0.15s;
}
.footer__links a:hover {
  color: var(--pb-yellow);
}
.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.pay {
  height: 34px;
  min-width: 54px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: default;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s,
    transform 0.15s var(--ease);
}
.pay:hover {
  color: var(--pb-yellow);
  border-color: rgba(254, 209, 0, 0.4);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 0;
}
.badge-18 {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--pb-yellow);
  color: var(--pb-yellow);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
}
.footer__bottom small {
  color: var(--text-muted);
}
.footer__disclaimer {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 80ch;
  margin-top: 8px;
}

/* ============================ BREADCRUMB =========================== */
.crumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.crumbs a:hover {
  color: var(--pb-yellow);
}
.crumbs span {
  color: var(--pb-yellow);
}

/* ============================ BACK TO TOP ========================== */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--pb-yellow);
  color: #101d2c;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.25s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================ HELPERS ============================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.grid-2--media {
  grid-template-columns: 1fr 1fr;
}
.stack > * + * {
  margin-top: 14px;
}
.mt-24 {
  margin-top: 24px;
}
.mt-32 {
  margin-top: 32px;
}
.center {
  text-align: center;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pb-yellow);
  color: #101d2c;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* ============================ RESPONSIVE ========================== */
@media (max-width: 992px) {
  :root {
    --header-h: 64px;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .games {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(8, 14, 22, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
    margin: 0;
  }
  .main-nav.is-open {
    max-height: 80vh;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 22px 16px 18px;
  }
  .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 4px 16px 24px;
  }
  /* .main-nav a перебивает цвет .btn — возвращаем цвета кнопок */
  .nav-cta .btn {
    color: var(--btn-fg);
  }
  .nav-cta .btn:not(.btn--ghost) {
    color: #000;
    border: 2px solid transparent;
  }
  .nav-cta .btn:not(.btn--ghost):hover {
    color: #fff;
    background: transparent;
    border-color: var(--pb-yellow);
  }
  /* На мобиле кнопки минимум 120px шириной, содержимое по центру */
  .btn {
    min-width: 120px;
    justify-content: center;
  }
  .main-nav a {
    padding: 6px 14px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
  }
  .nav-toggle {
    display: block;
    position: relative;
  }
  .header__actions {
    margin-left: auto;
  }
  .header__actions .btn {
    display: none;
  }
  .header__actions .lang {
    margin-left: 0;
  }
}
@media (max-width: 850px) {
  /* На узких экранах картинка баннера сужается и текст ложится на яркую
     часть изображения — затемняем картинку оверлеем и поднимаем контент. */
  .promo-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(8, 14, 22, 0.25) 0%, rgba(8, 14, 22, 0.5) 100%);
  }
  .promo-banner__in {
    position: relative;
    z-index: 1;
  }
}
@media (max-width: 680px) {
  .hero {
    min-height: 420px;
  }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(8, 14, 22, 0.4) 0%,
      rgba(8, 14, 22, 0.74) 68%,
      rgba(8, 14, 22, 0.88) 100%
    );
  }
  .proscons {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-2--media {
    grid-template-columns: 1fr;
  }
  .cards--3,
  .cards--2 {
    grid-template-columns: 1fr;
  }
  .games {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .facts-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 420px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
