/* ============================================
   BEST CASINO SITES UK - Main Stylesheet
   funkysoapshop.com | Targeted at UK Players
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap');

/* --- CSS Variables (re-skinned: deep-navy surface + amber primary) --- */
:root {
    /* Surface palette (Material 3 dark deep-navy scheme) */
    --surface:               #0b1326;
    --surface-dim:           #0b1326;
    --surface-bright:        #31394d;
    --surface-container-lowest: #060e20;
    --surface-container-low:    #131b2e;
    --surface-container:        #171f33;
    --surface-container-high:   #222a3d;
    --surface-container-highest:#2d3449;
    --outline:               #a08e7a;
    --outline-variant:       rgba(255, 255, 255, 0.10);

    /* Brand colours */
    --primary-container:     #f59e0b;     /* button fill */
    --primary-container-2:   #d97706;     /* gradient stop */
    --primary-container-3:   #fbbf24;     /* gradient stop */
    --on-primary:            #472a00;     /* text on amber button */
    --primary-fixed-dim:     #ffb95f;     /* logo highlight */
    --secondary-container:   #00a572;     /* green chip */
    --tertiary-container:    #38bdf8;     /* blue chip */
    --secondary-accent:      #4edea3;
    --tertiary-accent:       #8ed5ff;

    /* Text */
    --on-surface:            #dae2fd;
    --on-surface-variant:    #d8c3ad;

    /* Legacy alias mapping (existing selectors reference these names) */
    --primary:           var(--surface);
    --secondary:         var(--surface-container);
    --accent:            var(--primary-container);
    --gold:              #ffc174;
    --gold-light:        #ffddb8;
    --green:             var(--secondary-accent);
    --green-dark:        var(--secondary-container);
    --blue:              var(--tertiary-accent);
    --blue-light:        #c4e7ff;
    --dark:              var(--surface);
    --dark-card:         var(--surface-container);
    --dark-border:       var(--outline-variant);
    --text:              var(--on-surface);
    --text-muted:        var(--outline);
    --text-light:        var(--on-surface-variant);
    --white:             #ffffff;
    --bg-body:           var(--surface);
    --bg-section:        var(--surface-container-low);
    --bg-card:           var(--surface-container);
    --bg-card-hover:     var(--surface-container-high);

    /* Geometry & motion */
    --radius:    12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow:    0 4px 20px rgba(0,0,0,0.3);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.45);
    --transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    --max-width: 1200px;

    /* Fonts */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-primary);
    background: var(--bg-body);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.3;
    font-weight: 700;
}

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--bg-section); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    padding: 8px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--dark-border);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar a { color: var(--text-muted); font-size: 0.8rem; }
.top-bar a:hover { color: var(--gold); }
.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.75rem;
}

/* --- Header --- */
.site-header {
    background: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: var(--shadow);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo span { color: var(--gold); }

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a {
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active {
    color: var(--white);
    background: rgba(233, 69, 96, 0.15);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Dropdown Navigation --- */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a::after {
    content: ' \25BE';
    font-size: 0.7rem;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    min-width: 240px;
    padding: 8px 0;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    display: block;
}
.dropdown-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 0;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: rgba(233, 69, 96, 0.12);
    color: var(--white);
}
.dropdown-divider {
    height: 1px;
    background: var(--dark-border);
    margin: 6px 0;
}
.dropdown-label {
    padding: 6px 18px 2px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #0a3d62 100%);
    padding: 80px 0 60px;
    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(245,166,35,0.05) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}
.hero-content { position: relative; z-index: 1; }
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 25px;
}
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.08);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-badge svg { width: 16px; height: 16px; fill: var(--gold); }

/* --- Trust Bar --- */
.trust-bar {
    background: var(--secondary);
    padding: 20px 0;
    border-bottom: 1px solid var(--dark-border);
}
.trust-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.trust-item svg { width: 20px; height: 20px; fill: var(--green); flex-shrink: 0; }

