/* =============================================================
   winx96 — design tokens
   ============================================================= */
:root {
    --bg-primary:      #070B1E;
    --bg-surface:      #1C1C1C;
    --bg-surface-2:    #242424;
    --bg-card:         #2E2E2E;
    --bg-card-alt:     #282828;
    --gold-panel:      #C9A025;
    --border-subtle:   rgba(255, 215, 0, 0.16);

    --primary-500:     #FFD700;
    --primary-400:     #FFDE78;
    --primary-600:     #E0B700;
    --primary-900:     #4a3c00;

    /* Secondary — drop shadows, hover outlines/borders, hover text color.
       --secondary-rgb is the -500 shade as a bare "r, g, b" triplet, for
       rgba(var(--secondary-rgb), <alpha>) shadows — see .btn--primary:hover.
       Kept a separate axis from --primary-* so hover/focus states read as
       a distinct accent rather than a lighter/darker copy of the button
       color. Both are admin-overridable independently — see ThemeColor. */
    --secondary-500:   #FFDE78;
    --secondary-400:   #FFE9A8;
    --secondary-600:   #E0B700;
    --secondary-900:   #4a3c00;
    --secondary-rgb:   255, 222, 120;

    --text-primary:    #FFFFFF;
    --text-secondary:  rgba(255, 255, 255, 0.78);
    --text-muted:      rgba(255, 255, 255, 0.55);

    --radius-md:       12px;
    --radius-lg:       20px;

    --container-max:   80%;
    --container-narrow: 80%;

    --font-display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
    --font-body:    "Inter", "Segoe UI", system-ui, sans-serif;
    --font-mono:    "IBM Plex Mono", ui-monospace, monospace;
}

/* =============================================================
   Reset / base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keyboard-focus outline — secondary color, so it reads as a distinct
   "you are here" ring rather than a copy of the primary button color. */
:focus-visible { outline: 2px solid var(--secondary-500); outline-offset: 2px; }

body {
    margin: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
    font-weight: 700;
}

h1 { font-size: 46px; }
h2 { font-size: 36px; color: var(--text-primary); }
h3 { font-size: 24px; color: var(--secondary-500); }
h4 { font-size: 1.05rem; }

p { color: var(--text-secondary); margin: 0 0 1em; font-size: 16px }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.container--narrow { max-width: var(--container-narrow); }
/* .container--narrow > p { max-width: 68ch; } */
.section--closing .container--narrow > p { margin-left: auto; margin-right: auto; }

/* Small uppercase mono kicker label ("ONLINE CASINO · AUSTRALIA" style) —
   available for any section that wants one above its heading. */
.section__eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.61px;
    text-transform: uppercase;
    color: var(--secondary-500);
    margin-bottom: 0.6rem;
}

.breadcrumbs { margin-bottom: 1.5rem; }
.breadcrumbs__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}
.breadcrumbs__item { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs__item a { color: var(--text-secondary); }
.breadcrumbs__item a:hover { color: var(--secondary-400); }
.breadcrumbs__item [aria-current="page"] { color: var(--text-muted); }
.breadcrumbs__sep { color: var(--text-muted); }

/* Legal pages (Privacy Policy, Terms and Conditions, etc.) — see
   legal-page.blade.php and LegalPage::parsedContent(), which splits the
   admin's single rich-text field into an intro + one entry per <h2> at
   render time, so each becomes its own rounded box below — reference: a
   screenshot of another casino site's Privacy Policy page, same "each
   section is its own card" structure, re-themed to this site's own dark
   palette rather than that reference's light one (its exact colors were
   never meant to be copied, just the layout shape). */
.legal-page__header {
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface) 65%, var(--bg-primary) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 1.5rem;
}
.legal-page__header h1 { margin-bottom: 0.75rem; }
.legal-page__header p { max-width: 640px; margin-left: auto; margin-right: auto; }

.legal-page__updated {
    display: inline-flex;
    padding: 0.4em 0.9em;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 1.5rem;
}

.legal-page__section {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}
.legal-page__section:last-child { margin-bottom: 0; }
/* Scoped smaller than the sitewide 36px "Section title" h2 (see the base
   h2 rule above) — that size reads right for a whole page section, but is
   too large for a heading nested one level down, inside a card of its
   own, the way these are. */
.legal-page__section h2 { font-size: 24px; margin-bottom: 0.75rem; }

