/*--------------------------------------------------------------
# Design tokens (Forma-inspired, dark)
--------------------------------------------------------------*/
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --heading-font: "Montserrat", sans-serif;
  --nav-font: "Montserrat", sans-serif;

  --background-color: #020c19;
  --surface-color: #141e2b;
  --default-color: #fafdff;
  --muted-color: #9bb0c6;
  --heading-color: #ffffff;
  --accent-color: #208bf4;
  --accent-dark: #1573d1;
  --contrast-color: #ffffff;

  --border-color: rgba(250, 253, 255, .1);
  --border-strong: rgba(250, 253, 255, .18);
  --tint-soft: rgba(32, 139, 244, .12);
  --tint-line: rgba(32, 139, 244, .28);

  --gold: #f0b429;
  --silver: #9fb0c2;
  --bronze: #c2743b;
  --success: #34d399;

  --shadow-sm: 0 5px 15px rgba(0, 0, 0, .18);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .3);
  --shadow-accent: 0 10px 28px rgba(32, 139, 244, .3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* Чередование фонов секций — как в Forma */
.light-background {
  --background-color: #0b1727;
  --surface-color: #101c2d;
}

.dark-background {
  --background-color: #000000;
  --surface-color: #020c19;
}

/*--------------------------------------------------------------
# Base — mobile first
--------------------------------------------------------------*/
* {
  -webkit-tap-highlight-color: rgba(32, 139, 244, .18);
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--default-font);
  background-color: var(--background-color);
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color .25s;
}

a:hover {
  color: #4ea6f7;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section {
  padding: 48px 0;
  background-color: var(--background-color);
}

.container {
  max-width: 1240px;
  padding-inline: 16px;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  --bs-btn-border-radius: var(--radius-sm);
  font-family: var(--nav-font);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  transition: all .25s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid rgba(32, 139, 244, .4);
  outline-offset: 2px;
  box-shadow: none;
}

.btn-accent {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--contrast-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--default-color);
}

.btn-ghost:hover,
.btn-ghost:focus {
  border-color: var(--accent-color);
  color: var(--contrast-color);
  background: var(--tint-soft);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/*--------------------------------------------------------------
# Badge pill (заголовок-бейдж Forma)
--------------------------------------------------------------*/
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(32, 139, 244, .18);
  color: #6cb4f8;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  line-height: 1.4;
}

.badge-pill i {
  font-size: 14px;
}

/*--------------------------------------------------------------
# Topbar
--------------------------------------------------------------*/
.topbar {
  background: #000;
  color: #7f93a8;
  font-size: 12px;
  padding: 7px 0;
}

.topbar-text {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  margin: 0;
}

.age-badge {
  flex: none;
  background: var(--accent-color);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 50px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  background: rgba(2, 12, 25, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1030;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--accent-color);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}

.logo-text {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 22px;
  color: var(--heading-color);
  letter-spacing: -.3px;
}

.logo-text .dot {
  color: var(--accent-color);
}

.navmenu {
  align-items: center;
  gap: 26px;
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
}

.navmenu a {
  color: #d8e4f0;
  position: relative;
  padding: 6px 0;
}

.navmenu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width .25s;
}

.navmenu a:hover,
.navmenu a.active {
  color: #fff;
}

.navmenu a:hover::after,
.navmenu a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  color: #fff;
  font-size: 22px;
  display: grid;
  place-items: center;
  padding: 0;
}

/* Мобильное меню */
.mobile-nav {
  width: 300px;
  background: #1b2634;
  color: var(--default-color);
}

.mobile-nav .offcanvas-header {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav .btn-close {
  filter: invert(1) grayscale(1) brightness(2);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--nav-font);
  font-weight: 600;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #d8e4f0;
}

.mobile-menu a i {
  font-size: 18px;
  color: var(--accent-color);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: var(--tint-soft);
  color: #fff;
}

/*--------------------------------------------------------------
# Section title
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
}

.section-title h2 {
  font-size: 24px;
  margin: 14px 0 10px;
}

.section-title p {
  color: var(--muted-color);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  position: relative;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(32, 139, 244, .18) 0%, rgba(32, 139, 244, 0) 60%),
    var(--background-color);
  padding: 30px 0 26px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 16px 0 12px;
}

.hero-text {
  color: var(--muted-color);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto 16px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted-color);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta i {
  color: var(--accent-color);
  font-size: 15px;
}

.hero-meta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--nav-font);
  font-weight: 600;
}

.hero-meta-link i {
  transition: transform .25s;
}

.hero-meta-link:hover i {
  transform: translateX(3px);
}

/*--------------------------------------------------------------
# Rating head + filters
--------------------------------------------------------------*/
.rating {
  padding-top: 26px;
}