/* --- Last Updated --- */
.last-updated {
    text-align: center;
    padding: 15px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--dark-border);
}
.last-updated strong { color: var(--gold); }

/* --- Casino Card --- */
.casino-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.casino-card:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.casino-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245,166,35,0.05) 100%);
}
.casino-card.featured::before {
    content: "Editor's Pick";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--gold);
    color: var(--dark);
    padding: 3px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
}
.casino-rank {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--gold);
    color: var(--dark);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 0 0 var(--radius-sm) 0;
}
.casino-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding-left: 50px;
}
.casino-logo-wrap {
    width: 110px;
    height: 80px;
    background: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    color: var(--primary);
    font-size: 0.7rem;
    text-align: center;
    padding: 6px;
    overflow: hidden;
}
.casino-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.casino-info { flex: 1; }
.casino-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}
.casino-tagline { font-size: 0.85rem; color: var(--text-muted); }
.casino-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.rating-score {
    background: var(--green);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
}
.rating-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }

.casino-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
}
.casino-detail h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.casino-detail .value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
}
.casino-detail .bonus-value {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 700;
}

.casino-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--green);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

.casino-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}
.casino-payments {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.payment-icon {
    background: rgba(255,255,255,0.08);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--text-muted);
    border: 1px solid var(--dark-border);
}

/* --- CTA Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
    color: var(--white);
}
.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark);
}
.btn-green {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}
.btn-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 35px; font-size: 1.05rem; }

/* --- Section Headers --- */
.section-header {
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 700px;
}
.section-header.text-center p { margin: 0 auto; }

/* --- Comparison Table --- */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 20px 0;
}
.comparison-table thead {
    background: var(--secondary);
}
.comparison-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.comparison-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--dark-border);
    font-size: 0.9rem;
}
.comparison-table tr:hover { background: var(--bg-card-hover); }
.comparison-table .casino-name-cell {
    font-weight: 700;
    color: var(--white);
}

/* --- Info Boxes --- */
.info-box {
    background: var(--bg-card);
    border-left: 4px solid var(--blue);
    padding: 20px 25px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 25px 0;
}
.info-box.warning { border-left-color: var(--gold); }
.info-box.danger { border-left-color: var(--accent); }
.info-box.success { border-left-color: var(--green); }
.info-box h4 { margin-bottom: 8px; font-size: 1rem; }

