/* =========================================================
   FisherFarm — дизайн-система v2
   Идея: уйти от типового "тёмный фон + золото-фиолетовый неон"
   в сторону редакционного нео-брутализма — плотные обводки,
   жёсткие смещённые тени вместо блюра/свечения, один яркий
   акцент (кислотный лайм) + коралл для предупреждений.
   ========================================================= */

:root {
  --bg: #0b0b0d;
  --bg-soft: #131316;
  --surface: #17171b;
  --surface-2: #1e1e24;
  --border: #2c2c33;
  --border-strong: #3a3a44;
  --text: #f5f5f2;
  --text-muted: #a3a3ad;
  --text-faint: #6b6b76;

  --accent: #d4ff3f;
  --accent-ink: #0b0b0d;
  --accent-2: #ff5470;
  --accent-3: #ffb92e;
  --info: #6fd7ff;
  --success: #3ddc84;

  --shadow-sm: 3px 3px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 5px 5px 0 rgba(0, 0, 0, 0.55);
  --shadow-lg: 8px 8px 0 rgba(0, 0, 0, 0.55);
  --shadow-accent: 5px 5px 0 var(--accent);

  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --container: 1180px;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

code {
  font-family: var(--font-mono);
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.eyebrow::before {
  content: "// ";
  color: var(--text-faint);
}

/* ---------- Icons ---------- */
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent-ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, opacity 0.12s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
}

.btn--primary:active {
  transform: translate(0, 0);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.6);
}

.btn--secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  transform: translate(-2px, -2px);
  border-color: var(--accent);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border);
}

.btn--ghost:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

.btn--link {
  background: transparent;
  color: var(--accent);
  border: none;
  padding: 8px 4px;
  box-shadow: none;
}

.btn--link:hover {
  text-decoration: underline;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 2px solid var(--border-strong);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-ink);
  box-shadow: var(--shadow-sm);
}

.brand__mark .icon {
  width: 20px;
  height: 20px;
}

.brand__name .hl {
  color: var(--accent);
}

.site-nav ul {
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background: var(--surface-2);
  color: var(--text);
}

.site-nav a.is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 10px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 52px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  max-width: 880px;
  margin: 0 auto 18px;
}

.hero h1 .accent {
  color: var(--accent);
  position: relative;
}

.hero p.lead {
  max-width: 620px;
  margin: 0 auto 30px;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-stats .stat {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  box-shadow: var(--shadow-sm);
}

.hero-stats .stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 26px;
  color: var(--accent);
}

.hero-stats .stat span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 60px 0 40px;
  border-bottom: 2px solid var(--border-strong);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 760px;
}

.page-hero p.lead {
  max-width: 680px;
  font-size: 16.5px;
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 14px;
}

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

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

/* ---------- Methodology / guide grids ---------- */
.method-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.method-card,
.guide-card {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: block;
}

.method-card:hover,
.guide-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.method-card h3,
.guide-card h3 {
  font-size: 17px;
}

.method-card p,
.guide-card p {
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 28px;
}

.filter-bar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-right: 4px;
}

.filter-chip {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-chip:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

.filter-chip.is-active {
  background: var(--accent);
  border-color: var(--accent-ink);
  color: var(--accent-ink);
}

.filter-bar__spacer {
  flex: 1;
}

.filter-select {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
}

.filter-reset {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.filter-reset:hover {
  color: var(--accent-2);
}

.filter-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-faint);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  display: none;
}

.filter-empty.is-visible {
  display: block;
}

/* ---------- Score gauge ---------- */
.score-gauge {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.score-gauge svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-gauge circle {
  fill: none;
  stroke-width: 4.5;
}

.score-gauge .track {
  stroke: var(--border-strong);
}

.score-gauge .value {
  stroke: var(--accent);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}

.score-gauge__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.score-gauge--lg {
  width: 76px;
  height: 76px;
}

.score-gauge--lg .score-gauge__num {
  font-size: 18px;
}

/* ---------- Podium (top 3) ---------- */
.podium {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 36px;
}

.podium-card {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: transform 0.15s ease;
}

.podium-card:hover {
  transform: translateY(-4px);
}

.podium-card--gold {
  order: 2;
  border-color: var(--accent);
  padding-top: 40px;
  box-shadow: var(--shadow-accent);
}

.podium-card--silver {
  order: 1;
}

.podium-card--bronze {
  order: 3;
}

.podium-card__crown {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--accent-ink);
  border: 2px solid var(--accent-ink);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.podium-card__rank {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.podium-card__logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--accent-ink);
  border: 2px solid var(--accent-ink);
}