/* The document's own closing "Contact Us"-style section, when it has one
   (see the str_contains() check in legal-page.blade.php) — a tinted
   gradient over the dark surface, not a solid fill, so body text stays
   readable regardless of the admin's theme color pick. Built from
   --secondary-rgb (this site's gold-accent axis) rather than a
   --primary-rgb token, which doesn't exist here. */
.legal-page__section--contact {
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.18), rgba(var(--secondary-rgb), 0.05));
    border-color: var(--secondary-500);
}

.section { padding: clamp(2.5rem, 6vw, 5rem) 0; background: var(--bg-surface); }
.section--alt { background: var(--bg-surface-2); }
/* Text alignment for the heading/intro/outro/CTA block below is set
   inline per-section via PageSection::contentAlign() (see
   page-section.blade.php) rather than fixed here, so the admin's
   left/center/right choice — or its per-type default — always wins.
   .section__intro/.section__outro keep their own max-width so a wide
   container doesn't stretch a centered paragraph edge-to-edge; margin:
   auto only centers the box itself when text-align actually is center,
   and has no effect otherwise. */
.section__heading { margin-bottom: 2.2rem; }
/* .section__intro { max-width: 640px; margin: -1.2rem auto 2.2rem; } */
.section__outro { margin: 2.2rem auto 0; color: var(--text-secondary); }
.section__outro p { font-size: 14px; }
.section--closing__lead { color: var(--text-primary); font-weight: 600; }
.section__cta { margin-top: 1.75rem; }

/* Structured content stays left-aligned internally no matter what a
   section's own contentAlign() is set to — a centered/right-aligned
   heading shouldn't rearrange a card grid, table, bullet list, comparison
   row, accordion, or FAQ, since text-align otherwise inherits straight
   through them from the container div it's set on. */
.card-grid,
.feature-card,
.bullet-card,
.data-table-wrap,
.data-table,
.compare-rows,
.accordion-group,
.accordion-item__question,
.faq-list,
.faq-item__question,
.faq-item__answer,
.section-group { text-align: left; }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.65em 1.4em;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn--lg { padding: 0.85em 1.9em; font-size: 1.05rem; }
.btn--primary {
    background: var(--secondary-500);
    color: #070B1E;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--secondary-rgb), 0.35); }
.btn--ghost {
    background: var(--bg-card);
    border-color: var(--border-subtle);
    color: var(--secondary-500);
}
.btn--ghost:hover { border-color: var(--secondary-500); color: var(--secondary-400); }

/* =============================================================
   Header / navbar
   ============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-surface);
    border-bottom: none;
    /* box-shadow: inset 0 4px 0 0 var(--primary-500); */
}
.site-header__inner {
    max-width: 90%;
    margin: 0 auto;
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; }
.brand__text { color: var(--text-primary); }
.brand__logo { height: 36px; width: auto; display: block; }

.nav-burger {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
}
.nav-burger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; }

/* margin-left: auto pushes .site-nav (and .site-nav__auth right after it,
   via the header's own gap) over to the right, with .brand staying put on
   the left — same effect as justify-content: space-between on the old
   2-group layout, but it keeps working once .nav-burger becomes a third,
   left-most group on mobile instead of requiring a different rule per
   breakpoint. Past 1024px this is the only thing keeping .site-nav__list
   and .site-nav__auth visually grouped together on the right, since
   they're no longer nested in the same element — see navbar.blade.php. */
.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}
.site-nav__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.6rem;
    column-gap: 1.15rem;
    margin: 0;
    padding: 0;
}
.site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: color 0.15s ease;
}
.site-nav__list a:hover { color: var(--secondary-400); }
.site-nav__list a.is-active { color: var(--primary-500); font-weight: 700; }
.site-nav__auth { display: flex; gap: 0.75rem; }

.site-nav__dropdown { position: relative; }
.site-nav__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    gap: 0.35rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--text-secondary);
    font: inherit;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.15s ease;
}
.site-nav__dropdown-toggle:hover { color: var(--secondary-400); }
.site-nav__dropdown-toggle[aria-expanded="true"] { color: var(--primary-400); }
.site-nav__dropdown-toggle.is-active { color: var(--primary-500); font-weight: 700; }
.site-nav__dropdown-caret { transition: transform 0.15s ease; }
.site-nav__dropdown-toggle[aria-expanded="true"] .site-nav__dropdown-caret { transform: rotate(180deg); }
.site-nav__dropdown-menu { list-style: none; margin: 0; padding: 0; }
.site-nav__dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.75rem;
}
.site-nav__dropdown-menu a.is-active { color: var(--primary-500); font-weight: 700; background: var(--primary-900); }

