/* CazaBonanza homepage, flat edition.
   Rules: solid fills only, no gradients for depth, no shadows, no glow.
   Planes are separated by colour and radius. Body text 16 px, micro text >= 12 px. */


:root {
  --outer: #6f66b2;
  --panel: #24265a;
  --deep: #1c1e4a;
  --surface: #2d2f6b;
  --surface-2: #383b7e;
  --line: #3e4185;
  --text: #f0f1ff;
  --text-2: #c9c7ee;
  --text-3: #a9a6d6;
  --ink: #16183d;
  --peach: #f8c5a0;
  --peach-2: #ffd8bb;
  --blue: #629ef2;
  --blue-soft: #9cc2ff;
  --mint: #5ce2da;
  --pink: #e66aa0;
  --violet: #a98bf5;
  --yellow: #ffd166;
  --tile-ink: #3a3d85;
  --r-window: 40px;
  --r-card: 20px;
  --gutter: 48px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.2l2.95 6.2 6.75.8-5 4.7 1.35 6.75L12 17.3l-6.05 3.35 1.35-6.75-5-4.7 6.75-.8z'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c7ee' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; background: var(--outer); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; z-index: 200; left: 16px; top: -64px; padding: 12px 18px; border-radius: 12px; background: var(--peach); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* Frame: the reference's rounded panel on a violet field */
.window { max-width: 1360px; margin: 24px auto; background: var(--panel); border-radius: var(--r-window); overflow: clip; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.preview-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--deep); color: var(--text-2); font-size: 13px; line-height: 1.5; text-align: center; }
.preview-bar .icon { width: 16px; height: 16px; color: var(--peach); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 14px; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--peach); color: var(--ink); }
.btn-primary:hover { background: var(--peach-2); }
.btn-secondary { background: var(--surface-2); color: var(--text); }
.btn-secondary:hover { background: #46499a; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--blue-soft); text-decoration: none; white-space: nowrap; }
.text-link:hover { color: var(--peach); }
.text-link .icon { width: 18px; height: 18px; transition: transform .15s; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text); }
.icon-btn:hover { background: var(--surface); }
.flag { width: 22px; height: 22px; border-radius: 50%; }