.podium-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.podium-card .score-gauge {
  margin: 0 auto 12px;
}

.podium-card__bonus {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-3);
  margin-bottom: 14px;
  min-height: 32px;
}

.podium-card .btn {
  width: 100%;
  margin-bottom: 8px;
}

/* ---------- Casino rows (rank 4+) ---------- */
.casino-row {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
  scroll-margin-top: 96px;
}

.casino-row:hover {
  border-color: var(--accent);
}

.casino-row__main {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
}

.casino-row__rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-faint);
  font-size: 14px;
  width: 26px;
}

.casino-row__logo {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent-ink);
  border: 2px solid var(--accent-ink);
  flex-shrink: 0;
}

.casino-row__name {
  font-size: 16px;
  margin-bottom: 3px;
}

.casino-row__meta {
  font-size: 13px;
  color: var(--text-faint);
}

.casino-row__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.casino-row__cta-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-faint);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.compare-label--center {
  justify-content: center;
  margin-top: 6px;
}

.compare-label input {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}

.compare-label input:disabled {
  opacity: 0.4;
}

.details-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.is-open > .details-panel {
  max-height: 600px;
  border-top: 2px solid var(--border-strong);
}

.podium-card.is-open > .details-panel {
  margin-top: 14px;
  padding-top: 14px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-soft);
}

.details-grid--stack {
  grid-template-columns: 1fr;
  padding: 0;
  background: transparent;
  text-align: left;
  gap: 14px;
}

.details-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.list-check li,
.list-cross li,
.list-plain li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  margin-bottom: 8px;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

.list-cross li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 800;
}

.list-plain li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.pay-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}

.casino-row__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

/* ---------- Compare tray + modal ---------- */
.compare-tray {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: var(--surface);
  border-top: 2px solid var(--accent);
  padding: 14px 0;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.compare-tray.is-visible {
  transform: translateY(0);
}

.compare-tray .container {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-tray__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
  white-space: nowrap;
}

.compare-tray__items {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.compare-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  padding: 5px 8px 5px 12px;
  font-size: 13px;
  font-weight: 600;
}

.compare-chip button {
  background: var(--border-strong);
  border: none;
  color: var(--text);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 6, 8, 0.88);
}

.modal-card {
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.modal-card--narrow {
  max-width: 440px;
  text-align: center;
}

.modal-card__close {
  float: right;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 10px;
}

.compare-table th,
.compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.compare-table th:first-child,
.compare-table td:first-child {
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.compare-table td {
  color: var(--text-muted);
}

/* =========================================================
   Age gate / generic dialogs (matches new theme)
   ========================================================= */
html.age-gate-locked,
html.age-gate-locked body {
  overflow: hidden;
  height: 100%;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 6, 8, 0.92);
}

.age-gate__card {
  max-width: 440px;
  width: 100%;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-accent);
}

.age-gate__badge {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  margin: 0 auto 18px;
  background: var(--accent);
  border: 2px solid var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent-ink);
}

.age-gate__card h2 {
  font-size: 21px;
}

.age-gate__card p {
  font-size: 14px;
}

.age-gate__question {
  font-weight: 700;
  color: var(--text) !important;
  font-size: 16px !important;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 14px;
}

.age-gate__note {
  font-size: 12px !important;
  color: var(--text-faint) !important;
  margin: 0 !important;
}

/* ---------- Quiz ---------- */
.quiz-card {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.quiz-progress__dot {
  height: 4px;
  flex: 1;
  background: var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}

.quiz-progress__dot.is-done,
.quiz-progress__dot.is-active {
  background: var(--accent);
}

.quiz-step__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.quiz-step h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-option {
  text-align: left;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text);
  transition: all 0.15s ease;
}

.quiz-option:hover {
  border-color: var(--accent);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-sm);
}

.quiz-option strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.quiz-option span {
  font-size: 12.5px;
  color: var(--text-faint);
}

.quiz-back {
  margin-top: 18px;
}

.quiz-result {
  text-align: center;
}