.rating-head {
  margin-bottom: 18px;
}

.rating-title {
  font-size: 21px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.rating-count {
  font-family: var(--nav-font);
  font-weight: 500;
  font-size: 13px;
  color: var(--muted-color);
}

/*--------------------------------------------------------------
# Casino cards
--------------------------------------------------------------*/
.casino-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.casino-card {
  position: relative;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.casino-card:hover {
  border-color: var(--tint-line);
  box-shadow: var(--shadow-md);
}

.casino-card--top {
  border-color: rgba(32, 139, 244, .55);
  box-shadow: 0 0 0 1px rgba(32, 139, 244, .18), 0 14px 34px rgba(32, 139, 244, .16);
  padding-top: 30px;
}

.ribbon {
  position: absolute;
  top: 0;
  left: 16px;
  background: var(--accent-color);
  color: #fff;
  font-family: var(--nav-font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.cc-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rank {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
}

.rank--gold {
  background: var(--gold);
  color: #10192a;
}

.rank--silver {
  background: var(--silver);
  color: #10192a;
}

.rank--bronze {
  background: var(--bronze);
  color: #fff;
}

.brand-logo {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--brand, #334155);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .5px;
  display: grid;
  place-items: center;
}

.cc-ident {
  min-width: 0;
}

.cc-name {
  font-size: 19px;
  margin-bottom: 4px;
}

.rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-color);
  margin-bottom: 10px;
}

.stars {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, .2);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.stars-on {
  position: absolute;
  inset: 0;
  width: var(--fill, 100%);
  overflow: hidden;
  white-space: nowrap;
  color: var(--gold);
}

.score {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.reviews {
  font-size: 12px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 12px;
  color: #cddbe9;
}

.tag--ok {
  background: rgba(52, 211, 153, .12);
  border-color: rgba(52, 211, 153, .3);
  color: var(--success);
}

.cc-bonus {
  background: var(--tint-soft);
  border: 1px dashed var(--tint-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cc-bonus-label {
  font-family: var(--nav-font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 600;
  color: #6cb4f8;
}

.cc-bonus-value {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  line-height: 1.35;
}

.cc-bonus-extra {
  font-size: 12px;
  color: var(--muted-color);
}

.cc-specs {
  display: flex;
  gap: 8px;
}

.cc-specs li {
  flex: 1 1 0;
  min-width: 0;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-color);
  line-height: 1.35;
}

.cc-specs li i {
  display: block;
  color: var(--accent-color);
  font-size: 15px;
  margin-bottom: 3px;
}

.cc-specs li b {
  display: block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}

.cc-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cc-note {
  font-size: 11px;
  color: #6b7f93;
  text-align: center;
}

/*--------------------------------------------------------------
# Review page — breadcrumbs + hero
--------------------------------------------------------------*/
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-color);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--muted-color);
}

.breadcrumbs a:hover {
  color: var(--accent-color);
}

.breadcrumbs i {
  font-size: 11px;
  opacity: .5;
}

.breadcrumbs--center {
  justify-content: center;
  margin-bottom: 16px;
}

/* Плейсхолдер для незаполненных данных */
.todo {
  color: #5d7189;
  font-weight: 400;
}

.review-hero {
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(32, 139, 244, .16) 0%, rgba(32, 139, 244, 0) 60%),
    var(--background-color);
  padding: 22px 0 30px;
  border-bottom: 1px solid var(--border-color);
}

.review-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.brand-logo--lg {
  width: 68px;
  height: 68px;
  font-size: 22px;
  border-radius: var(--radius-md);
}

.review-head-main {
  min-width: 0;
}

.review-head-main h1 {
  font-size: 26px;
  font-weight: 800;
  margin: 10px 0 8px;
}

.review-offer {
  background: var(--surface-color);
  border: 1px solid var(--tint-line);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-offer-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-offer-value {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  line-height: 1.3;
}

.review-offer-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-offer-cta .btn {
  width: 100%;
}

/*--------------------------------------------------------------
# Review page — общие заголовки блоков
--------------------------------------------------------------*/
.block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  margin-bottom: 20px;
}

.block-title i {
  color: var(--accent-color);
  font-size: 20px;
}

.sub-title {
  font-size: 16px;
  margin: 26px 0 14px;
}

/*--------------------------------------------------------------
# Review page — оценка
--------------------------------------------------------------*/
.score-panel {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.score-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.score-total-value {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--accent-color);
}

.score-total-max {
  font-size: 13px;
  color: var(--muted-color);
}

.score-total .stars {
  font-size: 17px;
  margin-top: 4px;
}

.score-total-label {
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 13px;
  color: var(--success);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 2px;
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.score-bar-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 14px;
}

.score-bar-head em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted-color);
}

