/* ============================================
   CASEA CASINO - DESIGN SYSTEM
   Dark obsidian with electric blue accents.
   Syne (headlines) + DM Sans (body).
   Mobile-first. Single dark theme.
   ============================================ */

:root {
    /* Background scale */
    --bg-base: #0a0e16;
    --bg-elevated: #11151f;
    --bg-panel: #161b28;
    --bg-panel-hover: #1c2230;

    /* Foreground */
    --fg-primary: #f3f4f6;
    --fg-secondary: #cbd5e1;
    --fg-muted: #94a3b8;
    --fg-faint: #718199;

    /* Brand */
    --blue: #0a6bff;
    --blue-bright: #4d94ff;
    --blue-deep: #1a5fd9;
    --blue-glow: rgba(43, 127, 255, 0.35);
    --blue-glow-strong: rgba(43, 127, 255, 0.55);

    /* Accent */
    --gold: #f59e0b;
    --gold-bright: #fbbf24;
    --gold-glow: rgba(245, 158, 11, 0.25);

    /* Borders */
    --border: #2a313e;
    --border-light: #3a4252;
    --border-accent: rgba(43, 127, 255, 0.3);

    /* Semantic */
    --green: #22c55e;
    --red: #ef4444;

    /* Typography */
    --font-head: "Syne", sans-serif;
    --font-body: "DM Sans", sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --t-fast: 150ms ease-out;
    --t-med: 250ms ease-out;
    --t-slow: 400ms ease-out;

    /* Shadows */
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 24px var(--blue-glow);

    /* Layout */
    --max-width: 1280px;
    --content-width: 1200px;
    --header-h: 72px;
}

/* Dark theme is the only theme - keep .dark identical */
.dark {
    --bg-base: #0a0e16;
    --bg-elevated: #11151f;
    --fg-primary: #f3f4f6;
    --blue: #0a6bff;
    --border: #2a313e;
}

/* ============================================
   RESET & BASE
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg-base);
    color: var(--fg-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video, iframe, embed, object, svg { max-width: 100%; height: auto; }
section { overflow: clip; }

p, li, td, th { overflow-wrap: break-word; }
a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Screen-reader only */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--blue); color: #fff;
    padding: 12px 24px; z-index: 10000;
    border-radius: 0 0 var(--radius-md) 0;
    font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ============================================
   TYPOGRAPHY SYSTEM
   Syne headings / DM Sans body
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 var(--space-md) 0;
    color: var(--fg-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
}

h3 {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 600;
}

h4 {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 500;
}

p { margin: 0 0 var(--space-md) 0; }

strong { color: var(--fg-primary); font-weight: 700; }

/* Content width constraint */
.content-section {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
}

/* ============================================
   HEADER
   Sticky, dark, with horizontal nav
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 22, 0.92);
    border-bottom: 1px solid var(--border);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}
.site-brand:hover { text-decoration: none; }

.logo {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    color: var(--fg-primary);
    letter-spacing: -0.02em;
}

/* Desktop nav */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    color: var(--fg-secondary);
    text-decoration: none;
    transition: color var(--t-fast);
    white-space: nowrap;
}
.nav-list a:hover { color: var(--blue-bright); text-decoration: none; }

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fg-primary);
    border-radius: 2px;
    margin: 0 auto;
    transition: transform var(--t-med), opacity var(--t-fast);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE NAV DRAWER
   ============================================ */

@media (max-width: 1023px) {
    /* Disable backdrop-filter on mobile so position:fixed on
       #main-nav resolves against the viewport, not the header. */
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: var(--bg-base);
    }

    .menu-toggle { display: flex; }

    .primary-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-base);
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
        padding: var(--space-lg) var(--space-md);
        overflow-y: auto;
        z-index: 999;
    }
    .primary-nav.is-open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .nav-list li {
        border-bottom: 1px solid var(--border);
    }
    .nav-list a {
        display: flex;
        align-items: center;
        min-height: 48px;
        font-size: 18px;
        padding: var(--space-sm) 0;
    }

    .nav-cta {
        flex-direction: column;
        gap: var(--space-sm);
        width: 100%;
        margin-top: var(--space-md);
    }
    .nav-cta .btn { width: 100%; text-align: center; }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    padding: 14px 28px;
    cursor: pointer;
    transition: all var(--t-med);
    min-height: 48px;
    line-height: 1;
}
.btn:hover { text-decoration: none; }

.btn-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 20px var(--blue-glow);
}
.btn-primary:hover {
    background: var(--blue-bright);
    box-shadow: 0 6px 30px var(--blue-glow-strong);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--fg-primary);
    border: 1px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue-bright);
}