@media (min-width: 1025px) {
    .site-nav__dropdown-menu {
        position: absolute;
        top: calc(100% + 0.9rem);
        right: 0;
        min-width: 170px;
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 0.4rem;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.15s ease, visibility 0.15s ease;
    }
    .site-nav__dropdown-toggle[aria-expanded="true"] + .site-nav__dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
    .site-nav__dropdown-menu a {
        border-radius: 8px;
        white-space: nowrap;
    }
    .site-nav__dropdown-menu a:hover { background: var(--bg-card-alt); }
}

@media (max-width: 1024px) {
    .site-header__inner { padding: 0.6rem 1rem; gap: 0.6rem; max-width: 100%; }

    .nav-burger { display: flex; width: 36px; height: 36px; }
    .nav-burger span { width: 20px; }

    /* Logo shrinks to leave room for the burger beside it and the auth
       buttons on the right, all on one row. */
    .brand__logo { height: 26px; }
    .brand { font-size: 1.3rem; }

    /* Only the link list collapses into the burger dropdown now —
       .site-nav__auth is a sibling, not nested inside this, specifically
       so it stays on the header row instead of collapsing away too (see
       navbar.blade.php). */
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-subtle);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }
    .site-nav__list { flex-direction: column; gap: 0.9rem; padding: 1rem 1.25rem; }
    .nav-toggle:checked ~ .site-nav {
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-nav__dropdown-menu {
        max-height: 0;
        overflow: hidden;
        padding-left: 1rem;
        margin-top: 0.6rem;
        transition: max-height 0.2s ease;
    }
    .site-nav__dropdown-menu li + li { margin-top: 0.7rem; }
    .site-nav__dropdown-toggle[aria-expanded="true"] + .site-nav__dropdown-menu {
        max-height: 300px;
    }

    /* Always visible (not part of the collapsing .site-nav above), just
       smaller — pushed to the far right now that .site-nav's own
       margin-left: auto is inert once it's taken out of flex flow by
       position: absolute above. */
    .site-nav__auth { margin-left: auto; gap: 0.4rem; }
    .site-nav__auth .btn {
        padding: 0.5em 1.2em;
        font-size: 14px;
    }
}

/* =============================================================
   Hero — full-bleed background image with an optional side image
   (e.g. a phone mockup) sitting beside the text content.
   ============================================================= */
.hero {
    position: relative;
    padding: clamp(3.5rem, 10vw, 6rem) 0;
    overflow: hidden;
    background:
        radial-gradient(124% 155% at 12% -10%, rgba(255, 215, 0, 0.16) 0%, rgba(255, 215, 0, 0) 50%),
        radial-gradient(130% 130% at 92% 8%, rgba(255, 215, 0, 0.28) 0%, rgba(255, 215, 0, 0) 50%),
        linear-gradient(180deg, #070B1E 0%, #0E1530 100%);
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(180deg, rgba(7,11,30,0.55) 0%, rgba(7,11,30,0.85) 70%, var(--bg-primary) 100%); */
}
.hero__row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.hero__content { flex: 1 1 420px; }
.hero__title { color: var(--text-primary); }
.hero__lead { font-size: 1.05rem; color: var(--text-secondary); }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

.hero__side { flex: 1 1 320px; max-width: 480px; }
.hero__side-image { width: 100%; height: auto; }

/* .hero__content comes first in the DOM (see page.blade.php). .hero__row
   forcing a column stack here (rather than leaving it to flex-wrap's own
   width-dependent wrap point) is what makes 1024px a guaranteed, exact
   threshold rather than "whenever the two flex-basis values happen to
   stop fitting". order: -1 then puts the image above the text in that
   stack — without it, source order would put the text on top instead. */
@media (max-width: 1024px) {
    .hero__row { flex-direction: column; align-items: stretch; }
    .hero__side { order: -1; max-width: 100%; }
}

.hero__figure { margin: 0; }
.hero__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 0.6rem 1.25rem;
    text-align: center;
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-muted);
    background: linear-gradient(0deg, rgba(7, 11, 30, 0.85) 0%, rgba(7, 11, 30, 0) 100%);
}

