/* ============================================================
   whollysmoked.co.nz — site shell (v2)
   Palette: black + white/silver + ochre-red.
   Architecture borrowed from the drupalconsole.com USA Casino Hub
   template: compliance ribbon, headline + tagline + flag stripe,
   dropdown nav, multi-column footer.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800;900&display=swap');

:root {
    /* Surfaces — near-black with warm undertone */
    --bg: #0a0a0a;
    --surface: #0a0a0a;
    --surface-container-lowest: #050505;
    --surface-container-low: #121212;
    --surface-container: #171717;
    --surface-container-high: #1f1f1f;
    --surface-container-highest: #262626;
    --surface-bright: #2e2e2e;
    --surface-variant: #262626;

    /* Brand / actions — ochre/red */
    --primary: #c2410c;
    --primary-hover: #9a3412;
    --primary-light: #ea580c;
    --primary-soft: #fed7aa;
    --on-primary: #ffffff;

    /* Secondary / signal */
    --secondary: #65a30d;
    --warning: #d97706;

    /* Text — white & silver shades */
    --text: #fafafa;
    --on-background: #fafafa;
    --on-surface: #fafafa;
    --on-surface-variant: #d4d4d4;
    --on-surface-muted: #a3a3a3;
    --on-surface-dim: #737373;

    /* Status */
    --error: #f87171;

    /* Structural */
    --border: #404040;
    --outline: #525252;
    --outline-variant: #404040;
    --card-shadow: 0 8px 32px -12px rgba(0, 0, 0, 0.6);

    /* Light card surfaces (for cards on dark page) */
    --card-light-bg: #ffffff;
    --card-light-text: #0a0a0a;
    --card-light-text-muted: #525252;
    --card-light-border: #e5e5e5;

    /* Legacy compat — these names are referenced by per-page styles. */
    --accent-purple: #c2410c;       /* ochre-red */
    --accent-yellow: #c2410c;
    --accent-pink: #1f1f1f;
    --accent-gray: #a3a3a3;
    --light-bg: #171717;
}

/* ---------- Reset & base ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-surface);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--on-surface);
    font-weight: 700;
    margin: 0 0 0.5em 0;
    line-height: 1.2;
}

h1 { font-size: 1.875rem; line-height: 1.15; font-weight: 800; }
@media (min-width: 768px) { h1 { font-size: 3rem; } }
h2 { font-size: 1.5rem; }
@media (min-width: 768px) { h2 { font-size: 2.25rem; } }
h3 { font-size: 1.25rem; }
@media (min-width: 768px) { h3 { font-size: 1.5rem; } }
h4 { font-size: 1.125rem; font-weight: 600; }
@media (min-width: 768px) { h4 { font-size: 1.25rem; } }

a {
    color: var(--primary-light);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

a:hover {
    color: #ffffff;
}

p {
    margin: 0 0 1em 0;
    line-height: 1.625;
}

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

/* ---------- Container ---------- */

.shell-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .shell-container {
        padding: 0 1.5rem;
    }
}

/* ---------- Compliance ribbon ---------- */

.shell-ribbon {
    background: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.5rem 0;
}

.shell-ribbon-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.shell-ribbon a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.6);
}

.shell-ribbon a:hover { color: #ffffff; text-decoration-color: #ffffff; }

.shell-ribbon-secondary {
    display: none;
    opacity: 0.9;
}

@media (min-width: 768px) {
    .shell-ribbon-secondary { display: inline-block; }
}

/* ---------- Header ---------- */

.shell-header {
    position: relative;
    background: var(--surface-container);
    border-bottom: 1px solid var(--surface-variant);
}

.shell-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .shell-header-inner {
        padding: 1rem 1.5rem;
    }
}

.shell-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
    color: inherit;
    flex: none;
}

.shell-brand:hover { color: inherit; }

.shell-brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .shell-brand-name { font-size: 1.875rem; }
}

.shell-brand-name-accent {
    color: var(--primary-light);
}

.shell-brand-tagline {
    margin-top: 0.25rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
}

