/* =====================================================================
   Theme: Crypto Casino AU — dark navy + amber, glass-card, blur layers
   Palette derived from Material 3 dark scheme.
   Class names preserved for backward compatibility with all pages.
   ===================================================================== */

:root {
    /* Surface tones (low → high) */
    --surface-lowest: #040e1f;
    --surface-low: #111c2d;
    --surface: #081425;
    --surface-container: #152031;
    --surface-container-high: #1f2a3c;
    --surface-container-highest: #2a3548;
    --surface-bright: #2f3a4c;

    /* Outlines */
    --outline: #909097;
    --outline-variant: #45464d;

    /* Foreground */
    --on-surface: #d8e3fb;
    --on-surface-variant: #c6c6cd;
    --on-surface-muted: #8a93a8;

    /* Brand — amber */
    --gold: #ffb95f;
    --gold-light: #ffdcbf;
    --gold-dark: #ee9800;
    --on-gold: #472a00;

    /* Legacy aliases (kept so existing rules don't break) */
    --navy: var(--surface);
    --navy-light: var(--surface-container);
    --navy-mid: var(--surface-container-high);
    --dark-bg: var(--surface);
    --card-bg: var(--surface-container);
    --card-border: var(--outline-variant);
    --text-primary: var(--on-surface);
    --text-secondary: var(--on-surface-variant);
    --text-muted: var(--on-surface-muted);

    /* Status */
    --green: #34d399;
    --green-dark: #10b981;
    --red: #ffb4ab;
    --red-bg: #93000a;
    --blue: #8ab4ff;
    --orange: #ffb874;

    /* Shape — Material 3 stepped scale */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Legacy radius aliases */
    --border-radius: var(--radius-sm);
    --border-radius-lg: var(--radius-lg);

    /* Elevation */
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
    --gold-glow: 0 0 24px rgba(255, 185, 95, 0.18);
    --inset-hi: inset 0 1px 0 0 rgba(255, 255, 255, 0.06);

    /* Motion */
    --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);

    /* Layout */
    --max-width: 1280px;
    --gutter: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--on-surface);
    background-color: var(--surface);
    background-image:
        radial-gradient(1200px 600px at 0% -10%, rgba(255, 185, 95, 0.06), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, rgba(190, 198, 224, 0.05), transparent 55%);
    background-attachment: fixed;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--gold);
    color: var(--on-gold);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 0.6em;
    color: var(--on-surface);
    letter-spacing: -0.01em;
}

h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; }

p {
    margin-bottom: 1em;
    color: var(--on-surface-variant);
    font-size: 1rem;
    line-height: 1.65;
}

/* ===== TOP BAR (responsible-gambling strip) ===== */
.top-bar {
    background: var(--surface-lowest);
    padding: 6px 0;
    border-bottom: 1px solid rgba(69, 70, 77, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--on-surface-muted);
    margin-left: 16px;
}

.top-bar a:hover {
    color: var(--gold);
}

.age-badge {
    background: var(--red-bg);
    color: var(--red);
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-right: 8px;
}

/* ===== HEADER (sticky, glassy) ===== */
header {
    background: rgba(8, 20, 37, 0.78);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(69, 70, 77, 0.35);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover {
    transform: scale(1.08);
    filter: brightness(1.2) drop-shadow(0 4px 12px rgba(240, 165, 0, 0.4));
}

.logo span {
    color: var(--on-surface);
}

nav {
    display: flex;
    gap: 0;
    align-items: center;
}

nav a {
    color: var(--on-surface-variant);
    padding: 12px 14px;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* ===== DROPDOWN NAV ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    cursor: pointer;
}

.nav-dropdown > a::after {
    content: " \25BE";
    font-size: 0.7em;
    margin-left: 2px;
    opacity: 0.7;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(21, 32, 49, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(69, 70, 77, 0.6);
    border-radius: var(--radius);
    margin-top: 6px;
    min-width: 240px;
    padding: 8px 0;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    max-height: 70vh;
    overflow-y: auto;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--on-surface-variant);
    font-size: 0.875rem;
    border-bottom: none;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 185, 95, 0.08);
    color: var(--gold);
}

.dropdown-label {
    display: block;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--on-surface-muted);
    pointer-events: none;
    font-weight: 600;
}

