:root {
  --bg: #c9c7c2;
  --bg-strong: #b5b2ab;
  --panel: #f3f1ec;
  --panel-strong: #e7e2d8;
  --text: #0d0d0d;
  --muted: #3b3a38;
  --line: #1d1d1d;
  --accent: #ffd400;
  --accent-strong: #ffbf00;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  --radius: 22px;
  --site-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.16), transparent 28%),
    linear-gradient(180deg, #d6d3cc 0%, var(--bg) 24%, #a9a59f 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

img,
svg,
iframe {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(13, 13, 13, 0.94);
  border-bottom: 1px solid rgba(255, 212, 0, 0.28);
}

.topbar__inner,
.content-wrap,
.footer__inner {
  width: min(calc(100% - 32px), var(--site-width));
  margin: 0 auto;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand__stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--line);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.brand__tag {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 212, 0, 0.4);
  border-radius: 14px;
  background: transparent;
  color: #fff;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle__bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle__bars::after {
  position: absolute;
  top: 6px;
}

.nav {
  position: absolute;
  left: 16px;
  right: 16px;
  top: calc(100% + 10px);
  display: none;
  padding: 14px;
  border-radius: 18px;
  background: rgba(13, 13, 13, 0.98);
  box-shadow: var(--shadow);
}

.nav.is-open {
  display: grid;
}