.shell-brand-stripe {
    margin-top: 0.25rem;
    display: flex;
    width: 10rem;
    height: 3px;
}

.shell-brand-stripe span {
    flex: 1;
    height: 3px;
}

.shell-brand-stripe span:nth-child(1) { background: var(--primary); }
.shell-brand-stripe span:nth-child(2) { background: #ffffff; }
.shell-brand-stripe span:nth-child(3) { background: #404040; }

/* Primary nav (desktop) */

.shell-nav {
    display: none;
    flex: 1;
    justify-content: center;
}

@media (min-width: 1024px) {
    .shell-nav { display: flex; align-items: stretch; }
}

.shell-nav ul {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.shell-nav-item {
    position: relative;
}

.shell-nav-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.shell-nav-link:hover,
.shell-nav-link:focus {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.shell-nav-link.active {
    background: var(--primary);
    color: #ffffff;
}

.shell-nav-link.active:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.shell-nav-caret {
    margin-left: 0.25rem;
    opacity: 0.7;
}

/* Dropdown */

.shell-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    margin-top: 0.25rem;
    z-index: 50;
    min-width: 260px;
    max-width: 90vw;
    max-height: min(72vh, 640px);
    overflow-y: auto;
    background: #ffffff;
    color: var(--card-light-text);
    border-radius: 0.5rem;
    box-shadow: var(--card-shadow);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
}

/* Wider 2-column variant for the big "Online Casinos" mega-dropdown */
.shell-nav-dropdown.shell-nav-dropdown-wide {
    min-width: 480px;
}
.shell-nav-dropdown.shell-nav-dropdown-wide > ul {
    columns: 2;
    column-gap: 0.5rem;
    padding: 0.5rem;
}
.shell-nav-dropdown.shell-nav-dropdown-wide > ul > li {
    break-inside: avoid;
}

.shell-nav-item:hover .shell-nav-dropdown,
.shell-nav-item:focus-within .shell-nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.shell-nav-dropdown ul {
    display: block;
    padding: 0.5rem;
    margin: 0;
    list-style: none;
}

.shell-nav-dropdown a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--card-light-text);
    text-decoration: none;
    border-radius: 0.25rem;
    text-transform: none;
    font-weight: 500;
    letter-spacing: normal;
}

.shell-nav-dropdown a:hover {
    background: #fef2f2;
    color: var(--primary);
}

.shell-nav-dropdown-eyebrow {
    padding: 0.5rem 0.75rem 0.25rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

/* CTA + mobile toggle */

.shell-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: none;
}

.shell-cta {
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    text-decoration: none;
    border: 1px solid var(--primary-hover);
    box-shadow: 0 8px 20px -6px rgba(194, 65, 12, 0.55);
    transition: background 0.15s ease, transform 0.15s ease;
    line-height: 1.2;
    text-align: center;
}

.shell-cta:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.shell-hamburger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    background: none !important;
    border: 0 !important;
    padding: 0.5rem !important;
    margin: 0 !important;
    cursor: pointer;
    z-index: 5;
    position: relative;
    -webkit-tap-highlight-color: rgba(255,255,255,0.1);
}

.shell-hamburger:hover {
    background: rgba(255,255,255,0.1) !important;
    border-radius: 0.375rem;
}

@media (min-width: 1024px) {
    .shell-hamburger { display: none !important; }
}

.shell-hamburger svg {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    stroke: currentColor !important;
    fill: none !important;
    pointer-events: none;
}

/* Mobile header — keep full brand stack (name + tagline + stripe), tighten actions for hamburger room */
@media (max-width: 768px) {
    .shell-header-inner {
        gap: 0.5rem !important;
        padding: 0.875rem 1rem !important;
    }
    .shell-actions {
        gap: 0.375rem !important;
    }
    .shell-actions .shell-cta {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    /* Drop the header CTA on very narrow phones to guarantee hamburger fits */
    .shell-actions .shell-cta { display: none !important; }
}

/* Flag stripe */

.shell-flag-stripe {
    height: 4px;
    background: linear-gradient(to right,
        var(--primary) 0% 33.3%,
        #ffffff 33.3% 66.6%,
        #0a0a0a 66.6% 100%
    );
}

/* Mobile menu */

.shell-mobile-nav {
    display: none;
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.shell-mobile-nav.is-open {
    display: block;
}

@media (min-width: 1024px) {
    .shell-mobile-nav { display: none !important; }
}

.shell-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.shell-mobile-nav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shell-mobile-nav a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.shell-mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
}

.shell-mobile-nav details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    list-style: none;
}