.dropdown-divider {
    border-top: 1px solid rgba(69, 70, 77, 0.5);
    margin: 6px 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2.4rem;
    cursor: pointer;
    margin-right: 12px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    padding: 48px 0;
}

.main-content {
    min-width: 0;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background:
        radial-gradient(800px 400px at 30% 0%, rgba(255, 185, 95, 0.10), transparent 70%),
        linear-gradient(180deg, var(--surface-container) 0%, var(--surface) 100%);
    padding: 48px 0 88px;
    border-bottom: 1px solid rgba(69, 70, 77, 0.4);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 185, 95, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 185, 95, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 70%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.hero h1 .gold {
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--on-surface-variant);
    margin-bottom: 28px;
    max-width: 960px;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 185, 95, 0.10);
    border: 1px solid rgba(255, 185, 95, 0.28);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--gold-light);
    font-weight: 500;
}

.hero-update {
    font-size: 0.8rem;
    color: var(--on-surface-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== GLASS CARD utility ===== */
.glass-card,
.casino-card,
.content-section,
.sidebar-widget,
.toc,
.author-box,
.info-card {
    background: rgba(21, 32, 49, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(69, 70, 77, 0.5);
}

/* ===== CASINO CARDS ===== */
.casino-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--inset-hi);
}

.casino-card:hover {
    border-color: rgba(255, 185, 95, 0.5);
    box-shadow: var(--inset-hi), var(--shadow), var(--gold-glow);
    transform: translateY(-2px);
}

.casino-card .rank-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--on-gold);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255, 185, 95, 0.35);
}

.casino-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.casino-name {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--on-surface);
    letter-spacing: -0.01em;
}

.casino-tagline {
    font-size: 0.875rem;
    color: var(--on-surface-muted);
    margin-top: 2px;
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-score {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--on-gold);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px rgba(255, 185, 95, 0.25);
}

.rating-label {
    font-size: 0.75rem;
    color: var(--on-surface-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.casino-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.casino-feature {
    background: rgba(8, 20, 37, 0.6);
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(69, 70, 77, 0.4);
}

.casino-feature-label {
    font-size: 0.7rem;
    color: var(--on-surface-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    font-weight: 600;
}

.casino-feature-value {
    font-weight: 700;
    color: var(--gold-light);
    font-size: 0.95rem;
}

.casino-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(52, 211, 153, 0.10);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--green);
    font-weight: 500;
}

.casino-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(69, 70, 77, 0.4);
    flex-wrap: wrap;
    gap: 12px;
}

.casino-payment-icons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.payment-icon {
    background: rgba(8, 20, 37, 0.6);
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.72rem;
    color: var(--on-surface-muted);
    border: 1px solid rgba(69, 70, 77, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: inherit;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--on-gold);
    box-shadow: var(--inset-hi), 0 4px 14px rgba(255, 185, 95, 0.30);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--on-gold);
    transform: translateY(-1px);
    box-shadow: var(--inset-hi), 0 8px 22px rgba(255, 185, 95, 0.45);
}

.btn-gold:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--outline);
    color: var(--on-surface);
}

.btn-outline:hover {
    background: var(--surface-container-high);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.78rem;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--inset-hi);
}

.content-section h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 185, 95, 0.4);
    margin-bottom: 20px;
    position: relative;
}

.content-section h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 56px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.content-section h3 {
    margin-top: 24px;
    color: var(--gold-light);
}

.content-section ul, .content-section ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--on-surface-variant);
}

.content-section li {
    margin-bottom: 8px;
}

/* ===== TABLE WRAPPER ===== */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
    margin: 20px 0;
    border: 1px solid rgba(69, 70, 77, 0.4);
}

.table-wrapper .comparison-table {
    margin: 0;
    min-width: 600px;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
    background: rgba(21, 32, 49, 0.5);
}

.comparison-table thead {
    background: var(--surface-lowest);
}

.comparison-table th {
    padding: 14px 16px;
    text-align: left;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255, 185, 95, 0.4);
    white-space: nowrap;
}

.comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(69, 70, 77, 0.35);
    color: var(--on-surface-variant);
}

.comparison-table tr:hover td {
    background: rgba(255, 185, 95, 0.06);
}

.comparison-table .highlight {
    color: var(--green);
    font-weight: 600;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
}

.sidebar-widget {
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--inset-hi);
}

