:root {
  --bg: #f8f4eb;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #131313;
  --muted: #5d5a55;
  --line: #d7d1c7;
  --coral: #ff6f61;
  --coral-deep: #ef4e3f;
  --lime: #b8f255;
  --lime-deep: #96cf35;
  --ink-soft: #222222;
  --shadow: 0 16px 40px rgba(19, 19, 19, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 242, 85, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 111, 97, 0.2), transparent 26%),
    linear-gradient(180deg, #fffefb 0%, var(--bg) 42%, #f7f1e6 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

table {
  max-width: 100%;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(19, 19, 19, 0.08);
}

.topbar-inner,
.hero,
.content-grid,
.footer-inner,
.simple-page,
.notice-wrap {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(19, 19, 19, 0.12);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar::before {
  transform: translateY(-6px);
}

.nav-toggle-bar::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-2px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark strong {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.5rem;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--lime));
  box-shadow: 0 0 0 5px rgba(184, 242, 85, 0.2);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.95rem;
  min-width: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--coral-deep);
}

.hero {
  padding: 42px 0 26px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.96));
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -70px -70px auto;
  width: 180px;
  height: 180px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(255, 111, 97, 0.18), rgba(184, 242, 85, 0.18));
  transform: rotate(18deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--lime));
}

.hero h1,
.article-body h1,
.article-body h2,
.article-body h3,
.section-title,
.simple-page h1,
.simple-page h2,
.sticky-card strong,
.review-card h3,
.deep-dive-card h3 {
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  letter-spacing: 0.01em;
}

.hero h1,
.article-body h1,
.simple-page h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.4rem);
  line-height: 0.96;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 16px 0 0;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-pills span {
  border-radius: 999px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid rgba(19, 19, 19, 0.08);
  font-weight: 700;
  font-size: 0.92rem;
}

.content-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 48px;
}

.main-column,
.sidebar-card,
.promo-strip,
.review-block,
.deep-dive,
.simple-page-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.main-column {
  padding: 26px 20px 34px;
}

.promo-strip,
.review-block,
.deep-dive {
  padding: 20px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.widget-frame {
  width: 100%;
  height: 1750px;
  border: 0;
  border-radius: 18px;
  display: block;
  background: #fff;
}

.review-grid,
.deep-dive-grid {
  display: grid;
  gap: 16px;
}

.review-card,
.deep-dive-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 235, 0.98));
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.review-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--lime);
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.2rem;
}

.review-card h3,
.deep-dive-card h3 {
  margin: 14px 0 8px;
  font-size: 1.45rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: normal;
}

.article-body,
.simple-page-card,
.review-card,
.deep-dive-card,
.hero-panel,
.notice,
.footer-inner {
  min-width: 0;
}

.stars {
  color: var(--coral-deep);
  letter-spacing: 0.06em;
  font-weight: 700;
  margin: 0 0 8px;
}

.offer-line,
.meta-line {
  margin: 6px 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--lime), #d7ff8f);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(19, 19, 19, 0.12);
}

.promo-strip ol {
  margin: 0;
  padding-left: 18px;
}

.promo-strip li {
  margin: 8px 0;
}

.casino-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.casino-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 235, 0.98));
  border: 1px solid rgba(19, 19, 19, 0.08);
}