/* Header: sticky, 64 px */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--panel); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 63px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 20px; font-weight: 700; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--peach); }
.site-nav { flex: 1; min-width: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li > a, .nav-trigger { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--text-2); font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav-list > li > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--surface); color: var(--text); }
.nav-trigger .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] .icon:last-child { transform: rotate(180deg); }
.nav-item { position: relative; }
.dropdown { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; display: grid; gap: 2px; min-width: 230px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; text-decoration: none; }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); color: var(--text); }
.dropdown [aria-current="true"], .dropdown [aria-pressed="true"] { color: var(--peach); font-weight: 700; }
.dropdown img { width: 20px; height: 20px; border-radius: 50%; }
.dd-wide { grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 12px; padding: 16px; }
.dd-wide > div { display: grid; align-content: start; gap: 2px; }
.dd-right { left: auto; right: 0; }
.dd-note { max-width: 220px; padding: 6px 12px 4px; color: var(--text-3); font-size: 13px; }
.dd-title { padding: 6px 12px; color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-mobile-extra { display: none; }
.header-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.market-trigger { color: var(--text); }
.search-open { border: 1px solid var(--line); margin-left: 4px; }
.menu-toggle { display: none; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: clip; padding: 56px 0 0; }
.planet, .ornament, .dot { position: absolute; z-index: -1; pointer-events: none; }
.planet-violet { width: 240px; height: 240px; left: calc(max(var(--gutter), (100% - 1200px) / 2) - 252px); bottom: 40px; }
.planet-blue { width: 300px; height: 300px; right: -110px; top: -90px; }
.planet-moon { width: 48px; height: 48px; left: calc(50% + 4px); top: 150px; }
.ornament { fill: none; stroke-width: 3; stroke-linejoin: round; }
.orn-tri { width: 34px; height: 30px; stroke: #f0a0a8; left: 43%; top: 210px; transform: rotate(-14deg); }
.orn-dia { width: 22px; height: 22px; stroke: #c86be6; left: 46%; bottom: 120px; }
.orn-ring { width: 26px; height: 26px; stroke: var(--blue); right: 3%; bottom: 140px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.d1 { left: 6%; top: 40px; } .d2 { left: 40%; top: 120px; } .d3 { right: 30%; bottom: 96px; } .d4 { left: 58%; top: 40px; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-2); font-size: 14px; }
.meta-row li { display: inline-flex; align-items: center; gap: 8px; }
.meta-row .icon { width: 18px; height: 18px; color: var(--blue-soft); }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.hero h1 span { color: var(--peach); }
.lead { max-width: 560px; margin-top: 20px; color: var(--text-2); font-size: 18px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.byline a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: var(--text-3); text-underline-offset: 3px; }
.byline p > span { color: var(--text-3); }
.byline p > span a { color: var(--blue-soft); font-weight: 400; text-decoration-color: var(--blue-soft); }
.avatars { display: flex; flex: none; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid var(--panel); border-radius: 50%; color: var(--ink); font-size: 13px; font-weight: 700; }
.a1 { background: var(--peach); }
.a2 { margin-left: -12px; background: var(--mint); }

.top-pick { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; max-width: 620px; margin-top: 28px; padding: 18px 20px; background: var(--surface); border-radius: var(--r-card); }
.pick-ring { position: relative; width: 64px; height: 64px; }
.pick-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--surface-2); stroke-width: 6; }
.ring-value { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-dasharray: calc(169.65px * var(--v)) 169.65px; }
.pick-ring strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 19px; }
.pick-label { color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.top-pick h2 { margin-top: 2px; font-size: 20px; line-height: 1.25; }
.top-pick h2 a { text-decoration: none; }
.top-pick h2 a:hover { color: var(--peach); }
.pick-offer { margin-top: 2px; color: var(--peach); font-weight: 700; }
.pick-terms { color: var(--text-2); font-size: 14px; }
.pick-action { display: grid; justify-items: center; gap: 6px; }
.pick-action span { color: var(--text-3); font-size: 12px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 18px; }

/* Mosaic of category tiles: the reference's signature, flat */
.mosaic { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 11vw, 156px); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 14px 16px; overflow: hidden; border-radius: 24px; background: var(--tile); color: var(--ink); text-decoration: none; transition: transform .2s; }
.tile:hover { transform: translateY(-3px); }
.tile-art { position: absolute; top: 12px; right: 12px; width: 58%; height: 58%; max-width: 96px; max-height: 96px; }
.tile-lg { grid-column: span 2; grid-row: span 2; padding: 24px; }
.tile-lg .tile-art { top: 18px; right: 18px; width: 64%; height: 64%; max-width: 240px; max-height: 240px; }
.tile-name { font-size: 18px; font-weight: 700; line-height: 1.2; }
.tile-lg .tile-name { font-size: 32px; letter-spacing: -.03em; }
.tile-sub { font-size: 15px; }
.t-pink { --tile: var(--pink); }
.t-blue { --tile: var(--blue); }
.t-peach { --tile: var(--peach); }
.t-mint { --tile: var(--mint); }
.t-yellow { --tile: var(--yellow); }
.t-violet { --tile: var(--violet); }
.t-ink { --tile: var(--tile-ink); color: var(--text); }

/* Payment strip, as in the reference */
.tag-row { display: flex; flex-wrap: wrap; align-items: center; margin-top: 48px; padding: 14px 0; border-top: 1px solid var(--line); }
.tag-row-label { margin-right: 10px; color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tag-row a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-left: 1px solid var(--line); color: var(--text-2); font-size: 16px; font-weight: 700; text-decoration: none; }
.tag-row a:first-of-type { border-left: 0; }
.tag-row a:hover { color: var(--peach); }

/* Sections */
.section { padding: 72px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2, .calc-intro h2, .method-copy h2, .prose h2, .faq h2 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.15; }
.section-head h2 span { color: var(--peach); }
.section-head p { max-width: 640px; margin-top: 10px; color: var(--text-2); }

