/* ============================================================
   Crypto & Bitcoin Casinos in Canada — static template
   Figma: "design bitcoin review in Canada" (I0FEWz6SYUafQJJyer4BiB)
   Breakpoints: desktop 1920 / tablet 910 / mobile 375
   ============================================================ */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/fonts/PlusJakartaSans-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #F8FAFC;
  --bg-blocks: #FFFFFF;
  --header: #0E1420;
  --btn: #F7931A;
  --btn-hover: #E37C00;
  --btn-active: #FFAF4D;
  --btn-disabled: #E5E5E5;
  --accent: #14B8A6;
  --danger: #E82828;
  --txt: #0E1420;
  --txt-soft: #1A2E35;
  --line: #E7EBF0;
  --hero-band: #F0F5FF;
  --radius: 10px;
  --radius-btn: 5px;
  --container: 860px;
  --pad: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: var(--txt);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }

.container {
  max-width: calc(var(--container) + 2 * var(--pad));
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Typography ---------- */
h1 { font-size: 48px; line-height: 1.2; font-weight: 600; }
h2 { font-size: 32px; line-height: 1.25; font-weight: 600; }
h3 { font-size: 24px; line-height: 1.25; font-weight: 600; }

.section { padding: 56px 0 0; }
.section-lead { margin-top: 12px; font-size: 16px; line-height: 1.2; color: var(--txt-soft); max-width: 804px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-btn);
  background: var(--btn);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
  transition: background .15s ease;
  /* нельзя nowrap: длинные FR-тексты («Réclamer le bonus», «Découvrir les
     machines à sous Bitcoin») вылезали за карточки рейтинга и cat-card */
  white-space: normal;
  text-align: center;
  max-width: 100%;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { background: var(--btn-active); }
.btn:disabled { background: var(--btn-disabled); color: #9AA1A9; cursor: default; }
.btn .chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); flex: 0 0 auto; }

