/* DanskCasinoTjek — Nordic editorial
   Paper background, ink type, Danish red as the single accent.
   Display: Bricolage Grotesque · Body: Inter */

:root {
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --surface: #ffffff;
  --ink: #14161a;
  --ink-2: #474b54;
  --ink-3: #767b85;
  --line: #e2ded4;
  --line-2: #d3cec2;
  --red: #c8102e;
  --red-dark: #a00c24;
  --red-soft: #fbe9ec;
  --green: #1d7a4b;
  --green-soft: #e5f3eb;
  --star: #e2a100;
  --night: #14161a;
  --night-2: #1f2228;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 4px 16px rgba(20, 22, 26, .06);
  --shadow-lg: 0 2px 4px rgba(20, 22, 26, .06), 0 12px 32px rgba(20, 22, 26, .10);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
ul, ol { list-style: none; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-dark); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.015em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn-ghost { background: none; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); text-decoration: underline; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; color: var(--red); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; text-align: left; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Badges ---------- */
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: 11px; padding: 2px 7px; border-radius: 4px; letter-spacing: .03em; flex-shrink: 0;
}
.age-badge-lg { font-size: 16px; padding: 8px 10px; border-radius: 8px; }
.badge-outline { font-size: 12px; padding: 3px 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 4px; color: #c9ccd2; text-decoration: none; }
.badge-outline:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.ad-tag { display: inline-block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 1px 5px; border-radius: 3px; background: var(--paper-2); color: var(--ink-3); }
.licence-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); flex-shrink: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; padding: 3px 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.tag-list-lg .tag { font-size: 14px; padding: 6px 12px; }
.score-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.score-pill-lg { font-size: 22px; padding: 6px 12px; border-radius: 8px; }

/* Stars: grey base, gold overlay clipped to the score width */
.stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; color: #d6d2c8; }
.stars::before { content: '★★★★★'; }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.stars-fill::before { content: '★★★★★'; }
.stars-lg { font-size: 22px; }

