:root {
    /* Fugu locals — navy abyss + lime CTA (live tokens from fugu.casino) */
    --gold-brand: #244BBD;
    --gold-accent: #FFD900;
    --cream: #FFFFFF;
    --offer-cream: #FFFFFF;
    --parchment-ink: #FFFFFF;
    --jewel: #3CFF00;
    --jewel-dark: #64FF35;
    --header-brick-mid: #06102B;

    /* Core palette — page vs chrome split */
    --x1-primary: #06102B;
    --x1-secondary: #FFFFFF;
    --x1-tertiary: #05101F;
    --x1-bg-deep: #0C1C4A;
    --x1-login-blue: transparent;

    /* Surfaces */
    --bg-secondary: #102562;
    --bg-tertiary: #1B3B98;
    --bg-elevated: #112B77;
    --surface-a: #06102B;
    --surface-b: #0C1C4A;
    --surface-c: #112B77;
    --surface-d: #1B3B98;

    /* Content colors */
    --content-primary: #FFFFFF;
    --content-secondary: rgba(255, 255, 255, 0.8);
    --content-tertiary: rgba(255, 255, 255, 0.55);
    --content-on-accent: #000000;

    /* Controls & borders */
    --control-neutral: transparent;
    --control-neutral-hover: #1B3B98;
    --border-divider: #244BBD;
    --border-focus: #64FF35;

    /* Legacy aliases — retarget so leftover selectors cannot flash brown/gold */
    --iris-bg: var(--x1-bg-deep);
    --iris-purple-a: #508CFF;
    --iris-purple-b: #FFFFFF;
    --iris-cta-a: var(--jewel);
    --iris-cta-b: #64FF35;

    --hero-sand: var(--content-secondary);
    --hero-deep: #0C1C4A;
    --hero-gold: var(--gold-accent);
    --hero-gold-bright: var(--gold-accent);
    --hero-cream: var(--offer-cream);
    --hero-stage: linear-gradient(90deg, #06102B 0%, #0C1C4A 100%);
    --accent-pink-rgb: 255, 40, 21;
    --accent-gold-rgb: 255, 217, 0;
    --accent-green-rgb: 60, 255, 0;
    --accent-blue-rgb: 35, 115, 252;
    --ui-panel: 12, 28, 74;
    --ui-panel-2: 17, 43, 119;
    --link-accent: #FFD900;
    --brand-purple: #A74EFF;
    --brand-magenta: #A74EFF;
    --accent-orange: #3CFF00;
    --accent-orange-hover: #64FF35;
    --btn-promo: #3CFF00;
    --btn-promo-hover: #64FF35;
    --gradient-brand: linear-gradient(90deg, #06102B 0%, #0C1C4A 100%);
    --gradient-night: linear-gradient(180deg, #06102B, #0C1C4A);
    --shadow-m: 0 4px 24px 0 rgba(0, 0, 0, 0.5);
    --radius-pill: 12px;
    --radius-btn: 12px;
    --radius-tab: 12px;
    --radius-card: 12px;
    --radius-hero: 16px;

    --header-fade-gradient: linear-gradient(180deg, #06102B 0%, #06102B 100%);

    --primary-color: #06102B;
    --primary-color-light: #0C1C4A;
    --btn-dark-color: transparent;

    --secondary-color: #FFFFFF;
    --btn-secondary-color: #3CFF00;
    --btn-primary-hover: #64FF35;
    --tertiary-color: #05101F;
    --red-color: #FF2815;
    --blue-color: #2373FC;
    --dark-btn-text: #000000;

    /* Typography families (loaded via Google Fonts in templates) */
    --font-sans: "Unbounded", "Trebuchet MS", sans-serif;
    --font-display: "Unbounded", "Trebuchet MS", sans-serif;
    --font-offer: "Unbounded", "Trebuchet MS", sans-serif;

    /* Layout & spacing */
    --space-page-x-mobile: 16px;
    --space-page-x-desktop: 16px;
    --btn-height: 48px;
    --btn-padding-x: 24px;
    --section-gap: 24px;
    --card-padding: 16px;
}

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

html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
    color-scheme: dark;
    overflow-x: clip;
    background: var(--x1-primary);
    color: var(--content-primary);
    font-family: var(--font-sans);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.anchor-heading {
    scroll-margin-top: 72px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--content-primary);
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--content-primary);
    min-height: 100%;
    min-height: 100dvh;
    position: relative;
    background: var(--x1-primary);
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--content-primary);
    text-decoration: none;
}

a:hover {
    color: var(--link-accent);
}

a:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.page-fill {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-fill > .content-section {
    flex: 1 1 auto;
}

.page-fill > .legal-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.page-fill .legal-main .content-section {
    flex: 1 1 auto;
}

/* ===== Header & navigation (Fugu navy chrome) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--header-brick-mid);
    background-image: none;
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.1);
    padding: 0 var(--space-page-x-desktop);
}

.header-top-bar {
    display: none;
}

.page-legal .header {
    background-color: var(--header-brick-mid);
    background-image: none;
    box-shadow: 0 1px 0 hsla(0, 0%, 100%, 0.1);
}

.header-content {
    margin: 0 auto;
    max-width: 1100px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    line-height: 0;
}

.header-logo:hover {
    color: inherit;
    opacity: 0.92;
}

.header-logo-img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-logo-img--desktop {
    width: 96px;
    height: 40px;
    max-width: 96px;
}

.header-logo-img--mobile {
    display: none;
    width: 48px;
    height: 48px;
    max-width: 48px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Language dropdown — chrome/colors only; CSS Anchor + Popover positioning unchanged */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1100;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    padding: 0 12px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    background: var(--control-neutral);
    color: var(--content-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    text-shadow: none;
    user-select: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.lang-dropdown--mobile .lang-dropdown-btn {
    anchor-name: --lang-dropdown-mobile;
}

.lang-dropdown--desktop .lang-dropdown-btn {
    anchor-name: --lang-dropdown-desktop;
}

.lang-dropdown-btn:hover {
    background: hsla(0, 0%, 100%, 0.1);
    border-color: hsla(0, 0%, 100%, 0.1);
    color: var(--content-primary);
}

.lang-dropdown-btn:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.lang-dropdown-btn-label {
    white-space: nowrap;
}

.lang-dropdown-chevron {
    flex-shrink: 0;
    opacity: 0.85;
    color: var(--content-primary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.lang-dropdown:has(.lang-dropdown-panel:popover-open) .lang-dropdown-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-btn:hover .lang-dropdown-chevron {
    color: var(--gold-accent);
}

.lang-dropdown-panel {
    min-width: 10rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    padding: 6px 0;
    margin: 0;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    background: var(--x1-bg-deep);
    box-shadow: var(--shadow-m);
}

.lang-dropdown-panel[popover] {
    display: none;
    position: fixed;
    inset: auto;
}

.lang-dropdown-panel[popover]:popover-open {
    display: flex;
    flex-direction: column;
}

.lang-dropdown--mobile .lang-dropdown-panel[popover] {
    position-anchor: --lang-dropdown-mobile;
    top: calc(anchor(bottom) + 6px);
    /* Left-align to trigger: right-anchor overflows viewport on ≤360px */
    left: anchor(left);
    right: auto;
    bottom: auto;
}

.lang-dropdown--desktop .lang-dropdown-panel[popover] {
    position-anchor: --lang-dropdown-desktop;
    top: calc(anchor(bottom) + 6px);
    right: anchor(right);
    left: auto;
    bottom: auto;
}

.lang-dropdown-item-form {
    display: contents;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0;
    border: none;
    text-align: left;
    box-sizing: border-box;
}

.lang-dropdown-item:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: -2px;
}

button.lang-dropdown-item {
    width: 100%;
    background: none;
    font: inherit;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
}

.lang-dropdown-item.lang-dropdown-link {
    color: var(--content-secondary);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.lang-dropdown-item.lang-dropdown-link:hover {
    background: var(--bg-elevated);
    color: var(--content-primary);
}

.lang-dropdown-current {
    color: var(--content-primary);
    cursor: pointer;
    box-shadow: inset 3px 0 0 var(--jewel);
}

/* Download links (desktop icon buttons) — white glyphs, gold/blue hover */
.download-links {
    display: none;
    align-items: center;
    gap: 2px;
}

.download-label {
    display: none;
}

.download-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: transparent;
    text-decoration: none;
    text-align: center;
    color: var(--content-primary);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.download-link:hover {
    background: transparent;
    border-color: transparent;
    color: var(--gold-accent);
}

.download-link:hover .download-icon {
    fill: var(--gold-accent);
}

.download-link:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.download-icon {
    width: 18px;
    height: 18px;
    fill: var(--content-primary);
    transition: fill 0.2s ease;
}

/* Header CTAs — Fugu: ghost Login + lime Sign Up */
.header-login,
.header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    border: 1px solid var(--content-primary);
    background: var(--control-neutral);
    color: var(--content-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-register {
    border: 1px solid transparent;
    background: var(--jewel);
    color: var(--content-on-accent);
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
}

.header-login:hover,
.header-login:active {
    background: hsla(0, 0%, 100%, 0.1);
    border-color: var(--content-primary);
    color: var(--content-primary);
}

.header-register:hover,
.header-register:active {
    background: var(--jewel-dark);
    border-color: transparent;
    color: var(--content-on-accent);
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
}

.header-login:focus-visible,
.header-register:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.header-help {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    color: var(--content-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    transition: color 0.2s ease;
}

.header-help:hover {
    color: var(--gold-accent);
}

.header-help:hover .help-icon {
    border-color: var(--gold-accent);
    color: var(--gold-accent);
}

.header-help:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.help-icon {
    width: 22px;
    height: 22px;
    border: 1px solid var(--content-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
    color: var(--content-primary);
    text-align: center;
    transition: border-color 0.2s ease, color 0.2s ease;
}

@media (min-width: 769px) {
    .header-content {
        min-height: 72px;
        padding: 12px 0;
    }

    .lang-dropdown--mobile {
        display: none;
    }

    .download-links {
        display: flex;
    }

    .header-right {
        gap: 10px;
    }

    .header-help {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 44px;
    }

    .header-login,
    .header-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: var(--btn-height);
        padding: 0 var(--btn-padding-x);
        font-size: 14px;
        font-weight: 600;
        text-align: center;
    }

    .lang-dropdown-btn {
        min-height: var(--btn-height);
        padding: 0 var(--btn-padding-x);
        font-size: 14px;
        font-weight: 600;
        text-transform: none;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 64px;
    }

    .header {
        padding: 0 var(--space-page-x-mobile);
    }

    .lang-dropdown--desktop {
        display: none;
    }

    .header-content {
        padding: 10px 0;
        min-height: 64px;
    }

    .header-brand {
        flex: 0 0 auto;
        min-width: 0;
        gap: 6px;
    }

    /* P0-1: keep wordmark logo.avif on all breakpoints. Hide logo-icon. */
    .header-logo-img--desktop {
        display: block;
        width: 96px;
        height: 40px;
        max-width: 96px;
        object-fit: contain;
    }

    .header-logo-img--mobile {
        display: none;
    }

    .header-right {
        gap: 4px;
        min-width: 0;
        flex-shrink: 1;
        flex-wrap: nowrap;
    }

    /* Mobile: Sign Up first, then Log In (text buttons — not a 40×40 icon) */
    .header-register {
        order: 1;
    }

    .header-login {
        order: 2;
    }

    .header-login,
    .header-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        min-height: 44px;
        padding: 0 10px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        text-align: center;
    }

    .lang-dropdown-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 8px;
        font-size: 12px;
        font-weight: 600;
        text-transform: none;
        text-align: center;
    }
}

.container {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 72px var(--space-page-x-desktop) var(--section-gap);
    overflow-x: clip;
    overflow-y: visible;
    background: var(--gradient-night);
    box-shadow: none;
}

.container::after {
    display: none;
}

/* Fugu hero stage: 1100px column (not full-bleed lobby), navy inner plate */
.content-wrapper {
    display: flex;
    align-items: center;
    gap: 20px 28px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    height: auto;
    min-height: 300px;
    padding: 20px 24px;
    overflow: visible;
    border-radius: var(--radius-hero);
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    box-shadow: none;
    background:
        radial-gradient(ellipse 58% 80% at 78% 52%, #0C1C4A 0%, transparent 72%),
        #0C1C4A;
}

.form-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px 0;
    max-width: 326px;
    width: 100%;
    flex-shrink: 0;
    margin: 0;
    z-index: 2;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

/* Speech-bubble pointer — keep hidden (Fugu has no bubble) */
.form-container::after {
    content: none;
    display: none;
}

.banner-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: 0;
    align-self: stretch;
    position: relative;
    z-index: 1;
    background: transparent;
}

.banner-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    aspect-ratio: 980 / 960;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 0;
    border: none;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.page-bonuses .banner-container {
    align-items: center;
}

.page-bonuses .banner-img {
    object-position: center;
    transform: none;
    transform-origin: center center;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: 0;
        padding: 18px 0;
        background: transparent;
        border: none;
        border-radius: 0;
    }

    .form-container {
        margin: 0 auto;
        max-width: 326px;
        align-items: flex-start;
    }

    .form-container::after {
        display: none;
        content: none;
    }

    .banner-container,
    .page-bonuses .banner-container {
        display: none;
    }
}

.headline-1 {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    text-align: left;
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 0;
    line-height: 1.3;
    padding: 0;
    background: none;
    border-radius: 0;
    clip-path: none;
}

.headline-2 {
    text-align: left;
    color: var(--x1-secondary);
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 500;
    text-transform: none;
    line-height: 22px;
    letter-spacing: 0;
    order: 0;
}

.headline-offer {
    text-align: left;
    margin: 2px 0 0;
    font-family: var(--font-offer);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    color: var(--offer-cream);
}

.offer-accent-money {
    color: var(--gold-accent);
}

.offer-accent-fs {
    color: var(--jewel);
}

.btn-register {
    width: 100%;
    min-height: 48px;
    padding: 14px 24px;
    background: var(--jewel);
    color: #000;
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    text-shadow: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
}

.btn-register.btn-login {
    background: transparent;
    margin-bottom: 0;
    min-height: var(--btn-height);
    font-size: 14px;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: none;
}

.btn-register.btn-login:hover {
    background: hsla(0, 0%, 100%, 0.1);
    color: #fff;
    border-color: #fff;
    box-shadow: none;
}

a.btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.btn-register:hover {
    background: var(--btn-primary-hover);
    color: #000;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
}

.btn-register:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.form-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-login-banner {
    width: 100%;
    padding: 18px;
    background: var(--red-color);
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login-banner:hover {
    transform: scale(1.02);
}

/* ===== Main content sections (Fugu navy article shell) ===== */
.content-section {
    position: relative;
    background: #06102B;
    padding: 32px var(--space-page-x-mobile);
}

@media (min-width: 769px) {
    .content-section {
        padding-left: var(--space-page-x-desktop);
        padding-right: var(--space-page-x-desktop);
    }
}

.content-section > * {
    position: relative;
    z-index: 1;
}

.content-max-width {
    max-width: 1100px;
    margin: 0 auto;
}

.content-title {
    color: var(--content-primary);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--section-gap);
    text-align: left;
    line-height: 1.3;
    letter-spacing: 0;
}

.content-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: var(--section-gap) 0 calc(var(--section-gap) + 12px);
}

.content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    min-height: 48px;
    min-width: 200px;
    padding: 0 24px;
    background: #3CFF00;
    color: #000;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    text-shadow: none;
    border: none;
    border-radius: 12px;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.content-btn:hover {
    background: #64FF35;
    color: #000;
    border: none;
    transform: none;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
}

.content-btn:active {
    background: #64FF35;
    color: #000;
}

.content-btn:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.content-max-width > .content-button-wrapper:last-child {
    margin-top: 32px;
    margin-bottom: 8px;
}

.content-max-width > .content-button-wrapper:last-child .content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 56px;
    min-width: min(326px, 100%);
    padding: 0 24px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--section-gap);
    margin: var(--section-gap) 0;
}

.pros-block,
.cons-block {
    border-radius: 12px;
    padding: var(--card-padding);
    background: #0C1C4A;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    box-shadow: none;
}

.cons-block {
    background: #112B77;
}

.pros-cons-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.25px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--content-primary);
}