.shell-mobile-nav details summary::-webkit-details-marker { display: none; }

.shell-mobile-nav details summary::after {
    content: '▾';
    font-size: 0.7em;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.shell-mobile-nav details[open] summary::after { transform: rotate(180deg); }

.shell-mobile-nav details ul {
    background: rgba(255, 255, 255, 0.03);
    padding: 0;
}

.shell-mobile-nav details a {
    padding: 0.5rem 1.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: none;
    letter-spacing: normal;
}

/* ---------- Footer ---------- */

.shell-footer {
    background: var(--surface-container-lowest);
    color: #ffffff;
    margin-top: 4rem;
}

.shell-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .shell-footer-inner { padding: 3rem 1.5rem; }
}

.shell-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .shell-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .shell-footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.shell-footer-brand-col {
    grid-column: span 2 / span 2;
}

.shell-footer-brand-link {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-decoration: none;
    color: inherit;
    margin-bottom: 1rem;
}

.shell-footer-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .shell-footer-name { font-size: 1.875rem; }
}

.shell-footer-tagline {
    margin-top: 0.25rem;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.7);
}

.shell-footer-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.shell-footer-blurb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.625;
    margin-bottom: 1rem;
}

.shell-footer-disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    line-height: 1.625;
}

.shell-footer-disclaimer a {
    color: var(--primary-light);
}

.shell-footer-pills {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.shell-footer-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.shell-footer-col h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.75rem 0;
}

.shell-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shell-footer-col li { margin-bottom: 0.5rem; }

.shell-footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-decoration: none;
}

.shell-footer-col a:hover { color: #ffffff; }

.shell-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.shell-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
    .shell-footer-bottom-inner {
        padding: 1.5rem 1.5rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.shell-footer-bottom-meta p { margin: 0 0 0.25rem 0; }

.shell-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.shell-footer-bottom-links a {
    color: #ffffff;
    text-decoration: none;
}

.shell-footer-help {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary-light);
    text-decoration: none;
}

.shell-footer-help::before {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--primary-light);
}

/* ---------- Review-page hero (.page-header reskin) ---------- */

.page-header {
    background: linear-gradient(135deg, #0a0a0a 0%, #1f2941 100%) !important;
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    padding: 2rem 1rem !important;
    margin: 2rem auto !important;
    max-width: 1200px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-header { padding: 3rem 2rem !important; margin: 3rem auto !important; }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(194, 65, 12, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.page-header > * { position: relative; }

.page-header .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.page-header .casino-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    background: #ffffff !important;
    border-radius: 16px;
    padding: 12px;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.4);
    display: block;
}

@media (min-width: 768px) {
    .page-header .casino-logo { width: 120px; height: 120px; }
}

.page-header .hero-pre-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--primary-light);
    margin: 0 0 0.5rem 0;
    display: block;
}

.page-header h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    font-size: 1.875rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 1rem 0 !important;
    max-width: 900px;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 768px) {
    .page-header h1 { font-size: 2.75rem !important; }
}

.page-header .subtitle {
    font-size: 1rem;
    margin: 0.75rem auto 0;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 720px;
}

.page-header .rating {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-light) !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .page-header .rating { font-size: 1.125rem; padding: 0.625rem 1.25rem; }
}

.page-header .trust-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    margin: 1.5rem auto 0;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0.5rem;
    font-size: 0.825rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
}

.page-header .trust-block a {
    color: var(--primary-light) !important;
    text-decoration: none;
}

