:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --gold: #f5a623;
    --green: #27ae60;
    --dark: #0f0f1a;
    --charcoal: #1a1a2e;
    --slate: #2c2c54;
    --gray: #636e72;
    --light: #dfe6e9;
    --bg: #f8f9fa;
    --white: #ffffff;
    --font: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: #333;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===== HEADER ===== */
.site-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logo img { display: block; height: 44px; width: auto; }
.logo span { color: var(--accent); }
@media (max-width: 768px) {
    .logo img { height: 52px; }
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > a, .nav-dropdown > a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.5rem 0.7rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}
.main-nav > a:hover, .nav-dropdown > a:hover { color: white; background: rgba(255,255,255,0.1); }
.main-nav > a.active, .nav-dropdown > a.active { color: var(--accent); }

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 1001;
    padding: 0.5rem 0;
    max-height: 70vh;
    overflow-y: auto;
}
.dropdown-content a {
    display: block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.45rem 1.2rem;
    font-size: 0.82rem;
    transition: all 0.15s;
    white-space: nowrap;
}
.dropdown-content a:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}
.nav-dropdown:hover > .dropdown-content {
    display: block;
}
.dropdown-wide {
    min-width: 200px;
    columns: 2;
    column-gap: 0;
}
.dropdown-wide a { break-inside: avoid; }
.dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 0.3rem 0;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}
.nav-close {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-self: flex-end;
    margin: 0.5rem 0.5rem 0.5rem auto;
    line-height: 1;
    padding: 0;
}
.nav-overlay {
    display: none;
}
.nav-cta {
    background: var(--accent, #e94560);
    color: #fff !important;
    border-radius: 50px;
    padding: 0.6rem 1.2rem !important;
    font-weight: 700;
    margin-left: 0.5rem;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #0a3d62 100%);
    color: white;
    padding: 2.6rem 1.5rem;   /* 65% of original 4rem */
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 1.3rem;   /* 65% of original 2rem */
    line-height: 1.6;
}
.hero-update {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.95rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}
.hero-byline {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 1.25rem;
}
.hero-byline-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
    border-radius: 50px;
    transition: background 0.2s, border-color 0.2s;
}
.hero-byline-link:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }
img.hero-byline-avatar,
.hero-byline-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
    display: block;
}
.hero-byline-text { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.hero-byline-name { font-weight: 700; font-size: 0.92rem; }
.hero-byline-role { font-size: 0.78rem; opacity: 0.85; }
.hero-cta {
    display: inline-block;
    margin: 0.5rem auto 1.5rem;
    padding: 1rem 2rem;
    background: var(--accent, #e94560);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 18px rgba(233,69,96,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 52px;
    min-width: 220px;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(233,69,96,0.55); }
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.hero-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding: 0 1.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.4rem; }

/* ===== MAIN ===== */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    width: 100%;
}