/* --- FAQ Accordion --- */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--gold);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}
.faq-item.active .faq-question::after {
    content: '-';
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer-inner {
    padding: 0 25px 20px;
    color: var(--text);
    line-height: 1.8;
}

/* --- Pros/Cons --- */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.pros h4 { color: var(--green); margin-bottom: 10px; }
.cons h4 { color: var(--accent); margin-bottom: 10px; }
.pros li, .cons li {
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
    font-size: 0.9rem;
}
.pros li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.cons li::before {
    content: '\2717';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* --- Author Box (EEAT) --- */
.author-box {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 25px;
    margin: 30px 0;
}
.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}
.author-info h4 { font-size: 1rem; margin-bottom: 3px; }
.author-info .author-role {
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 8px;
}
.author-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* --- Review Methodology --- */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.methodology-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}
.methodology-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}
.methodology-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: rgba(245,166,35,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.methodology-card h4 { margin-bottom: 8px; font-size: 0.95rem; }
.methodology-card p { font-size: 0.85rem; color: var(--text-muted); }
.methodology-card .weight {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 10px;
}

/* --- Content Blocks --- */
.content-block {
    max-width: 800px;
    margin: 0 auto;
}
.content-block h2 {
    font-size: 1.8rem;
    margin: 40px 0 15px;
}
.content-block h3 {
    font-size: 1.3rem;
    margin: 30px 0 12px;
    color: var(--gold);
}
.content-block p {
    margin-bottom: 15px;
    color: var(--text);
}
.content-block ul, .content-block ol {
    margin: 15px 0;
    padding-left: 25px;
}
.content-block ul { list-style: disc; }
.content-block ol { list-style: decimal; }
.content-block li {
    margin-bottom: 8px;
    color: var(--text);
}

/* --- Category Cards --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.category-card {
    background: var(--bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}
.category-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.category-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.category-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; }

/* --- Responsible Gambling Banner --- */
.rg-banner {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
    border: 1px solid rgba(41, 128, 185, 0.3);
    border-radius: var(--radius);
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}
.rg-banner h3 { margin-bottom: 10px; color: var(--blue-light); }
.rg-banner p { color: var(--text-muted); margin-bottom: 15px; font-size: 0.9rem; }
.rg-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.rg-links a {
    color: var(--blue-light);
    font-size: 0.85rem;
    padding: 6px 15px;
    border: 1px solid rgba(41,128,185,0.3);
    border-radius: 50px;
}
.rg-links a:hover {
    background: rgba(41,128,185,0.15);
    color: var(--white);
}

/* --- Footer --- */
.site-footer {
    background: var(--dark);
    padding: 60px 0 30px;
    border-top: 2px solid var(--dark-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-about p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 15px 0;
    line-height: 1.7;
}
.footer-col h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.footer-col a {
    display: block;
    color: var(--text-muted);
    padding: 4px 0;
    font-size: 0.85rem;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 25px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.footer-badge {
    background: rgba(255,255,255,0.05);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border: 1px solid var(--dark-border);
}

/* --- Breadcrumb --- */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.82rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); margin: 0 8px; }
.breadcrumb .current { color: var(--gold); }

/* --- Table of Contents --- */
.toc {
    background: var(--bg-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 25px;
    margin: 25px 0;
}
.toc h4 { margin-bottom: 12px; font-size: 0.95rem; }
.toc ol {
    list-style: decimal;
    padding-left: 25px;
}
.toc li {
    margin-bottom: 6px;
}
.toc a {
    color: var(--text);
    font-size: 0.9rem;
}
.toc a:hover { color: var(--gold); }

/* --- Disclaimer --- */
.disclaimer {
    background: rgba(233, 69, 96, 0.05);
    border: 1px solid rgba(233, 69, 96, 0.15);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 20px 0;
    line-height: 1.6;
}

/* --- Bonus Box --- */
.bonus-box {
    background: linear-gradient(135deg, rgba(245,166,35,0.08) 0%, rgba(233,69,96,0.05) 100%);
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    margin: 15px 0;
}
.bonus-box .bonus-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 5px;
}
.bonus-box .bonus-terms {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .casino-body {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 20px;
        border-bottom: 2px solid var(--gold);
        z-index: 999;
    }
    .dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        min-width: auto;
        padding: 0 0 0 15px;
        max-height: none;
    }
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        display: none;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 50px 0 40px; }
    .casino-header { flex-direction: column; text-align: center; padding-left: 0; padding-top: 40px; }
    .casino-footer { flex-direction: column; text-align: center; }
    .casino-payments { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }
    .comparison-table { font-size: 0.8rem; }
    .comparison-table th, .comparison-table td { padding: 10px; }
    .section-header h2 { font-size: 1.5rem; }
    .author-box { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero .subtitle { font-size: 1rem; }
    .btn-lg { padding: 12px 25px; font-size: 0.95rem; }
}