/* Secondary banner-backed section */
.section--banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: clamp(3rem, 8vw, 6rem) 0;
}
.section--banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 30, 0.78);
}
.section--banner__content { position: relative; z-index: 1; }
.section--banner__content h2,
.section--banner__content p { color: var(--text-primary); }
.section--banner__content p { color: rgba(255, 255, 255, 0.85); }

/* Image showcase — full-width product screenshot on a solid gold panel,
   heading/copy centered underneath (see page-section.blade.php). */
.section--image-showcase {
    background: var(--gold-panel);
    padding: clamp(3rem, 8vw, 6rem) 0;
}
.section--image-showcase__image {
    width: 100%;
    height: 300px;
    object-fit:cover;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}
.section--image-showcase .section__eyebrow { color: #242424 }
.section--image-showcase h2 { color: #242424; }
.section--image-showcase p { color: #2E2E2E; }

/* =============================================================
   Card grids (feature-grid / feature-grid-compact)
   ============================================================= */
.card-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature-card:hover { border-color: var(--secondary-500); transform: translateY(-3px); }
/* .feature-card h3 { color: var(--text-primary); } */
.feature-card h4 { color: var(--text-primary); }
.feature-card p { margin: 0; font-size: 0.95rem; }
.feature-card--icon { padding-top: 1.5rem; }
.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.14);
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}
.feature-card--compact { padding: 1.5rem; }
.feature-card--compact p { font-size: 0.9rem; }
.section--alt .feature-card,
.section:not(.section--alt) .feature-card { background: var(--bg-card); border-color: var(--secondary-500); }
.feature-card__link {
    display: inline-block;
    margin-top: 0.75rem;
    color: var(--primary-400);
    font-weight: 600;
    font-size: 0.9rem;
}
.feature-card__link:hover { color: var(--secondary-500); }
.feature-card__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 0.75rem; }
.feature-card__links .feature-card__link { margin-top: 0; }

/* =============================================================
   Bullet card — checkmark (default) or numbered-circle badge per row.
   ============================================================= */
.bullet-card {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.bullet-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    /* background: var(--bg-card);
    border: 1px solid var(--secondary-500);
    border-radius: var(--radius-md); */
    /* padding: 1rem 1.25rem; */
    border-bottom: 1px solid var(--secondary-500);
    padding-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.96rem;
}
.bullet-card__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 0.1em;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.18);
    border: 1px solid var(--secondary-500);
    color: var(--text-primary);
    font-size: 0.7rem;
    font-weight: 700;
}
.bullet-card--numbered .bullet-card__icon { background: var(--secondary-600); border-color: var(--secondary-500); color: #1C1C1C; }
.bullet-card__body { flex: 1; }
.bullet-card li strong { color: var(--text-primary); }

/* h4 variant (accordion-list / group bullets) - same look as the <strong>
   label above, but reset from a block-level heading to inline so
   "Label: text" still reads as one flowing line instead of a separate
   heading block. */
.bullet-card__label {
    display: inline;
    margin: 0;
    color: var(--text-primary);
    font-family: inherit;
    font-size: inherit;
    font-weight: 700;
}

/* =============================================================
   Group section — bundles several nested sections under one optional
   heading (see PageSection type "group"). Purely a vertical rhythm
   wrapper; each child renders with its own normal section content.
   ============================================================= */
.section-group {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 1.5rem;
}
.section-group__item:first-child { margin-top: 0; }
.section-group--horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}
.section-group--horizontal > .section-group__item { flex: 1 1 260px; }

/* =============================================================
   Comparison rows — "Compare Winx96 X with Other Y" pro/con cards.
   ============================================================= */
.compare-rows {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-top: 1.5rem;
}
.compare-rows__topic {
    color: var(--secondary-500);
    font-size: 16px;
    margin-bottom: 0.75rem;
}
.compare-rows__row {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.compare-rows__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .compare-rows__cards { grid-template-columns: 1fr 1fr; }
}
.compare-rows__card {
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}
.compare-rows__card--ours {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid var(--secondary-500);
}
.compare-rows__card--theirs {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    opacity: 0.85;
}
.compare-rows__card-label {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 0.35rem;
}
.compare-rows__card--ours .compare-rows__card-label { color: var(--secondary-500); }
.compare-rows__card--theirs .compare-rows__card-label { color: var(--text-secondary); }
.compare-rows__card-copy { margin: 0; font-size: 14px; color: var(--text-primary); }
.compare-rows__card--theirs .compare-rows__card-copy { color: var(--text-secondary); }

