/* ============================================================
   Casino Compass — components stylesheet (part 2)
   ============================================================ */

/* ============================================================
   TOPLIST  (3 variants via .toplist[data-list])
   ============================================================ */
.toplist-wrap { display: grid; grid-template-columns: 1fr 312px; gap: 36px; align-items: start; }
.toplist-main { min-width: 0; }
.toplist-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.toplist-updated { font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }

/* ----- Variant A: classic rows ----- */
.list-rows .casino-row { display: grid; grid-template-columns: 44px 64px 1fr auto; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s, border-color .18s; position: relative; }
.list-rows .casino-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.list-rows .casino-row.is-top { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.casino-row-info { min-width: 0; }
.casino-row-name { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.casino-row-name h3 { font-size: 20px; }
.casino-row-bonus { color: var(--ink-2); font-size: 14.5px; margin-top: 5px; }
.casino-row-bonus strong { color: var(--ink); }
.casino-row-tags { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.casino-row-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.casino-row-tag svg { color: var(--accent); }
.casino-row-cta { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 168px; }
.casino-row-score { display: flex; align-items: center; gap: 9px; justify-content: center; margin-bottom: 2px; }
.casino-row-score b { font-family: var(--font-head); font-size: 22px; }
.casino-row-score span { font-size: 12px; color: var(--ink-3); }
.casino-row-review { font-size: 13px; font-weight: 600; color: var(--accent); text-align: center; }
.casino-row-review:hover { text-decoration: underline; }
.row-ribbon { position: absolute; top: -10px; left: 64px; }

/* ----- Variant B: card grid ----- */
.list-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.casino-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; }
.casino-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.casino-card.is-top { border-color: var(--gold); }
.casino-card-top { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line-2); position: relative; }
.casino-card.is-top .casino-card-top { background: linear-gradient(100deg, var(--gold-soft), transparent 70%); }
.casino-card-id { flex: 1; min-width: 0; }
.casino-card-id h3 { font-size: 21px; display: flex; align-items: center; gap: 9px; }
.casino-card-id .stars { margin-top: 6px; }
.casino-card-scorebox { text-align: center; padding-left: 16px; border-left: 1px solid var(--line-2); }
.casino-card-scorebox b { font-family: var(--font-head); font-size: 30px; line-height: 1; color: var(--accent); }
.casino-card-scorebox span { display: block; font-size: 11px; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.casino-card-body { display: grid; grid-template-columns: 1.3fr 1fr 200px; gap: 22px; padding: 20px 22px; align-items: center; }
.casino-card-bonus-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.casino-card-bonus-val { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-top: 4px; color: var(--ink); }
.casino-card-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.casino-card-feats li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.casino-card-feats svg { color: var(--good); flex-shrink: 0; }
.casino-card-cta { display: flex; flex-direction: column; gap: 8px; }

/* ----- Variant C: comparison table ----- */
.list-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.ctable-row { display: grid; grid-template-columns: 40px 1.4fr 1.1fr 90px 1fr; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-2); transition: background .15s; }
.ctable-row:last-child { border-bottom: none; }
.ctable-row:not(.ctable-head):hover { background: var(--surface-2); }
.ctable-head { background: var(--ink); color: rgba(255,255,255,.7); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 12px 20px; }
.ctable-head span { color: rgba(255,255,255,.7); }
.ctable-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ctable-brand h3 { font-size: 16.5px; }
.ctable-brand .stars { margin-top: 3px; }
.ctable-rank { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink-3); text-align: center; }
.ctable-bonus { font-size: 14px; color: var(--ink); font-weight: 600; }
.ctable-score b { font-family: var(--font-head); font-size: 19px; color: var(--accent); }
.ctable-row.is-top { background: color-mix(in srgb, var(--gold-soft) 60%, transparent); }

.list-fine { font-size: 12px; color: var(--ink-3); margin-top: 14px; display: flex; align-items: center; gap: 7px; }

/* ============================================================
   STICKY CTA RAIL
   ============================================================ */