.pros-block .pros-cons-title,
.cons-block .pros-cons-title {
    color: var(--content-primary);
}

.pros-cons-head-icon {
    display: flex;
    flex-shrink: 0;
    line-height: 0;
}

.pros-cons-head-icon svg {
    display: block;
}

.pros-cons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pros-cons-list li {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--content-secondary);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pros-block .pros-cons-list li::before {
    content: "✓";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #3CFF00;
    margin-top: 2px;
}

.cons-block .pros-cons-list li::before {
    content: "✗";
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #FF2815;
    margin-top: 2px;
}

@media (max-width: 700px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }

    .pros-block,
    .cons-block {
        min-width: 0;
    }
}

/* Intro band: author meta (navy / muted white). Rating card is Stage 9. */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: var(--section-gap);
    padding: var(--card-padding);
    background: #0C1C4A;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    box-shadow: none;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--content-secondary);
    line-height: 1.4;
}

.article-meta-icon {
    width: 16px;
    height: 16px;
    fill: var(--blue-color);
    flex-shrink: 0;
}

.article-meta-label {
    color: var(--content-primary);
    font-weight: 600;
}

.rating-card {
    background: #112B77;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 12px;
    padding: var(--card-padding);
    margin-bottom: var(--section-gap);
    max-width: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px 24px;
    box-shadow: 0 1px 2px 0 hsla(0, 0%, 100%, 0.15) inset;
}

