:root {
  --bg: #090b12;
  --panel: #121722;
  --card: #fbfbf6;
  --text: #10131a;
  --muted: #667085;
  --line: rgba(18, 23, 34, 0.1);
  --accent: #d8ff4f;
  --accent-soft: #f3ffd0;
  --danger: #ff6b6b;
  --radius-xl: 32px;
  --radius-md: 18px;
  --shadow: 0 22px 70px rgba(18, 23, 34, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(
      circle at 8% 8%,
      rgba(216, 255, 79, 0.18),
      transparent 32rem
    ),
    radial-gradient(
      circle at 92% 2%,
      rgba(88, 230, 217, 0.12),
      transparent 34rem
    ),
    linear-gradient(180deg, #090b12 0%, #0d111b 36%, #f2f2ea 36%, #f2f2ea 100%);
  color: var(--text);
  line-height: 1.6;
}
a {
  color: inherit;
}
.wrapper {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(9, 11, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: #fff;
}
.brandmark {
  font-weight: 900;
  letter-spacing: -0.04em;
}
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  color: #dfe6f1;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.hero {
  color: #fff;
  padding: 58px 0 34px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: 0.96;
  margin: 18px 0;
  letter-spacing: -0.06em;
  max-width: 900px;
}
.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #0a0d13;
  background: var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}
.hero-card,
.author-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  padding: 26px;
}
.hero-card p {
  color: #dfe6f1;
  font-size: 18px;
  margin: 0;
}
.author-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px 22px;
  align-content: start;
  min-height: auto;
  width: 100%;
  max-width: none;
}
.author-photo {
  width: 128px;
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #58e6d9);
  display: grid;
  place-items: center;
  color: #10131a;
  font-weight: 900;
  font-size: 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-chip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #58e6d9);
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.author-card strong {
  display: block;
  font-size: 24px;
}
.author-card span {
  color: #dfe6f1;
}
.author-quote {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent);
  color: #f6f9ff;
  font-size: 17px;
  line-height: 1.6;
}
.layout {
  display: block;
  padding: 28px 0 80px;
}
.toc {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0 0 24px;
  background: #fff;
  border-radius: 26px;
  padding: 20px 22px;
  box-shadow: 0 14px 40px rgba(18, 23, 34, 0.08);
  border: 1px solid var(--line);
}
.toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
}
.toc a {
  display: block;
  text-decoration: none;
  color: #2a3343;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  background: #f7f8f1;
}
.toc a:hover {
  background: #eef1e3;
}
.toc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.toc strong {
  grid-column: 1 / -1;
}
main {
  display: grid;
  gap: 26px;
  width: 100%;
}
section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 16px 48px rgba(18, 23, 34, 0.07);
}
section.dark {
  background: #101621;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}
section.dark p,
section.dark li,
section.dark td,
section.dark dd {
  color: #e7edf7;
}
h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.04em;
}
h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.12;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}
p {
  margin: 0 0 18px;
}
.muted {
  color: var(--muted);
}
.cta,
.mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: #10131a;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}
.mini-cta {
  min-height: 40px;
  font-size: 14px;
}