/* --- Mobile toplist optimisation: collapse hero + raise toplist above the fold --- */
.hero-expand { display: none; }
@media (max-width: 768px) {
    .hero { padding: 16px 0 14px; }
    .hero h1 {
        font-size: 1.2rem;
        line-height: 1.25;
        margin-bottom: 4px;
    }
    .hero .subtitle,
    .hero .hero-badges { display: none; }
    .hero.expanded .subtitle {
        display: block;
        font-size: 0.9rem;
        margin: 8px auto 10px;
        line-height: 1.45;
    }
    .hero.expanded .hero-badges {
        display: flex;
        gap: 8px;
        margin-top: 10px;
    }
    .hero.expanded .hero-badge {
        font-size: 0.72rem;
        padding: 5px 10px;
    }
    .hero-expand {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 6px;
        padding: 4px 12px;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 50px;
        color: var(--text-light);
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        font-family: inherit;
    }
    .hero-expand .chev {
        display: inline-block;
        transition: transform 0.2s ease;
        font-size: 0.7rem;
    }
    .hero.expanded .hero-expand .chev { transform: rotate(180deg); }

    /* Save vertical space so first toplist card sits above the fold on iPhone */
    .trust-bar { display: none; }
    .last-updated { padding: 6px 0; font-size: 0.72rem; line-height: 1.3; }
    .disclaimer { padding: 8px 12px; font-size: 0.72rem; margin: 8px 0; line-height: 1.4; }
    .section { padding: 14px 0; }
    .section-header { margin-bottom: 14px; }
    .section-header h2 { font-size: 1.25rem; margin-bottom: 4px; line-height: 1.25; }
    .section-header p { font-size: 0.82rem; line-height: 1.4; }

    /* Collapsible TOC */
    .toc { padding: 10px 14px; margin: 10px 0; }
    .toc h4 {
        margin-bottom: 0;
        font-size: 0.85rem;
        cursor: pointer;
        position: relative;
        padding-right: 24px;
    }
    .toc h4::after {
        content: '\25BE';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        transition: transform 0.2s ease;
        color: var(--gold);
    }
    .toc.open h4::after { transform: translateY(-50%) rotate(180deg); }
    .toc ol { display: none; margin-top: 8px; font-size: 0.8rem; }
    .toc.open ol { display: block; }

    /* Compact featured/top casino card so #1 fits with #2 peeking */
    .casino-card { padding: 12px; margin-bottom: 12px; }
    .casino-rank {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
        top: 10px;
        left: 10px;
    }
    .casino-header { padding-top: 6px; padding-left: 0; gap: 12px; }
    .casino-logo-wrap { width: 90px; height: 60px; font-size: 0.75rem; flex-shrink: 0; padding: 4px; }
    .casino-info { text-align: left; }
    .casino-name { font-size: 1.05rem; }
    .casino-tagline { font-size: 0.78rem; margin: 2px 0 4px; }
    .casino-rating { justify-content: flex-start; }
    .casino-rating .rating-score { font-size: 1.25rem; }
    .casino-rating .rating-stars { font-size: 0.85rem; }
    .casino-body { gap: 10px; margin-top: 12px; }
    .casino-detail h4 { font-size: 0.7rem; margin-bottom: 2px; }
    .casino-detail .bonus-value,
    .casino-detail .value { font-size: 0.88rem; }
    .casino-features { gap: 4px; margin-top: 10px; }
    .feature-tag { font-size: 0.72rem; padding: 3px 8px; }
    .casino-card > p { font-size: 0.85rem; line-height: 1.5; margin-top: 10px; }
    .casino-footer { margin-top: 10px; gap: 10px; }
    .casino-footer .btn { width: 100%; }

    /* Pin the primary "Claim Bonus" CTA to the top-right of the card on mobile */
    .casino-card .casino-footer .btn-primary {
        position: absolute;
        top: 10px;
        right: 10px;
        width: auto;
        padding: 6px 12px;
        font-size: 0.72rem;
        line-height: 1.2;
        white-space: nowrap;
        z-index: 3;
        border-radius: 999px;
    }
    /* Reserve space at the top-right so the name/rating doesn't sit under the CTA */
    .casino-header { padding-right: 110px; }
}

/* ============================================================
   PREMIUM RE-SKIN: glass panels, shimmer hero, metallic CTAs
   Layered additively on existing class names. No content changes.
   ============================================================ */