.score-bar-head b {
  font-family: var(--heading-font);
  font-weight: 700;
  color: #fff;
}

.score-bar {
  height: 6px;
  border-radius: 50px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.score-bar span {
  display: block;
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--accent-color), #4ea6f7);
}

/*--------------------------------------------------------------
# Review page — ключевая информация
--------------------------------------------------------------*/
.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0;
}

.fact {
  background: var(--surface-color);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fact dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted-color);
}

.fact dt i {
  color: var(--accent-color);
  font-size: 14px;
}

.fact dd {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  line-height: 1.4;
}

.provider-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provider {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 13px;
  color: #cddbe9;
}

.provider--more {
  background: transparent;
  border-style: dashed;
  color: var(--muted-color);
}

/*--------------------------------------------------------------
# Review page — текст обзора
--------------------------------------------------------------*/
.review-text {
  max-width: 860px;
}

.review-text p {
  font-size: 15px;
  color: var(--muted-color);
  margin-bottom: 16px;
}

.review-text p:last-child {
  margin-bottom: 0;
}

.review-lead {
  color: var(--default-color) !important;
  font-size: 16px !important;
  border-left: 3px solid var(--accent-color);
  padding-left: 16px;
}

/*--------------------------------------------------------------
# Review page — плюсы и минусы
--------------------------------------------------------------*/
.pc-card {
  height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
}

.pc-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  margin-bottom: 14px;
}

.pc-card--pros {
  border-top: 3px solid var(--success);
}

.pc-card--pros h3 i {
  color: var(--success);
}

.pc-card--cons {
  border-top: 3px solid #f87171;
}

.pc-card--cons h3 i {
  color: #f87171;
}

.pc-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-card li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--muted-color);
  line-height: 1.55;
}

.pc-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.pc-card--pros li::before {
  content: "✓";
  color: var(--success);
}

.pc-card--cons li::before {
  content: "✕";
  color: #f87171;
}

/*--------------------------------------------------------------
# Review page — вывод
--------------------------------------------------------------*/
.verdict {
  background: var(--surface-color);
  border: 1px solid var(--tint-line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.verdict-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.verdict-value {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: var(--accent-color);
}

.verdict-max {
  font-size: 13px;
  color: var(--muted-color);
}

.verdict-body h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.verdict-body p {
  font-size: 15px;
  color: var(--muted-color);
  margin-bottom: 18px;
}

.verdict-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/*--------------------------------------------------------------
# Criteria
--------------------------------------------------------------*/
.criteria-card {
  height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.criteria-card:hover {
  transform: translateY(-4px);
  border-color: var(--tint-line);
  box-shadow: var(--shadow-md);
}

.criteria-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--tint-soft);
  color: var(--accent-color);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.criteria-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.weight {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  color: #6cb4f8;
  background: rgba(32, 139, 244, .18);
  border-radius: 50px;
  padding: 2px 9px;
}

.criteria-card p {
  font-size: 14px;
  color: var(--muted-color);
}

/*--------------------------------------------------------------
# Collections
--------------------------------------------------------------*/
.collection-card {
  display: block;
  height: 100%;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  color: var(--muted-color);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.collection-card:hover {
  transform: translateY(-4px);
  border-color: var(--tint-line);
  box-shadow: var(--shadow-md);
  color: var(--muted-color);
}

.collection-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--tint-soft);
  color: var(--accent-color);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.collection-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.collection-card p {
  font-size: 14px;
  margin-bottom: 16px;
}

.collection-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nav-font);
  font-weight: 600;
  color: var(--accent-color);
}

.collection-link i {
  transition: transform .25s;
}

.collection-card:hover .collection-link i {
  transform: translateX(4px);
}

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq-accordion {
  --bs-accordion-border-color: transparent;
  --bs-accordion-bg: transparent;
  --bs-accordion-color: var(--default-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  background: var(--surface-color);
  padding: 17px 16px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #6cb4f8;
  background: var(--surface-color);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23208bf4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: var(--bs-accordion-btn-icon);
}

.faq-accordion .accordion-body {
  padding: 0 16px 18px;
  font-size: 14px;
  color: var(--muted-color);
}

/*--------------------------------------------------------------
# About / SEO text
--------------------------------------------------------------*/
.about-box {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 20px;
}

.about-box h2 {
  font-size: 21px;
  margin-bottom: 14px;
}

.about-box p {
  font-size: 14px;
  color: var(--muted-color);
  margin-bottom: 14px;
}

.about-box p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: #000;
  color: #8598ac;
  padding: 44px 0 24px;
  font-size: 14px;
  border-top: 1px solid var(--border-color);
}