.sidebar-widget h3 {
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(69, 70, 77, 0.5);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--on-surface-variant);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 2px;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    background: rgba(255, 185, 95, 0.08);
    color: var(--gold);
}

.responsible-gambling-box {
    background: linear-gradient(135deg, rgba(255, 180, 171, 0.08), rgba(147, 0, 10, 0.06));
    border: 1px solid rgba(255, 180, 171, 0.3);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.responsible-gambling-box h3 {
    color: var(--red);
    border: none;
    padding: 0;
}

.responsible-gambling-box p {
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.helpline {
    display: block;
    background: var(--red-bg);
    color: #ffdad6;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    font-weight: 700;
    margin-top: 12px;
    letter-spacing: 0.04em;
}

.helpline:hover {
    background: #b00012;
    color: white;
}

/* ===== PROS / CONS ===== */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.pros, .cons {
    padding: 18px;
    border-radius: var(--radius);
}

.pros {
    background: rgba(52, 211, 153, 0.07);
    border: 1px solid rgba(52, 211, 153, 0.22);
}

.cons {
    background: rgba(255, 180, 171, 0.06);
    border: 1px solid rgba(255, 180, 171, 0.22);
}

.pros h4 {
    color: var(--green);
    margin-bottom: 12px;
}

.cons h4 {
    color: var(--red);
    margin-bottom: 12px;
}

.pros li, .cons li {
    margin-bottom: 6px;
    font-size: 0.9rem;
    list-style: none;
    padding-left: 22px;
    position: relative;
}

.pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.cons li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
    font-size: 0.85em;
}

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid rgba(69, 70, 77, 0.4);
    border-radius: var(--radius);
    padding: 4px 18px;
    margin-bottom: 10px;
    background: rgba(31, 42, 60, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 185, 95, 0.3);
}

.faq-question {
    font-weight: 600;
    color: var(--on-surface);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 0.98rem;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--gold);
    transition: transform 0.25s ease;
    line-height: 1;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    color: var(--on-surface-variant);
    font-size: 0.93rem;
    line-height: 1.65;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 4px 0 14px;
}

/* ===== INFO GRID ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.info-card {
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--inset-hi);
}

.info-card:hover {
    border-color: rgba(255, 185, 95, 0.4);
    transform: translateY(-3px);
    box-shadow: var(--inset-hi), var(--shadow);
}

.info-card-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(255, 185, 95, 0.10);
    color: var(--gold);
}

.info-card h4 {
    margin-bottom: 8px;
    color: var(--on-surface);
    font-size: 1.05rem;
}

.info-card p {
    font-size: 0.9rem;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 16px 0;
    font-size: 0.82rem;
    color: var(--on-surface-muted);
}

.breadcrumbs a {
    color: var(--on-surface-muted);
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs span {
    margin: 0 8px;
    opacity: 0.5;
}

/* ===== TOC ===== */
.toc {
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--inset-hi);
}

.toc h4 {
    margin-bottom: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.toc ol {
    padding-left: 20px;
}

.toc li {
    margin-bottom: 6px;
}

.toc a {
    color: var(--on-surface-variant);
    font-size: 0.9rem;
}

.toc a:hover {
    color: var(--gold);
}

/* ===== AUTHOR BOX ===== */
.author-box {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--radius-lg);
    margin: 24px 0;
    box-shadow: var(--inset-hi);
}

.author-info .name {
    font-weight: 700;
    color: var(--on-surface);
    font-size: 1.05rem;
}

.author-info .role {
    font-size: 0.78rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 2px;
}

.author-info p {
    font-size: 0.88rem;
    margin-top: 10px;
    color: var(--on-surface-variant);
}

/* ===== FOOTER ===== */
footer {
    background: var(--surface-lowest);
    border-top: 1px solid rgba(69, 70, 77, 0.4);
    padding: 56px 0 28px;
    margin-top: 64px;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 16px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 700;
}