.btn-lg { padding: 18px 40px; font-size: 18px; min-height: 56px; }
.btn-sm { padding: 10px 20px; font-size: 14px; min-height: 40px; }

/* ============================================
   HERO SECTION
   Full-bleed with premium model imagery
   ============================================ */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 120px var(--space-md) var(--space-3xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,14,22,0.95) 0%, rgba(10,14,22,0.75) 50%, rgba(10,14,22,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--content-width);
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-size: clamp(28px, 6vw, 48px);
    max-width: 700px;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--fg-secondary);
    max-width: 580px;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ============================================
   CARD GRID
   Responsive grid for categories, slots, payments
   ============================================ */

.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(var(--grid-cols, 3), 1fr); }
}

/* Category card */
.cat-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--t-fast), box-shadow var(--t-med), border-color var(--t-med);
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cat-card:hover {
    transform: scale(1.02);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-hover);
}

.cat-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-elevated);
}
.cat-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--t-slow);
}
.cat-card:hover .cat-card-image img { transform: scale(1.05); }

.cat-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
}

.cat-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.cat-card-desc {
    font-size: 16px;
    color: var(--fg-muted);
    line-height: 1.6;
    margin: 0;
}

/* Badge for cards */
.cat-card-badge {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 13px;
    color: var(--gold-bright);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: var(--space-xs);
    align-self: flex-start;
}

/* ============================================
   CTA BANNER
   Full-width conversion section
   ============================================ */

.cta-banner {
    position: relative;
    background: var(--bg-elevated);
    padding: var(--space-3xl) var(--space-md);
    text-align: center;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-banner-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.cta-glow {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.cta-glow-left { top: -100px; left: -100px; }
.cta-glow-right { bottom: -100px; right: -100px; }

.cta-headline {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.cta-subtext {
    font-size: 16px;
    color: var(--fg-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.cta-btn {
    animation: cta-pulse 2.5s ease-in-out infinite;
}
@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 4px 20px var(--blue-glow); }
    50% { box-shadow: 0 4px 40px var(--blue-glow-strong); }
}

.cta-micro {
    font-size: 14px;
    color: var(--fg-faint);
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

/* ============================================
   FAQ ACCORDION
   Native details/summary styled
   ============================================ */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: var(--content-width);
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--t-med);
}
.faq-item[open] {
    border-color: var(--border-accent);
    border-left: 3px solid var(--blue);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 18px;
    color: var(--fg-primary);
    min-height: 48px;
}
.faq-question::-webkit-details-marker { display: none; }

.faq-q-text { flex: 1; min-width: 0; }

.faq-chevron {
    flex-shrink: 0;
    color: var(--fg-muted);
    transition: transform var(--t-med), color var(--t-fast);
}
.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--blue-bright);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
}
.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-secondary);
    margin: 0;
}

/* ============================================
   STAT BLOCK
   ============================================ */

.stat-block {
    text-align: center;
    padding: var(--space-md);
}
.stat-number {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(36px, 6vw, 56px);
    color: var(--blue-bright);
    line-height: 1;
    margin-bottom: var(--space-xs);
}
.stat-label {
    display: block;
    font-size: 16px;
    color: var(--fg-muted);
    font-weight: 500;
}
.stat-source {
    display: block;
    font-size: 13px;
    color: var(--fg-faint);
    margin-top: var(--space-xs);
}

/* ============================================
   PULL QUOTE
   ============================================ */

.pull-quote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    border-left: 3px solid var(--blue);
    background: var(--bg-panel);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.pull-quote p {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.4;
    color: var(--fg-primary);
    margin: 0 0 var(--space-sm) 0;
}
.pull-quote cite {
    font-style: normal;
    font-size: 14px;
    color: var(--fg-muted);
    font-weight: 500;
}

/* ============================================
   CALLOUT BOX
   ============================================ */

.callout {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 3px solid;
    margin: var(--space-md) 0;
}
.callout-tip { border-color: var(--green); background: rgba(34, 197, 94, 0.08); }
.callout-warning { border-color: var(--gold); background: rgba(245, 158, 11, 0.08); }
.callout-note { border-color: var(--blue); background: rgba(43, 127, 255, 0.08); }

.callout-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 var(--space-xs) 0;
    color: var(--fg-primary);
}
.callout-text {
    font-size: 16px;
    color: var(--fg-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   SUMMARY / TL;DR BOX
   ============================================ */

.summary-box {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border-left: 3px solid var(--gold);
}
.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 var(--space-md) 0;
}
.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.summary-list li {
    position: relative;
    padding-left: var(--space-lg);
    font-size: 16px;
    color: var(--fg-secondary);
    line-height: 1.6;
}
.summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 8px var(--blue-glow);
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
}