.rating-card-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 110px;
    text-align: center;
    border-right: 1px solid hsla(0, 0%, 100%, 0.1);
    padding-right: 24px;
}

.rating-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: #FFD900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.rating-max {
    font-size: 16px;
    color: var(--content-tertiary);
    font-weight: 400;
}

.rating-stars {
    display: flex;
    gap: 3px;
    margin: 8px 0 6px;
}

.rating-stars .star {
    color: #FFD900;
    font-size: 18px;
}

.rating-stars .star-half {
    color: #FFD900;
    font-size: 18px;
    opacity: 0.7;
}

.rating-count {
    font-size: 12px;
    color: var(--content-tertiary);
}

.rating-card-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    align-content: center;
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    background: #0C1C4A;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
}

.fact-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.55);
}

.fact-value {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
}

.fact-value.good {
    color: #FFFFFF;
}

.fact-value.warn {
    color: #FFFFFF;
}

@media (max-width: 600px) {
    .rating-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .rating-card-score {
        border-right: none;
        border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
        padding-right: 0;
        padding-bottom: 16px;
    }

    .rating-card-facts {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .fact-item {
        padding: 8px 10px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        box-shadow: none;
    }
}

/* Casino facts table — navy elevated, white hairline */
.stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--section-gap) 0 calc(var(--section-gap) + 8px);
    font-family: var(--font-sans);
    font-size: 14px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: #0C1C4A;
}