/* =============================================================
   Table figure wrapper
   ============================================================= */
.table-figure { margin: 0; }
.table-figure__caption {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
}

/* =============================================================
   Data table (wide, many-column lookup tables). First column shrinks
   to fit its own content; remaining columns share the rest of the
   width and wrap their text. Scrolls horizontally as a fallback on
   narrow viewports once columns hit their minimum width.
   ============================================================= */
.data-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}
.data-table {
    display: grid;
    grid-template-columns: minmax(130px, max-content) repeat(calc(var(--cols) - 1), minmax(160px, 1fr));
}
.data-table__row { display: contents; }
.data-table__row:nth-child(even):not(.data-table__row--head) .data-table__cell { background: var(--bg-surface-2); }
.data-table__row:nth-child(odd):not(.data-table__row--head) .data-table__cell { background: var(--bg-card); }
.data-table__row--head .data-table__cell {
    background: var(--secondary-500);
    color: #070B1E;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: sticky;
    top: 0;
}
.data-table__cell {
    padding: 0.85rem 1.1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    border-right: 1px solid var(--border-subtle);
}
.data-table__cell:last-child { border-right: none; }
.data-table__row:last-child .data-table__cell { border-bottom: none; }
.data-table__cell--label { color: var(--text-primary); font-weight: 600; }

/* =============================================================
   FAQ accordion — a flat list of rows divided by hairlines (not
   individually boxed cards), each toggled by a circular +/× button.
   ============================================================= */
.faq-list {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}
.faq-item {
    border-bottom: 1px solid var(--border-subtle);
}
.faq-item__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 20px 0;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 600;
    transition: color 0.2s ease;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question h3 { margin: 0; font-size: 16px; color: inherit; }
.faq-item[open] .faq-item__question { color: var(--secondary-500); }

/* The toggle is a plain circle with a CSS-drawn "+" (two bars) rather
   than an SVG — rotating the whole thing 45deg on open turns that same
   "+" into a "×", so open/closed are one transform, not two icons. */
.faq-item__icon {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--secondary-500);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--secondary-500);
    transition: background-color 0.2s ease;
}
.faq-item__icon::before { width: 10px; height: 2px; margin: -1px 0 0 -5px; }
.faq-item__icon::after { width: 2px; height: 10px; margin: -5px 0 0 -1px; }
.faq-item[open] .faq-item__icon {
    border-color: rgba(255, 215, 0, 0.4);
    transform: rotate(45deg);
}
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
    background: rgba(255, 215, 0, 0.4);
}

.faq-item__answer { padding: 0 0 20px; }
.faq-item__answer p { margin: 0; font-size: 14px; }

/* =============================================================
   Accordion list (long per-item content — intro + optional bullets —
   collapsed by default past the first item, instead of a cramped grid)
   ============================================================= */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
}
.accordion-item__question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
}
.accordion-item__question::-webkit-details-marker { display: none; }
.accordion-item__question h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.02rem;
}
.accordion-item__icon { flex-shrink: 0; color: var(--primary-500); transition: transform 0.2s ease; }
.accordion-item[open] .accordion-item__icon { transform: rotate(180deg); }
.accordion-item__answer { padding: 0 1.4rem 1.4rem; }
.accordion-item__answer p { font-size: 0.95rem; }
.accordion-item__answer .bullet-card,
.accordion-item__answer .card-grid,
.accordion-item__answer .data-table-wrap { margin-top: 1rem; }
.accordion-item__answer .feature-card { padding: 1.25rem; }

/* =============================================================
   Closing CTA — solid gold rounded panel; optionally split into text
   + side image (both "Play Anywhere" panel variants from one type).
   ============================================================= */