.page-header .trust-block strong { color: #ffffff; }

.page-header .trust-avatar {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    object-fit: cover;
}

/* Trust ribbon (review pages — sits below .page-header inside .content) */

.trust-ribbon {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    margin: 0 auto 1.5rem;
    padding: 0.875rem 1.25rem;
    background: #ffffff !important;
    color: var(--card-light-text) !important;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    max-width: 1100px;
    box-shadow: var(--card-shadow);
}

.trust-ribbon .tr-item { color: var(--card-light-text) !important; }
.trust-ribbon .tr-item strong { color: var(--card-light-text) !important; }
.trust-ribbon .tr-item a { color: var(--primary) !important; text-decoration: none; font-weight: 600; }
.trust-ribbon .tr-item a:hover { color: var(--primary-hover) !important; text-decoration: underline; }
.trust-ribbon .tr-divider { color: var(--card-light-text-muted) !important; opacity: 0.5; }
.trust-ribbon .tr-avatar {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 0.375rem;
}
.trust-ribbon .tr-age {
    display: inline-block;
    background: var(--primary);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}
.trust-ribbon .tr-helpline { color: var(--card-light-text-muted) !important; }

/* ---------- CTA buttons (.cta-button — used across review pages) ---------- */

.cta-button,
a.cta-button {
    display: inline-block !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    padding: 0.875rem 2rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid var(--primary-hover) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.025em !important;
    text-transform: uppercase;
    line-height: 1.2 !important;
    box-shadow: 0 8px 20px -6px rgba(194, 65, 12, 0.55);
    transition: background 0.15s ease, transform 0.15s ease;
    text-indent: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cta-button:hover,
a.cta-button:hover {
    background: var(--primary-hover) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.cta-wrap { text-align: center; margin: 2rem 0; }

/* ============================================================
   Affiliate rows — compact dark-card design (v3)
   Rank · Logo+Stars · Brand+Bonus · Claim Bonus CTA
   ============================================================ */

.sb-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.875rem !important;
    list-style: none !important;
    padding: 0 !important;
    /* Top margin gives the Editor's Pick ribbon on row #1 clear space below any preceding H2/intro */
    margin: 2.25rem 0 0 0 !important;
}

.sb-row {
    background: #1a1a1a !important;
    color: #fafafa !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0.75rem !important;
    padding: 1.25rem 1.5rem !important;
    display: grid !important;
    grid-template-columns: 40px 200px 1fr auto !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 1.25rem !important;
    position: relative !important;
    box-shadow: none !important;
    overflow: visible !important;
}

@media (max-width: 768px) {
    .sb-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.875rem !important;
        padding: 2.25rem 1.25rem 1.5rem 1.25rem !important;
        position: relative !important;
    }
    .sb-row .sb-rank {
        position: absolute !important;
        top: 0.875rem !important;
        left: 0.875rem !important;
        margin: 0 !important;
    }
    .sb-row.editors-pick::before {
        top: -10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        border-radius: 4px !important;
        font-size: 0.75rem !important;
        padding: 4px 12px !important;
    }
    .sb-row .sb-logo-block {
        align-items: center !important;
        gap: 0.5rem !important;
        order: 1;
    }
    .sb-row .sb-logo {
        width: 160px !important;
        height: 96px !important;
        min-width: 160px !important;
    }
    .sb-row .sb-stars {
        font-size: 0.95rem !important;
        letter-spacing: 2px !important;
    }
    .sb-row .sb-brand {
        align-items: center !important;
        text-align: center !important;
        gap: 0.375rem !important;
        order: 2;
        width: 100%;
    }
    .sb-row .sb-brand-name {
        font-size: 1.15rem !important;
    }
    .sb-row .sb-bonus {
        font-size: 1.1rem !important;
        max-width: 32ch;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .sb-row .sb-cta {
        width: 100% !important;
        justify-content: stretch !important;
        order: 3;
    }
    .sb-row .sb-btn {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1.05rem !important;
    }
}

/* Editor's Pick ribbon on #1 row */
.sb-row.editors-pick {
    border-color: var(--primary) !important;
}
.sb-row.editors-pick::before {
    content: "Editor's Pick";
    position: absolute;
    top: -10px;
    left: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 4px 4px 4px 0;
    line-height: 1.4;
    z-index: 2;
}

/* Rank badge */
.sb-row .sb-rank {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    background: var(--primary) !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    font-style: normal !important;
}

/* Logo + stars block */
.sb-row .sb-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.sb-row .sb-logo {
    width: 170px !important;
    height: 96px !important;
    min-width: 170px !important;
    background: #ffffff !important;
    border-radius: 0.5rem !important;
    padding: 12px !important;
    object-fit: contain !important;
    display: block !important;
    box-shadow: none !important;
    margin: 0 !important;
    border: none !important;
}
@media (max-width: 768px) {
    .sb-row .sb-logo { width: 140px !important; height: 80px !important; min-width: 140px !important; }
}

.sb-row .sb-stars {
    color: #facc15 !important;
    font-size: 0.78rem !important;
    letter-spacing: 1.5px !important;
    line-height: 1 !important;
    margin: 0 !important;
}
.sb-row .sb-stars span { display: none; }

/* Brand + bonus */
.sb-row .sb-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    min-width: 0 !important;
}

.sb-row .sb-brand-name {
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

.sb-row .sb-bonus {
    color: var(--primary-light) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}
@media (max-width: 768px) {
    .sb-row .sb-bonus { font-size: 1.05rem !important; }
}

/* Hide elements we no longer use in the new design */
.sb-row .sb-brand-tag,
.sb-row .sb-features {
    display: none !important;
}

/* Claim Bonus button */
.sb-row .sb-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
}

.sb-row .sb-btn {
    background: var(--primary) !important;
    color: #ffffff !important;
    padding: 0.875rem 1.75rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
    transition: background 0.15s ease !important;
    white-space: nowrap !important;
}
.sb-row .sb-btn:hover {
    background: var(--primary-hover) !important;
    color: #ffffff !important;
}

.sb-row .sb-fine {
    display: none !important;
}

/* Crypto card (used in fifa + crypto + no-deposit pages) — same dark-card style */
.crypto-card {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0.75rem !important;
    padding: 1rem !important;
    text-align: center !important;
}

.crypto-logo {
    width: 130px !important;
    height: 80px !important;
    background: #ffffff !important;
    border-radius: 0.5rem !important;
    padding: 10px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 0.75rem !important;
    box-shadow: none !important;
}

/* "Is X Legit?" verdict box (review pages) — snippet-shaped, top-of-page */

.verdict-box {
    max-width: 1100px;
    margin: 1.5rem auto;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0.5rem;
    color: var(--text);
    box-shadow: var(--card-shadow);
}

.verdict-box-eyebrow {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.verdict-box-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.verdict-box-text {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.verdict-box-text strong { color: #ffffff; }
.verdict-box-text a { color: var(--primary-light); }

/* KTS Trust Score box (review pages) — flip dark inline colors to light on dark */

.kts-summary {
    background: #171717 !important;
    border: 1px solid #404040 !important;
    border-left: 4px solid var(--primary) !important;
    color: var(--text) !important;
}
.kts-summary strong,
.kts-summary span:not(.kts-badge),
.kts-summary div { color: var(--text) !important; }
.kts-summary span[style*="color:#555"],
.kts-summary span[style*="color:#1a1a1a"],
.kts-summary strong[style*="color:#1a1a1a"] { color: var(--text) !important; }
.kts-summary a { color: var(--primary-light) !important; font-weight: 600; }
.kts-summary a:hover { color: #ffffff !important; }
.kts-badge {
    background: var(--primary) !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

/* Re-test stamp */
.retest-stamp {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 0.625rem 1rem;
    border-radius: 0.375rem;
    text-align: center;
    margin: 1rem auto !important;
}
.retest-stamp a { color: var(--primary-light) !important; }
.retest-stamp strong { color: #ffffff !important; }

/* ---------- Utility patterns ---------- */

.shell-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* ---------- Hero (template-style two-column surface) ---------- */

.hero-wrap {
    padding: 2rem 0 1rem;
    background: var(--bg);
}

@media (min-width: 768px) {
    .hero-wrap { padding: 3rem 0 1.5rem; }
}

.hero-surface {
    background: var(--surface-container);
    border: 2px solid var(--primary);
    border-radius: 0.75rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    box-shadow: var(--card-shadow);
}

@media (min-width: 768px) {
    .hero-surface { grid-template-columns: 1fr 1fr; }
}

.hero-left {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-left { padding: 2.5rem; }
}

.hero-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 0.5rem;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    font-size: 1.875rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .hero-headline { font-size: 3rem; }
}

.hero-lead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.625;
    margin: 0 0 1.5rem 0;
    max-width: 56ch;
}

@media (min-width: 768px) {
    .hero-lead { font-size: 1.125rem; }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    max-width: 28rem;
    margin: 0 0 1.5rem 0;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
}

.hero-stat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.125rem;
}

.hero-stat-value {
    display: block;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
}

.hero-stat-value.small {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    border: 1px solid var(--primary-hover);
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 8px 20px -6px rgba(194, 65, 12, 0.55);
    transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    border: 2px solid #ffffff;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--bg);
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.hero-disclosure {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 1rem 0 0 0;
}

/* Hero right column — featured brand card */

.hero-right {
    position: relative;
    background: linear-gradient(135deg, #1f2941 0%, #0a0a0a 100%);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-right { padding: 2.5rem; }
}

.hero-right-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
    pointer-events: none;
}

.hero-featured {
    position: relative;
    background: #ffffff;
    color: var(--card-light-text);
    width: 100%;
    max-width: 24rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.hero-featured-band {
    background: var(--primary);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-featured-body {
    padding: 1.5rem;
}

.hero-featured-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-featured-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--bg);
    color: #ffffff;
    border-radius: 0.375rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.hero-featured-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--card-light-text);
    margin: 0;
}

.hero-featured-pick {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin: 0.25rem 0 0 0;
    font-weight: 700;
}

.hero-featured-bonus {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    font-size: 2.25rem;
    line-height: 1;
    color: var(--card-light-text);
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-featured-detail {
    color: var(--card-light-text-muted);
    font-size: 0.875rem;
    margin: 0.5rem 0 1.25rem 0;
}

.hero-featured .btn-primary {
    width: 100%;
    font-size: 1rem;
}

.hero-featured-fine {
    font-size: 10px;
    text-align: center;
    margin-top: 0.75rem;
    color: #64748b;
}

/* Author byline card */

.hero-byline {
    background: #ffffff;
    color: var(--card-light-text);
    border-radius: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--card-shadow);
}

@media (min-width: 768px) {
    .hero-byline { padding: 1.25rem; gap: 1.25rem; }
}

.hero-byline-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    object-fit: cover;
    flex: none;
    background: #e5e5e5;
}

@media (min-width: 768px) {
    .hero-byline-avatar { width: 4rem; height: 4rem; }
}

.hero-byline-main { flex: 1; min-width: 0; }

.hero-byline-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin: 0 0 0.25rem 0;
}

.hero-byline-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--card-light-text);
    margin: 0;
    line-height: 1.2;
}

.hero-byline-name a { color: var(--card-light-text); text-decoration: none; }

.hero-byline-role { color: var(--primary); }

.hero-byline-quote {
    font-style: italic;
    color: var(--card-light-text-muted);
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
}

.hero-byline-meta {
    font-size: 0.75rem;
    color: #64748b;
    text-align: right;
    flex: none;
    display: none;
}

@media (min-width: 768px) {
    .hero-byline-meta { display: block; }
}

.hero-byline-meta p { margin: 0; }
.hero-byline-meta a { color: var(--primary); text-decoration: none; }
.hero-byline-meta a:hover { color: var(--primary-hover); }

.shell-card {
    background: var(--surface-container);
    border: 1px solid var(--surface-variant);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

::selection {
    background: rgba(194, 65, 12, 0.35);
    color: #ffffff;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-container-lowest); }
::-webkit-scrollbar-thumb { background: var(--surface-variant); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--outline); }