.stats-table tr {
    background: #0C1C4A;
}

.stats-table tr:nth-child(even) {
    background: #112B77;
}

.stats-table td {
    padding: 12px var(--card-padding);
    vertical-align: middle;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table td:first-child {
    color: var(--content-primary);
    width: 42%;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
}

.stats-table td:last-child {
    color: var(--content-secondary);
    font-weight: 400;
    border-radius: 0;
}

.stats-table tr:first-child td:first-child {
    border-radius: 12px 0 0 0;
}

.stats-table tr:first-child td:last-child {
    border-radius: 0 12px 0 0;
}

.stats-table tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}

.stats-table tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

.text-content {
    color: var(--content-secondary);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.text-content p {
    margin-bottom: var(--section-gap);
    color: var(--content-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.text-content a {
    color: var(--blue-color);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.text-content a:hover {
    color: var(--link-accent);
}

.text-content a:focus-visible {
    color: var(--link-accent);
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.text-content strong,
.text-content b {
    color: var(--content-primary);
    font-weight: 700;
}

.text-content em {
    color: var(--content-secondary);
    font-style: italic;
}

/* Table of contents — navy numbered card (not tab chips) */
.article-toc {
    width: 100%;
    margin: var(--section-gap) 0;
    padding: 16px 20px 20px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 12px;
    background: #0C1C4A;
    box-sizing: border-box;
    box-shadow: none;
    position: static;
}

.text-content .article-toc-heading,
.article-toc-heading {
    margin: 0 0 14px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--content-primary);
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

.text-content .article-toc-list {
    margin: 0;
    padding: 0 0 0 1.6em;
    list-style: decimal;
    display: block;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

.article-toc-list .level-1 {
    margin: 0 0 8px;
    padding: 0;
    color: var(--content-secondary);
    list-style: decimal;
}

.article-toc-list .level-1::marker {
    color: var(--jewel);
    font-family: var(--font-sans);
    font-weight: 600;
}

.article-toc-list a {
    display: inline;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: var(--blue-color);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    transition: color 0.2s ease;
}

.article-toc-list a:hover {
    background: transparent;
    border: none;
    color: var(--link-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-toc-list a:focus-visible {
    background: transparent;
    border: none;
    color: var(--link-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.article-toc-list a:active {
    background: transparent;
    border: none;
    color: var(--link-accent);
}

@media (max-width: 768px) {
    .article-toc {
        max-width: 100%;
        padding: 14px 16px 16px;
        background: #112B77;
    }

    .text-content .article-toc-list {
        padding-left: 1.4em;
        font-size: 14px;
        line-height: 1.7;
    }

    .article-toc-list a {
        font-size: 14px;
    }
}

.content-screen-figure {
    margin: var(--section-gap) 0;
    text-align: center;
}

.content-screen-img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 16px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    box-shadow: none;
    background: #0C1C4A;
}

.text-content h2,
.text-content h3 {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 700;
    margin-top: calc(var(--section-gap) + 12px);
    margin-bottom: 12px;
    color: var(--content-primary);
    text-align: left;
    line-height: 1.3;
    letter-spacing: 0;
}

.text-content h2.anchor-heading {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    color: var(--content-primary);
}

.text-content h3 {
    font-family: var(--font-display);
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: 600;
}

.text-content ul,
.text-content ol:not(.article-toc-list) {
    margin: 0 0 var(--section-gap) 1.25em;
    padding: 0;
    color: var(--content-secondary);
}

.text-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.text-content li::marker {
    color: var(--blue-color);
}

/* FAQ accordion — elevated navy rows, lime open accent */
.faq-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #112B77;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    overflow: hidden;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
    background: #112B77;
    border-color: hsla(0, 0%, 100%, 0.1);
    box-shadow: inset 3px 0 0 0 #3CFF00;
}

.faq-item[open] .faq-summary {
    color: #FFFFFF;
}

.faq-summary {
    list-style: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    min-height: 44px;
    padding: 14px 44px 14px 16px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    position: relative;
    line-height: 1.4;
}

.faq-summary .faq-question {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    background: #1B3B98;
    color: #FFFFFF;
}

.faq-summary:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: -2px;
}

.faq-item[open] .faq-summary:hover {
    background: #1B3B98;
    color: #FFFFFF;
}

.faq-summary::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(-135deg);
    margin-top: -2px;
    border-right-color: #3CFF00;
    border-bottom-color: #3CFF00;
}

.faq-body {
    padding: 0 16px 16px 19px;
}

.faq-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.faq-body .faq-answer-plain {
    margin: 0 0 10px 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: stretch;
        padding: 64px var(--space-page-x-mobile) 12px;
        margin-top: 0;
        justify-content: flex-start;
    }

    .content-section {
        padding: 32px var(--space-page-x-mobile);
    }

    .content-max-width {
        padding-top: 0;
    }

    .content-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .anchor-heading {
        scroll-margin-top: 64px;
    }

    .content-button-wrapper {
        width: 100%;
    }

    .content-button-wrapper .content-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        min-width: 0;
        min-height: 48px;
    }

    .form-container .hero-buttons > a[href] {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .article-meta {
        padding: 12px;
    }

    .text-content {
        font-size: 14px;
        line-height: 1.6;
    }

    .text-content p {
        font-size: 14px;
    }

    .text-content h2,
    .text-content h3 {
        font-size: 18px;
        margin-top: 28px;
        margin-bottom: 10px;
    }

    .text-content h2.anchor-heading {
        font-size: 18px;
    }

    .stats-table td {
        padding: 10px 12px;
        word-break: break-word;
    }

    .stats-table td:first-child {
        font-size: 14px;
        width: 45%;
    }

    .pros-block,
    .cons-block {
        box-shadow: none;
    }

    .content-screen-img {
        max-width: 100%;
        border-radius: 12px;
    }

    .faq-list {
        gap: 8px;
    }

    .faq-summary {
        font-size: 14px;
        font-weight: 600;
        min-height: 44px;
        padding: 12px 38px 12px 14px;
    }

    .faq-summary::after {
        right: 14px;
    }

    .faq-body {
        padding: 0 14px 14px 17px;
    }

    .faq-item[open] {
        box-shadow: inset 3px 0 0 0 #3CFF00;
        border-color: hsla(0, 0%, 100%, 0.1);
    }

    .headline-2 {
        font-size: 20px;
        font-weight: 500;
        line-height: 20px;
    }

    .headline-offer {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .form-container {
        padding: 8px 0;
        border-radius: 0;
    }

    .headline-1 {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.3;
        padding: 0;
        background: none;
        clip-path: none;
        border-radius: 0;
    }

    .headline-2 {
        font-size: 20px;
        line-height: 20px;
    }
}

/* Footer — Fugu navy, 10% white hairline, no filigree */
.footer {
    flex-shrink: 0;
    position: relative;
    background-color: #06102B;
    background-image: none;
    padding: 24px var(--space-page-x-desktop);
    border-top: 1px solid hsla(0, 0%, 100%, 0.1);
    box-shadow: none;
}

.footer::before,
.footer::after {
    content: none;
    display: none;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px 40px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
    gap: 8px 20px;
}

.footer-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 8px 0;
    background: transparent;
    color: hsla(0, 0%, 100%, 0.7);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0;
    transition: color 0.2s ease;
}

.footer-nav a:first-child,
.footer-nav a:last-child,
.footer-nav a:only-child {
    border-radius: 0;
}

.footer-nav a::after {
    display: none;
}

.footer-nav a:last-child::after {
    display: none;
}

.footer-nav a:hover {
    color: var(--link-accent);
    text-decoration: none;
}

.footer-nav a:focus-visible {
    color: var(--link-accent);
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    z-index: 1;
}

.legal-main {
    min-height: 50vh;
}

.page-legal .content-section {
    background: #06102B;
}

.legal-document {
    background: #0C1C4A;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 12px;
    padding: calc(var(--card-padding) * 2) calc(var(--card-padding) * 1.5);
    box-shadow: none;
}

.page-legal .content-title {
    color: var(--content-primary);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
}

.legal-document .text-content {
    color: var(--content-secondary);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.legal-document .text-content h2,
.legal-document .text-content h3 {
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    margin-top: 28px;
    margin-bottom: 14px;
    color: var(--content-primary);
    font-weight: 700;
}

.legal-link {
    color: var(--blue-color);
    font-family: var(--font-sans);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: var(--link-accent);
}

.legal-link:focus-visible {
    color: var(--link-accent);
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.legal-meta {
    margin-top: var(--section-gap);
    font-size: 14px;
    color: var(--content-tertiary) !important;
}

.legal-visual-block,
.page-apk .legal-visual-block,
.page-bonuses .legal-visual-block {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    border-radius: 12px;
    background: #0C1C4A;
    box-shadow: none;
}

.legal-visual-eyebrow {
    margin: 0 0 10px 0 !important;
    font-family: var(--font-display);
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--content-tertiary) !important;
}

.legal-visual-title {
    margin: 0 0 10px 0 !important;
    font-family: var(--font-display);
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--content-primary);
}

.legal-visual-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 280px);
    justify-self: end;
}

.legal-visual-media img {
    display: block;
    width: 100%;
    max-width: 280px;
    max-height: 220px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    box-shadow: none;
    background: #112B77;
}

.legal-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
    margin-bottom: 8px;
}

.legal-mini-card {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid hsla(0, 0%, 100%, 0.1);
    background: #112B77;
}

.legal-mini-card h3 {
    margin: 0 0 8px 0 !important;
    font-family: var(--font-display);
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    font-weight: 700;
    color: var(--content-primary);
}

.legal-mini-card p {
    margin: 0 !important;
    color: var(--content-secondary);
    font-family: var(--font-sans);
    font-size: 14px;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 320px;
    min-width: 0;
}

.age-restriction-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #06102B;
    border: 2px solid var(--jewel);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
    box-shadow: none;
}

.age-number {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    position: static;
}

.age-plus {
    font-size: 0.7em;
    font-weight: inherit;
    color: inherit;
    position: static;
    margin-left: 1px;
}

.footer-disclaimer p.footer-copyright,
.footer-copyright {
    color: var(--content-primary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: normal;
    margin: 0 0 8px 0 !important;
}

.footer-disclaimer p {
    color: var(--content-tertiary);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: normal;
    margin: 0;
}

.footer-disclaimer p + p {
    margin-top: 8px;
}


@media (max-width: 768px) {
    .footer {
        padding: 24px var(--space-page-x-mobile);
    }

    .footer-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding-top: 0;
    }

    .footer-left {
        width: 100%;
        flex: none;
    }

    .footer-nav {
        width: 100%;
        max-width: none;
        flex: none;
        padding-top: 0;
        border-top: none;
    }

    body.page-legal {
        padding-top: 64px;
    }

    .legal-visual-block,
    .page-apk .legal-visual-block,
    .page-bonuses .legal-visual-block {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .legal-visual-media {
        width: 100%;
        justify-self: center;
    }

    .legal-visual-media img {
        max-width: 240px;
        max-height: 180px;
    }

    .legal-mini-grid {
        grid-template-columns: 1fr;
        margin-top: 16px;
    }
}

/* Hero logo: desktop only (mobile — centered logo in .header) */
.form-container .logo {
    display: none;
}

@media (min-width: 769px) {
    .form-container .logo {
        display: flex;
        justify-content: flex-start;
        text-decoration: none;
    }

    .form-container .logo-img {
        width: 96px;
        height: 40px;
        max-width: 96px;
        max-height: 40px;
        object-fit: contain;
        transform: none;
    }
}

/* Hero CTA — Fugu: lime Register + ghost Login */
.form-container .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    text-align: center;
}

.form-container .hero-buttons > a[href] {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    text-decoration: none;
}

.form-container .hero-buttons button.btn-register {
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--font-sans);
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-container .hero-buttons .btn-register,
.form-container .hero-buttons a.btn-register {
    background: var(--jewel);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: #000;
    text-shadow: none;
    border: none;
    border-radius: var(--radius-btn);
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
    min-height: 48px;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-container .hero-buttons .btn-register.btn-login,
.form-container .hero-buttons a.btn-register.btn-login {
    background: transparent;
    margin-bottom: 0;
    min-height: var(--btn-height);
    font-size: 14px;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: none;
}

.form-container .hero-buttons .btn-register:hover,
.form-container .hero-buttons a.btn-register:hover,
.form-container .hero-buttons button.btn-register:hover {
    background: var(--btn-primary-hover);
    color: #000;
    transform: none;
    box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
}

.form-container .hero-buttons .btn-register.btn-login:hover,
.form-container .hero-buttons a.btn-register.btn-login:hover {
    background: hsla(0, 0%, 100%, 0.1);
    color: #fff;
    border-color: #fff;
    box-shadow: none;
}

body.page-legal {
    padding-top: 72px;
    background: var(--surface-a);
}

body.page-legal .legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    color: var(--content-secondary);
    font-family: var(--font-sans);
    line-height: 1.7;
}

body.page-legal .legal-wrap h1 {
    color: var(--content-primary);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.25px;
    margin-bottom: 20px;
}

body.page-legal .legal-wrap p {
    margin-bottom: 16px;
}

body.page-legal .legal-wrap a {
    color: var(--content-secondary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.page-legal .legal-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--content-secondary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.page-legal .legal-back:hover {
    color: var(--gold-accent);
}

@media (max-width: 768px) {
    body.page-legal {
        padding-top: 64px;
    }
}

/* Mobile-only promo strip (≤1024 — Irwin breakpoint, keep) */
.banerBody.mobile-promo-banner,
.mobile-promo-banner {
    display: none;
}

.noCopy {
    -webkit-user-select: none;
    user-select: none;
}

/* Show compact promo whenever desktop hero mascot is hidden (≤1024) */
@media (max-width: 1024px) {
    .banerBody.mobile-promo-banner,
    .mobile-promo-banner {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0 0 12px;
        margin-top: 0;
        position: relative;
        z-index: 50;
    }

    .mobile-promo-banner__link {
        display: flex;
        align-items: stretch;
        justify-content: center;
        text-align: center;
        text-decoration: none;
        color: inherit;
        width: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-promo-banner__link:focus-visible {
        outline: 2px solid var(--border-focus);
        outline-offset: 2px;
        border-radius: var(--radius-hero);
    }

    .mobile-promo-banner__banner.bonusBanner {
        position: relative;
        overflow: hidden;
        width: 100%;
        min-height: 250px;
        max-height: none;
        border-radius: var(--radius-hero);
        background: #0C1C4A;
        border: 1px solid hsla(0, 0%, 100%, 0.1);
        box-shadow: none;
        isolation: isolate;
    }

    .mobile-promo-banner__banner.bonusBanner::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            90deg,
            rgba(6, 16, 43, 0.94) 0%,
            rgba(6, 16, 43, 0.62) 42%,
            rgba(6, 16, 43, 0.18) 100%
        );
        pointer-events: none;
    }

    .mobile-promo-banner__back {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

    .mobile-promo-banner__backImg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .mobile-promo-banner__mainImg.bonusBannerMain {
        position: absolute;
        right: 0;
        bottom: 0;
        top: 0;
        left: auto;
        width: auto;
        height: 100%;
        max-height: none;
        aspect-ratio: 980 / 960;
        object-fit: contain;
        object-position: right bottom;
        z-index: 0;
        pointer-events: none;
        filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
    }

    .mobile-promo-banner__inside {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 2;
        padding: 16px;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 12px;
        justify-content: center;
        min-height: 250px;
        box-sizing: border-box;
    }

    .mobile-promo-banner__text {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: 1 1 140px;
        min-width: 0;
        text-align: left;
    }

    .mobile-promo-banner__eyebrow {
        margin: 0;
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0;
        line-height: 1.2;
        text-transform: none;
        color: var(--x1-secondary);
    }

    .mobile-promo-banner__lead {
        margin: 0;
        font-family: var(--font-offer);
        font-size: 30px;
        font-weight: 700;
        line-height: 1;
        color: var(--offer-cream);
        letter-spacing: 0;
        text-transform: none;
    }

    .mobile-promo-banner__lead .offer-accent-money {
        color: var(--gold-accent);
    }

    .mobile-promo-banner__lead .offer-accent-fs {
        color: var(--jewel);
    }

    .mobile-promo-banner__cta {
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 48px;
        width: min(326px, 100%);
        min-width: 44px;
        padding: 14px 24px;
        font-family: var(--font-sans);
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
        color: #000;
        text-shadow: none;
        line-height: 1;
        background: var(--jewel);
        border: none;
        border-radius: var(--radius-btn);
        box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
        box-sizing: border-box;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-promo-banner__link:hover .mobile-promo-banner__cta,
    .mobile-promo-banner__link:focus-visible .mobile-promo-banner__cta {
        background: var(--btn-primary-hover);
        color: #000;
        border-color: transparent;
        box-shadow: inset 0 1px 1px 0 hsla(0, 0%, 100%, 0.15);
    }
}

@media (max-width: 430px) {
    .header-logo-img--desktop {
        width: 80px;
        height: 33px;
        max-width: 80px;
    }

    .header-brand {
        gap: 4px;
    }

    .header-login,
    .header-register {
        padding: 0 8px;
        font-size: 12px;
        min-height: 44px;
    }

    .lang-dropdown-btn {
        padding: 0 6px;
        min-height: 44px;
    }

    .headline-offer {
        font-size: 28px;
    }

    .mobile-promo-banner__eyebrow {
        font-size: 16px;
    }

    .mobile-promo-banner__lead {
        font-size: 26px;
    }

    .mobile-promo-banner__cta {
        width: 100%;
        max-width: 100%;
        padding: 12px 16px;
    }

    .stats-table td:first-child {
        width: auto;
    }

    .legal-wrap,
    body.page-legal .legal-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 360px) {
    .header-logo-img--desktop {
        width: 72px;
        height: 30px;
        max-width: 72px;
    }

    .header-login,
    .header-register,
    .lang-dropdown-btn {
        padding: 0 6px;
        font-size: 12px;
    }

    .headline-offer {
        font-size: 26px;
    }

    .mobile-promo-banner__lead {
        font-size: 24px;
    }
}