.footer-col a {
    display: block;
    color: var(--on-surface-muted);
    padding: 4px 0;
    font-size: 0.88rem;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(69, 70, 77, 0.4);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--on-surface-muted);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: var(--on-surface-muted);
    max-width: 800px;
    margin: 16px auto 0;
    line-height: 1.7;
    opacity: 0.85;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    h1 { font-size: 2.25rem; }
    .hero h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(8, 20, 37, 0.95);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(69, 70, 77, 0.5);
        padding: 16px 0;
    }
    nav.active {
        display: flex;
    }
    nav a {
        padding: 12px 20px;
        border-bottom: none;
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        background: rgba(8, 20, 37, 0.5);
        min-width: 100%;
        padding: 0;
        margin: 0;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        padding: 8px 32px;
        font-size: 0.85rem;
    }
    .menu-toggle {
        display: block;
    }
    .casino-card-body {
        grid-template-columns: 1fr;
    }
    .casino-card-header {
        flex-direction: column;
    }
    .hero {
        padding: 32px 0 48px;
    }
    .hero h1 { font-size: 2rem; }
    .pros-cons {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }
    .content-section { padding: 22px; }
    .top-bar .container {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 6px;
        font-size: 0.6rem;
        letter-spacing: 0.03em;
    }
    .top-bar .container > div:last-child { display: none; }
    .top-bar a { margin-left: 0; }
    .aff-row {
        display: grid !important;
        grid-template-columns: auto auto 1fr;
        grid-template-rows: auto auto auto;
        gap: 8px 10px !important;
        align-items: center;
        padding: 12px !important;
    }
    .aff-rank { grid-row: 1; grid-column: 1; font-size: 0.9rem !important; }
    .aff-logo { grid-row: 1; grid-column: 2; width: 64px !important; height: 36px !important; }
    .aff-info { grid-row: 1; grid-column: 3; min-width: 0 !important; }
    .aff-info .aff-name { font-size: 0.9rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .aff-info .aff-tagline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.68rem !important; }
    .aff-offer {
        grid-row: 2 !important;
        grid-column: 1 / -1 !important;
        font-size: 0.82rem !important;
        padding: 6px 10px !important;
        white-space: nowrap;
        text-align: center !important;
        margin: 0 auto !important;
        justify-self: center !important;
        width: fit-content !important;
    }
    .aff-cta {
        grid-row: 3 !important;
        grid-column: 1 / -1 !important;
        text-align: center !important;
        justify-self: stretch !important;
        padding: 10px !important;
        font-size: 0.82rem !important;
    }
    .aff-rating { display: none !important; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.625rem; }
    .hero-badges { flex-direction: column; }
    .casino-card { padding: 18px; }
}

/* ===== BONUS / AFFILIATE TABLE ===== */
.comparison-table .col-bonus {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
    text-align: center;
    white-space: nowrap;
    min-width: 180px;
    letter-spacing: -0.01em;
}

.comparison-table thead .col-bonus {
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.08em;
}

.aff-offer {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold);
    text-align: center;
    flex: 1;
    display: flex;
    justify-content: center;
    letter-spacing: -0.01em;
}

/* ===== MATERIAL SYMBOL UTILITY (only applied if font already loaded) ===== */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
}

/* ===== UTILITY: gold glow ===== */
.gold-glow {
    box-shadow: var(--inset-hi), var(--gold-glow);
}

/* =====================================================================
   Affiliate-row polish & high-impact CTA — overrides the inline page styles
   ===================================================================== */

.affiliate-table-section {
    background: linear-gradient(180deg, var(--surface-container) 0%, var(--surface) 100%) !important;
    border-bottom: 1px solid rgba(69, 70, 77, 0.4) !important;
    padding: 36px 0 44px !important;
}

.aff-row {
    background: rgba(21, 32, 49, 0.65) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(69, 70, 77, 0.5) !important;
    border-radius: var(--radius-lg) !important;
    padding: 14px 18px !important;
    transition: var(--transition) !important;
    position: relative;
    overflow: hidden;
}

.aff-row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 185, 95, 0.06), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.aff-row:hover::before {
    transform: translateX(100%);
}

.aff-row:hover {
    border-color: rgba(255, 185, 95, 0.55) !important;
    transform: translateY(-2px);
    box-shadow: var(--inset-hi), 0 12px 28px rgba(0, 0, 0, 0.35), var(--gold-glow);
}

.aff-row:nth-child(1),
.aff-row:nth-child(2) {
    border-color: rgba(255, 185, 95, 0.45) !important;
    background:
        linear-gradient(135deg, rgba(255, 185, 95, 0.08), rgba(21, 32, 49, 0.7)) !important;
    box-shadow: var(--inset-hi), 0 4px 16px rgba(255, 185, 95, 0.08);
}