/* Ranking */
.ranking { padding-top: 40px; border-top: 1px solid var(--line); }
.disclosure { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; background: var(--deep); border-radius: 14px; color: var(--text-2); font-size: 14px; }
.disclosure .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue-soft); }
.disclosure b { color: var(--text); }
.disclosure a { color: var(--blue-soft); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 15px; font-weight: 700; white-space: nowrap; }
.filter:hover { color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.sort { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; white-space: nowrap; }
.sort select { min-height: 44px; padding: 0 40px 0 14px; border: 0; border-radius: 12px; background: var(--surface) var(--chev) no-repeat right 12px center / 18px; color: var(--text); font-weight: 700; appearance: none; cursor: pointer; }
select option { background: var(--surface); color: var(--text); }
.results { margin: 16px 0 12px; color: var(--text-3); font-size: 14px; }

.casino-list { display: grid; gap: 14px; }
.casino-card { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1.25fr) 104px minmax(0, 1.5fr) minmax(0, 1.15fr) 200px; grid-template-areas: "rank id rate offer facts act" "foot foot foot foot foot foot"; gap: 16px 22px; align-items: center; padding: 22px 24px 14px; background: var(--surface); border: 2px solid transparent; border-radius: var(--r-card); }
.casino-card.is-pick { border-color: var(--peach); }
.rank { grid-area: rank; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); font-weight: 700; }
.is-pick .rank { background: var(--peach); color: var(--ink); }
.c-id { grid-area: id; display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo { position: relative; display: grid; place-items: center; flex: none; width: 60px; height: 60px; overflow: hidden; border-radius: 16px; color: var(--ink); font-size: 28px; font-weight: 700; }
.logo i { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border: 4px solid var(--ink); border-radius: 50%; }
.l-astra { background: var(--peach); } .l-nebula { background: var(--blue); } .l-orbita { background: var(--mint); }
.l-cometa { background: var(--pink); } .l-luna { background: var(--violet); } .l-kepler { background: var(--yellow); }
.c-id h3 { font-size: 19px; line-height: 1.25; }
.c-id h3 a, .top-pick h2 a, .slot h3 a, .post h3 a, tbody th a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.c-id h3 a { text-decoration: none; }
.c-id h3 a:hover { color: var(--peach); }
.badge { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--mint); font-size: 12px; font-weight: 700; }
.badge-pick { background: var(--peach); color: var(--ink); }
.c-rate { grid-area: rate; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 2px; }
.c-rate strong { font-size: 30px; line-height: 1; }
.c-rate > span:not(.stars) { color: var(--text-3); font-size: 14px; }
.stars { grid-column: 1 / -1; width: 95px; height: 19px; margin-top: 8px; background: linear-gradient(90deg, var(--peach) calc(var(--r) * 10%), var(--surface-2) 0); -webkit-mask: var(--star) 0 0 / 19px 19px repeat-x; mask: var(--star) 0 0 / 19px 19px repeat-x; }
.c-offer { grid-area: offer; display: grid; gap: 2px; min-width: 0; }
.label { color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.c-offer strong { color: var(--peach); font-size: 19px; line-height: 1.3; }
.c-offer > span:not(.label):not(.terms) { font-size: 15px; }
.terms { margin-top: 4px; color: var(--text-2); font-size: 14px; }
.c-facts { grid-area: facts; display: grid; gap: 6px; color: var(--text-2); font-size: 14px; }
.c-facts li { display: flex; align-items: center; gap: 8px; }
.c-facts .icon { width: 18px; height: 18px; color: var(--mint); }
.c-action { grid-area: act; display: grid; gap: 8px; }
.promo { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1.5px dashed var(--text-3); border-radius: 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.promo span { color: var(--text-3); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.promo .icon { width: 16px; height: 16px; }
button.promo:hover { border-color: var(--peach); color: var(--peach); }
.promo-none { border: 1.5px solid var(--line); color: var(--text-3); font-weight: 400; letter-spacing: 0; }
.review-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; color: var(--blue-soft); font-size: 15px; font-weight: 700; text-decoration: none; }
.review-link:hover { color: var(--peach); }
.review-link .icon { width: 16px; height: 16px; }
.c-foot { grid-area: foot; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 12px; }
.empty-state { padding: 28px; background: var(--surface); border-radius: var(--r-card); color: var(--text-2); text-align: center; }
.list-end { display: flex; justify-content: center; margin-top: 24px; }

/* Comparison table */
.compare { padding-top: 24px; }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 18px; }
table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
thead th { color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
tbody th { font-weight: 700; }
tbody th a { text-decoration: none; }
tbody th a:hover { color: var(--peach); }
tbody tr:last-child > * { border-bottom: 0; }
td b { color: var(--peach); }
thead th:first-child, tbody th { position: sticky; left: 0; background: var(--surface); }

/* Calculator */
.calc-section { background: var(--deep); }
.calc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.calc-art { width: 72px; height: 72px; margin-bottom: 20px; }
.calc-intro p { max-width: 460px; margin: 14px 0 8px; color: var(--text-2); }
.calculator { padding: 28px; background: var(--surface); border-radius: 24px; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc-fields label { display: grid; gap: 8px; min-width: 0; color: var(--text-2); font-size: 14px; font-weight: 700; }
.field { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; }
.field:focus-within { border-color: var(--blue); }
.field:has([aria-invalid="true"]) { border-color: #ff9d9d; }
.field input, .field select { flex: 1; align-self: stretch; width: 100%; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font-size: 18px; font-weight: 700; appearance: textfield; }
.field select { appearance: none; padding-right: 22px; background: var(--chev) no-repeat right center / 18px; font-size: 16px; cursor: pointer; }
.field input::-webkit-inner-spin-button, .field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.field > span { color: var(--text-3); font-size: 14px; font-weight: 700; }
.calc-result { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; padding: 20px; background: var(--panel); border-radius: 16px; }
.calc-result span { display: block; color: var(--text-2); font-size: 14px; }
.calc-result strong { display: block; margin-top: 4px; color: var(--peach); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.calc-result div + div strong { color: var(--blue-soft); }
.calc-note { display: flex; gap: 8px; margin-top: 16px; color: var(--text-2); font-size: 14px; }
.calc-note .icon { width: 18px; height: 18px; margin-top: 2px; }
.calc-error { margin-top: 12px; color: #ffb4b4; font-size: 14px; }

/* Slots */
.slot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.slot-cover { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: var(--tile); transition: transform .2s; }
.slot-cover:hover { transform: translateY(-3px); }
.slot-cover svg { width: 46%; height: auto; aspect-ratio: 1; }
.slot h3 { margin-top: 12px; font-size: 18px; }
.slot h3 a { text-decoration: none; }
.slot h3 a:hover { color: var(--peach); }
.slot > p { color: var(--text-3); font-size: 14px; }
.slot dl { display: flex; gap: 20px; margin-top: 10px; }
.slot dl div { display: grid; }
.slot dt { color: var(--text-3); font-size: 12px; }
.slot dd { margin: 0; font-size: 15px; font-weight: 700; }
.demo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; color: var(--blue-soft); font-size: 15px; font-weight: 700; }
.demo:hover { color: var(--peach); }
.demo .icon { width: 16px; height: 16px; fill: currentColor; }
.providers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.providers h3 { font-size: 16px; }
.providers h3 span { color: var(--text-3); font-weight: 400; }
.providers ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.providers a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-2); font-weight: 700; text-decoration: none; }
.providers a:hover { color: var(--peach); }
.prov-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: var(--ink); font-size: 14px; }

/* Countries */
.countries { padding-top: 24px; }
.country-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.country-grid a { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px; background: var(--surface); border-radius: 18px; text-decoration: none; }
.country-grid a:hover { background: var(--surface-2); }
.country-grid img { width: 40px; height: 40px; border-radius: 50%; }
.country-grid span { display: grid; flex: 1; min-width: 0; }
.country-grid b { font-size: 17px; }
.country-grid small { color: var(--text-3); font-size: 13px; }
.country-grid .icon { width: 18px; height: 18px; color: var(--text-3); }

/* How we rate */
.method { background: var(--deep); }
.method-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.donut { position: relative; justify-self: center; width: min(100%, 340px); margin: 0; }
.donut svg { width: 100%; height: auto; }
.donut figcaption { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut strong { font-size: 64px; line-height: 1; }
.donut span { color: var(--text-2); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.method-copy > p { max-width: 620px; margin-top: 14px; color: var(--text-2); }
.weights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 22px; }
.weights li { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--line); }
.weights li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.weights span { flex: 1; color: var(--text-2); }
.red-flag { display: flex; gap: 10px; margin-top: 20px; color: var(--text-2); font-size: 14px; }
.red-flag .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--pink); }
.method-copy .text-link { margin-top: 8px; }