.btn-ghost {
  background: var(--bg-blocks);
  color: var(--txt);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: #F1F4F8; }
.btn-ghost:active { background: #E8ECF1; }

.link-more {
  color: var(--btn);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-more:hover { color: var(--btn-hover); }
.link-more .arr { font-weight: 400; }

/* ---------- Header ---------- */
.site-header {
  background: var(--header);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}

.logo { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.logo img { width: 44px; height: 41px; }
.logo-text { font-weight: 800; font-size: 15px; line-height: 1.05; letter-spacing: .2px; }
.logo-text .l1 { color: var(--accent); }
.logo-text .l2 { color: #F8FAFC; }
.logo-text .l2 b { color: var(--btn); font-weight: 800; }
.logo-text .l3 {
  color: #F8FAFC; font-size: 8.5px; letter-spacing: 1px;
  display: flex; align-items: center; gap: 4px; margin-top: 2px;
}
.logo-text .l3::before, .logo-text .l3::after {
  content: ''; height: 2px; width: 15px; background: var(--accent); border-radius: 13px;
}

/* пункты растянуты на всю высоту шапки: дропдаун ложится ровно под её низ */
.main-nav { display: flex; gap: 32px; margin-left: 8px; align-self: stretch; }
.main-nav a { font-weight: 500; opacity: .95; }
.main-nav > a, .nav-dd > a { display: flex; align-items: center; }
.main-nav a:hover { color: var(--btn); opacity: 1; }

.lang { margin-left: auto; font-weight: 400; white-space: nowrap; }
.lang .active { color: var(--btn); }
.lang a:hover { color: var(--btn); }

.burger { display: none; margin-left: auto; width: 34px; height: 26px; position: relative; }
.burger span, .burger::before, .burger::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 3px;
  background: var(--accent); border-radius: 2px; transition: .2s;
}
.burger::before { top: 2px; }
.burger span { top: 11px; }
.burger::after { top: 20px; }

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: var(--header);
  padding: 12px 16px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu .mm-head { display: flex; align-items: center; min-height: 50px; }
.mobile-menu .mm-head .lang { margin-left: auto; margin-right: 20px; color: #fff; }
.mm-close { color: #fff; font-size: 30px; line-height: 1; font-weight: 300; }
.mm-list { margin-top: 24px; display: grid; gap: 16px; }
.mm-list a {
  display: block;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 26px;
  color: #fff;
  font-weight: 600;
}
.mm-list a.active { background: var(--btn); border-color: var(--btn); }

/* ---------- Anchor subnav ---------- */
.subnav {
  position: sticky; top: 74px; z-index: 40;
  background: var(--bg);
  padding: 8px 0;
}
.subnav .wrap {
  background: var(--bg-blocks);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(14,20,32,.06);
  display: flex;
  gap: 4px;
  padding: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  padding: 9px 18px;
  border-radius: 22px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--txt-soft);
}
.subnav a.active, .subnav a:hover { background: #EEF2F7; color: var(--txt); }

/* ---------- Hero ---------- */
.hero {
  background: var(--hero-band) url('../assets/img/hero-bg.webp') center/cover no-repeat;
  padding: 32px 0 36px;
  text-align: center;
}
/* топ-3 должны попадать в первый экран */
#top-casinos.section { padding-top: 32px; }
.hero h1 { max-width: 970px; margin: 0 auto; }
.hero p { max-width: 804px; margin: 20px auto 0; }
.hero-chips { margin-top: 28px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-chips a {
  background: var(--bg-blocks);
  padding: 12px 30px;
  border-radius: 24px;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(14,20,32,.05);
}
.hero-chips a:hover { box-shadow: 0 2px 8px rgba(14,20,32,.12); }

/* ---------- Cards base ---------- */
.card {
  background: var(--bg-blocks);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(14,20,32,.06);
  position: relative;
}

/* Ribbon number (corner) */
.ribbon {
  position: absolute; top: 0; left: 0;
  width: 42px; height: 42px;
  overflow: hidden;
  border-top-left-radius: var(--radius);
  pointer-events: none;
}
.ribbon::before {
  content: '';
  position: absolute; top: -21px; left: -21px;
  width: 42px; height: 42px;
  transform: rotate(45deg);
  background: #C85B12;
}
.ribbon.teal::before { background: var(--accent); }
.ribbon i {
  position: absolute; top: 3px; left: 6px;
  font-style: normal; color: #fff; font-weight: 700; font-size: 14px;
}

/* Stars */
.stars { display: inline-flex; align-items: center; gap: 3px; }
.stars .st { width: 14px; height: 14px; display: inline-block; background: var(--btn);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars .st.half { background: linear-gradient(90deg, var(--btn) 50%, #D9DEE4 50%); }
.stars .st.off { background: #D9DEE4; }
.stars .val { margin-left: 6px; font-weight: 700; font-size: 16px; }

/* Meta line (license / since) */
.meta-line { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--txt-soft); }
.meta-line img { width: 14px; height: 14px; }

/* ---------- Top 3 ---------- */
.top3 { display: grid; gap: 20px; margin-top: 28px; }
.top3-card {
  display: grid;
  grid-template-columns: 211px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 16px 14px 10px;
}
.top3-card .brand-logo {
  width: 211px; height: 98px; object-fit: cover; border-radius: 6px;
  margin-left: 2px;
}
.top3-card .t3-name { color: var(--btn); font-weight: 700; font-size: 20px; }
.top3-card .t3-mid { display: grid; gap: 8px; justify-items: start; }
.top3-card .t3-bonus { display: flex; gap: 8px; align-items: flex-start; }
.top3-card .t3-bonus img { width: 16px; height: 16px; margin-top: 1px; }
.top3-card .t3-bonus .lbl { font-size: 14px; color: var(--txt); font-weight: 400; }
.top3-card .t3-bonus .val { font-weight: 700; margin-top: 3px; }
.top3-card .t3-right { display: grid; gap: 26px; justify-items: end; align-self: stretch; padding: 4px 6px; }
.badge-top {
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 5px 12px; border-radius: 5px;
}

/* ---------- Top 10 ranked ---------- */
.ranked { display: grid; gap: 20px; margin-top: 28px; }
.rank-card {
  display: grid;
  grid-template-columns: 190px 1fr 1fr 190px;
  gap: 0;
  padding: 20px;
}
.rank-card > div { padding: 0 20px; }
.rank-card > div:first-child { padding-left: 0; }
.rank-card > div + div { border-left: 1px solid var(--line); }
.rank-card .rc-brand { display: grid; gap: 8px; justify-items: start; align-content: start; }
.rank-card .rc-brand .brand-logo { width: 162px; height: 76px; object-fit: cover; border-radius: 6px; }
.rank-card .rc-name { color: var(--btn); font-weight: 700; font-size: 20px; }
.rc-bonus .lbl { font-size: 11px; }
.rc-bonus .val { color: var(--btn); font-weight: 800; font-size: 20px; margin-top: 5px; }
.rc-bonus .fs { font-size: 11px; font-weight: 700; margin-top: 4px; }
.rc-stats { margin-top: 18px; display: grid; gap: 10px; }
.rc-stats .row {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--line); padding-bottom: 8px;
  font-size: 13px; font-weight: 600;
}
.rc-stats .row img { width: 15px; height: 15px; }
.rc-stats .row .v { margin-left: auto; color: var(--accent); font-weight: 700; }
.rc-pros { display: grid; gap: 12px; align-content: start; }
.rc-pros .p, .rc-pros .c { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 500; }
.rc-pros img { width: 15px; height: 15px; margin-top: -1px; }
.rc-pay { display: grid; align-content: space-between; gap: 16px; }
.rc-pay .lbl { font-size: 14px; font-weight: 500; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons img { width: 21px; height: 21px; border-radius: 50%; object-fit: cover; }
.pay-icons.sq img { width: 24px; height: 24px; border-radius: 5px; }

/* ---------- Expert picks ---------- */
.experts { display: grid; gap: 24px; margin-top: 28px; }
.expert-card { display: grid; grid-template-columns: 240px 1fr; padding: 24px; gap: 0; }
.expert-card .ec-left { padding-right: 24px; display: grid; gap: 10px; justify-items: start; align-content: start; }
.expert-card .ec-left .brand-logo { width: 207px; height: 84px; object-fit: cover; border-radius: 6px; }
.expert-card .ec-left .rc-name { color: var(--btn); font-weight: 700; font-size: 20px; }
.expert-card .ec-left .rc-bonus { margin-top: 4px; }
.expert-card .ec-left .btn { width: 100%; margin-top: 8px; }
.expert-card .read-review { justify-self: center; font-size: 14px; text-decoration: underline; color: var(--txt-soft); }
.expert-card .ec-right { border-left: 1px solid var(--line); padding-left: 24px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs button {
  padding: 10px 20px; border-radius: 22px; font-weight: 600; color: var(--txt-soft);
}
.tabs button.active { background: #EAF0FB; color: var(--txt); }
.tabs button:hover { background: #F1F4F8; }

.tab-pane { display: none; margin-top: 20px; }
.tab-pane.active { display: block; }

.expert-byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.expert-byline .who { font-weight: 700; font-size: 18px; margin-right: auto; }
.expert-byline .ava {
  width: 34px; height: 34px; border-radius: 50%; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.expert-byline .ava img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.expert-byline .name { font-weight: 700; }
.expert-byline .role { color: var(--txt-soft); font-size: 14px; }
.expert-text { margin-top: 14px; display: grid; gap: 10px; line-height: 1.35; color: var(--txt-soft); }

.kpi-row { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.kpi-row .kpi { display: flex; align-items: center; gap: 7px; }
.kpi-row img { width: 16px; height: 16px; }
.kpi-row b { font-weight: 700; }

/* pros&cons inside tabs / page */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.proscons h3 { margin-bottom: 16px; }
.pc-list { display: grid; gap: 14px; }
.pc-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.3; }
.pc-list img { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 auto; }

/* key info table */
.kv-table { width: 100%; border-collapse: collapse; }
.kv-table th, .kv-table td { text-align: left; padding: 14px 16px; vertical-align: top; }
.kv-table th { width: 185px; font-weight: 700; border-right: 1px solid var(--line); }
.kv-table tr + tr th, .kv-table tr + tr td { border-top: 0; }

/* ---------- Sliders (games / categories / providers / screenshots) ---------- */
.slider { position: relative; margin-top: 28px; }
.slider-track {
  display: grid;
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { scroll-snap-align: start; }
.slider-nav { display: flex; justify-content: center; gap: 14px; }
.slider .slider-nav {
  position: absolute; top: 50%; left: -46px; right: -46px;
  justify-content: space-between; transform: translateY(-50%);
  pointer-events: none;
}
.slider .slider-nav button { pointer-events: auto; }
.snav {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
}
.snav:hover { background: var(--accent); color: #fff; }
.snav::after { content: ''; width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-top: 1.7px solid currentColor; transform: rotate(45deg); margin-left: -2px; }
.snav.prev::after { transform: rotate(-135deg); margin-left: 2px; }

/* Game cards */
.game-card { width: 200px; padding: 10px 10px 14px; display: grid; gap: 10px; }
.game-card img.cover { width: 180px; height: 180px; object-fit: cover; border-radius: 6px; justify-self: center; }
.game-card .g-name { font-weight: 700; text-align: center; }
.game-card .g-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.game-card .g-stats .cell { background: var(--bg); border-radius: 4px; padding: 5px 2px; text-align: center; }
.game-card .g-stats .k { font-size: 9px; color: var(--txt-soft); }
.game-card .g-stats .v { font-size: 11px; font-weight: 700; margin-top: 3px; }
.game-card .g-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.game-card .btn { padding: 10px 8px; font-size: 14px; }

/* Category cards */
.cat-card { width: 253px; padding: 10px 10px 16px; display: grid; gap: 12px; align-content: start; }
.cat-card img.cover { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; }
.cat-card h3 { font-size: 18px; font-weight: 700; }
.cat-card p { font-size: 13px; line-height: 1.35; color: var(--txt-soft); }
.cat-card .btn { font-size: 14px; padding: 11px 8px; }

/* Provider cards */
.provider-card { width: 200px; padding: 10px 10px 16px; display: grid; gap: 12px; align-content: start; }
.provider-card img.cover { width: 100%; height: 92px; object-fit: cover; border-radius: 6px; }
.provider-card h3 { font-size: 16px; font-weight: 700; }
.provider-card .link-more { justify-self: start; font-size: 14px; }

/* Screenshots */
.shot-card { width: 273px; padding: 8px; background: #EAF0FB; border-radius: 8px; }
.shot-card img { border-radius: 4px; }

/* ---------- Payment methods table ---------- */
.paytable-wrap { margin-top: 28px; }
.paytable { width: 100%; border-collapse: collapse; background: var(--bg-blocks);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px rgba(14,20,32,.06); }
.paytable th, .paytable td { padding: 14px 16px; text-align: left; vertical-align: middle; font-size: 15px; }
.paytable thead th { font-weight: 700; border-bottom: 1px solid var(--line); }
.paytable td.method { display: flex; align-items: center; gap: 24px; font-weight: 700; }
.paytable td.method img { width: 99px; height: 53px; object-fit: cover; border-radius: 6px; }
.paytable tbody tr + tr td { border-top: 1px solid #F1F4F8; }

/* Mobile payment accordion */
.pay-accordion { display: none; margin-top: 24px; }
.pay-item { border-bottom: 1px solid var(--line); }
.pay-item summary {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 4px; cursor: pointer; list-style: none;
  font-weight: 700;
}
.pay-item summary::-webkit-details-marker { display: none; }
.pay-item summary img { width: 99px; height: 53px; object-fit: cover; border-radius: 6px; }
.pay-item summary::after {
  content: ''; margin-left: auto; width: 9px; height: 9px;
  border-right: 2px solid var(--txt); border-bottom: 2px solid var(--txt);
  transform: rotate(45deg); transition: transform .15s;
}
.pay-item[open] summary::after { transform: rotate(225deg); }
.pay-item .pay-body { padding: 4px 4px 16px; display: grid; gap: 10px; }
.pay-item .pay-body h4 { font-size: 15px; }
.pay-item .pay-body p { color: var(--txt-soft); font-size: 15px; }

/* ---------- SEO text ---------- */
.seo-text { max-width: var(--container); }
/* когда seo-text и есть контейнер — паддинги не должны съедать ширину (иначе сдвиг вправо на 16px) */
.container.seo-text { max-width: calc(var(--container) + 2 * var(--pad)); }
.seo-text h2 { margin-bottom: 20px; }
.seo-text h3 { margin: 28px 0 12px; }
.seo-text p { margin-top: 12px; line-height: 1.35; color: var(--txt-soft); }
.check-list { margin-top: 16px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.3; }
.check-list img { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 28px; display: grid; gap: 16px; }
.faq-item {
  background: var(--bg-blocks);
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(14,20,32,.05);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--txt); border-bottom: 2px solid var(--txt);
  transform: rotate(45deg); transition: transform .15s; margin-top: -4px;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--txt-soft); line-height: 1.35; }

/* ---------- Trust ---------- */
.trust-list { margin-top: 24px; display: grid; gap: 18px; }
.trust-list li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; }
.trust-list img { width: 16px; height: 16px; margin-top: 2px; }
.trust-list b { font-weight: 600; font-size: 17px; }
.trust-list p { margin-top: 6px; color: var(--txt-soft); font-size: 15px; line-height: 1.35; }

/* ---------- Review page ---------- */
.breadcrumbs { padding: 20px 0 4px; font-size: 14px; color: var(--txt-soft); }
.breadcrumbs a { font-weight: 600; color: var(--txt); }
.breadcrumbs a:hover { color: var(--btn); }
.breadcrumbs .sep { margin: 0 6px; }

.review-hero { margin-top: 16px; padding: 24px; display: grid; grid-template-columns: 1fr 310px; gap: 24px; }
.review-hero .rh-left { display: grid; gap: 12px; justify-items: start; align-content: start; }
.review-hero .brand-logo { width: 202px; height: 84px; object-fit: cover; border-radius: 6px; }
.review-hero h1 { font-size: 32px; }
.review-hero .rh-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.review-hero .rc-stats { width: 100%; max-width: 420px; margin-top: 6px; }
.bonus-box {
  background: #EAF0FB; border-radius: var(--radius);
  display: grid; gap: 12px; align-content: center; justify-items: center;
  padding: 28px 20px; text-align: center;
}
.bonus-box .bb-title { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; }
.bonus-box .bb-title img { width: 24px; height: 24px; }
.bonus-box .bb-value { color: var(--accent); font-size: 28px; font-weight: 800; }

.page-tabs { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.page-tabs a {
  background: var(--bg-blocks); border-radius: 22px;
  padding: 11px 22px; font-weight: 600;
  box-shadow: 0 1px 4px rgba(14,20,32,.05);
}
.page-tabs a.active { background: var(--accent); color: #fff; }
.page-tabs a:hover:not(.active) { background: #F1F4F8; }

.rating-card { margin-top: 32px; padding: 24px; }
.rating-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
.rating-row { display: grid; grid-template-columns: 160px 1fr 44px; align-items: center; gap: 14px; font-size: 15px; }
.rating-row .bar { height: 8px; border-radius: 6px; background: #E9EDF2; overflow: hidden; }
.rating-row .bar i { display: block; height: 100%; border-radius: 6px; background: var(--btn); }
.rating-row .rv { font-weight: 700; font-size: 14px; }

/* review cards (Explore latest) */
.review-cards { margin-top: 28px; }
.review-card { width: 273px; padding: 14px; display: grid; gap: 10px; align-content: start; }
.review-card img.cover { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; }
.review-card .rc-name { color: var(--btn); font-weight: 700; font-size: 20px; }
.review-card .visit { text-align: center; font-size: 14px; text-decoration: underline; color: var(--txt-soft); }
.review-card .visit:hover { color: var(--txt); }

.review-screen { margin-top: 28px; padding: 10px 10px 4px; }
.review-screen img { display: block; width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.review-screen figcaption { font-size: 13px; color: var(--txt-soft); text-align: center; padding: 10px 6px; }

/* ---------- 404 ---------- */
.err-section { position: relative; overflow: hidden; padding: 118px 0 140px; background: var(--bg); }
.err-wrap { display: flex; gap: 90px; align-items: flex-start; position: relative; z-index: 1; flex-wrap: wrap; }
.err-code { font-size: 220px; line-height: 1; font-weight: 800; color: var(--accent); }
.err-info { padding-top: 15px; max-width: 380px; }
.err-info .e1 { font-size: 48px; line-height: 1.2; font-weight: 800; color: var(--txt-soft); }
.err-info .e2 { font-size: 48px; line-height: 1.2; font-weight: 600; color: var(--txt-soft); }
.err-info p { margin-top: 20px; line-height: 1.2; color: var(--txt-soft); }
.err-info .btn { margin-top: 28px; }
.err-cursor {
  position: absolute; z-index: 0; left: 6%; top: 40px;
  width: 340px; height: 420px; opacity: .5; filter: blur(14px);
}

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; background: var(--header); color: #fff; padding: 40px 0 56px; }
.site-footer .logo { margin-bottom: 32px; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav > a { font-weight: 500; }
.footer-nav > a:hover { color: var(--btn); }
.footer-col { display: grid; gap: 8px; }
.footer-col .col-title { font-weight: 500; }
.footer-col a { font-weight: 400; opacity: .9; font-size: 15px; line-height: 1.25; }
.footer-col a:hover { color: var(--btn); opacity: 1; }

/* ============================================================
   Tablet <= 1200 (макет 910)
   ============================================================ */
@media (max-width: 1200px) {
  .container { max-width: none; padding-left: 26px; padding-right: 26px; }
  .slider .slider-nav { position: static; transform: none; margin-top: 18px; justify-content: center; gap: 14px; }
  .rank-card { grid-template-columns: 1fr 1fr; gap: 20px; }
  .rank-card > div { padding: 0; }
  .rank-card > div + div { border-left: 0; }
  .rank-card .rc-pay { border-top: 1px solid var(--line); padding-top: 16px; }
  .rank-card .rc-pros { border-top: 1px solid var(--line); padding-top: 16px; }
}

/* ============================================================
   Mobile <= 640 (макет 375)
   ============================================================ */
@media (max-width: 640px) {
  .container { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  .section { padding-top: 44px; }

  .main-nav, .site-header .lang { display: none; }
  .site-header .container { min-height: 50px; }
  .subnav { top: 50px; }
  .burger { display: block; }
  .logo img { width: 36px; height: 34px; }

  .hero { padding: 28px 0 36px; }
  .hero-chips { gap: 10px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding-bottom: 4px; }
  .hero-chips::-webkit-scrollbar { display: none; }
  .hero-chips a { padding: 10px 22px; flex: 0 0 auto; }

  .top3-card {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo bonus" "name btn" "stars btn";
    gap: 10px 14px;
    padding: 14px;
    align-items: center;
  }
  .top3-card .t3-mid, .top3-card .t3-right { display: contents; }
  .top3-card .brand-logo { grid-area: logo; width: 100%; height: 74px; margin-left: 0; }
  .top3-card .t3-bonus { grid-area: bonus; }
  .top3-card .t3-name { grid-area: name; }
  .top3-card .stars { grid-area: stars; }
  .top3-card .t3-right .badge-top { display: none; }
  .top3-card .btn { grid-area: btn; width: 100%; align-self: center; }

  .rank-card { grid-template-columns: 1fr; padding: 16px; }
  .rc-stats { grid-template-columns: 1fr; }

  .expert-card { grid-template-columns: 1fr; padding: 16px; }
  .expert-card .ec-left { padding-right: 0; }
  .expert-card .ec-left .brand-logo { width: 100%; height: 110px; }
  .expert-card .ec-right { border-left: 0; padding-left: 0; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }

  .proscons { grid-template-columns: 1fr; }

  .paytable { display: none; }
  .pay-accordion { display: block; }

  .review-hero { grid-template-columns: 1fr; padding: 16px; }
  .rating-grid { grid-template-columns: 1fr; }
  .rating-row { grid-template-columns: 130px 1fr 40px; }

  .err-section { padding: 60px 0 80px; }
  .err-code { font-size: 120px; }
  .err-info .e1, .err-info .e2 { font-size: 34px; }
  .err-cursor { width: 220px; height: 280px; }

  .footer-nav { flex-direction: column; gap: 18px; }
}

/* ---------- Blog ---------- */
.blog-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { padding: 20px; display: grid; gap: 10px; align-content: start; }
.post-card .post-date { font-size: 13px; color: var(--accent); font-weight: 600; }
.post-card h3 a:hover { color: var(--btn); }
.post-card p { font-size: 14px; line-height: 1.4; color: var(--txt-soft); }
.post-card .link-more { justify-self: start; font-size: 14px; }
.blog-empty { margin-top: 28px; padding: 32px; text-align: center; color: var(--txt-soft); }
.article-body { padding-top: 24px; }
.article-body .post-date { font-size: 14px; color: var(--accent); font-weight: 600; }
.article-body h1 { font-size: 36px; margin-top: 8px; }
.article-toc { margin: 24px 0; padding: 18px 22px; background: var(--bg-blocks); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(14,20,32,.05); }
.article-toc .toc-title { font-weight: 700; margin-bottom: 10px; }
.article-toc ol { padding-left: 20px; display: grid; gap: 6px; }
.article-toc a:hover { color: var(--btn); }
@media (max-width: 1200px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .article-body h1 { font-size: 28px; } }

/* ---------- Rank mini (места 11-18) ---------- */
.ranked-mini { margin-top: 20px; }
.rank-mini {
  display: grid;
  grid-template-columns: 34px 108px 1fr auto auto;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
}
.rank-mini .rm-num { font-weight: 800; font-size: 18px; color: var(--accent); text-align: center; }
.rank-mini .rm-logo { width: 108px; height: 50px; object-fit: cover; border-radius: 6px; }
.rank-mini .rm-info { display: grid; gap: 5px; }
.rank-mini .rc-name { font-size: 17px; }
.rank-mini .rm-bonus { display: grid; gap: 3px; text-align: right; }
.rank-mini .rm-bonus .lbl { font-size: 11px; color: var(--txt-soft); }
.rank-mini .btn { padding: 11px 18px; font-size: 14px; }
@media (max-width: 640px) {
  .rank-mini { grid-template-columns: 26px 90px 1fr; gap: 10px; padding: 12px; }
  .rank-mini .rm-logo { width: 90px; height: 42px; }
  .rank-mini .rm-bonus { grid-column: 2 / -1; text-align: left; }
  .rank-mini .btn { grid-column: 1 / -1; }
}

/* ---------- QA-фиксы 2026-07-12 ---------- */
/* п.14: контентная перелинковка должна быть ВИДНА */
.seo-text p a, .seo-text li a, .faq-body a, .section-lead a {
  color: var(--btn);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.seo-text p a:hover, .seo-text li a:hover, .faq-body a:hover { color: var(--btn-hover); }

/* п.15: check-list — текст течёт, а не столбится */
.check-list li { display: block; position: relative; padding-left: 26px; line-height: 1.35; }
.check-list li > img:first-child { position: absolute; left: 0; top: 3px; }

/* п.8: строки статов не рвутся некрасиво */
.rc-stats .row { flex-wrap: nowrap; }
.rc-stats .row .v { text-align: right; white-space: nowrap; }

/* п.9: бейдж-номинация в карточке рейтинга */
.rc-award {
  display: inline-block;
  background: #E7F7F4;
  color: #0B7D6E;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: .2px;
}

/* п.7: длинные французские бонусы не раздувают карточки */
.t3-bonus .val, .rc-bonus .val, .rm-bonus b, .bb-value { overflow-wrap: anywhere; }
.top3-card, .rank-card, .rank-mini, .expert-card { min-width: 0; }
.top3-card .t3-mid, .rank-card > div { min-width: 0; }

/* ---------- Дропдауны хэдера + футер-дисклеймер (консилиум 2026-07-12) ---------- */
.nav-dd { position: relative; display: flex; }
.nav-dd > a::after {
  content: ''; display: inline-block; margin-left: 6px; width: 6px; height: 6px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.dd-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--header); border-radius: 0 0 8px 8px; padding: 10px 0; min-width: 210px;
  box-shadow: 0 12px 28px rgba(14,20,32,.35); z-index: 60;
}
.nav-dd:hover .dd-menu, .nav-dd:focus-within .dd-menu { display: block; }
.dd-menu a { display: block; padding: 9px 20px; font-weight: 500; font-size: 15px; white-space: nowrap; opacity: .95; }
.dd-menu a:hover { color: var(--btn); opacity: 1; }
.dd-menu .dd-all { border-top: 1px solid rgba(255,255,255,.15); margin-top: 6px; padding-top: 12px; color: var(--accent); font-weight: 600; }
.dd-menu .dd-all:hover { color: var(--btn); }

.footer-note { margin-top: 28px; font-size: 13px; line-height: 1.45; opacity: .75; max-width: 640px; }
.footer-note a { text-decoration: underline; }
.footer-note a:hover { color: var(--btn); }