/* Animated background pulses inside the hero */
@keyframes pulse-glow {
    from { opacity: 0.5; transform: scale(1); }
    to   { opacity: 1;   transform: scale(1.1); }
}
/* Moving conic-gradient on the metallic CTA */
@keyframes shimmer-bg {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
/* Travelling highlight on shimmer-text headings */
@keyframes shine {
    to { background-position: 200% center; }
}
/* Reveal-on-scroll entrance */
@keyframes reveal-up {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Heading font upgrade — applies to ALL existing h1..h6 since they use
   var(--font-heading), which is now Montserrat. */
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.01em; }
.hero h1,
.section-header h2 { letter-spacing: -0.02em; }

/* --- Hero: animated radial glow + shimmer headline -------------- */
.hero {
    background:
        radial-gradient(circle at 25% 40%, rgba(245,158,11,0.18) 0%, transparent 55%),
        radial-gradient(circle at 75% 60%, rgba(0,165,114,0.12) 0%, transparent 55%),
        linear-gradient(180deg, var(--surface) 0%, var(--surface-container-low) 100%);
}
.hero::before {
    background: radial-gradient(circle, rgba(245,158,11,0.10) 0%, transparent 60%);
    animation: pulse-glow 8s ease-in-out infinite alternate;
}
.hero h1 {
    background: linear-gradient(to right, #ffc174 20%, #ffffff 40%, #ffffff 60%, #ffc174 80%);
    background-size: 200% auto;
    color: #ffc174;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

/* Hero badges as glass pills */
.hero-badge {
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--outline-variant);
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 600;
    color: var(--on-surface);
}
.hero-badge svg { fill: var(--secondary-accent); }

/* --- Trust bar + last-updated soft polish ---------------------- */
.trust-bar { background: var(--surface-container-low); }
.trust-item svg { fill: var(--secondary-accent); }
.last-updated { background: var(--surface-container-low); color: var(--on-surface-variant); }

/* --- Sticky header tone ---------------------------------------- */
.site-header {
    background: rgba(23, 31, 51, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--outline-variant);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
    background: rgba(23, 31, 51, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.logo { color: var(--primary-fixed-dim); letter-spacing: -0.02em; }
.logo span { color: var(--gold); }

/* Image logo (header + footer) */
.logo img {
    display: block;
    height: 64px;
    width: auto;
    max-width: 280px;
}
.site-footer .logo img { height: 56px; }
@media (max-width: 768px) {
    .logo img { height: 52px; max-width: 220px; }
}
@media (max-width: 480px) {
    .logo img { height: 44px; max-width: 180px; }
}

/* Author portrait avatars (replaces the old initial-letter circle) */
.author-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--primary-fixed-dim);
    box-shadow: 0 4px 14px rgba(0,0,0,0.30);
}
.author-box {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
@media (max-width: 768px) {
    .author-avatar-img { width: 64px; height: 64px; }
}

/* --- Featured ribbon: hide on mobile so it doesn't overlap the top-right CTA --- */
@media (max-width: 768px) {
    .casino-card.featured::before { display: none; }
}

/* ============================================================
   TOPLIST TABLE  —  logo + rating + bonus + Claim Bonus CTA
   Lives in <section class="toplist-section" id="toplist">.
   ============================================================ */
.toplist-section { padding: 36px 0 24px; }

.toplist-table-wrap {
    background:
        linear-gradient(180deg, rgba(245,158,11,0.05) 0%, transparent 30%),
        rgba(23, 31, 51, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.35);
    overflow: hidden;
}

.toplist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}
.toplist-table thead {
    background: linear-gradient(180deg, rgba(45,52,73,0.95) 0%, rgba(34,42,61,0.95) 100%);
}
.toplist-table thead th {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-size: 0.74rem;
    color: var(--primary-fixed-dim);
    font-weight: 700;
    padding: 16px 14px;
    border-bottom: 1px solid rgba(245,158,11,0.25);
}
.toplist-table thead .col-rank   { width: 56px;  text-align: center; }
.toplist-table thead .col-rating { width: 110px; text-align: center; }
.toplist-table thead .col-bonus  { width: 230px; }
.toplist-table thead .col-cta    { width: 200px; text-align: center; }

.toplist-table tbody tr {
    border-bottom: 1px solid var(--outline-variant);
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.toplist-table tbody tr:last-child { border-bottom: none; }
.toplist-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.025); }
.toplist-table tbody tr:hover {
    background: rgba(245, 158, 11, 0.06);
}
.toplist-table tbody tr:first-child {
    background:
        linear-gradient(90deg, rgba(245,158,11,0.10) 0%, rgba(245,158,11,0.02) 100%);
    border-left: 3px solid var(--primary-container);
}

.toplist-table td {
    padding: 14px;
    vertical-align: middle;
}

/* Rank pill */
.col-rank { text-align: center; }
.rank-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--surface-container-highest);
    color: var(--primary-fixed-dim);
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid var(--outline-variant);
}
.toplist-table tbody tr:first-child .rank-pill {
    background: var(--primary-container);
    color: var(--on-primary);
    border-color: var(--primary-container);
    box-shadow: 0 4px 12px rgba(245,158,11,0.40);
}