.nav a {
  padding: 12px 10px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.nav a:last-child {
  border-bottom: 0;
}

.hero-strip {
  padding: 26px 0 10px;
}

.hero-strip__grid {
  display: grid;
  gap: 16px;
}

.hero-stat,
.hero-note {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-stat {
  background: var(--line);
  color: #fff;
  padding: 22px;
}

.hero-stat__eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.hero-stat__value {
  margin-top: 10px;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 0.9;
  font-weight: 900;
  color: var(--accent);
}

.hero-note {
  background:
    linear-gradient(180deg, rgba(255, 212, 0, 0.95), rgba(255, 191, 0, 0.95)),
    var(--accent);
  padding: 22px;
  color: var(--line);
}

.hero-note__title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-note p {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.content-wrap {
  display: grid;
  gap: 24px;
  padding: 18px 0 56px;
}

.article-shell {
  min-width: 0;
}

.article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 220px),
    rgba(243, 241, 236, 0.92);
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article__inner {
  padding: 24px 18px 34px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.94);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.kicker::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.article h1,
.article h2,
.article h3,
.article h4 {
  margin: 0 0 14px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.article h1 {
  margin-top: 18px;
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.article h2 {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 2px solid rgba(13, 13, 13, 0.14);
  font-size: clamp(1.7rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}

.article h3 {
  margin-top: 30px;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.article h4 {
  margin-top: 22px;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.article p,
.article li {
  color: var(--muted);
  font-size: 1rem;
}

.article p {
  margin: 0 0 16px;
}

.article ul,
.article ol {
  margin: 0 0 18px;
  padding-left: 20px;
}

.article li + li {
  margin-top: 8px;
}

.article table {
  width: 100%;
  margin: 18px 0 12px;
  border-collapse: collapse;
  background: #fff;
  border: 2px solid var(--line);
  table-layout: fixed;
}

.article th,
.article td {
  padding: 14px 12px;
  border: 1px solid rgba(13, 13, 13, 0.22);
  text-align: left;
  vertical-align: top;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.article th {
  background: var(--accent);
  color: var(--line);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article strong {
  color: var(--line);
}

#casino-widget-iframe {
  margin: 14px 0 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.review-card {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
  padding: 20px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 212, 0, 0.24), transparent 62%),
    linear-gradient(180deg, #242424 0%, #101010 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.review-card__rank,
.review-card__stars {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.review-card__rank {
  background: var(--accent);
  color: var(--line);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.review-card__stars {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.review-card .review-card__title {
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
  color: #ffffff;
}

.review-card .review-card__offer {
  margin: 0;
  color: #f3f3f3;
  font-size: 1rem;
}

.review-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--line);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quick-five {
  padding: 18px;
  border-radius: 24px;
  background: rgba(13, 13, 13, 0.05);
  border: 1px solid rgba(13, 13, 13, 0.12);
}

.quick-five ol {
  margin-bottom: 0;
}

.info-page {
  background:
    linear-gradient(180deg, rgba(255, 212, 0, 0.2), transparent 180px),
    rgba(243, 241, 236, 0.92);
  border: 1px solid rgba(13, 13, 13, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 24px 18px 34px;
}

.info-page h1 {
  margin-top: 0;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.info-page h2 {
  margin-top: 28px;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.info-page p,
.info-page li {
  color: var(--muted);
}

.footer {
  background: #0d0d0d;
  color: #fff;
}

.footer__inner {
  display: grid;
  gap: 18px;
  padding: 24px 0 36px;
}

.footer__brand {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.footer__nav {
  display: grid;
  gap: 10px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-weight: 700;
}

.footer__note {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.sticky-promo {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  width: min(340px, calc(100vw - 28px));
  padding: 18px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: rgba(13, 13, 13, 0.98);
  color: #fff;
  box-shadow: var(--shadow);
}

.sticky-promo__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sticky-promo__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--line);
  font-size: 1.15rem;
  font-weight: 900;
}

.sticky-promo__stars {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sticky-promo__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.sticky-promo__offer {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.78);
}

.sticky-promo__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-promo__button,
.sticky-promo__close {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 900;
}

.sticky-promo__button {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--accent);
  color: var(--line);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sticky-promo__close {
  width: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
}

@media (min-width: 720px) {
  .topbar__inner {
    padding: 16px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav a {
    border-bottom: 0;
    border-radius: 999px;
    padding: 10px 14px;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-strip__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .article__inner,
  .info-page {
    padding: 34px 34px 42px;
  }

  .review-card {
    grid-template-columns: 1.2fr auto;
    align-items: end;
  }

  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer__nav {
    grid-template-columns: repeat(3, auto);
    column-gap: 18px;
  }
}

@media (min-width: 1024px) {
  .content-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .article h3 {
    max-width: none;
  }
}

@media (max-width: 639px) {
  .sticky-promo {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
}

@media print {
  .topbar,
  .sticky-promo {
    display: none;
  }

  body {
    background: #fff;
  }

  .article,
  .info-page {
    box-shadow: none;
    border: 0;
  }
}

.nav {
  position: fixed;
  left: 16px;
  right: 16px;
  top: 82px;
  z-index: 45;
}

@media (min-width: 720px) {
  .nav {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    z-index: auto;
  }
}

/* === Nav dropdown (mobile-first, добавить в конец styles.css) === */
.nav__item {
  display: contents;
}

.nav__item--dropdown {
  display: block;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.nav__dropdown-arrow {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav__dropdown-toggle[aria-expanded="true"] .nav__dropdown-arrow {
  transform: rotate(-135deg);
}

.nav__dropdown {
  display: none;
  flex-direction: column;
  padding: 4px 0 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__dropdown.is-open {
  display: flex;
}

.nav__dropdown a {
  padding: 10px 10px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__dropdown a:last-child {
  border-bottom: 0;
}

.nav__dropdown a:hover,
.nav__dropdown a:focus-visible {
  color: var(--accent);
}

@media (min-width: 720px) {
  .nav__item--dropdown {
    position: relative;
    display: inline-flex;
  }

  .nav__dropdown-toggle {
    width: auto;
    padding: 10px 14px;
    border-bottom: 0;
    border-radius: 999px;
    gap: 6px;
  }

  .nav__dropdown-toggle:hover,
  .nav__dropdown-toggle:focus-visible,
  .nav__dropdown-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 220px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(13, 13, 13, 0.98);
    box-shadow: var(--shadow);
    border-bottom: 0;
    z-index: 55;
  }

  .nav__dropdown a {
    padding: 10px 12px;
    border-radius: 10px;
    border-bottom: 0;
  }

  .nav__dropdown a:hover,
  .nav__dropdown a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }
}