.casino-link-item span {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.article-body {
  font-size: 1rem;
}

.article-body h1 {
  margin-bottom: 18px;
}

.article-body h2 {
  margin: 34px 0 14px;
  font-size: clamp(1.55rem, 4.5vw, 2.2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.article-body h3 {
  margin: 24px 0 12px;
  font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  line-height: 1.1;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body table {
  margin: 14px 0;
  overflow-wrap: anywhere;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li {
  margin: 8px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
  table-layout: fixed;
  overflow-x: visible;
  white-space: normal;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(19, 19, 19, 0.08);
}

.article-body th,
.article-body td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(19, 19, 19, 0.08);
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.article-body th {
  background: rgba(184, 242, 85, 0.2);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.article-body tr:last-child td {
  border-bottom: 0;
}

.notice-wrap {
  padding: 0 0 36px;
}

.notice {
  background: #111;
  color: #f8f4eb;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 0.95rem;
}

.site-footer {
  padding: 20px 0 42px;
}

.footer-inner {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(19, 19, 19, 0.08);
  border-radius: 28px;
  padding: 22px 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.sticky-promo {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  width: min(320px, calc(100vw - 28px));
}

.sticky-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(160deg, rgba(19, 19, 19, 0.96), rgba(45, 42, 39, 0.95));
  color: #fff;
  box-shadow: 0 22px 44px rgba(19, 19, 19, 0.28);
}

.sticky-card::before {
  content: "";
  position: absolute;
  inset: auto -34px -34px auto;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(184, 242, 85, 0.28), rgba(255, 111, 97, 0.28));
  transform: rotate(16deg);
}

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

.sticky-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--lime);
  color: #111;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 1.15rem;
}

.sticky-close {
  appearance: none;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.sticky-card strong {
  display: block;
  margin: 14px 0 6px;
  font-size: 1.5rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.sticky-offer {
  color: #f6f0d9;
  margin: 8px 0 16px;
}

.simple-page {
  padding: 36px 0 52px;
}

.simple-page-card {
  padding: 26px 20px;
}

.simple-page p,
.simple-page li {
  color: var(--ink-soft);
}

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

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deep-dive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-page-card,
  .main-column,
  .promo-strip,
  .review-block,
  .deep-dive {
    padding: 30px;
  }
}

@media (min-width: 1080px) {
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .deep-dive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 839px) {
  .topbar-inner {
    padding: 10px 0;
    align-items: center;
    flex-direction: row;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-panel {
    margin-left: auto;
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: min(300px, calc(100vw - 32px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid rgba(19, 19, 19, 0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(19, 19, 19, 0.03);
  }

  .hero-panel {
    padding: 24px 20px;
  }

  .widget-frame {
    height: 1600px;
  }

  .sticky-promo {
    width: min(280px, calc(100vw - 20px));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .topbar-inner,
  .hero,
  .content-grid,
  .footer-inner,
  .simple-page,
  .notice-wrap {
    width: min(calc(100% - 20px), var(--max));
  }

  .main-column,
  .promo-strip,
  .review-block,
  .deep-dive,
  .simple-page-card {
    padding: 18px;
    border-radius: 18px;
  }

  .article-body th,
  .article-body td {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .hero-panel {
    border-radius: 24px;
  }

  .footer-inner {
    border-radius: 22px;
  }

  .sticky-promo {
    right: 10px;
    bottom: 10px;
    width: min(100vw - 20px, 272px);
  }

  .casino-link-item {
    align-items: stretch;
    flex-direction: column;
  }
}

[hidden] {
  display: none !important;
}

/* ===================================
   NAV DROPDOWN
   =================================== */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-toggle[aria-expanded="true"] {
  color: var(--coral-deep);
}

.nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Стрелка */

.nav-dropdown-arrow {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-arrow {
  margin-top: 4px;
  transform: rotate(-135deg);
}

/* Десктопная панель */

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 50;

  display: none;
  flex-direction: column;
  gap: 4px;

  width: max-content;
  min-width: 230px;
  max-width: min(300px, calc(100vw - 32px));
  padding: 10px;

  background: rgba(255, 253, 248, 0.99);
  border: 1px solid rgba(19, 19, 19, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.nav-dropdown-panel.is-open {
  display: flex;
}

.nav-links .nav-dropdown-panel a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links .nav-dropdown-panel a:hover,
.nav-links .nav-dropdown-panel a:focus-visible {
  color: var(--text);
  background: linear-gradient(
    90deg,
    rgba(184, 242, 85, 0.24),
    rgba(255, 111, 97, 0.13)
  );
}

/* ===================================
   MOBILE DROPDOWN
   =================================== */

@media (max-width: 839px) {
  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(19, 19, 19, 0.03);
    color: var(--muted);
    text-align: left;
  }

  .nav-dropdown-toggle:hover,
  .nav-dropdown-toggle:focus-visible,
  .nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--coral-deep);
    background: rgba(255, 111, 97, 0.1);
  }

  .nav-dropdown-panel {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 6px 4px 2px 12px;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 2px solid var(--lime);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links .nav-dropdown-panel a {
    padding: 9px 12px;
    background: transparent;
    white-space: normal;
  }

  .nav-links .nav-dropdown-panel a:hover,
  .nav-links .nav-dropdown-panel a:focus-visible {
    color: var(--coral-deep);
    background: rgba(184, 242, 85, 0.14);
  }
}