/* Casino column: logo + name + tagline */
.toplist-brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--on-surface);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.toplist-brand-link:hover { transform: translateX(3px); color: var(--primary-fixed-dim); }
.toplist-logo-wrap {
    flex-shrink: 0;
    width: 96px; height: 56px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.toplist-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.toplist-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.toplist-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    letter-spacing: -0.01em;
}
.toplist-tagline {
    font-size: 0.8rem;
    color: var(--secondary-accent);
    font-weight: 600;
}

/* Rating */
.col-rating { text-align: center; }
.toplist-rating {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-fixed-dim);
    line-height: 1;
    margin-bottom: 2px;
}
.toplist-stars {
    color: var(--primary-container);
    font-size: 0.78rem;
    letter-spacing: 1px;
}

/* Bonus column */
.toplist-bonus-main {
    display: block;
    font-weight: 700;
    color: var(--white);
    font-size: 0.98rem;
}
.toplist-bonus-extra {
    display: block;
    color: var(--secondary-accent);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 2px;
}

/* CTA column */
.col-cta { text-align: center; }
.btn-claim {
    display: inline-block;
    background: linear-gradient(45deg,
        var(--primary-container) 0%,
        var(--primary-container-2) 30%,
        var(--primary-container-3) 60%,
        var(--primary-container) 100%);
    background-size: 300% 300%;
    color: var(--on-primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(245,158,11,0.30);
    animation: shimmer-bg 6s ease infinite;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.btn-claim:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 10px 22px rgba(245,158,11,0.45);
    color: var(--on-primary);
}
.btn-claim:active { transform: translateY(0); }
.toplist-tc {
    display: block;
    font-size: 0.66rem;
    color: var(--on-surface-variant);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- Mobile: each row is a flex card stack — CTA on its own row,
   guaranteed to never overlap the casino name regardless of length --- */
@media (max-width: 768px) {
    .toplist-section { padding: 16px 0; }
    .toplist-table-wrap {
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0;
        overflow: visible;
    }
    .toplist-table,
    .toplist-table thead,
    .toplist-table tbody,
    .toplist-table tr,
    .toplist-table td { display: block; width: 100%; }
    .toplist-table thead { display: none; }

    .toplist-table tbody tr {
        background: rgba(23, 31, 51, 0.65);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--outline-variant);
        border-radius: var(--radius);
        margin-bottom: 12px;
        padding: 12px;
        /* Reset to normal flow — no absolute children any more */
        position: static;
    }
    .toplist-table tbody tr:nth-child(even) { background: rgba(23, 31, 51, 0.65); }
    .toplist-table tbody tr:first-child {
        border: 2px solid rgba(245,158,11,0.45);
        background:
            linear-gradient(135deg, rgba(245,158,11,0.10) 0%, transparent 50%),
            rgba(23, 31, 51, 0.7);
    }
    .toplist-table td { padding: 0; border: none; }

    /* Row 1: rank + casino brand block + rating, side by side */
    .toplist-table .col-rank {
        display: inline-block;
        width: 36px;
        vertical-align: middle;
        margin-right: 8px;
    }
    .rank-pill { width: 30px; height: 30px; font-size: 0.85rem; }

    .toplist-table .col-casino {
        display: inline-block;
        /* width = 100% minus rank (44) minus rating (76) */
        width: calc(100% - 124px);
        vertical-align: middle;
        margin-bottom: 0;
    }
    .toplist-brand-link {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }
    .toplist-logo-wrap {
        width: 64px; height: 40px;
        padding: 4px;
        flex-shrink: 0;
    }
    .toplist-brand {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }
    .toplist-name {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .toplist-tagline {
        font-size: 0.7rem;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .toplist-table .col-rating {
        display: inline-block;
        width: 72px;
        vertical-align: middle;
        text-align: center;
        padding: 4px 0;
        margin-left: 4px;
    }
    .toplist-rating { font-size: 1.2rem; }
    .toplist-stars { font-size: 0.7rem; }

    /* Row 2: bonus on its own line, full width */
    .toplist-table .col-bonus {
        display: block;
        width: 100%;
        margin-top: 10px;
        padding: 8px 10px;
        background: rgba(255,255,255,0.04);
        border-radius: var(--radius-sm);
        border: 1px solid var(--outline-variant);
    }
    .toplist-bonus-main { font-size: 0.88rem; }
    .toplist-bonus-extra { font-size: 0.74rem; }

    /* Row 3: CTA, full width — cannot overlap anything */
    .toplist-table .col-cta {
        display: block;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
    .btn-claim {
        display: block;
        width: 100%;
        padding: 11px 16px;
        font-size: 0.92rem;
    }
    .toplist-tc {
        display: block;
        margin-top: 6px;
        font-size: 0.62rem;
    }
}

/* --- Casino-card "Claim Bonus" CTA: defensive guard so a long casino
   name on a long-bonus card can NEVER end up under the absolute CTA. */
@media (max-width: 768px) {
    .casino-card { padding-right: 14px; }
    /* Reserve guaranteed space on the right of header content so the
       absolute CTA never sits over any text. */
    .casino-header { padding-right: 122px; }
    .casino-info  { min-width: 0; }
    .casino-name,
    .casino-tagline {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

/* --- Casino cards: glass panel with hover lift ----------------- */
.casino-card {
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-lg);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}
.casino-card:hover {
    transform: translateY(-3px) scale(1.005);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 158, 11, 0.35);
}
.casino-card.featured {
    background:
        linear-gradient(135deg, rgba(245,158,11,0.08) 0%, transparent 50%),
        rgba(30, 41, 59, 0.6);
    border: 2px solid rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 0 1px rgba(245,158,11,0.10), var(--shadow);
}
/* Replace the legacy "FEATURED" diagonal stripe with a corner ribbon */
.casino-card.featured::before {
    content: 'FEATURED #1';
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: auto;
    height: auto;
    transform: none;
    background: var(--primary-container);
    color: var(--on-primary);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 5px 14px;
    border-bottom-left-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    z-index: 4;
}

/* Rank badge styled as gold pill */
.casino-rank {
    background: var(--primary-container);
    color: var(--on-primary);
    box-shadow: 0 6px 14px rgba(245,158,11,0.25);
}

/* Casino name + tagline + rating tune-up */
.casino-name { letter-spacing: -0.01em; }
.casino-tagline { color: var(--secondary-accent); font-weight: 600; }
.rating-score { color: var(--primary-fixed-dim); }
.rating-stars { color: var(--primary-container); }

/* Detail tiles: subtle inner surface */
.casino-detail {
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}
.casino-detail h4 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: var(--on-surface-variant);
    font-weight: 700;
}
.casino-detail .bonus-value { color: var(--primary-fixed-dim); }

/* Feature tags as bright outlined chips */
.feature-tag {
    background: rgba(78, 222, 163, 0.10);
    color: var(--secondary-accent);
    border: 1px solid rgba(78, 222, 163, 0.25);
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 700;
    font-size: 0.75rem;
}

/* --- Buttons --------------------------------------------------- */
.btn {
    border-radius: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--primary-container);
    color: var(--on-primary);
    box-shadow: 0 6px 14px rgba(245,158,11,0.25);
}
.btn-primary:hover {
    background: var(--primary-container-3);
    transform: translateY(-2px);
    filter: brightness(1.05);
}
/* Featured row gets the metallic gradient CTA */
.casino-card.featured .btn-primary {
    background: linear-gradient(45deg,
        var(--primary-container) 0%,
        var(--primary-container-2) 30%,
        var(--primary-container-3) 60%,
        var(--primary-container) 100%);
    background-size: 300% 300%;
    animation: shimmer-bg 6s ease infinite;
    box-shadow: 0 10px 22px rgba(245,158,11,0.30);
    color: var(--on-primary);
}

/* --- Section header ------------------------------------------- */
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Comparison tables -------------------------------------- */
.comparison-table {
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.comparison-table thead {
    background: rgba(45, 52, 73, 0.6);
}
.comparison-table th {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--on-surface-variant);
    font-weight: 700;
}
.comparison-table tr:hover { background: rgba(49, 57, 77, 0.35); }

/* --- FAQ accordions as glass panels --------------------------- */
.faq-item {
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius);
    overflow: hidden;
}
.faq-question {
    font-weight: 700;
    color: var(--on-surface);
}
.faq-question:hover { color: var(--gold); background: rgba(255,255,255,0.02); }
.faq-question::after { color: var(--primary-fixed-dim); }

/* --- Info boxes ----------------------------------------------- */
.info-box {
    background: rgba(30, 41, 59, 0.5);
    border-left: 4px solid var(--primary-container);
    border-radius: var(--radius);
}
.info-box.success { border-left-color: var(--secondary-accent); }
.info-box.warning { border-left-color: var(--primary-container); }
.info-box.danger  { border-left-color: #ffb4ab; }

/* --- Methodology + category cards: glass-panel polish --------- */
.methodology-card,
.category-card,
.author-box {
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius);
    transition: var(--transition);
}
.methodology-card:hover,
.category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.30);
}
.methodology-icon { color: var(--primary-fixed-dim); }

/* --- Responsible-gambling banner ------------------------------ */
.rg-banner {
    background: rgba(30, 41, 59, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 180, 171, 0.25);
    border-radius: var(--radius-lg);
}
.rg-banner h3 { color: #ffb4ab; }
.rg-links a {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--outline-variant);
    border-radius: 999px;
}
.rg-links a:hover { border-color: rgba(255,180,171,0.4); background: rgba(255,255,255,0.08); }

/* --- Footer --------------------------------------------------- */
.site-footer { background: var(--surface-container-lowest); border-top: 1px solid var(--outline-variant); }
.footer-col h4 { color: var(--primary-fixed-dim); }

/* --- Casino card description body text ------------------------ */
.casino-card > p { color: var(--on-surface-variant); }

/* --- Reveal-on-scroll entrance (paired with main.js observer) ----
   Hide ONLY when JS has booted; otherwise content is fully visible. */
.js-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.js-ready .reveal.active {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .js-ready .reveal { opacity: 1; transform: none; }
    .hero::before,
    .casino-card.featured .btn-primary,
    .hero h1 { animation: none !important; }
}