.footer .logo-text {
  color: #fff;
}

.logo--footer {
  margin-bottom: 14px;
}

.footer-about {
  font-size: 14px;
  max-width: 380px;
}

.footer h4 {
  color: #fff;
  font-size: 14px;
  font-family: var(--nav-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: #8598ac;
}

.footer ul a:hover {
  color: var(--accent-color);
}

.responsible-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.rg-badge {
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--nav-font);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.footer-disclaimer {
  color: #5d7189;
}

/*--------------------------------------------------------------
# Scroll top
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-color);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: var(--shadow-accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
  z-index: 1020;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  color: #fff;
  background: var(--accent-dark);
}

/*--------------------------------------------------------------
# ≥ 576px
--------------------------------------------------------------*/
@media (min-width: 576px) {
  .hero-title {
    font-size: 36px;
  }

  .cc-cta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .cc-cta .btn {
    width: auto !important;
    flex: 1 1 0;
  }

  .cc-note {
    flex: 1 0 100%;
    text-align: left;
  }

  .casino-card {
    padding: 22px 20px 20px;
  }

  .review-offer-cta .btn {
    width: auto;
  }

  .verdict-actions {
    flex-direction: row;
    align-items: center;
  }
}

/*--------------------------------------------------------------
# ≥ 768px
--------------------------------------------------------------*/
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 44px 0 34px;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-meta {
    font-size: 14px;
    gap: 10px 26px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .rating-title {
    font-size: 25px;
  }

  .about-box {
    padding: 34px 32px;
  }

  .about-box h2 {
    font-size: 25px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* --- страница обзора --- */
  .review-hero {
    padding: 26px 0 40px;
  }

  .review-head-main h1 {
    font-size: 32px;
  }

  .block-title {
    font-size: 24px;
  }

  .review-offer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 22px;
  }

  .review-offer-cta {
    flex: none;
    align-items: center;
  }

  .score-panel {
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 24px 26px;
  }

  .score-total {
    flex: none;
    width: 190px;
    padding: 0 28px 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--border-color);
  }

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

  .verdict {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 26px;
  }

  .verdict-score {
    flex: none;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
}

/*--------------------------------------------------------------
# ≥ 992px
--------------------------------------------------------------*/
@media (min-width: 992px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 58px 0 40px;
  }

  .hero-title {
    font-size: 50px;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .rating {
    padding-top: 30px;
  }

  .rating-head {
    margin-bottom: 22px;
  }

  .casino-list {
    gap: 16px;
  }

  .casino-card {
    display: grid;
    grid-template-columns: minmax(200px, 1.35fr) minmax(160px, 1fr) minmax(160px, 1fr) 180px;
    align-items: center;
    column-gap: 24px;
    padding: 22px 26px;
  }

  .casino-card--top {
    padding-top: 30px;
  }

  .ribbon {
    left: 26px;
  }

  /* в узкой колонке характеристики читаются лучше списком */
  .cc-specs {
    flex-direction: column;
    gap: 6px;
  }

  .cc-specs li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 0;
    padding: 0;
    text-align: left;
    font-size: 13px;
  }

  .cc-specs li i {
    display: inline-block;
    width: 18px;
    margin-bottom: 0;
    font-size: 14px;
  }

  .cc-specs li b {
    display: inline;
    font-size: 13px;
  }

  .cc-cta {
    flex-direction: column;
  }

  .cc-cta .btn {
    width: 100% !important;
    flex: none;
  }

  .cc-note {
    flex: none;
    text-align: center;
  }

  .scroll-top {
    right: 28px;
    bottom: 28px;
  }

  /* --- страница обзора --- */
  .review-head-main h1 {
    font-size: 38px;
  }

  .brand-logo--lg {
    width: 84px;
    height: 84px;
    font-size: 27px;
  }

  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-text p {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# ≥ 1200px
--------------------------------------------------------------*/
@media (min-width: 1200px) {
  .casino-card {
    grid-template-columns: minmax(280px, 1.4fr) minmax(230px, 1fr) minmax(260px, 1.05fr) 210px;
    column-gap: 30px;
  }

  .cc-name {
    font-size: 21px;
  }
}

/*--------------------------------------------------------------
# Reduced motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