.quiz-result__eyebrow {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.quiz-result__card {
  background: var(--surface-2);
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 18px 0;
  text-align: left;
  display: flex;
  gap: 16px;
  align-items: center;
}

.quiz-result__logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-ink);
  flex-shrink: 0;
}

.quiz-result__info h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.quiz-result__info p {
  font-size: 13.5px;
  margin: 0;
}

.quiz-result__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Calculator (strategies.html) ---------- */
.calculator {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.calculator__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-field .calc-hint {
  font-size: 12px;
  color: var(--text-faint);
}

.calc-field input[type="number"],
.calc-field input[type="range"] {
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
}

.calc-field input[type="number"]:focus {
  outline: none;
  border-color: var(--accent);
}

.calculator__output {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed var(--border-strong);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.calc-output {
  background: var(--bg-soft);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
}

.calc-output strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 4px;
}

.calc-output span {
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- Generic content sections (guide pages) ---------- */
.content-block {
  max-width: 820px;
  margin: 0 auto 56px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 19px;
  margin: 24px 0 10px;
}

.content-block ul.bullet li,
.content-block ol.numbered li {
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 4px;
}

.content-block ul.bullet {
  list-style: disc;
  padding-left: 22px;
}

.content-block ol.numbered {
  list-style: decimal;
  padding-left: 22px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.callout {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 2px solid var(--border-strong);
  border-left: 4px solid var(--border-strong);
  background: var(--surface);
  margin: 20px 0;
}

.callout--warning {
  border-color: var(--accent-2);
}

.callout--info {
  border-color: var(--info);
}

.callout--success {
  border-color: var(--success);
}

.callout strong {
  color: var(--text);
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  margin: 20px 0;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14.5px;
}

.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table th {
  background: var(--surface-2);
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td {
  color: var(--text-muted);
}

/* ---------- Strategy cards ---------- */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.strategy-card {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.strategy-card h3 {
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.strategy-card .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid currentColor;
}

.tag--risk-high {
  color: var(--accent-2);
}

.tag--risk-medium {
  color: var(--accent-3);
}

.tag--risk-low {
  color: var(--success);
}

/* ---------- Sidebar widget ---------- */
.layout-with-aside {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.aside-widget {
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow-sm);
}

.aside-widget h3 {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  margin-bottom: 16px;
}

.top-widget__item + .top-widget__item {
  margin-top: 10px;
}

.top-widget__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.top-widget__link:hover {
  border-color: var(--accent);
}

.top-widget__rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-faint);
  width: 16px;
  font-size: 13px;
}

.podium-card__logo,
.casino-row__logo,
.quiz-result__logo,
.top-widget__logo {
  position: relative;
  overflow: hidden;
}

.logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.top-widget__logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-ink);
  border: 2px solid var(--accent-ink);
  flex-shrink: 0;
}

.top-widget__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.top-widget__name {
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-widget__score {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
}

.aside-widget .btn {
  margin-top: 18px;
}

/* ---------- Responsible gambling banner ---------- */
.responsible-banner {
  background: var(--surface);
  border: 2px solid var(--accent-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.responsible-banner__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255, 84, 112, 0.12);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-2);
}

.responsible-banner h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.responsible-banner p {
  margin: 0;
  font-size: 14px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 2px solid var(--border-strong);
  padding: 56px 0 28px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

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

.footer-grid a {
  color: var(--text-muted);
  font-size: 14px;
}

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

.footer-disclaimer {
  font-size: 12.5px;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--accent-2);
  color: var(--accent-2);
  font-weight: 800;
  font-size: 12px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .two-col {
    grid-template-columns: 1fr;
  }

  .layout-with-aside {
    grid-template-columns: 1fr;
  }

  .aside-widget {
    position: static;
  }

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

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

  .podium-card--gold,
  .podium-card--silver,
  .podium-card--bronze {
    order: 0;
  }

  .calculator__grid,
  .calculator__output {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 2px solid var(--border-strong);
    padding: 12px;
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 30;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 760px) {
  .casino-row__main {
    grid-template-columns: 1fr;
  }

  .casino-row__cta {
    align-items: flex-start;
    width: 100%;
  }

  .casino-row__cta-buttons {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .method-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .responsible-banner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

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

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .quiz-card {
    padding: 22px;
  }

  .quiz-result__card {
    flex-direction: column;
    text-align: center;
  }

  .filter-bar {
    justify-content: flex-start;
  }
}