.aff-rank {
    font-family: 'Inter', sans-serif;
    font-size: 1rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    min-width: 30px !important;
    letter-spacing: -0.02em;
}

.aff-row:nth-child(1) .aff-rank,
.aff-row:nth-child(2) .aff-rank,
.aff-row:nth-child(3) .aff-rank {
    font-size: 1.15rem !important;
}

.aff-logo {
    width: 96px !important;
    height: 52px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: var(--radius) !important;
    padding: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), var(--inset-hi);
}

.aff-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 4px;
}

.aff-logo-fallback,
.aff-logo > span {
    background: linear-gradient(135deg, var(--surface-container-high), var(--surface-container)) !important;
    color: var(--gold) !important;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
    padding: 4px;
    border: 1px solid rgba(255, 185, 95, 0.4);
}
.aff-logo-fallback {
    background: linear-gradient(135deg, var(--surface-container-high), var(--surface-container)) !important;
}

.aff-name {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--on-surface) !important;
    letter-spacing: -0.01em;
}

.aff-tagline {
    font-size: 0.78rem !important;
    color: var(--on-surface-muted) !important;
    margin-top: 3px !important;
}

.aff-offer {
    background: rgba(255, 185, 95, 0.12) !important;
    border: 1px solid rgba(255, 185, 95, 0.30) !important;
    border-radius: var(--radius) !important;
    padding: 8px 14px !important;
    color: var(--gold) !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em;
    box-shadow: var(--inset-hi);
    width: fit-content !important;
    margin: 0 auto !important;
}

.aff-rating-score {
    color: var(--green) !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em;
}

.aff-rating-stars {
    color: var(--gold) !important;
    margin-top: 2px;
}

/* The marquee CTA — gradient, animated sheen, pop on hover */
.aff-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
    color: var(--on-gold) !important;
    padding: 12px 22px !important;
    border-radius: var(--radius) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: var(--inset-hi), 0 6px 18px rgba(255, 185, 95, 0.35) !important;
    position: relative;
    overflow: hidden;
    transition: var(--transition) !important;
    isolation: isolate;
}

.aff-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
}

.aff-row:hover .aff-cta::after,
.aff-cta:hover::after {
    left: 130%;
}

.aff-cta:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%) !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--inset-hi), 0 10px 26px rgba(255, 185, 95, 0.55) !important;
    opacity: 1 !important;
}

.aff-cta:active {
    transform: translateY(0) scale(0.98);
}

.aff-cta .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.25s ease;
}

.aff-row:hover .aff-cta .material-symbols-outlined {
    transform: translateX(3px);
}

/* Promote .btn-gold to the same treatment for visit-casino buttons inside cards */
.btn-gold {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-gold::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
    transition: left 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
}

.btn-gold:hover::after {
    left: 130%;
}

/* Hero CTA module (inline-styled in index.html) — restyle */
.hero-cta-module {
    background: rgba(21, 32, 49, 0.65) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 185, 95, 0.3) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--inset-hi), var(--gold-glow);
}

.hero-cta-module .cta-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold) !important;
}

.hero-cta-module .cta-label .material-symbols-outlined {
    font-size: 18px;
}

.hero-cta-module .cta-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
    box-shadow: var(--inset-hi), 0 4px 12px rgba(255, 185, 95, 0.3);
    transition: var(--transition);
}

.hero-cta-module .cta-btn:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
    transform: translateY(-1px);
    box-shadow: var(--inset-hi), 0 6px 18px rgba(255, 185, 95, 0.5);
    opacity: 1 !important;
}

/* =====================================================================
   Footer brand column
   ===================================================================== */
.footer-brand .logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--on-surface-muted);
    margin-bottom: 14px;
}

.footer-helpline-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.85rem;
}

.footer-helpline-row a {
    color: var(--gold);
}

.footer-helpline-row .material-symbols-outlined {
    font-size: 20px;
}

/* =====================================================================
   Material Symbols sizing inside chips/buttons
   ===================================================================== */
.btn .material-symbols-outlined {
    font-size: 18px;
}

/* Ensure any en-au logos render crisply in cards */
.casino-card .casino-card-header img.casino-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    padding: 4px;
}