.section--closing__panel {
    background: var(--gold-panel);
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 22px;
    padding: clamp(2rem, 6vw, 3.5rem);
}
.section--closing__panel .section__eyebrow { color: #242424; font-weight: 600; }
.section--closing__panel h2 { color: #242424; }
.section--closing__panel .section__cta .btn { 
    background: var(--bg-card);
    border-color: var(--border-subtle);
    color: var(--secondary-500);
}
.section--closing__panel p,
.section--closing__panel .section--closing__lead { color: #2E2E2E; }
.section--closing__panel--split {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.section--closing__panel--split .section--closing__body { flex: 1 1 420px; }
.section--closing__panel--split .section--closing__lead { margin-left: 0; margin-right: 0; }
.section--closing__image {
    flex: 1 1 320px;
    /* A flex item's default min-width is "auto", which for a replaced
       element like <img> resolves to its own intrinsic width, not 0 — so
       without this, flex-shrink can't shrink it past that floor and it
       overflows straight through max-width: 420px and the panel's own
       rounded corners on a narrow viewport, however small max-width says
       it should be. */
    min-width: 0;
    max-width: 420px;
    border-radius: var(--radius-lg);
    margin-left: auto;
}

/* Below 1024px the split panel stacks (forced here, same reasoning as
   .hero__row — see the hero__side rule above: a guaranteed breakpoint
   beats "however wide the two flex-basis values happen to allow"), image
   on top of the text — order: -1 overrides the image's later position in
   the DOM (see page-section.blade.php's closing-cta case). */
@media (max-width: 1024px) {
    .section--closing__panel--split { flex-direction: column; align-items: stretch; }
    .section--closing__image { order: -1; max-width: 100%; margin-left: 0; }
}

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
    background: #111111;
    border-top: none;
    padding: 3.5rem 0 1.5rem;
    display: flex;
    justify-content: center;
}
.site-footer__inner {
    max-width: var(--container-max);
}
.site-footer__top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
@media (min-width: 780px) {
    .site-footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); }
}
.site-footer__about { display: flex; flex-direction: column; gap: 1rem; }
.site-footer__description { font-size: 0.88rem; color: var(--text-secondary); margin: 0; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.site-footer__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.site-footer__col h4 {
    color: var(--text-primary);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col a { color: var(--text-secondary); font-size: 0.9rem; }
.site-footer__col a:hover { color: var(--secondary-400); }

.site-footer__legal {
    margin-bottom: 1.5rem;
    text-align: center;
}
.site-footer__legal ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
}
.site-footer__legal a { color: var(--text-primary); font-weight: 600; font-size: 0.9rem; }
.site-footer__legal a:hover { color: var(--secondary-400); }

/* The longer responsible-gambling paragraph — left-aligned, unlike the
   centered .site-footer__legal links row above it. */
.site-footer__notice { margin-bottom: 1.5rem; text-align: left; max-width: 60%; }
.site-footer__notice p { font-size: 0.85rem; color: var(--text-secondary); margin: 0; }
.site-footer__notice strong { color: var(--text-primary); }
.site-footer__notice a { color: var(--secondary-500); text-decoration: underline; }
.site-footer__notice a:hover { color: var(--secondary-400); }

.brand-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
}

.site-footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}
.site-footer__bottom p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.site-footer__bottom p + p { margin-top: 0.4rem; }
.site-footer__bottom a { color: var(--text-secondary); text-decoration: underline; }
.site-footer__bottom a:hover { color: var(--secondary-400); }

.scroll-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--secondary-500);
    color: #070B1E;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.15s ease;
}
.scroll-to-top:hover { background: var(--primary-600); }
.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =============================================================
   Cookie / notification consent banner
   ============================================================= */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 95;
    width: calc(100% - 2rem);
    max-width: 26rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 130%);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.cookie-consent.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.cookie-consent__panel {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}
.cookie-consent__title {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}
.cookie-consent__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}
.cookie-consent__actions { display: flex; gap: 0.75rem; }
.cookie-consent__actions .btn { flex: 1; }

/* =============================================================
   Foreground push-notification toast
   ============================================================= */
.fcm-toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 28rem;
    max-width: calc(100vw - 2rem);
}
.fcm-toast {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--primary-500);
    border-radius: var(--radius-md);
    padding: 0.85rem 2.1rem 0.85rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    animation: fcm-toast-in 0.2s ease;
}
.fcm-toast__close {
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    border-radius: var(--radius-md);
}
.fcm-toast__close:hover {
    color: var(--text-primary);
    background: var(--bg-surface-2);
}
.fcm-toast__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.fcm-toast__image {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}
.fcm-toast__content {
    flex: 1;
    min-width: 0;
}
.fcm-toast__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}
.fcm-toast__icon {
    width: 1rem;
    height: 1rem;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
}
.fcm-toast__title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    margin: 0;
}
.fcm-toast__body {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: justify;
}
@keyframes fcm-toast-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
}

@media (max-width: 425px) {
    h1, h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    p { font-size: 14px; }
    .feature-card p { font-size: 14px; }
    .bullet-card li { font-size: 14px; }
    .btn { font-size: 14px; }
}