.testimonial-stars {
    display: flex;
    gap: 2px;
}
.star {
    font-size: 18px;
    color: var(--gold-bright);
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-secondary);
    font-style: italic;
    margin: 0;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.testimonial-author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--fg-primary);
}

/* ============================================
   TRUST BADGES
   ============================================ */

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
}
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    text-align: center;
}
.trust-badge img {
    width: 48px; height: 48px;
    filter: grayscale(1) opacity(0.7);
    transition: filter var(--t-med);
}
.trust-badge:hover img { filter: grayscale(0) opacity(1); }
.trust-badge-label {
    font-size: 13px;
    color: var(--fg-muted);
    font-weight: 500;
}

/* ============================================
   TABLES
   ============================================ */

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

thead {
    background: var(--bg-elevated);
}
thead th {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--blue-bright);
    padding: var(--space-md);
    text-align: left;
    border-bottom: 2px solid var(--border-accent);
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--t-fast);
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-panel); }

td {
    padding: var(--space-md);
    color: var(--fg-secondary);
    vertical-align: middle;
}

/* Highlighted/recommended row */
tr.row-highlight {
    background: rgba(43, 127, 255, 0.06);
}
tr.row-highlight td:first-child {
    border-left: 3px solid var(--blue);
}

/* Gold accent cell */
td.cell-gold {
    color: var(--gold-bright);
    font-weight: 600;
}

/* ============================================
   JACKPOT TICKER
   ============================================ */

.jackpot-ticker {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.jackpot-ticker::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.jackpot-label {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fg-muted);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}
.jackpot-amount {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(40px, 8vw, 72px);
    color: var(--gold-bright);
    line-height: 1;
    text-shadow: 0 0 40px var(--gold-glow);
    position: relative;
    z-index: 1;
}

/* ============================================
   PROVIDER LOGO STRIP
   ============================================ */

.provider-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) 0;
}
.provider-logo {
    filter: grayscale(1) opacity(0.5);
    transition: filter var(--t-med);
    max-height: 40px;
    width: auto;
}
.provider-logo:hover { filter: grayscale(0) opacity(1); }

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: var(--space-2xl) var(--space-md) var(--space-lg);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .footer-inner { grid-template-columns: repeat(4, 1fr); }
}

.footer-heading {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fg-primary);
    margin: 0 0 var(--space-md) 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}
.footer-links a {
    font-size: 15px;
    color: var(--fg-muted);
    text-decoration: none;
    transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--blue-bright); }

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}
.pay-icon {
    font-size: 13px;
    color: var(--fg-muted);
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.footer-license, .footer-responsible {
    font-size: 14px;
    color: var(--fg-muted);
    margin: 0 0 var(--space-xs) 0;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p {
    font-size: 14px;
    color: var(--fg-faint);
    margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0ms);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .cta-btn { animation: none; }
}

/* ============================================
   UTILITY
   ============================================ */

.text-center { text-align: center; }
.text-gold { color: var(--gold-bright); }
.text-blue { color: var(--blue-bright); }
.text-muted { color: var(--fg-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
@media (min-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
@media (min-width: 768px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Feature row (security info, etc.) */
.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
@media (min-width: 1024px) {
    .feature-row { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
    transition: border-color var(--t-med), box-shadow var(--t-med);
}
.feature-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-hover);
}
.feature-card-icon {
    width: 48px; height: 48px;
    margin-bottom: var(--space-xs);
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}
.feature-card p {
    font-size: 16px;
    color: var(--fg-muted);
    margin: 0;
    line-height: 1.6;
}

/* Highlight card (no-deposit offer, etc.) */
.highlight-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 2px solid rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}
.highlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.highlight-card h3 {
    font-size: 26px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Bonus badge */
.bonus-badge {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--gold-bright);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Top games carousel (horizontal scroll) */
.games-carousel {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-md);
    -webkit-overflow-scrolling: touch;
}
.games-carousel::-webkit-scrollbar { height: 6px; }
.games-carousel::-webkit-scrollbar-track { background: var(--bg-elevated); border-radius: 3px; }
.games-carousel::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

.game-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--t-fast), box-shadow var(--t-med);
}
.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.game-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.game-card-body {
    padding: var(--space-md);
}
.game-card-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 4px 0;
}
.game-card-meta {
    font-size: 13px;
    color: var(--fg-muted);
}
.game-card-jackpot {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--gold-bright);
    margin-top: var(--space-xs);
}