/* TOP 10 витрина: отдельные CTA-карточки, без табличной тесноты */
.showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.updated-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #10131a;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.casino-showcase {
  display: grid;
  gap: 16px;
  margin-top: 0;
}
.casino-mini-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 52px;
  grid-template-areas:
    "rank title score"
    "rank bonus score"
    "rank benefit score"
    "rank cta cta";
  gap: 10px 14px;
  align-items: center;
  padding: 18px;
  background: linear-gradient(135deg, #fff 0%, #f6ffd8 100%);
  border: 1px solid rgba(18, 23, 34, 0.12);
  border-radius: 26px;
  box-shadow: 0 16px 42px rgba(18, 23, 34, 0.09);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.casino-mini-card:before {
  content: "";
  position: absolute;
  inset: auto -38px -55px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(216, 255, 79, 0.38);
  pointer-events: none;
}
.casino-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 54px rgba(18, 23, 34, 0.16);
}
.rank {
  grid-area: rank;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #111621;
  color: #fff;
  border-radius: 14px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(17, 22, 33, 0.2);
}
.casino-title {
  grid-area: title;
  min-width: 0;
}
.casino-title strong {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.casino-title span {
  display: none;
}
.mini-label {
  display: block;
  color: #59657a;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.mini-score {
  grid-area: score;
  position: relative;
  z-index: 1;
  align-self: start;
}
.mini-score .mini-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.mini-score strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: #10131a;
  color: #fff;
  font-size: 13px;
  line-height: 1.05;
  box-shadow: 0 10px 24px rgba(16, 19, 26, 0.2);
}
.mini-bonus {
  grid-area: bonus;
  min-width: 0;
}
.mini-benefit {
  grid-area: benefit;
  min-width: 0;
}
.mini-bonus,
.mini-benefit {
  font-size: 15px;
  line-height: 1.42;
  position: relative;
  z-index: 1;
}
.casino-actions {
  grid-area: cta;
  display: flex;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
  margin-top: 4px;
}
.casino-actions .mini-cta {
  min-height: 44px;
  width: 100%;
  padding: 10px 18px;
  background: linear-gradient(135deg, #10131a, #202b3d);
  box-shadow: 0 12px 24px rgba(16, 19, 26, 0.22);
}
.casino-actions .mini-cta:hover {
  background: linear-gradient(135deg, #d8ff4f, #78f0d4);
  color: #10131a;
}

/* Критерии теста: строки друг под другом */
.steps {
  counter-reset: item;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  list-style: none;
  margin: 20px 0 0;
}
.steps li {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f5f6ec;
  border-radius: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(18, 23, 34, 0.1);
}
.steps li:before {
  counter-increment: item;
  content: counter(item);
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #10131a;
  color: #fff;
  border-radius: 13px;
  font-weight: 900;
}

.table-scroll {
  overflow: auto;
  margin: 20px 0;
  border-radius: 22px;
  border: 1px solid rgba(18, 23, 34, 0.1);
  background: #fff;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 720px;
  background: #fff;
  color: #10131a;
}
th,
td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(18, 23, 34, 0.08);
  color: #10131a;
}
th {
  background: #111621;
  color: #fff;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:nth-child(even) td {
  background: #fafaf5;
}
section.dark .table-scroll {
  border-color: rgba(255, 255, 255, 0.16);
  background: #fff;
}
section.dark table,
section.dark td {
  color: #10131a;
}
section.dark th {
  color: #fff;
}

/* Подробные обзоры брендов: читаемая мобильная карточка */
.review-grid {
  display: grid;
  gap: 18px;
}
.review-card {
  border: 1px solid rgba(18, 23, 34, 0.1);
  border-radius: 28px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(216, 255, 79, 0.13), transparent 38%), #fbfbf5;
}
.review-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.review-head h3 {
  margin: 0;
  text-align: left;
}
.review-number {
  color: #10131a;
  background: var(--accent);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 900;
}
.review-card > .mini-cta {
  margin-top: 18px;
  width: 100%;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 18px 0 0;
}
.spec-grid div {
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(18, 23, 34, 0.08);
  border-radius: 16px;
  padding: 12px 14px;
}
dt {
  font-weight: 900;
  font-size: 13px;
  color: #475166;
}
dd {
  margin: 0;
  color: #10131a;
}

/* BankID: без каши, блоки идут вертикально */
.risk-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}
.risk-note {
  background: #fff;
  color: #10131a;
  border: 1px solid rgba(255, 107, 107, 0.24);
  border-radius: 22px;
  padding: 18px;
}
.risk-note h3 {
  color: #10131a;
  text-align: left;
  font-size: 24px;
}
.risk-note p {
  color: #202631 !important;
  margin: 0;
}
.risk-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 20px 0;
}
.risk-method {
  background: #fff;
  color: #10131a !important;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid rgba(18, 23, 34, 0.1);
}
.risk-method strong {
  display: block;
  font-size: 18px;
  margin-bottom: 14px;
}
.risk-method dl {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) 1fr;
  gap: 12px 18px;
  margin: 0;
  align-items: center;
}
.risk-method dt {
  color: #4b5568 !important;
  font-weight: 800;
}
.risk-method dd {
  color: #10131a !important;
  font-weight: 700;
  margin: 0;
}
.risk-method dd {
  display: flex;
  align-items: center;
}
.risk-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f4f6ed;
  color: #10131a;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  box-sizing: border-box;
}

.pill-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.pill-list li {
  border: 1px solid rgba(18, 23, 34, 0.1);
  border-radius: 18px;
  padding: 18px 22px;
  background: #fff;
  line-height: 1.65;
}
.bonus-type-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.bonus-type-card {
  background: #fbfbf5;
  border: 1px solid rgba(18, 23, 34, 0.11);
  border-radius: 20px;
  padding: 16px;
}
.bonus-type-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