/* Payments */
.pay-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pay-grid li, .country-grid li { display: grid; }
.pay-grid a { display: grid; align-content: start; gap: 4px; min-height: 140px; padding: 20px; background: var(--surface); border-radius: 18px; text-decoration: none; }
.pay-grid a:hover { background: var(--surface-2); }
.pay-word { font-size: 24px; letter-spacing: -.03em; }
.pay-grid span { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.pay-grid small { color: var(--mint); font-size: 13px; font-weight: 700; }

/* Blog */
.blog { padding-top: 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-cover { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-card); background: var(--tile); transition: transform .2s; }
.post-cover:hover { transform: translateY(-3px); }
.post-cover svg { width: 30%; height: auto; aspect-ratio: 1; }
.post-cat { margin-top: 16px; color: var(--peach); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post h3 { margin-top: 6px; font-size: 20px; line-height: 1.3; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--peach); }
.post-meta { margin-top: 8px; color: var(--text-3); font-size: 14px; }

/* Long-form guide */
.guide { border-top: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 80px; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc ol { display: grid; gap: 2px; margin-top: 4px; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--text-2); font-size: 15px; text-decoration: none; }
.toc a:hover { background: var(--surface); color: var(--text); }
.prose h2 { margin-bottom: 16px; }
.prose h2:not(:first-child) { margin-top: 48px; }
.prose p + p { margin-top: 14px; }
.prose-list { display: grid; gap: 10px; margin-top: 14px; padding-left: 22px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
ul.prose-list { list-style: disc; }
ol.prose-list { list-style: decimal; }
.prose-list b { color: var(--text); }
.prose-list li::marker { color: var(--peach); }
.prose h3 { margin: 28px 0 8px; font-size: 21px; }
.prose p { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.more-toggle { margin-top: 12px; }
.more-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; }
.faq-grid > div:first-child p { margin-top: 12px; color: var(--text-2); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 700; line-height: 1.4; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--peach); }
.faq-list summary .icon { color: var(--text-3); transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(180deg); color: var(--peach); }
.faq-list details p { padding: 0 40px 20px 0; color: var(--text-2); }

/* Responsible gambling */
.rg { padding-top: 8px; }
.rg-box { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; padding: 32px; background: var(--surface); border-radius: 24px; }
.age-mark { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border: 3px solid var(--peach); border-radius: 50%; color: var(--peach); font-size: 22px; font-weight: 700; }
.rg-copy h2 { font-size: 24px; line-height: 1.25; }
.rg-copy p { margin-top: 8px; color: var(--text-2); }
.rg-label { margin-bottom: 8px; color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rg-orgs { display: grid; gap: 8px; }
.rg-orgs a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; background: var(--panel); border-radius: 14px; text-decoration: none; }
.rg-orgs a:hover { background: var(--deep); }
.rg-orgs .icon { color: var(--pink); }
.rg-orgs span { display: grid; }
.rg-orgs b { font-size: 15px; }
.rg-orgs small { color: var(--text-3); font-size: 13px; }

/* Footer */
.site-footer { padding: 56px 0 28px; background: var(--deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 320px; margin-top: 14px; color: var(--text-2); font-size: 15px; }
.site-footer nav { display: grid; align-content: start; }
.site-footer h2 { margin-bottom: 8px; color: var(--text-3); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav a, .site-footer nav button { display: flex; align-items: center; min-height: 44px; color: var(--text-2); font-size: 15px; text-decoration: none; }
.site-footer nav a:hover, .site-footer nav button:hover { color: var(--peach); }
.footer-disclosure { margin-top: 36px; padding: 16px 18px; background: var(--panel); border-radius: 14px; color: var(--text-2); font-size: 14px; }
.footer-disclosure b { color: var(--text); }
.footer-bottom { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.footer-bottom span:last-child { margin-left: auto; }
.age-mark.small { width: 40px; height: 40px; border-width: 2px; font-size: 14px; }

/* Cookie banner */
.cookie { position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(480px, calc(100% - 32px)); padding: 22px; background: var(--surface); border: 1.5px solid #5a5da8; border-radius: 20px; }
.cookie h2 { font-size: 18px; }
.cookie p { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.cookie-prefs { display: grid; gap: 4px; margin-top: 12px; font-size: 15px; }
.cookie-prefs label { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.cookie-prefs input { width: 20px; height: 20px; accent-color: var(--peach); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-actions .btn { flex: 1 1 auto; min-height: 44px; padding: 10px 14px; font-size: 14px; }

/* Dialogs */
.dialog { width: min(440px, calc(100% - 32px)); padding: 28px; background: var(--surface); border: 1.5px solid #5a5da8; border-radius: 24px; color: var(--text); text-align: center; }
.dialog::backdrop { background: #10112dd9; }
.dialog .age-mark { margin: 0 auto 14px; }
.dialog h2 { font-size: 24px; }
.dialog p { margin-top: 8px; color: var(--text-2); }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.search-dialog { width: min(640px, calc(100% - 32px)); margin-top: 10vh; padding: 20px 24px 24px; text-align: left; }
.search-head { display: flex; align-items: center; justify-content: space-between; }
.search-head h2 { font-size: 22px; }
.search-input { display: flex; align-items: center; gap: 10px; min-height: 52px; margin-top: 12px; padding: 0 14px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; }
.search-input:focus-within { border-color: var(--blue); }
.search-input input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 17px; }
.search-input input::placeholder { color: var(--text-3); }
#search-results { max-height: 50vh; margin-top: 8px; overflow: auto; }
#search-results a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 6px; border-bottom: 1px solid var(--line); text-decoration: none; }
#search-results a:hover { color: var(--peach); }
#search-results small { color: var(--text-3); font-size: 13px; }
#search-results .empty { padding: 20px 6px; color: var(--text-2); }

.toast { position: fixed; z-index: 120; left: 50%; bottom: 24px; max-width: calc(100% - 32px); padding: 12px 18px; transform: translateX(-50%); background: var(--text); border-radius: 14px; color: var(--ink); font-size: 15px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .menu-toggle { display: inline-grid; }
  .tool-market, .tool-lang { display: none; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100dvh - 64px); overflow-y: auto; padding: 8px var(--gutter) 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
  .menu-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-trigger { justify-content: space-between; width: 100%; min-height: 52px; padding: 0 4px; border-radius: 0; color: var(--text); font-size: 17px; }
  .nav-list > li > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: none; }
  .dropdown { position: static; min-width: 0; padding: 0 0 12px 8px; background: none; border: 0; }
  .dd-wide { grid-template-columns: 1fr; gap: 8px; padding: 0 0 12px 8px; }
  .nav-mobile-extra { display: block; margin-top: 16px; }
  .nav-mobile-extra .dd-title { padding: 6px 0; }
  .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--surface); font-size: 15px; text-decoration: none; }
  .chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--text); color: var(--ink); font-weight: 700; }

  .casino-card { grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1fr) 200px; grid-template-areas: "rank id rate act" ". offer facts act" "foot foot foot foot"; }
}

@media (max-width: 960px) {
  .hero-grid, .calc-grid, .method-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .mosaic { grid-auto-rows: 130px; }
  .planet-violet { left: auto; right: -60px; bottom: 260px; width: 180px; height: 180px; }
  .planet-moon, .orn-tri { display: none; }
  .guide-grid { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a { min-height: 44px; display: inline-flex; align-items: center; background: var(--surface); border-radius: 999px; padding: 0 16px; }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .country-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .pay-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .blog-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .rg-box { grid-template-columns: auto minmax(0, 1fr); }
  .rg-help { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; --r-card: 18px; }
  body { background: var(--panel); }
  .window { margin: 0; border-radius: 0; }
  .preview-bar { font-size: 12px; padding: 6px 12px; }
  .header-inner { height: 55px; gap: 8px; }
  .site-nav { max-height: calc(100dvh - 56px); }
  .brand { font-size: 18px; }
  .brand img { width: 30px; height: 30px; }
  .menu-open { overflow: hidden; }

  .hero { padding-top: 24px; }
  .planet-blue { width: 170px; height: 170px; right: -80px; top: -70px; }
  .planet-violet, .orn-dia, .orn-ring, .dot { display: none; }
  .meta-row { gap: 6px 16px; font-size: 13px; }
  .hero h1 { margin-top: 14px; font-size: 38px; }
  .lead { margin-top: 14px; font-size: 17px; }
  .byline { margin-top: 18px; }
  .top-pick { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; margin-top: 22px; padding: 16px; }
  .pick-ring, .pick-ring svg { width: 56px; height: 56px; }
  .pick-ring strong { font-size: 17px; }
  .pick-action { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; gap: 12px; }
  .hero-links { gap: 0 20px; margin-top: 8px; }
  .hero-grid { gap: 20px; }
  .mosaic { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 34%; grid-auto-rows: 104px; gap: 10px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .mosaic::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
  .tile { padding: 10px 12px; border-radius: 18px; }
  .tile-lg { grid-column: span 1; grid-row: span 1; padding: 10px 12px; }
  .tile-lg .tile-art, .tile-art { top: 8px; right: 8px; width: 52%; height: 52%; }
  .tile-name, .tile-lg .tile-name { font-size: 15px; letter-spacing: 0; }
  .tile-sub { display: none; }
  .tag-row { margin-top: 28px; padding: 10px 0; gap: 0 4px; }
  .tag-row-label { width: 100%; margin: 0 0 2px; }
  .tag-row a { min-width: 44px; padding: 0 10px 0 0; border: 0; font-size: 15px; }

  .section { padding: 48px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
  .section-head .text-link { margin-top: -4px; }
  .ranking { padding-top: 32px; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .filters { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .sort { justify-content: space-between; }

  .casino-card { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "rank id rate" "offer offer offer" "facts facts facts" "act act act" "foot foot foot"; gap: 14px 12px; padding: 16px 16px 12px; }
  .rank { width: 32px; height: 32px; font-size: 15px; }
  .logo { width: 48px; height: 48px; border-radius: 14px; font-size: 22px; }
  .c-id { gap: 10px; }
  .c-id h3 { font-size: 17px; }
  .c-rate { grid-template-columns: auto auto; justify-content: end; }
  .c-rate strong { font-size: 26px; }
  .stars { width: 80px; height: 16px; margin-top: 6px; -webkit-mask-size: 16px 16px; mask-size: 16px 16px; }
  .c-offer { padding: 14px; background: var(--panel); border-radius: 14px; }
  .c-facts { grid-template-columns: 1fr; }
  .c-action { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .c-action .review-link { grid-column: 1 / -1; }
  .promo span { display: none; }

  .table-wrap { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  th, td { padding: 12px 14px; }
  .calculator { padding: 18px; }
  .calc-fields { gap: 12px; }
  .calc-result { grid-template-columns: 1fr; gap: 12px; }
  .slot-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 64%; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .slot { scroll-snap-align: start; }
  .country-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .country-grid a { min-height: 64px; padding: 12px; gap: 10px; }
  .country-grid img { width: 32px; height: 32px; }
  .country-grid .icon { display: none; }
  .donut { width: 220px; }
  .donut strong { font-size: 48px; }
  .weights { grid-template-columns: 1fr; }
  .pay-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pay-grid a { min-height: 0; padding: 16px; }
  .pay-word { font-size: 20px; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .post { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-content: start; }
  .post-cover { grid-row: span 3; aspect-ratio: 1; border-radius: 16px; }
  .post-cover svg { width: 52%; }
  .post-cat { margin-top: 0; }
  .post h3 { font-size: 17px; }
  .faq-list summary { font-size: 17px; }
  .faq-list details p { padding-right: 0; }
  .rg-box { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .age-mark { width: 56px; height: 56px; font-size: 18px; }
  .footer-grid { gap: 24px; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-bottom span:last-child { margin-left: 0; width: 100%; }
  .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 18px; }
}