/* ===== TOPLIST SECTION: keep short descriptions visible, hide bulky boxes ===== */
/* Heading + eyebrow: centered with reading-width cap. */
section:has(> .toplist-cards) > h2,
section:has(> .toplist-cards) > .toplist-eyebrow,
.content-section:has(> .toplist-cards) > h2,
.content-section:has(> .toplist-cards) > .toplist-eyebrow {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
/* Short description / lead paragraph between H2 and cards: visible, capped at
   the SAME max-width as the toplist cards so left/right edges align. */
section:has(.toplist-cards) > p,
section:has(.toplist-cards) > div:has(.toplist-cards) > p,
.content-section:has(.toplist-cards) > p {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
/* Bulky boxes (criteria H3+UL, methodology info-boxes, "Coups de Coeur" filler)
   sit between H2 and the first card and push it below the fold on landing.
   Hide them — the same content lives in the dedicated methodology / criteria
   sections further down on the page. */
section:has(.toplist-cards) > h3,
section:has(.toplist-cards) > ul,
section:has(.toplist-cards) > ol:not(.toplist-cards),
section:has(.toplist-cards) > .info-box,
section:has(.toplist-cards) > .methodology-box,
.content-section:has(.toplist-cards) > h3,
.content-section:has(.toplist-cards) > ul,
.content-section:has(.toplist-cards) > ol:not(.toplist-cards),
.content-section:has(.toplist-cards) > .info-box,
.content-section:has(.toplist-cards) > .methodology-box {
    display: none !important;
}
/* Same rule for one nesting level deep (e.g. the `<div style="overflow-x:auto">`
   wrapper around legacy table fragments that still contains <h3><ul> before
   the cards). */
section:has(.toplist-cards) > div:has(.toplist-cards) > h3,
section:has(.toplist-cards) > div:has(.toplist-cards) > ul,
section:has(.toplist-cards) > div:has(.toplist-cards) > .info-box,
.content-section:has(.toplist-cards) > div:has(.toplist-cards) > h3,
.content-section:has(.toplist-cards) > div:has(.toplist-cards) > ul,
.content-section:has(.toplist-cards) > div:has(.toplist-cards) > .info-box {
    display: none !important;
}

/* ===== TOPLIST CARDS (individual boxes per casino) ===== */
.toplist-cards {
    list-style: none;
    counter-reset: none;
    padding: 0;
    margin: 1rem auto 0;
    max-width: 920px;
    display: grid;
    gap: 1rem;
}
.toplist-card {
    background: #fff;
    border: 1px solid var(--light, #dfe6e9);
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: grid;
    gap: 0.85rem;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.toplist-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
.tc-header {
    display: grid;
    grid-template-columns: 48px 180px 1fr;
    gap: 1rem;
    align-items: center;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--light, #dfe6e9);
}
.tc-rank {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0d878, #d4af37);
    color: var(--primary, #1a1a2e);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.3rem;
    flex-shrink: 0;
}
.tc-rank.rank-2 { background: linear-gradient(135deg, #d8d8d8, #b0b0b0); }
.tc-rank.rank-3 { background: linear-gradient(135deg, #e8a87c, #c97f4a); }
.tc-logo {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 12px;
    height: 80px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.tc-logo img { max-width: 150px; max-height: 60px; width: auto; height: auto; }
.tc-name { line-height: 1.2; }
.tc-name h3 {
    font-size: 1.4rem;
    color: var(--primary, #1a1a2e);
    margin: 0 0 0.25rem;
}
.tc-rating { font-size: 0.85rem; color: var(--gray, #636e72); }
.tc-rating strong { color: #16a34a; font-size: 1rem; }

.tc-bonus {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe9a8 100%);
    border-left: 4px solid #f5a623;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    text-align: center;
}
.tc-bonus-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #92400E;
    margin-bottom: 0.15rem;
}
.tc-bonus-amount {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #78350F;
    line-height: 1.25;
}

.tc-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
}
.tc-tags li {
    background: #ecfdf5;
    color: #14532d;
    border: 1px solid #bbf7d0;
    border-radius: 50px;
    padding: 0.3rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}
.tc-cta {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #34D399 0%, #10B981 45%, #047857 100%);
    color: #fff !important;
    font-weight: 800;
    font-size: 1.08rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.18) inset,
        0 6px 20px rgba(16,185,129,0.45),
        0 0 32px rgba(16,185,129,0.28);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.15s, box-shadow 0.2s;
    min-height: 50px;
    position: relative;
    overflow: hidden;
    animation: tc-cta-pulse 2.4s ease-in-out infinite;
}
.tc-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
    transform: skewX(-25deg);
    animation: tc-cta-shine 3.6s ease-in-out infinite;
}
.tc-cta:hover {
    transform: translateY(-1px);
    color: #fff !important;
    animation-play-state: paused;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.25) inset,
        0 8px 26px rgba(16,185,129,0.6),
        0 0 44px rgba(16,185,129,0.5);
}
@keyframes tc-cta-pulse {
    0%, 100% { box-shadow:
        0 0 0 1px rgba(255,255,255,0.18) inset,
        0 6px 20px rgba(16,185,129,0.45),
        0 0 32px rgba(16,185,129,0.28); }
    50% { box-shadow:
        0 0 0 1px rgba(255,255,255,0.22) inset,
        0 8px 26px rgba(16,185,129,0.6),
        0 0 48px rgba(16,185,129,0.55); }
}
@keyframes tc-cta-shine {
    0% { left: -100%; }
    50% { left: 130%; }
    100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
    .tc-cta { animation: none; }
    .tc-cta::after { animation: none; left: -200%; }
}
.tc-bestfor {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray, #636e72);
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .toplist-cards { max-width: 100%; gap: 0.8rem; }
    .toplist-card { padding: 0.7rem 0.75rem 0.8rem; gap: 0.5rem; border-radius: 14px; }
    .tc-header {
        grid-template-columns: 40px 130px 1fr;
        grid-template-areas: "rank logo name";
        gap: 0.55rem;
        padding-bottom: 0.5rem;
        align-items: center;
    }
    .tc-rank { grid-area: rank; width: 38px; height: 38px; font-size: 1rem; }
    .tc-logo {
        grid-area: logo;
        height: 64px;
        justify-self: start;
        padding: 6px 10px;
        border-radius: 10px;
    }
    .tc-logo img { max-width: 120px; max-height: 50px; }
    .tc-name { grid-area: name; text-align: left; min-width: 0; }
    .tc-name h3 { font-size: 1rem; margin: 0; line-height: 1.2; }
    .tc-rating { font-size: 0.74rem; }
    .tc-rating strong { font-size: 0.9rem; }
    .tc-bonus { padding: 0.45rem 0.7rem; }
    .tc-bonus-label { font-size: 0.62rem; }
    .tc-bonus-amount { font-size: 1.05rem; line-height: 1.2; }
    .tc-tags { gap: 0.3rem; }
    .tc-tags li { font-size: 0.7rem; padding: 0.18rem 0.55rem; }
    .tc-cta {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
        min-height: 46px;
        border-radius: 10px;
        letter-spacing: 0.04em;
    }
    .tc-bestfor { font-size: 0.76rem; margin: 0; }
}

/* Toplist eyebrow tag (gold uppercase chip above the H2) */
.toplist-eyebrow {
    color: #d4af37;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 0.4rem;
    text-align: center;
}

/* ===== TOPLIST REBUILT (anastasiialafay reference) ===== */
.comparison-table-wrap.toplist-rebuilt {
    max-width: 1200px;
    margin: 1.25rem auto 0;
    overflow-x: visible;
}
.comparison-table-wrap.toplist-rebuilt .comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}
.comparison-table-wrap.toplist-rebuilt thead th {
    background: var(--primary, #1a1a2e);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    text-align: left;
}
.comparison-table-wrap.toplist-rebuilt thead th:first-child { border-radius: 10px 0 0 10px; }
.comparison-table-wrap.toplist-rebuilt thead th:last-child  { border-radius: 0 10px 10px 0; text-align: center; }
.comparison-table-wrap.toplist-rebuilt tbody tr {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border-radius: 10px;
    transition: box-shadow 0.15s, transform 0.15s;
}
.comparison-table-wrap.toplist-rebuilt tbody tr:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}
.comparison-table-wrap.toplist-rebuilt tbody td {
    padding: 14px;
    vertical-align: middle;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}
.comparison-table-wrap.toplist-rebuilt tbody td:first-child {
    border-left: 1px solid #f3f4f6; border-radius: 10px 0 0 10px;
}
.comparison-table-wrap.toplist-rebuilt tbody td:last-child {
    border-right: 1px solid #f3f4f6; border-radius: 0 10px 10px 0; text-align: center;
}
.comparison-table-wrap.toplist-rebuilt .rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--primary);
    background: linear-gradient(135deg, #f0d878, #d4af37);
}
.comparison-table-wrap.toplist-rebuilt .rank-badge.rank-2 { background: linear-gradient(135deg, #d8d8d8, #b0b0b0); }
.comparison-table-wrap.toplist-rebuilt .rank-badge.rank-3 { background: linear-gradient(135deg, #e8a87c, #c97f4a); }
.comparison-table-wrap.toplist-rebuilt .casino-name-cell {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 700;
    color: var(--primary);
}
.comparison-table-wrap.toplist-rebuilt .toplist-logo {
    width: 130px;
    height: 76px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), inset 0 0 0 1px rgba(0,0,0,0.02);
    flex-shrink: 0;
}
.comparison-table-wrap.toplist-rebuilt .brand-name { display: block; line-height: 1.2; }
.comparison-table-wrap.toplist-rebuilt .casino-descriptor {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.82rem;
    margin-top: 2px;
}
.comparison-table-wrap.toplist-rebuilt .bonus-pill {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    border-left: 3px solid #f59e0b;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.92rem;
    pointer-events: none;
    white-space: nowrap;
}
.comparison-table-wrap.toplist-rebuilt .rating-number {
    color: #16a34a;
    font-weight: 800;
    font-size: 1.05rem;
}
.comparison-table-wrap.toplist-rebuilt .table-cta {
    background: linear-gradient(135deg, #10B981 0%, #047857 100%);
    color: #fff !important;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(16,185,129,0.25);
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}
.comparison-table-wrap.toplist-rebuilt .table-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(16,185,129,0.32);
}

@media (max-width: 768px) {
    .comparison-table-wrap.toplist-rebuilt thead { display: none; }
    .comparison-table-wrap.toplist-rebuilt .comparison-table { border-spacing: 0; }
    .comparison-table-wrap.toplist-rebuilt tbody tr {
        display: grid;
        grid-template-columns: 50px 1fr;
        grid-template-areas:
            "rank brand"
            "bonus bonus"
            "cta cta";
        gap: 8px 12px;
        padding: 12px;
        margin: 0 0 10px;
        border: 1.5px solid #d4af37;
        border-radius: 14px;
        background: #fff;
        align-items: center;
    }
    .comparison-table-wrap.toplist-rebuilt tbody td { border: 0 !important; padding: 0; display: block !important; width: auto !important; }
    .comparison-table-wrap.toplist-rebuilt tbody td:nth-child(1) { grid-area: rank; text-align: center; }
    .comparison-table-wrap.toplist-rebuilt tbody td:nth-child(2) { grid-area: brand; }
    .comparison-table-wrap.toplist-rebuilt tbody td:nth-child(3) { grid-area: bonus; text-align: center; }
    .comparison-table-wrap.toplist-rebuilt tbody td:nth-child(4),
    .comparison-table-wrap.toplist-rebuilt tbody td:nth-child(5),
    .comparison-table-wrap.toplist-rebuilt tbody td:nth-child(6) { display: none !important; }
    .comparison-table-wrap.toplist-rebuilt tbody td:nth-child(7) { grid-area: cta; text-align: center; }
    .comparison-table-wrap.toplist-rebuilt .table-cta { display: block; width: 100%; padding: 11px 16px; font-size: 0.95rem; }
    .comparison-table-wrap.toplist-rebuilt .casino-name-cell { gap: 8px; font-size: 0.95rem; }
    .comparison-table-wrap.toplist-rebuilt .toplist-logo {
        width: 96px;
        height: 56px;
        padding: 6px 8px;
        border-radius: 8px;
    }
    .comparison-table-wrap.toplist-rebuilt .bonus-pill { display: block; width: 100%; font-size: 1rem; padding: 8px 14px; text-align: center; box-sizing: border-box; }
}

/* ===== HOMEPAGE MINI-REVIEWS (anastasiialafay reference) ===== */
#mini-reviews { padding: 1rem 0; }
#mini-reviews .section-header { text-align: center; margin-bottom: 2rem; }
#mini-reviews .section-header .eyebrow {
    color: #d4af37;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
#mini-reviews .section-header h2 { margin-bottom: 0.5rem; color: var(--primary); }
#mini-reviews .section-header .lead { color: #6b7280; max-width: 720px; margin: 0 auto; }
.minireview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin: 0 auto 20px;
    max-width: 1100px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.minireview-header {
    display: grid;
    grid-template-columns: 56px 140px 1fr;
    gap: 18px;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}
.minireview-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0d878, #d4af37);
    color: var(--primary);
    font-weight: 800;
    font-size: 1.25rem;
}
.minireview-rank.rank-2 { background: linear-gradient(135deg, #d8d8d8, #b0b0b0); }
.minireview-rank.rank-3 { background: linear-gradient(135deg, #e8a87c, #c97f4a); }
.minireview-logo {
    max-width: 120px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
}
.minireview-titles h3 { color: var(--primary); font-size: 1.15rem; line-height: 1.3; margin: 0 0 6px; }
.minireview-bonus { font-size: 0.92rem; color: #b8960c; margin: 0; }
.minireview-bonus strong { color: var(--primary); }
.minireview-intro { color: #374151; font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.minireview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 1.25rem;
}
.minireview-grid section { background: #f9fafb; border-radius: 8px; padding: 14px 16px; }
.minireview-grid h4 { color: var(--primary); font-size: 0.92rem; margin: 0 0 6px; font-weight: 700; }
.minireview-grid p { color: #4b5563; font-size: 0.88rem; line-height: 1.65; margin: 0; }
.minireview-footer { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.minireview-cta {
    background: linear-gradient(135deg, #10B981 0%, #047857 100%);
    color: #fff !important;
    font-weight: 700;
    padding: 11px 22px;
    box-shadow: 0 3px 10px rgba(16,185,129,0.25);
    text-decoration: none;
    border-radius: 8px;
}
.minireview-cta:hover { transform: translateY(-1px); }
.minireview-secondary {
    color: var(--accent) !important;
    border: 1.5px solid var(--accent);
    background: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}
.minireview-secondary:hover { background: var(--accent); color: #fff !important; }
@media (max-width: 768px) {
    .minireview-header { grid-template-columns: 48px 1fr; }
    .minireview-logo { display: none; }
    .minireview-grid { grid-template-columns: 1fr; }
    .minireview-footer .minireview-cta,
    .minireview-footer .minireview-secondary { width: 100%; text-align: center; }
}

/* ===== HERO PROMO CARD (homepage only — interactive #1 casino card) ===== */
.hero-promo-card {
    display: none;  /* hidden on mobile/tablet — desktop-only */
}
@media (min-width: 1024px) {
    /* Two-column hero is HOMEPAGE-ONLY. Apply only when the hero contains
       a `.hero-promo-card` (the MadCasino card). Other pages keep their
       original full-width centered hero. */
    .hero:has(.hero-promo-card) {
        display: flex;
        justify-content: center;
        gap: 2.5rem;
        align-items: center;
        padding: 3rem 1.5rem;
    }
    .hero:has(.hero-promo-card) .hero-content {
        max-width: 560px;
        margin: 0;
        text-align: left;
    }
    .hero:has(.hero-promo-card)::before { z-index: 0; }
    .hero:has(.hero-promo-card) .hero-content,
    .hero:has(.hero-promo-card) .hero-promo-card { position: relative; z-index: 1; }
    .hero:has(.hero-promo-card) .hero-byline { justify-content: flex-start; }
    .hero:has(.hero-promo-card) .hero-update { display: inline-block; }
    .hero-promo-card {
        display: block;
        width: 320px;
        flex-shrink: 0;
    }
    .hero-promo-card .hpc-link {
        display: grid;
        gap: 0.7rem;
        background: #fff;
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 18px;
        padding: 1.25rem 1.3rem 1.3rem;
        text-decoration: none;
        color: var(--primary, #1a1a2e);
        box-shadow:
            0 0 0 1px rgba(245,166,35,0.4) inset,
            0 8px 28px rgba(245,166,35,0.35),
            0 0 64px rgba(245,166,35,0.22);
        transition: transform 0.25s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
        animation: hpc-glow 3s ease-in-out infinite;
    }
    .hero-promo-card .hpc-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: -60%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(245,166,35,0.18), transparent);
        transform: skewX(-22deg);
        animation: hpc-shine 4.2s ease-in-out infinite;
        pointer-events: none;
    }
    .hero-promo-card .hpc-link:hover {
        transform: translateY(-3px);
        animation-play-state: paused;
        box-shadow:
            0 0 0 1px rgba(245,166,35,0.6) inset,
            0 14px 38px rgba(245,166,35,0.55),
            0 0 90px rgba(245,166,35,0.45);
    }
    @keyframes hpc-glow {
        0%, 100% { box-shadow:
            0 0 0 1px rgba(245,166,35,0.4) inset,
            0 8px 28px rgba(245,166,35,0.35),
            0 0 64px rgba(245,166,35,0.22); }
        50% { box-shadow:
            0 0 0 1px rgba(245,166,35,0.55) inset,
            0 12px 36px rgba(245,166,35,0.5),
            0 0 90px rgba(245,166,35,0.4); }
    }
    @keyframes hpc-shine {
        0% { left: -60%; }
        50% { left: 130%; }
        100% { left: 130%; }
    }
    .hpc-rank {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #92400E;
    }
    .hpc-rank-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f0d878, #d4af37);
        color: var(--primary, #1a1a2e);
        font-weight: 800;
        font-size: 0.95rem;
    }
    .hpc-logo {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        padding: 10px 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 96px;
    }
    .hpc-logo img { max-width: 180px; max-height: 70px; width: auto; height: auto; }
    .hpc-brand { text-align: center; line-height: 1.25; }
    .hpc-brand-name { display: block; font-size: 1.35rem; font-weight: 800; color: var(--primary, #1a1a2e); }
    .hpc-brand-rating { display: block; font-size: 0.85rem; color: var(--gray, #636e72); margin-top: 0.15rem; }
    .hpc-brand-rating strong { color: #16a34a; font-size: 0.98rem; }
    .hpc-bonus {
        background: linear-gradient(135deg, #fff8e1 0%, #ffe9a8 100%);
        border-left: 4px solid #f5a623;
        border-radius: 8px;
        padding: 0.65rem 0.95rem;
        text-align: center;
    }
    .hpc-bonus-label {
        display: block;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #92400E;
        font-weight: 700;
        margin-bottom: 0.15rem;
    }
    .hpc-bonus-amount {
        display: block;
        font-size: 1.1rem;
        font-weight: 800;
        color: #78350F;
        line-height: 1.2;
    }
    .hpc-cta {
        display: block;
        text-align: center;
        background: linear-gradient(135deg, #34D399 0%, #10B981 50%, #047857 100%);
        color: #fff !important;
        font-weight: 800;
        font-size: 1rem;
        padding: 0.85rem 1rem;
        border-radius: 10px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        box-shadow:
            0 0 0 1px rgba(255,255,255,0.18) inset,
            0 5px 16px rgba(16,185,129,0.4),
            0 0 28px rgba(16,185,129,0.22);
    }
    .hpc-bestfor {
        display: block;
        text-align: center;
        font-size: 0.82rem;
        color: var(--gray, #636e72);
        font-style: italic;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-promo-card .hpc-link { animation: none; }
    .hero-promo-card .hpc-link::after { animation: none; left: -200%; }
}

/* ===== HERO TRUST BAR (slim chip strip inside the hero) ===== */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 1.25rem auto 0;
    font-size: 0.78rem;
}
.hero-trust-bar .trust-chip {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;
    padding: 0.35rem 0.8rem;
    color: rgba(255,255,255,0.92);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    line-height: 1.2;
    backdrop-filter: blur(10px);
}
.hero-trust-bar .trust-chip a { color: #fff; font-weight: 700; text-decoration: none; }
.hero-trust-bar .trust-chip a:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .hero-trust-bar { font-size: 0.72rem; gap: 0.35rem; }
    .hero-trust-bar .trust-chip { padding: 0.3rem 0.6rem; }
}

/* methodology anchor link inside toplist */
.methodology-anchor-link {
    margin: -0.6rem 0 1.1rem;
    font-size: 0.92rem;
}
.methodology-anchor-link a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent);
    padding-bottom: 2px;
}
.methodology-anchor-link a:hover { border-bottom-style: solid; }

/* ===== UPDATE BAR ===== */
.update-bar {
    background: linear-gradient(90deg, #e8f5e9, #f1f8e9);
    border: 1px solid #c8e6c9;
    border-radius: var(--radius);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.update-bar strong { flex-shrink: 0; }
.update-bar strong { color: var(--green); }

/* ===== AUTHOR BOX (EEAT) ===== */
.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.2rem;
    margin-bottom: 2rem;
}
img.author-avatar,
.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--light, #dfe6e9);
    flex-shrink: 0;
    display: block;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
}
.author-info { flex: 1; }
.author-name { font-weight: 700; font-size: 0.95rem; }
.author-role { font-size: 0.82rem; color: var(--gray); }
.author-date { font-size: 0.8rem; color: var(--gray); margin-top: 2px; }

/* ===== METHODOLOGY BOX (EEAT) ===== */
.methodology-box {
    background: linear-gradient(135deg, #f8f9fa, #e8eaf6);
    border: 1px solid #c5cae9;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}
.methodology-box h3 { color: var(--primary); margin-bottom: 0.8rem; font-size: 1.1rem; }
.methodology-box ul { padding-left: 1.5rem; }
.methodology-box li { margin-bottom: 0.4rem; font-size: 0.92rem; }

/* ===== CASINO CARDS ===== */
.review-hero-logo {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 0.6rem;
    max-width: 220px;
}
main > h1 {
    text-align: center;
    max-width: 820px;
    margin: 0.6rem auto 1.5rem;
    padding: 0 1rem;
}
@media (max-width: 768px) {
    main > h1 { font-size: 1.5rem; line-height: 1.25; margin: 0.4rem auto 1rem; }
}
.review-hero-logo img { max-width: 180px; max-height: 80px; width: auto; height: auto; }
.casino-logo {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 180px;
    margin: 0 auto;
}
.casino-logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 60px;
    display: block;
}
.casino-card {
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: grid;
    grid-template-columns: auto auto 1fr minmax(220px, auto);
    gap: 1.2rem;
    align-items: center;
}
.casino-card > div:last-child { min-width: 220px; }
.casino-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pros-cons-chips {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px dashed var(--light);
    margin-top: 0.4rem;
}
.pc-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 6px;
    line-height: 1.3;
    white-space: nowrap;
}
.pc-pro { background: #DCFCE7; color: #14532D; border: 1px solid #BBF7D0; }
.pc-con { background: #FEE2E2; color: #7F1D1D; border: 1px solid #FECACA; }
@media (max-width: 768px) {
    .pros-cons-chips { justify-content: center; padding-top: 0.3rem; }
    .pc-chip { font-size: 0.72rem; padding: 0.2rem 0.5rem; }
}
.casino-review {
    background: #fff;
    border: 1px solid var(--light);
    border-top: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
    margin: -0.6rem 0 1.6rem;
    box-shadow: var(--shadow);
    line-height: 1.7;
}
.casino-review h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0 0 0.6rem;
}
.casino-review h5 {
    font-size: 0.95rem;
    color: var(--accent);
    margin: 1rem 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.casino-review p { font-size: 0.95rem; color: #2c3e50; margin: 0 0 0.5rem; }
@media (max-width: 768px) {
    .casino-review { padding: 1.1rem 1.05rem; border-top-width: 3px; }
    .casino-review h4 { font-size: 1.05rem; }
    .casino-review h5 { font-size: 0.85rem; }
    .casino-review p { font-size: 0.9rem; }
}
.casino-rank {
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}
.casino-rank.gold { background: linear-gradient(135deg, var(--gold), #e67e22); }
.casino-info h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.casino-info h3 a { color: var(--primary); text-decoration: none; }
.casino-info h3 a:hover { color: var(--accent); }
.casino-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.3rem;
}
.casino-meta span { display: flex; align-items: center; gap: 0.3rem; }
.casino-bonus {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 1px solid #ffcc80;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    text-align: center;
    white-space: nowrap;
}
.casino-bonus .amount { font-weight: 800; color: #e65100; font-size: 1.1rem; display: block; }
.casino-bonus .label { font-size: 0.75rem; color: #bf360c; }

.casino-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
}
.stars { color: var(--gold); letter-spacing: 1px; }
.rating-num { font-weight: 700; font-size: 0.9rem; color: var(--primary); }

.casino-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.tag {
    background: #e8eaf6;
    color: #3949ab;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}
.tag.green { background: #e8f5e9; color: #2e7d32; }
.tag.gold { background: #fff8e1; color: #f57f17; }

/* ===== CTA BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #c0392b);
    color: white;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(233,69,96,0.4); }
.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary); color: white; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold), #e67e22);
    color: white;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245,166,35,0.4); }

/* ===== CONTENT SECTIONS ===== */
.content-section {
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}
.content-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}
.content-section h3 { color: var(--secondary); font-size: 1.15rem; margin: 1.2rem 0 0.6rem; }
.content-section p { margin-bottom: 1rem; }
.content-section ul, .content-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.content-section li { margin-bottom: 0.5rem; }

/* TOC styles removed per [[no-table-of-contents]] skill */

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}
.comparison-table th {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1rem;
    text-align: left;
    font-weight: 600;
}
.comparison-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--light);
}
.comparison-table tr:nth-child(even) { background: #f8f9fa; }
.comparison-table tr:hover { background: #e8eaf6; }

/* ===== INFO BOXES ===== */
.info-box {
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}
.info-box.warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}
.info-box.tip {
    background: #e8f5e9;
    border-left: 4px solid var(--green);
}
.info-box.legal {
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
}
.info-box.danger {
    background: #fce4ec;
    border-left: 4px solid var(--accent);
}

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid var(--light);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}
.faq-question {
    background: #f8f9fa;
    padding: 1rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after { content: '+'; font-size: 1.2rem; color: var(--accent); }
.faq-question.open::after { content: '-'; }
.faq-answer {
    padding: 0 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}
.faq-answer.open { max-height: 500px; padding: 1rem 1.2rem; }

/* ===== PROS/CONS ===== */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.pros h4 { color: var(--green); margin-bottom: 0.5rem; }
.cons h4 { color: var(--accent); margin-bottom: 0.5rem; }
.pros li::marker { content: '+ '; color: var(--green); font-weight: 700; }
.cons li::marker { content: '- '; color: var(--accent); font-weight: 700; }

/* ===== PAYMENT GRID ===== */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.payment-card {
    background: white;
    border: 1px solid var(--light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s;
}
.payment-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.payment-card .name { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.payment-card .detail { font-size: 0.8rem; color: var(--gray); }

/* ===== SIDEBAR-LIKE BOXES ===== */
.sidebar-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}
.sidebar-box h3 { margin-bottom: 0.8rem; font-size: 1.1rem; }
.sidebar-box a { color: var(--gold); }

/* ===== RESPONSIBLE GAMING ===== */
.responsible-gaming {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}
.responsible-gaming h3 { color: #2e7d32; margin-bottom: 0.5rem; }
.responsible-gaming p { font-size: 0.9rem; color: #1b5e20; }

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: rgba(255,255,255,0.7);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: auto;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.footer-col h4 {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.78rem;
}
.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    opacity: 0.6;
}
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
}
.footer-badges span {
    background: rgba(255,255,255,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.two-col .main-col { min-width: 0; }
.two-col .side-col { min-width: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .two-col { grid-template-columns: 1fr; }
    /* mobile-toplist-card skill: centered vertical card per row */
    .casino-card {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0.85rem 0.85rem 0.95rem;
        gap: 0.45rem;
        border: 1.5px solid var(--primary, #16213e);
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .casino-rank { margin: 0 auto; width: 36px; height: 36px; font-size: 0.95rem; }
    .casino-info { text-align: center; }
    .casino-info h3 { font-size: 1.05rem; margin: 0.2rem 0 0.35rem; }
    .casino-meta { justify-content: center; flex-wrap: wrap; gap: 0.4rem; font-size: 0.78rem; }
    .casino-tags { justify-content: center; }
    /* bonus is a highlight, not a button: flat amber, no shadow, small radius */
    .casino-bonus {
        background: #FEF3C7;
        color: #92400E;
        border: 1px solid #FDE68A;
        border-radius: 4px;
        padding: 0.55rem 0.85rem;
        box-shadow: none;
        cursor: default;
        pointer-events: none;
    }
    .casino-bonus .amount { color: #92400E; font-size: 1.05rem; }
    .casino-bonus .label { color: #78350F; }
    .casino-card > div:last-child { width: 100%; min-width: 0; }
    .casino-card .btn-primary {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem;
        font-size: 1rem;
        font-weight: 800;
        border-radius: 10px;
        min-height: 44px;
    }
    .pros-cons { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        bottom: 0;
        width: 85vw;
        max-width: 360px;
        background: var(--primary);
        padding: 0.5rem 1rem 2rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.4);
        max-height: 100vh;
        overflow-y: auto;
        z-index: 1001;
        transform: translateX(0);
        transition: transform 0.25s ease;
    }
    .main-nav > a,
    .main-nav .nav-dropdown > a { font-size: 1.05rem; padding: 0.85rem 0.8rem; }
    .main-nav .nav-cta { display: block; text-align: center; margin: 1rem 0 0; }
    .nav-close { display: flex; align-items: center; justify-content: center; }
    .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; }
    .nav-overlay.open { display: block; }
    body.nav-open { overflow: hidden; }
    .hamburger { display: flex; }
    .main-nav.open .nav-dropdown { width: 100%; }
    .main-nav.open .nav-dropdown > a { width: 100%; }
    .main-nav.open .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        columns: 1;
        min-width: auto;
        max-height: none;
    }
    .main-nav.open .nav-dropdown.open > .dropdown-content { display: block; }
    .dropdown-wide { columns: 1; }
    .hero { padding: 1rem 1rem 0.85rem; }
    .hero h1 { font-size: 1.35rem; margin-bottom: 0.4rem; }
    .hero p { font-size: 0.88rem; margin-bottom: 0.55rem; max-width: 100%; }
    .hero-update { font-size: 0.66rem; padding: 0.22rem 0.7rem; margin-bottom: 0.45rem; }
    .hero-byline { margin: 0.2rem 0 0; }
    .hero-byline-link { padding: 0.3rem 0.7rem 0.3rem 0.3rem; }
    .hero-byline-avatar { width: 28px; height: 28px; }
    .hero-byline-name { font-size: 0.82rem; }
    .hero-byline-role { font-size: 0.7rem; }

    /* Compact the area between hero and first toplist card on mobile so the
       first card + CTA is reachable in the 390x844 viewport. Applies on every
       page whose body contains a .toplist-cards block (homepage + all 15
       keyword pages). */
    main { padding: 0.65rem 0.85rem 1rem; }
    section:has(> .toplist-cards),
    section:has(> .toplist-eyebrow),
    .content-section:has(> .toplist-cards),
    .content-section:has(> .toplist-eyebrow) {
        padding: 0.7rem 0.7rem 0.4rem !important;
        margin-bottom: 0.4rem;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }
    section:has(> .toplist-cards) h2,
    .content-section:has(> .toplist-cards) h2 {
        font-size: 1.05rem;
        margin: 0 0 0.35rem;
        line-height: 1.3;
        text-align: center;
    }
    .toplist-eyebrow { font-size: 0.65rem; margin-bottom: 0.2rem; }
    section:has(.toplist-cards) .toplist-lead,
    .content-section:has(.toplist-cards) .toplist-lead { display: none; }
    section:has(.toplist-cards) .methodology-anchor-link,
    .content-section:has(.toplist-cards) .methodology-anchor-link { display: none; }
    /* Hide every direct child of a toplist section except eyebrow + H2 + the
       wrapper containing the cards. The .toplist-cards may be wrapped by an
       intermediate <div> (e.g. style="overflow-x:auto"), so we keep any
       direct child that contains a `.toplist-cards` descendant. */
    section:has(.toplist-cards) > *:not(.toplist-eyebrow):not(h2):not(.toplist-cards):not(:has(.toplist-cards)),
    .content-section:has(.toplist-cards) > *:not(.toplist-eyebrow):not(h2):not(.toplist-cards):not(:has(.toplist-cards)) {
        display: none !important;
    }
    /* If an intermediate wrapper is kept visible, strip its own pre-cards
       siblings (h3 / paragraphs / boxes) too. */
    section:has(.toplist-cards) > *:has(.toplist-cards) > *:not(.toplist-cards),
    .content-section:has(.toplist-cards) > *:has(.toplist-cards) > *:not(.toplist-cards) {
        display: none !important;
    }
    .toplist-cards { margin-top: 0.35rem; gap: 0.6rem; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 1rem; }
    .content-section { padding: 1.2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: 0.5rem; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
    .hero-badges { flex-direction: column; align-items: center; }
    .payment-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== GAME CARDS ===== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}
.game-card {
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}
.game-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.game-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.game-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 0.4rem; }
.game-card p { font-size: 0.85rem; color: var(--gray); }

/* ===== STEP BOXES ===== */
.steps { counter-reset: step; }
.step {
    counter-increment: step;
    background: white;
    border: 1px solid var(--light);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.5rem 4rem;
    margin-bottom: 1rem;
    position: relative;
}
.step::before {
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1.2rem;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}
.step h4 { margin-bottom: 0.3rem; color: var(--primary); }
.step p { font-size: 0.9rem; color: #555; }

/* ===== STATS ROW ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.stat-box {
    background: white;
    border: 1px solid var(--light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--gray); }