/* Читайте также: обычный список, без огромного баннера */
.read-also {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
}
.read-also-title {
  font-weight: 900;
  margin-bottom: 10px;
}
.read-also-list {
  margin: 0;
  padding-left: 20px;
}
.read-also-list li {
  margin: 8px 0;
}
.read-also-list a {
  color: #10131a;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.faq-item {
  border: 1px solid rgba(18, 23, 34, 0.1);
  border-radius: 18px;
  padding: 0;
  margin: 10px 0;
  background: #fbfbf5;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  padding: 16px 18px;
  list-style-position: inside;
}
.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #2a3343;
}
.cz-casino-footer {
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(216, 255, 79, 0.16),
      transparent 28rem
    ),
    #090b12;
  color: #dfe6f1;
  font-size: 13px;
  line-height: 1.6;
  padding: 44px 20px 24px;
  border-top: 3px solid var(--accent);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-warning-box {
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin-bottom: 30px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-radius: 18px;
}
.warning-18 {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 900;
  color: #10131a;
  background: var(--accent);
  border-radius: 12px;
  padding: 6px 10px;
}
.warning-text {
  color: #f1f5f9;
  font-size: 14px;
  margin: 0;
}
.warning-text strong {
  color: var(--accent);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 15px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-disclaimer {
  font-size: 12px;
  color: #b9c3d3;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  margin-bottom: 25px;
  text-align: justify;
}
.footer-disclaimer p {
  margin: 0;
}
.footer-badges {
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 20px;
}
.badge-item {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: #dfe6f1;
  padding: 7px 12px;
  border-radius: 999px;
  margin: 5px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(216, 255, 79, 0.24);
}
.badge-item strong {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #9aa6b8;
}
.mobile-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  justify-content: center;
  padding: 12px;
  background: rgba(9, 11, 18, 0.84);
  backdrop-filter: blur(14px);
  border-radius: 24px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-photo {
    margin: 0 auto;
  }
  .author-quote {
    text-align: left;
  }
  .casino-mini-card {
    grid-template-columns: 44px minmax(0, 1fr) 50px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-warning-box {
    display: block;
    text-align: center;
  }
  .warning-18 {
    display: block;
    margin-bottom: 10px;
  }
  .toc {
    grid-template-columns: 1fr;
    position: relative;
    top: auto;
  }
  .nav {
    display: flex;
  }
  .mobile-sticky {
    display: flex;
  }
  h1,
  h2 {
    text-align: center;
  }
  .casino-mini-card {
    gap: 10px 12px;
  }
  .casino-actions .mini-cta {
    flex: 1;
  }
  .spec-grid div,
  .risk-method dl {
    grid-template-columns: 1fr;
  }
  .review-head h3 {
    text-align: left;
  }
  .steps li {
    align-items: flex-start;
  }
}

main p,
main li,
main td,
main dd {
  font-size: 16px;
}
main section > p:last-child {
  margin-bottom: 0;
}
.table-scroll td,
.table-scroll th {
  padding: 16px 18px;
}
@media (max-width: 680px) {
  .hero-card,
  .author-card,
  section {
    padding: 22px;
  }
  .showcase-head {
    align-items: flex-start;
  }
  .updated-date {
    width: 100%;
    justify-content: center;
  }
  .mini-score strong {
    width: 46px;
    height: 46px;
    font-size: 12px;
  }
  .casino-mini-card {
    padding: 16px;
    grid-template-columns: 42px minmax(0, 1fr) 48px;
  }
  .casino-actions {
    justify-content: stretch;
  }
  .risk-method dl {
    grid-template-columns: 1fr;
  }
  .pill-list li {
    padding: 16px 18px;
  }
}

.logo img {
  display: block;
  max-height: 58px;
  width: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: #10131a;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}

.button:hover {
  background: linear-gradient(135deg, #d8ff4f, #78f0d4);
  color: #10131a;
}

body > section.section {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

body > section.section.hero {
  color: #fff;
  padding: 58px 0 34px;
}

body > section.section.toc {
  margin-top: 28px;
}

body > section.section.mobile-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 30;
  display: none;
  justify-content: center;
  width: auto;
  padding: 12px;
  background: rgba(9, 11, 18, 0.84);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  box-shadow: none;
  border: 0;
}

@media (max-width: 980px) {
  body > section.section.mobile-sticky {
    display: flex;
  }
}