/* ---------- Age ribbon + header ---------- */
.age-ribbon {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px;
  padding: 6px 20px; background: var(--night); color: #b9bdc6; font-size: 12.5px; text-align: center;
}
.age-ribbon a { color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
/* Mark: a small Dannebrog-style cross with a check notch */
.logo-mark {
  width: 28px; height: 22px; border-radius: 4px; background: var(--red); position: relative;
  background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
  background-size: 100% 4px, 4px 100%; background-position: 0 9px, 9px 0; background-repeat: no-repeat;
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.logo-text b { color: var(--red); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link { padding: 8px 12px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-link:hover { color: var(--ink); background: var(--paper); }
.nav-link.active { color: var(--ink); background: var(--paper-2); }
.nav-link-rg { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }
.lang-code { font-family: var(--font-display); }
.lang-name { color: var(--ink-3); font-weight: 500; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--night);
  /* Faint Nordic cross in the background */
  background-image:
    linear-gradient(90deg, transparent 0 calc(34% - 40px), rgba(200,16,46,.16) calc(34% - 40px) calc(34% + 40px), transparent calc(34% + 40px)),
    linear-gradient(180deg, transparent 0 calc(50% - 40px), rgba(200,16,46,.16) calc(50% - 40px) calc(50% + 40px), transparent calc(50% + 40px)),
    radial-gradient(ellipse at 80% 0%, #2a2e36 0%, var(--night) 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); font-size: 13px; color: #d7dae0; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em; max-width: 14ch; }
.hero-sub { margin-top: 18px; font-size: 18px; color: #b9bdc6; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.hero-stats > div { background: rgba(20,22,26,.85); padding: 22px; display: flex; flex-direction: column-reverse; gap: 4px; }
.hero-stats dt { font-size: 13px; color: #9ea3ad; }
.hero-stats dd { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.hero-stats .dd-sm { font-size: 18px; line-height: 1.3; padding-top: 10px; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0 72px; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 32px; max-width: 680px; }
.section-head h2, .h-display { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }

.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 36px 0 40px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; margin-top: 10px; }
.page-sub { margin-top: 10px; color: var(--ink-2); font-size: 18px; max-width: 62ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); text-decoration: underline; }

/* ---------- Casino card ---------- */
.card-list { display: grid; gap: 18px; }
.casino-card {
  position: relative; display: grid; grid-template-columns: 52px 168px 1fr 210px; gap: 24px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s;
}
.casino-card::before { content: ''; position: absolute; left: -1px; top: 20px; bottom: 20px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.casino-card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.cc-rank { width: 44px; height: 44px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.casino-card:first-child .cc-rank { background: var(--red); color: #fff; }
.cc-logo { display: grid; place-items: center; height: 84px; border-radius: var(--radius); background: var(--accent); padding: 12px; }
.cc-logo img { max-height: 56px; width: auto; }
.cc-body { min-width: 0; display: grid; gap: 10px; }
.cc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.cc-name { font-size: 24px; font-weight: 700; }
.cc-name a { color: var(--ink); text-decoration: none; }
.cc-name a:hover { color: var(--red); }
.cc-score { display: inline-flex; align-items: center; gap: 8px; }
.licence-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--ink-2); }
.licence-line a { font-weight: 600; }
.cc-bonus { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 14px; border-radius: 8px; background: var(--red-soft); }
.cc-bonus-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.cc-bonus strong { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.cc-bonus-meta { font-size: 13px; color: var(--ink-2); margin-left: auto; }
.cc-summary { font-size: 14.5px; color: var(--ink-2); }
.cc-specs { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; }
.cc-specs li { display: flex; flex-direction: column; }
.cc-specs span { color: var(--ink-3); }
.cc-specs b { font-weight: 600; }
.cc-actions { display: grid; gap: 10px; }
.cc-terms { font-size: 11.5px; color: var(--ink-3); line-height: 1.5; }

/* ---------- Criteria ---------- */
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: c; }
.criteria-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.criteria-num { font-family: var(--font-display); font-weight: 800; color: var(--red); font-size: 14px; letter-spacing: .04em; }
.criteria-card h3 { font-size: 19px; margin: 8px 0 6px; }
.criteria-card p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- Licence split ---------- */
.licence-split { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.licence-seal { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.licence-seal:hover { border-color: var(--green); color: var(--green); }
.licence-points { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.licence-points li { border-top: 2px solid var(--ink); padding-top: 14px; }
.licence-points h3 { font-size: 18px; margin-bottom: 6px; }
.licence-points p { color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- RG strip ---------- */
.rg-strip { background: var(--surface); border-top: 1px solid var(--line); padding: 26px 0; }
.rg-strip-inner { display: flex; align-items: center; gap: 18px; }
.rg-strip-inner p { color: var(--ink-2); font-size: 14.5px; }
.rg-strip-links { display: flex; gap: 8px; margin-left: auto; flex-shrink: 0; }

/* ---------- Reviews toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 28px; margin-bottom: 24px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.toolbar label > span, .chip-group legend { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 6px; }
.toolbar select { padding: 8px 36px 8px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23474b54' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; }
.chip-group { border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-group legend { width: 100%; float: left; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; background: var(--surface); transition: background .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.empty { padding: 40px; text-align: center; color: var(--ink-3); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* ---------- Review page ---------- */
.review-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 36px 0; position: relative; }
.review-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--accent); }
.review-hero-inner { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.review-hero-logo { height: 140px; border-radius: var(--radius-lg); background: var(--accent); display: grid; place-items: center; padding: 20px; }
.review-hero-info { display: grid; gap: 12px; }
.review-hero h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; }
.h1-suffix { color: var(--ink-3); font-weight: 600; }
.review-score { display: flex; align-items: center; gap: 14px; }
.score-big { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1; }
.score-big small { font-size: 18px; color: var(--ink-3); font-weight: 600; }
.verify-link { font-size: 13px; padding: 3px 9px; border: 1px solid var(--green); color: var(--green) !important; border-radius: 999px; text-decoration: none; }
.verify-link:hover { background: var(--green-soft); }
.verified-line { font-size: 13px; color: var(--ink-3); }

.review-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-top: 40px; padding-bottom: 72px; align-items: start; }
.review-body > h2 { font-size: 26px; font-weight: 700; margin: 40px 0 14px; }
.review-body .lead { font-size: 17px; color: var(--ink-2); }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.bonus-box { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.bonus-box h2 { font-size: 26px; font-weight: 800; }
.bonus-box > p { color: var(--ink-2); }
.bonus-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.bonus-meta > div { background: var(--paper); padding: 12px 14px; display: flex; flex-direction: column-reverse; }
.bonus-meta dt { font-size: 12px; color: var(--ink-3); }
.bonus-meta dd { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.bonus-meta-compact { grid-template-columns: repeat(3, 1fr); }
.bonus-calc-line { font-size: 14px; color: var(--ink-2); padding-left: 12px; border-left: 3px solid var(--star); }
.bonus-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.score-bars { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.score-bars li { display: grid; grid-template-columns: 160px 1fr 40px; gap: 14px; align-items: center; font-size: 15px; }
.sb-track { height: 8px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.sb-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--red), #e8475f); border-radius: 99px; }
.sb-val { font-family: var(--font-display); font-weight: 700; text-align: right; }

.info-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.info-table > div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.info-table > div:last-child { border-bottom: 0; }
.info-table > div:nth-child(even) { background: var(--paper); }
.info-table dt { color: var(--ink-3); }
.info-table dd { font-weight: 500; overflow-wrap: anywhere; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pros, .cons { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.pros h3, .cons h3 { font-size: 18px; margin-bottom: 12px; }
.pros h3 { color: var(--green); }
.cons h3 { color: var(--red); }
.pros li, .cons li { position: relative; padding-left: 26px; margin-bottom: 9px; font-size: 15px; }
.pros li::before, .cons li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; }
.pros li::before { content: '✓'; background: var(--green-soft); color: var(--green); }
.cons li::before { content: '–'; background: var(--red-soft); color: var(--red); }

.verdict { margin-top: 40px; padding: 28px; border-radius: var(--radius-lg); background: var(--night); color: #d7dae0; display: grid; gap: 14px; justify-items: start; }
.verdict h2 { color: #fff; font-size: 26px; }
.fine-print { margin-top: 18px; font-size: 13px; color: var(--ink-3); }

.review-sidebar { display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 12px; }
.side-sticky { position: sticky; top: 84px; }
.side-title { font-size: 17px; font-weight: 700; }
.side-score { display: flex; align-items: center; gap: 12px; }
.side-facts { display: grid; gap: 8px; font-size: 14px; }
.side-facts li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.side-facts span { color: var(--ink-3); }
.side-facts b { text-align: right; font-weight: 600; }
.side-others a { display: flex; align-items: center; gap: 10px; padding: 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.side-others a:hover { background: var(--paper); }
.side-others img { width: 64px; height: 26px; object-fit: contain; background: var(--night); border-radius: 4px; padding: 3px; }
.side-others .score-pill { margin-left: auto; }
.side-rg p { font-size: 14px; color: var(--ink-2); }
.side-rg a { font-size: 14px; font-weight: 600; }

/* ---------- Bonuses ---------- */
.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 18px; }
.bonus-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius-lg); padding: 22px; display: grid; gap: 12px; align-content: start; box-shadow: var(--shadow); }
.bonus-card-head { display: flex; align-items: center; gap: 14px; }
.bonus-card-head img { width: 96px; height: 44px; object-fit: contain; background: var(--accent); border-radius: 8px; padding: 6px; }
.bonus-card-head h2 { font-size: 20px; }
.bonus-card-headline { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.2; }
.bonus-card-terms { font-size: 14px; color: var(--ink-2); }
.bonus-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bonus-card-actions .btn { flex: 1; }

.calc-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.calc-intro p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.calc-note { font-size: 14px !important; padding: 10px 14px; background: var(--surface); border-left: 3px solid var(--green); border-radius: 0 8px 8px 0; }
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: var(--shadow); }
.calc label > span, .calc legend { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.calc input[type="number"] { width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); font-variant-numeric: tabular-nums; }
.calc input[type="number"]:focus { border-color: var(--ink); background: var(--surface); outline: none; }
.calc-base { grid-column: 1 / -1; border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.calc-base legend { width: 100%; float: left; }
.calc-out { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.calc-out > div { background: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.calc-out span { font-size: 12px; color: var(--ink-3); }
.calc-out b { font-family: var(--font-display); font-size: 20px; font-variant-numeric: tabular-nums; }
.calc-out-main { background: var(--night) !important; }
.calc-out-main span { color: #9ea3ad; }
.calc-out-main b { color: #fff; font-size: 24px; }
.calc-warn { grid-column: 1 / -1; padding: 10px 14px; border-radius: 8px; background: var(--red-soft); color: var(--red-dark); font-size: 14px; font-weight: 500; }

.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guide-card { border-top: 2px solid var(--ink); padding-top: 14px; }
.guide-card h3 { font-size: 18px; margin-bottom: 6px; }
.guide-card p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Compare table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.compare-table th, .compare-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table tbody th { color: var(--ink-3); font-weight: 500; width: 200px; background: var(--paper); position: sticky; left: 0; }
.compare-table thead th { background: var(--surface); }
.compare-table thead th:first-child { color: var(--ink-3); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; position: sticky; left: 0; background: var(--paper); }
.ct-brand { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.ct-brand img { width: 120px; height: 48px; object-fit: contain; background: var(--accent); border-radius: 8px; padding: 6px; }
.ct-brand:hover { color: var(--red); }
.ct-highlight td, .ct-highlight th { background: var(--red-soft) !important; }

/* ---------- Prose / text pages ---------- */
.prose { display: grid; gap: 4px; }
.prose-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.prose-block:last-of-type { border-bottom: 0; }
.prose-block h2 { font-size: 22px; margin-bottom: 8px; }
.prose-block p { color: var(--ink-2); font-size: 16.5px; }
.prose-num { color: var(--red); }
.prose-contact { margin-top: 16px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Responsible ---------- */
.rg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.rg-aside { display: grid; gap: 16px; position: sticky; top: 84px; }
.helpline-card { display: grid; gap: 4px; padding: 24px; border-radius: var(--radius-lg); background: var(--night); color: #fff; text-decoration: none; }
.helpline-card:hover { color: #fff; background: var(--night-2); }
.helpline-label { font-size: 13px; color: #9ea3ad; }
.helpline-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -0.01em; }
.helpline-hours { font-size: 13px; color: #b9bdc6; }
.resource-list { display: grid; gap: 4px; }
.resource-list a { display: grid; padding: 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; }
.resource-list a:hover { background: var(--paper); }
.resource-list b { color: var(--ink); }
.resource-list span { font-size: 14px; color: var(--ink-3); }
.selftest { margin-top: 28px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.selftest h2 { font-size: 22px; }
.selftest > p { color: var(--ink-2); margin-top: 4px; }
.selftest ol { margin-top: 18px; display: grid; gap: 14px; counter-reset: q; }
.selftest li { counter-increment: q; }
.selftest fieldset { border: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.selftest legend { width: 100%; float: left; font-weight: 500; margin-bottom: 8px; }
.selftest legend::before { content: counter(q) '. '; color: var(--red); font-weight: 700; }
.selftest-result { margin-top: 18px; padding: 14px 16px; border-radius: 8px; font-weight: 500; }
.selftest-ok { background: var(--green-soft); color: var(--green); }
.selftest-warn { background: var(--red-soft); color: var(--red-dark); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-note { font-size: 14px; color: var(--ink-3); padding: 0 4px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--red); background: var(--red-soft); }
.field-error { color: var(--red-dark); font-size: 13px; font-weight: 500; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--red); flex-shrink: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 8px; font-weight: 500; margin-bottom: 18px; }
.alert-success { background: var(--green-soft); color: var(--green); }
.alert-error { background: var(--red-soft); color: var(--red-dark); }

/* ---------- Cookie settings ---------- */
.cookie-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle-row h2 { font-size: 18px; margin-bottom: 4px; }
.toggle-row p { font-size: 14px; color: var(--ink-2); }
.always-on { font-size: 13px; font-weight: 600; color: var(--green); white-space: nowrap; }
.switch { appearance: none; width: 46px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; cursor: pointer; flex-shrink: 0; transition: background .2s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(20px); }
.cookie-form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 24px; background: var(--paper); }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .hero-ctas { justify-content: center; }
.notfound-code { font-family: var(--font-display); font-weight: 800; font-size: 120px; line-height: 1; color: var(--red); letter-spacing: -0.04em; }
.notfound h1 { font-size: 36px; margin: 10px 0; }
.notfound p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #9ea3ad; padding: 56px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.logo-footer, .logo-footer:hover { color: #fff; }
.footer-brand p { margin: 14px 0; max-width: 32ch; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.footer-col h2 { font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: #c9ccd2; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-help p { margin-bottom: 12px; }
.footer-help .helpline { margin-top: 14px; color: #fff; font-weight: 600; }
.footer-help .helpline a { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.disclaimer { font-size: 13px; color: #767b85; max-width: 90ch; }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; font-size: 13px; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line-2); box-shadow: 0 -8px 32px rgba(20,22,26,.12); padding: 16px 0; }
.cookie-inner { display: flex; align-items: center; gap: 20px; }
.cookie-inner p { font-size: 14px; color: var(--ink-2); flex: 1; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }

/* ---------- Reveal on scroll (JS adds .reveal) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .casino-card { grid-template-columns: 44px 140px 1fr; }
  .cc-actions { grid-column: 2 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
  .cc-terms { grid-column: 1 / -1; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header { backdrop-filter: none; background: var(--surface); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; height: 100vh; height: 100dvh; z-index: 49; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px 20px; background: var(--surface); margin: 0;
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y: auto;
  }
  .main-nav.open { opacity: 1; transform: none; visibility: visible; }
  body.nav-open .cookie-banner { display: none; }
  .nav-link { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-link-rg { display: block; color: var(--red); }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hero-inner, .licence-split, .calc-wrap, .review-layout, .rg-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
  .criteria-grid { grid-template-columns: 1fr 1fr; }
  .review-hero-inner { grid-template-columns: 160px 1fr; gap: 24px; }
  .review-hero-logo { height: 110px; }
  .side-sticky, .rg-aside { position: static; }
  .rg-strip-inner { flex-wrap: wrap; }
  .rg-strip-links { margin-left: 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section-tight { padding: 28px 0 52px; }
  .lang-name { display: none; }
  .logo-text { font-size: 18px; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .hero-stats > div { padding: 16px; }
  .hero-stats dd { font-size: 28px; }
  .hero-ctas .btn { flex: 1; }
  .casino-card { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .cc-rank { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; font-size: 15px; z-index: 1; }
  .cc-logo { height: 76px; }
  .cc-actions { grid-column: auto; grid-template-columns: 1fr; }
  .cc-bonus-meta { margin-left: 0; width: 100%; }
  .criteria-grid, .licence-points, .pros-cons, .guide-grid, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .review-hero-inner { grid-template-columns: 1fr; }
  .review-hero-logo { height: 96px; max-width: 240px; }
  .bonus-meta { grid-template-columns: 1fr 1fr; }
  .bonus-meta-compact { grid-template-columns: repeat(3, 1fr); }
  .score-bars li { grid-template-columns: 1fr 40px; gap: 6px 12px; }
  .sb-track { grid-column: 1 / -1; grid-row: 2; }
  .info-table > div { grid-template-columns: 1fr; gap: 2px; }
  .bonus-grid { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; padding: 18px; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-out-main { grid-column: 1 / -1; }
  .compare-table tbody th { width: 130px; }
  .form-card { padding: 20px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-actions .btn { flex: 1; }
  .toggle-row { padding: 18px; }
}