/* Dealer profile card */
.dealer-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--t-fast), box-shadow var(--t-med);
}
.dealer-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.dealer-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}
.dealer-card-body {
    padding: var(--space-md);
}
.dealer-card-name {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 4px 0;
}
.dealer-card-specialty {
    font-size: 14px;
    color: var(--blue-bright);
    margin: 0 0 var(--space-xs) 0;
}
.dealer-card-exp {
    font-size: 14px;
    color: var(--fg-muted);
    margin: 0;
}

/* SEO text section */
.seo-text {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-md);
}
.seo-text h2 {
    margin-bottom: var(--space-lg);
}
.seo-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    color: var(--fg-secondary);
}
.seo-text a {
    color: var(--blue-bright);
    text-decoration: underline;
    text-decoration-color: rgba(43, 127, 255, 0.4);
    transition: text-decoration-color var(--t-fast);
}
.seo-text a:hover {
    text-decoration-color: var(--blue-bright);
}

/* Section heading helper */
.section-heading {
    max-width: var(--content-width);
    margin: 0 auto var(--space-lg);
    padding: 0 var(--space-md);
}
.section-heading h2 {
    margin-bottom: var(--space-sm);
}

/* Hero variant: banner-only (no full-bleed image) */
.hero-banner {
    position: relative;
    padding: 100px var(--space-md) var(--space-2xl);
    text-align: center;
    background: var(--bg-elevated);
    overflow: hidden;
}
.hero-banner::before {
    content: "";
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-banner-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

/* Bonus detail layout */
.bonus-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 1024px) {
    .bonus-detail { grid-template-columns: 1fr 1fr; }
}

.bonus-detail-text h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: var(--space-md);
}
.bonus-detail-text p {
    font-size: 16px;
    color: var(--fg-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.bonus-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.bonus-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Free spins grid */
.spins-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}
@media (min-width: 768px) { .spins-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .spins-grid { grid-template-columns: repeat(3, 1fr); } }

.spin-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--t-fast), box-shadow var(--t-med);
}
.spin-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}
.spin-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}
.spin-card-body {
    padding: var(--space-md);
}
.spin-badge {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--gold-bright);
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: var(--space-xs);
}
.spin-card-body h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 var(--space-xs) 0;
}
.spin-card-body p {
    font-size: 15px;
    color: var(--fg-muted);
    margin: 0;
}

/* Strategy chart table */
.strategy-table td {
    text-align: center;
    font-weight: 500;
}
.strategy-table .cell-hit { color: var(--green); }
.strategy-table .cell-stand { color: var(--blue-bright); }
.strategy-table .cell-double { color: var(--gold-bright); }
.strategy-table .cell-split { color: var(--blue-bright); font-weight: 700; }

/* Variant cards */
.variant-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    min-width: 0;
    transition: border-color var(--t-med), box-shadow var(--t-med);
}
.variant-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-hover);
}
.variant-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}
.variant-card p {
    font-size: 15px;
    color: var(--fg-muted);
    margin: 0;
    line-height: 1.6;
}
.variant-card .house-edge {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--gold-bright);
}

/* Live blackjack feature block */
.live-feature {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}
@media (min-width: 1024px) {
    .live-feature { grid-template-columns: 1fr 1fr; }
}
.live-feature img {
    width: 100%;
    border-radius: var(--radius-md);
}
.live-feature h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--space-md);
}
.live-feature p {
    font-size: 16px;
    color: var(--fg-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .hero { min-height: 500px; padding-top: 100px; }
    .content-section { padding: var(--space-xl) var(--space-md); }
}

/* ============================================
   SITEMAP PAGE
   ============================================ */

.sitemap-section {
    max-width: 800px;
    margin: 0 auto;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.sitemap-heading {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: 0;
}
.sitemap-heading h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-sm);
}
.sitemap-heading h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
    box-shadow: 0 0 12px var(--blue-glow);
}

.sitemap-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sitemap-entry {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: border-color var(--t-med);
}
.sitemap-entry:hover {
    border-color: var(--border-accent);
}

.sitemap-entry-title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 var(--space-sm) 0;
    color: var(--fg-primary);
}
.sitemap-entry-title a {
    color: var(--blue-bright);
    text-decoration: none;
    transition: color var(--t-fast);
}
.sitemap-entry-title a:hover {
    color: var(--blue-bright);
    text-decoration: underline;
}

.sitemap-entry-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--fg-muted);
    margin: 0;
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