.sticky-cta { position: sticky; top: 124px; }
.sticky-cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-lg); position: relative; }
.sticky-cta-card::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); padding: 1.5px; background: linear-gradient(160deg, var(--gold), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.sticky-cta-flag { display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(145deg, var(--gold), color-mix(in srgb, var(--gold) 74%, #000)); color: #3a2a06; font-weight: 800; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.sticky-cta-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sticky-cta-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.sticky-cta-stars { margin-top: 3px; }
.sticky-cta-score { margin-left: auto; text-align: right; }
.sticky-cta-score strong { font-family: var(--font-head); font-size: 24px; color: var(--accent); }
.sticky-cta-score span { font-size: 12px; color: var(--ink-3); }
.sticky-cta-bonus { background: var(--accent-soft); border-radius: var(--radius); padding: 13px 15px; margin-bottom: 14px; }
.sticky-cta-bonus-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-strong); }
.sticky-cta-bonus-val { display: block; font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); margin-top: 3px; }
.sticky-cta-review { width: 100%; background: none; border: none; color: var(--accent); font-weight: 600; font-size: 14px; padding: 10px; cursor: pointer; font-family: var(--font-body); }
.sticky-cta-review:hover { text-decoration: underline; }
.sticky-cta-fine { display: flex; align-items: center; gap: 6px; justify-content: center; font-size: 11px; color: var(--ink-3); margin-top: 6px; }

/* ============================================================
   CONTENT BODY (articles)
   ============================================================ */
.breaker image-slot { width: 100%; height: 340px; box-shadow: var(--shadow); }
.breaker-cap { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; text-align: center; font-style: italic; }
.prose { max-width: 720px; }
.prose.prose-wide { max-width: 820px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 40px 0 14px; }
.prose h3 { font-size: 21px; margin: 30px 0 10px; }
.prose p { font-size: 17.5px; color: var(--ink); line-height: 1.72; margin: 0 0 18px; }
.prose p.lead { font-size: 21px; color: var(--ink-2); line-height: 1.6; }
.prose ul, .prose ol { padding-left: 4px; margin: 0 0 20px; list-style: none; }
.prose li { display: flex; gap: 12px; font-size: 17px; color: var(--ink); margin-bottom: 12px; line-height: 1.6; }
.prose li svg { color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.prose a.inline { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }

/* callout / key-takeaway */
.callout { border-radius: var(--radius); padding: 22px 24px; margin: 28px 0; display: flex; gap: 16px; }
.callout-key { background: var(--accent-soft); border-left: 4px solid var(--accent); }
.callout-warn { background: var(--gold-soft); border-left: 4px solid var(--gold); }
.callout-icon { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.callout-warn .callout-icon { color: #9a7414; }
.callout h4 { font-size: 16px; margin-bottom: 6px; }
.callout p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* TOC */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; }
.toc li { counter-increment: toc; margin-bottom: 10px; }
.toc a { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--accent); }

/* ============================================================
   GUIDES HUB
   ============================================================ */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .18s, transform .18s; cursor: pointer; }
.guide-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.guide-card-img { height: 156px; position: relative; }
.guide-card-img image-slot { width: 100%; height: 100%; }
.guide-card-cat { position: absolute; top: 12px; left: 12px; z-index: 2; }
.guide-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.guide-card-body h3 { font-size: 19.5px; line-height: 1.2; }
.guide-card-dek { font-size: 14.5px; color: var(--ink-2); margin: 10px 0 16px; flex: 1; }
.guide-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line-2); }
.guide-card-read { font-size: 12.5px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 5px; }
.guide-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.guide-feature:hover { box-shadow: var(--shadow-lg); }
.guide-feature-img image-slot { width: 100%; height: 100%; min-height: 300px; }
.guide-feature-body { padding: 38px 40px; display: flex; flex-direction: column; justify-content: center; }
.guide-feature-body h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; margin: 14px 0; }
.guide-feature-body .guide-card-dek { font-size: 16.5px; }

/* guides hub link list (homepage) */
.hubgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hublink { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); transition: all .15s; cursor: pointer; }
.hublink:hover { border-color: var(--accent); transform: translateX(3px); box-shadow: var(--shadow); }
.hublink-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hublink-text h4 { font-size: 16.5px; margin-bottom: 3px; }
.hublink-text span { font-size: 13px; color: var(--ink-3); }
.hublink-arrow { margin-left: auto; color: var(--ink-3); transition: transform .15s, color .15s; }
.hublink:hover .hublink-arrow { color: var(--accent); transform: translateX(3px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); margin-top: 72px; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-tag { font-family: var(--font-head); font-size: 18px; color: #fff; margin: 16px 0 8px; }
.footer-estd { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-rg .rg-badge { color: rgba(255,255,255,.7); }
.footer-col h4 { color: #fff; font-size: 14px; font-family: var(--font-body); font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 14.5px; color: rgba(255,255,255,.66); padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: var(--gold); }
.footer-rg-strip { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-rg-logos { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rg-logo { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.footer-disclaimer { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 100%; margin: 0; }
.footer-base { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
.footer-base-links { display: flex; gap: 20px; }
.footer-base-links a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .toplist-wrap { grid-template-columns: 1fr; }
  .sticky-cta { position: static; max-width: 520px; margin: 0 auto 8px; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; }
  .casino-card-body { grid-template-columns: 1fr; gap: 16px; }
  .guide-feature { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile { display: flex; }
  .header-actions .btn { display: none; }
  .topbar-trust { display: none; }
  .topbar-inner { justify-content: center; }
  .guide-grid, .hubgrid { grid-template-columns: 1fr; }
  .list-rows .casino-row { grid-template-columns: 36px 1fr; row-gap: 12px; }
  .list-rows .casino-row .casino-logo { display: none; }
  .casino-row-cta { grid-column: 1 / -1; min-width: 0; }
  .ctable-head { display: none; }
  .ctable-row { grid-template-columns: 32px 1fr; row-gap: 8px; }
  .ctable-bonus, .ctable-score { padding-left: 48px; }
  .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 18px; }
}
