:root {
    /* Zazino core palette (ported from zazino_ru) */
    --x1-primary: #001218;
    --x1-secondary: #00F6FF;
    --x1-tertiary: #001218;
    --x1-bg-deep: #001A23;
    --x1-login-blue: rgba(0, 184, 219, 0.1);

    /* Zazino surfaces */
    --bg-secondary: #001A23;
    --bg-tertiary: #011E27;
    --bg-elevated: #001A23;

    /* Fugu surface aliases mapped onto abyss / elevated */
    --surface-a: #001218;
    --surface-b: #001A23;
    --surface-c: #001A23;
    --surface-d: #011E27;

    /* Zazino content colors */
    --content-primary: #FFFFFF;
    --content-secondary: #8DA1BE;
    --content-tertiary: #8DA1BE;
    --content-on-accent: #FFFFFF;

    /* Controls & borders */
    --control-neutral: rgba(0, 184, 219, 0.1);
    --control-neutral-hover: rgba(0, 184, 219, 0.16);
    --border-divider: rgba(255, 255, 255, 0.1);
    --border-focus: rgba(0, 246, 255, 0.56);

    /* Legacy aliases used in current stylesheet */
    --iris-bg: var(--x1-bg-deep);
    --iris-purple-a: var(--x1-secondary);
    --iris-purple-b: var(--x1-secondary);
    --iris-cta-a: var(--x1-secondary);
    --iris-cta-b: #00B2FF;

    --hero-sand: var(--content-secondary);
    --hero-deep: var(--x1-bg-deep);
    --hero-gold: var(--content-primary);
    --hero-gold-bright: var(--content-primary);
    --hero-cream: var(--content-primary);
    --accent-pink-rgb: 255, 0, 94;
    --accent-gold-rgb: 244, 245, 246;
    --accent-green-rgb: 0, 246, 255;
    --accent-blue-rgb: 0, 178, 255;
    --ui-panel: 0, 26, 35;
    --ui-panel-2: 1, 30, 39;
    --link-accent: #8DA1BE;

    /* Fugu lime/gold aliases retargeted to cyan/white so leftover selectors cannot flash lime */
    --gold-brand: #001218;
    --gold-accent: #00F6FF;
    --cream: #FFFFFF;
    --offer-cream: #FFFFFF;
    --parchment-ink: #FFFFFF;
    --jewel: #00F6FF;
    --jewel-dark: #00B2FF;
    --header-brick-mid: #001218;
    --brand-purple: #00F6FF;
    --brand-magenta: #00F6FF;
    --accent-orange: #00F6FF;
    --accent-orange-hover: #00B2FF;
    --btn-promo: #00F6FF;
    --btn-promo-hover: #00B2FF;
    --hero-stage: #001218;
    --gradient-brand: linear-gradient(90deg, #001218 0%, #001A23 100%);
    --gradient-night: linear-gradient(180deg, #001218, #001A23);
    --shadow-m: 0 4px 24px 0 rgba(0, 0, 0, 0.5);

    /* CTA & decorative tokens */
    --cta-gradient: radial-gradient(117.91% 153.75% at 50% 141.25%, rgb(7, 24, 117) 0.32%, rgb(0, 246, 255) 100%);
    --cta-secondary-bg: linear-gradient(rgba(1, 28, 37, 0.8) 0%, rgba(0, 18, 24, 0) 100%);
    --cta-inset-shadow: rgba(3, 23, 30, 0.25) 2px 2px 4px inset, rgba(255, 255, 255, 0.1) -1px -1px 4px inset;
    --header-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    --logo-glow: drop-shadow(0 0 12px rgba(0, 204, 255, 0.9));
    --divider-gradient: linear-gradient(90deg, rgba(0, 18, 24, 0) 0%, rgba(255, 255, 255, 0.1) 27.6%, rgba(255, 255, 255, 0.3) 52.62%, rgba(255, 255, 255, 0.1) 74.48%, rgba(0, 18, 24, 0) 100%);

    --radius-pill: 999px;
    --radius-btn: 8px;
    --radius-tab: 6px;
    --radius-card: 12px;
    --radius-hero: 12px;

    /* Live header joined-pair radii (P0-1). Header agent applies to .header-* only. */
    --radius-cta-join-start: 32px 2px 2px 32px;
    --radius-cta-join-end: 2px 32px 32px 2px;
    --header-register-radius: var(--radius-cta-join-start);
    --header-login-radius: var(--radius-cta-join-end);
    --header-cta-gap: 4px;

    --header-fade-gradient: none;

    --primary-color: #001218;
    --primary-color-light: #001A23;
    --btn-dark-color: rgba(0, 184, 219, 0.1);

    --secondary-color: #00F6FF;
    --btn-secondary-color: #00F6FF;
    --btn-primary-hover: #00B2FF;
    --tertiary-color: #001218;
    --red-color: #FF005E;
    --blue-color: var(--x1-tertiary);
    --dark-btn-text: #FFFFFF;

    /* Typography — donor families; Fugu --font-sans/--font-offer aliased so leftover selectors stay Lato/Jost */
    --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Jost", var(--font-body);
    --font-sans: var(--font-body);
    --font-offer: var(--font-display);

    /* Layout & spacing */
    --space-page-x-mobile: 16px;
    --space-page-x-desktop: 40px;
    --btn-height: 48px;
    --btn-padding-x: 16px;
    --section-gap: 20px;
    --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-body);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    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(--x1-secondary);
}

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

/* Global control centering — section CTA chrome stays on their own classes */
button {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-fill {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--x1-primary);
}

.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 (Zazino abyss chrome + live joined CTA pair) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--x1-primary);
    background-image: none;
    border-bottom: 1px solid var(--border-divider);
    box-shadow: none;
    padding: 0;
}

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

.page-legal .header {
    background: var(--x1-primary);
    background-image: none;
    box-shadow: none;
}

.header-content {
    margin: 0 auto;
    max-width: 1600px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px var(--space-page-x-mobile);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
}

.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;
    color: inherit;
    transition: opacity 0.2s ease-in-out;
}

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

.header-logo-img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Dual cyan bloom: donor --logo-glow + live outer bloom */
    filter: var(--logo-glow) drop-shadow(0 0 40px rgba(0, 174, 255, 0.65));
    transition: filter 0.2s ease-in-out;
}

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

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

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

.header-right > * + * {
    margin-left: 10px;
}

/* 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: 32px;
    border-radius: var(--radius-btn);
    border: none;
    background: var(--control-neutral);
    color: var(--content-primary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    text-shadow: none;
    user-select: none;
    transition: background 0.15s ease, color 0.15s 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: var(--control-neutral-hover);
    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: currentColor;
    transition: transform 0.2s ease;
}

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

.lang-dropdown-panel {
    min-width: 10rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    padding: 6px 0;
    margin: 0;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-divider);
    background: var(--bg-secondary);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.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-body);
    font-size: 14px;
    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.15s, color 0.15s;
}

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

.lang-dropdown-current {
    color: var(--content-tertiary);
    cursor: pointer;
}

/* Download links (desktop icon buttons) — muted teal, cyan hover */
.download-links {
    display: none;
    align-items: center;
    gap: 4px;
}

.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: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: var(--radius-btn);
    border: none;
    background: var(--control-neutral);
    text-decoration: none;
    text-align: center;
    color: var(--content-secondary);
    transition: background 0.15s ease, color 0.15s ease;
}

.download-link:hover {
    background: var(--control-neutral-hover);
    color: var(--x1-secondary);
}

.download-link:hover .download-icon {
    fill: var(--x1-secondary);
}

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

.download-icon {
    width: 20px;
    height: 20px;
    fill: var(--content-secondary);
    transition: fill 0.15s ease;
}

/* Header CTAs — live joined pair (register left / login right). Hero/content stay pills. */
.header-login,
.header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 32px;
    padding: 0 16px;
    border: none;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--cta-inset-shadow);
    transition: background 0.15s ease, color 0.15s ease, filter 0.15s ease;
}

.header-register {
    border-radius: var(--header-register-radius);
    background: var(--cta-gradient);
    color: var(--content-on-accent);
    padding: 0 18px;
}

.header-login {
    border-radius: var(--header-login-radius);
    background-color: rgba(0, 184, 219, 0.1);
    background-image: var(--cta-secondary-bg);
    color: var(--content-primary);
}

.header-register + .header-login {
    margin-left: var(--header-cta-gap);
}

.header-login:hover,
.header-login:active {
    background-color: rgba(0, 184, 219, 0.16);
    background-image: var(--cta-secondary-bg);
    color: var(--content-primary);
}

.header-register:hover,
.header-register:active {
    filter: brightness(1.08);
    color: var(--content-on-accent);
}

.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;
    color: var(--content-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    text-align: center;
    transition: color 0.15s ease;
}

.header-help:hover {
    color: var(--x1-secondary);
}

.header-help:hover .help-icon {
    border-color: rgba(0, 246, 255, 0.4);
    color: var(--x1-secondary);
}

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

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

@media (min-width: 769px) {
    .header-content {
        padding: 6px 24px;
        min-height: 64px;
    }

    .header-logo-img--desktop {
        height: 52px;
        max-width: 177px;
    }

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

    .download-links {
        display: flex;
    }

    .header-right > * + * {
        margin-left: 10px;
    }

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

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

    .header-login {
        padding: 8px 16px;
        border-radius: var(--header-login-radius);
    }

    .header-register {
        padding: 8px 24px;
        border-radius: var(--header-register-radius);
    }

    .header-register + .header-login {
        margin-left: var(--header-cta-gap);
    }

    .lang-dropdown-btn {
        min-height: var(--btn-height);
        font-size: 14px;
        font-weight: 400;
        text-transform: none;
        text-align: center;
    }
}

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

    .header {
        padding: 0;
        box-shadow: var(--header-shadow);
    }

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

    .header-content {
        padding: 8px var(--space-page-x-mobile);
        min-height: 48px;
    }

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

    /* Donor icon-switch: wordmark off, logo-icon.svg on ≤768 */
    .header-logo-img--desktop {
        display: none;
    }

    .header-logo-img--mobile {
        display: block;
        height: 32px;
        width: auto;
        max-width: 49px;
    }

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

    .header-right > * + * {
        margin-left: 6px;
    }

    /* Joined radii persist; DOM already register→login — no flex order swap */
    .header .header-login,
    .header .header-register {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        order: 0;
        min-height: 32px;
        padding: 0 12px;
        font-family: var(--font-display);
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
        text-align: center;
    }

    .header .header-register {
        border-radius: var(--header-register-radius);
        padding: 0 14px;
    }

    .header .header-login {
        border-radius: var(--header-login-radius);
    }

    /* 32px pair: 2px seam reads as joined without collapsing into one blob */
    .header-register + .header-login {
        margin-left: 2px;
    }

    .header .lang-dropdown-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        padding: 0 10px;
        font-size: 13px;
        font-weight: 400;
        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(--primary-color);
    box-shadow: none;
}

.container::after {
    display: none;
}

/* Hero row: form card left + cover plate right (donor landing, not Fugu navy stage) */
.content-wrapper {
    display: flex;
    align-items: stretch;
    gap: var(--section-gap);
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: none;
}

.form-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-hero);
    padding: 28px 24px 24px;
    max-width: 420px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
    z-index: 1;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

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

.banner-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-hero);
    align-self: stretch;
    position: relative;
    z-index: 1;
    background: transparent;
}

.banner-img {
    width: 100%;
    max-width: 764px;
    height: auto;
    max-height: none;
    aspect-ratio: 764 / 392;
    object-fit: cover;
    object-position: center right;
    border-radius: var(--radius-hero);
    border: 1px solid var(--border-divider);
    box-shadow: 0 0 28px rgba(0, 246, 255, 0.08);
    filter: none;
}

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

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

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

    .form-container {
        margin: 0 auto;
        max-width: 420px;
        align-items: stretch;
    }

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

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

.headline-1 {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1.3;
    padding: 0;
    background: none;
    border-radius: 0;
    clip-path: none;
}

.headline-2 {
    text-align: center;
    color: var(--content-primary);
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 24px rgba(0, 246, 255, 0.12);
    order: 0;
}

.headline-offer {
    text-align: center;
    margin: 2px 0 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--content-primary);
}

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

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

.btn-register {
    width: 100%;
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    background: var(--cta-gradient);
    color: var(--content-on-accent);
    border: none;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: none;
    cursor: pointer;
    transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    box-shadow: var(--cta-inset-shadow);
}

.btn-register.btn-login {
    background-color: rgba(0, 184, 219, 0.1);
    background-image: var(--cta-secondary-bg);
    margin-bottom: 12px;
    min-height: var(--btn-height);
    font-size: 14px;
    color: var(--content-primary);
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--cta-inset-shadow);
}

.btn-register.btn-login:hover {
    background-color: rgba(0, 184, 219, 0.16);
    background-image: var(--cta-secondary-bg);
    color: var(--content-primary);
    border: none;
    box-shadow: var(--cta-inset-shadow);
    filter: 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 {
    filter: brightness(1.08);
    color: var(--content-on-accent);
}

.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 (Zazino abyss article shell) ===== */
.content-section {
    position: relative;
    background: var(--x1-primary);
    padding: 48px var(--space-page-x-mobile) 56px;
}

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

/* Tablet: match header 24px inset; desktop 40px stays ≥1025 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .content-section {
        padding-left: 24px;
        padding-right: 24px;
    }
}

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

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

.content-title {
    color: var(--content-primary);
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: var(--section-gap);
    text-align: left;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.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);
}

/* Mid + bottom CTA: donor radial pill (never joined header radii) */
.content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    min-height: var(--btn-height);
    min-width: 200px;
    padding: 0 24px;
    background: var(--cta-gradient);
    color: var(--content-on-accent);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: none;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--cta-inset-shadow);
    cursor: pointer;
    transition: filter 0.15s ease, color 0.15s ease;
}

.content-btn:hover {
    filter: brightness(1.08);
    background: var(--cta-gradient);
    color: var(--content-on-accent);
    border: none;
    transform: none;
    box-shadow: var(--cta-inset-shadow);
}

.content-btn:active {
    filter: brightness(1.04);
    background: var(--cta-gradient);
    color: var(--content-on-accent);
}

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

.content-max-width > .content-button-wrapper:last-child {
    margin-top: calc(var(--section-gap) + 12px);
    margin-bottom: 0;
}

.pros-cons + .content-button-wrapper {
    margin-top: calc(var(--section-gap) + 12px);
    margin-bottom: 0;
}

/* Pros / cons: donor elevated cards, cyan checks vs --red-color #FF005E */
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--section-gap);
    margin: var(--section-gap) 0;
}

.pros-block,
.cons-block {
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    background: var(--bg-secondary);
    border: 1px solid var(--border-divider);
    box-shadow: none;
}

.cons-block {
    background: var(--bg-tertiary);
}

.pros-cons-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    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-body);
    font-size: 15px;
    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: rgb(var(--accent-green-rgb));
    margin-top: 2px;
}

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

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

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

/* Intro band: elevated abyss card, muted #8DA1BE meta, cyan icons */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: var(--section-gap);
    padding: 14px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-divider);
}

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

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

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

/* Rating card: donor 12px plate, cyan score + stars (not Fugu nested fact chips) */
.rating-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-card);
    padding: var(--card-padding);
    margin-bottom: var(--section-gap);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px 24px;
}

.rating-card-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    text-align: center;
    border-right: 1px solid var(--border-divider);
    padding-right: 24px;
}

.rating-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--x1-secondary);
    line-height: 1;
}

.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: var(--x1-secondary);
    font-size: 18px;
}

.rating-stars .star-half {
    color: var(--x1-secondary);
    font-size: 18px;
    opacity: 0.65;
}

.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;
}

.fact-label {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--content-tertiary);
}

.fact-value {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--content-primary);
}

.fact-value.good {
    color: rgb(var(--accent-green-rgb));
}

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

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

    .rating-card-score {
        border-right: none;
        border-bottom: 1px solid var(--border-divider);
        padding-right: 0;
        padding-bottom: 16px;
    }

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

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

/* Facts table: elevated abyss rows, 2px cell borders, muted labels */
.stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin: var(--section-gap) 0 calc(var(--section-gap) + 8px);
    font-family: var(--font-body);
    font-size: 15px;
    background: transparent;
}

.stats-table tr {
    background: var(--bg-elevated);
}

.stats-table td {
    padding: 12px var(--card-padding);
    vertical-align: middle;
    border-top: 2px solid var(--border-divider);
    border-bottom: 2px solid var(--border-divider);
}

.stats-table td:first-child {
    color: var(--content-tertiary);
    width: 42%;
    font-size: 14px;
    font-weight: 400;
    border-radius: 2px 0 0 2px;
    border-left: 2px solid var(--border-divider);
}

.stats-table td:last-child {
    color: var(--content-primary);
    font-weight: 600;
    border-radius: 0 2px 2px 0;
    border-right: 2px solid var(--border-divider);
}

.text-content {
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

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

.text-content a {
    color: var(--content-primary);
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.text-content a:hover {
    color: var(--x1-secondary);
}

.text-content a:focus-visible {
    color: var(--x1-secondary);
    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;
}

.text-content img:not(.content-screen-img) {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-card);
}

/* Table of contents — donor numbered card (not tab chips) */
.article-toc {
    width: 100%;
    margin: var(--section-gap) 0;
    padding: 18px 22px;
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-card);
    background: var(--bg-elevated);
    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: clamp(22px, 3.2vw, 28px);
    font-weight: 700;
    color: var(--content-primary);
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-transform: none;
}

.text-content .article-toc-list {
    margin: 0;
    padding: 0 0 0 30px;
    list-style: decimal;
    display: block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

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

.article-toc-list .level-1::marker {
    color: var(--x1-secondary);
    font-family: var(--font-body);
    font-weight: 700;
}

.text-content .article-toc-list a,
.article-toc-list a {
    display: inline;
    padding: 0;
    min-height: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    color: var(--content-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    transition: color 0.15s ease;
}

.article-toc-list a:hover,
.article-toc-list a:focus-visible {
    background: transparent;
    border: none;
    color: var(--x1-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

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

@media (max-width: 768px) {
    .article-toc {
        max-width: 100%;
        padding: 14px 16px;
        background: var(--bg-elevated);
    }

    .text-content .article-toc-list {
        padding-left: 24px;
        font-size: 15px;
        line-height: 1.45;
    }

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

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

/* Full 1900×900 lobby screenshot — framed plate, not hero crop.
   Beat .text-content img { max-width: 100% } so the 384px display cap holds. */
.text-content .content-screen-img,
.content-screen-img {
    display: block;
    max-width: min(100%, 384px);
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: top center;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-divider);
    box-shadow: 0 0 20px rgba(0, 246, 255, 0.06);
    background: var(--bg-elevated);
}

.text-content h2:not(:first-of-type)::before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 16px;
    background: var(--divider-gradient);
}

.text-content h2,
.text-content h3 {
    font-family: var(--font-display);
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    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, 3vw, 22px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
    color: var(--content-primary);
}

.text-content h3 {
    font-family: var(--font-display);
    font-size: clamp(16px, 2.5vw, 20px);
    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(--content-tertiary);
}

/* FAQ accordion — donor teal wash, cyan left rail when open */
.faq-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: rgba(0, 184, 219, 0.08);
    border-radius: var(--radius-btn);
    /* Longhands only: border+var() shorthand was dropping [open] left color */
    border-top: 1px solid var(--border-divider);
    border-right: 1px solid var(--border-divider);
    border-bottom: 1px solid var(--border-divider);
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: transparent;
    overflow: hidden;
    transition: background 0.15s ease;
}

.faq-item[open] {
    background: var(--bg-elevated);
    border-left-color: var(--x1-secondary);
}

.faq-item[open] .faq-summary {
    color: var(--content-primary);
}

.faq-summary {
    list-style: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    min-height: 44px;
    padding: 14px 40px 14px 16px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--content-primary);
    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: transparent;
    color: var(--content-primary);
}

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

.faq-item[open] .faq-summary:hover {
    background: transparent;
    color: var(--content-primary);
}

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

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

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

.faq-body p {
    margin: 0;
    color: var(--content-secondary);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

.faq-body .faq-answer-plain {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: var(--content-primary);
}


@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) 40px;
    }

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

    .content-title {
        font-size: 24px;
        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: var(--btn-height);
        border-radius: var(--radius-pill);
    }

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

    .article-meta {
        padding: 12px;
    }

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

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

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

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

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

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

    .text-content .content-screen-img,
    .text-content .content-screen-img,
    .content-screen-img {
        max-width: min(100%, 384px);
        border-radius: var(--radius-card);
    }

    .faq-list {
        gap: 8px;
    }

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

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

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

    .faq-item[open] {
        background: var(--bg-elevated);
        border-left-color: var(--x1-secondary);
    }

    .headline-2 {
        font-size: 28px;
        font-weight: 700;
        line-height: 1.1;
    }

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

@media (max-width: 600px) {
    .form-container {
        padding: 20px 16px 18px;
        border-radius: var(--radius-hero);
    }

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

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

/* Footer — Zazino abyss, gradient hairline, muted nav (not Fugu navy/lime) */
.footer {
    flex-shrink: 0;
    position: relative;
    background: var(--x1-primary);
    background-image: none;
    padding: 24px var(--space-page-x-mobile) 32px;
    border-top: none;
    box-shadow: none;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--space-page-x-mobile);
    right: var(--space-page-x-mobile);
    height: 1px;
    background: var(--divider-gradient);
    pointer-events: none;
}

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

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px 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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 4px 0;
    background: transparent;
    color: var(--link-accent);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0;
    transition: color 0.15s ease;
}

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

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

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

.page-legal .content-section,
.page-legal .legal-main .content-section {
    background: var(--x1-primary);
    padding-top: 72px;
}

.legal-document {
    background: var(--bg-elevated);
    border: 1px solid var(--border-divider);
    border-radius: var(--radius-card);
    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-weight: 700;
    text-align: left;
}

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

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

.legal-document .text-content strong {
    color: var(--content-primary);
}

/* Beat O5 `.text-content a` (0,1,1 white) — legal pages only */
.legal-link,
.page-legal .legal-link,
.page-legal .text-content a,
.legal-document .text-content a.legal-link {
    color: var(--link-accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

.legal-link:hover,
.page-legal .legal-link:hover,
.page-legal .text-content a:hover,
.legal-document .text-content a.legal-link:hover {
    color: var(--x1-secondary);
}

.legal-link:focus-visible,
.page-legal .legal-link:focus-visible,
.page-legal .text-content a:focus-visible,
.legal-document .text-content a.legal-link:focus-visible {
    color: var(--x1-secondary);
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    border-radius: 2px;
}

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

/* APK visual: elevated cyan-border abyss card (donor has no apk img) */
.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 var(--border-divider);
    border-radius: var(--radius-card);
    background: var(--bg-elevated);
    box-shadow: 0 0 20px rgba(0, 246, 255, 0.06);
}

.legal-visual-block .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;
    font-weight: 600;
    color: var(--x1-secondary) !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: var(--radius-card);
    border: 1px solid var(--border-divider);
    box-shadow: 0 0 16px rgba(0, 246, 255, 0.08);
    background: var(--bg-tertiary);
}

.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: var(--radius-card);
    border: 1px solid var(--border-divider);
    background: var(--bg-tertiary);
}

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

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

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

.age-restriction-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    min-width: 36px;
    min-height: 36px;
    width: auto;
    height: auto;
    padding: 4px 6px;
    border-radius: 2px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: var(--content-primary);
    box-shadow: none;
}

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

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

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

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

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

@media (min-width: 769px) {
    .footer {
        padding: 24px 24px 32px;
    }

    .footer::before {
        left: 24px;
        right: 24px;
    }

    .footer-content {
        gap: 24px 40px;
    }
}

@media (max-width: 768px) {
    .page-legal .content-section,
    .page-legal .legal-main .content-section {
        padding-top: 64px;
    }

    .footer {
        padding: 16px var(--space-page-x-mobile) 24px;
    }

    .footer::before {
        left: var(--space-page-x-mobile);
        right: var(--space-page-x-mobile);
    }

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

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

    .footer-nav {
        position: relative;
        width: 100%;
        max-width: none;
        flex: none;
        justify-content: flex-start;
        padding-top: 16px;
        border-top: none;
        gap: 8px 16px;
    }

    .footer-nav::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: var(--divider-gradient);
        pointer-events: none;
    }

    .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: center;
        text-decoration: none;
    }

    .form-container .logo-img {
        max-height: 36px;
        width: auto;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        transform: none;
        /* Same dual bloom as .header-logo-img (P2-4) */
        filter: var(--logo-glow) drop-shadow(0 0 40px rgba(0, 174, 255, 0.65));
    }
}

/* Hero CTA — donor pills: ghost login then cyan register */
.form-container .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin-top: 4px;
    text-align: center;
}

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

.form-container .hero-buttons > a[href]:hover {
    color: inherit;
}

.form-container .hero-buttons button.btn-register {
    -webkit-appearance: none;
    appearance: none;
    font-family: var(--font-display);
    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(--cta-gradient);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--content-on-accent);
    text-shadow: none;
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--cta-inset-shadow);
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.form-container .hero-buttons .btn-register.btn-login,
.form-container .hero-buttons a.btn-register.btn-login {
    background-color: rgba(0, 184, 219, 0.1);
    background-image: var(--cta-secondary-bg);
    margin-bottom: 12px;
    min-height: var(--btn-height);
    font-size: 14px;
    color: var(--content-primary);
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: var(--cta-inset-shadow);
}

.form-container .hero-buttons .btn-register:hover,
.form-container .hero-buttons a.btn-register:hover,
.form-container .hero-buttons button.btn-register:hover {
    filter: brightness(1.08);
    color: var(--content-on-accent);
    transform: none;
}

.form-container .hero-buttons .btn-register.btn-login:hover,
.form-container .hero-buttons a.btn-register.btn-login:hover {
    background-color: rgba(0, 184, 219, 0.16);
    background-image: var(--cta-secondary-bg);
    color: var(--content-primary);
    border: none;
    box-shadow: var(--cta-inset-shadow);
    filter: none;
}

body.page-legal {
    padding-top: 0;
    background: var(--x1-primary);
}

body.page-legal .legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    color: var(--content-secondary);
    font-family: var(--font-body);
    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;
    margin-bottom: 20px;
}

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

body.page-legal .legal-wrap a {
    color: var(--link-accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}

body.page-legal .legal-wrap a:hover {
    color: var(--x1-secondary);
}

body.page-legal .legal-back {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--link-accent);
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

body.page-legal .legal-back:hover {
    color: var(--x1-secondary);
}

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

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

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

    .mobile-promo-banner__link {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        border-radius: var(--radius-hero);
        text-decoration: none;
        color: inherit;
        -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%;
        /* 220px: donor strip ceiling; taller than 182px so more of the figure is in frame */
        min-height: 220px;
        max-height: 220px;
        border-radius: var(--radius-hero);
        background: var(--bg-elevated);
        border: 1px solid var(--border-divider);
        box-shadow: 0 0 20px rgba(0, 246, 255, 0.06);
        isolation: isolate;
    }

    .mobile-promo-banner__banner.bonusBanner::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            90deg,
            rgba(0, 18, 24, 0.98) 0%,
            rgba(0, 18, 24, 0.92) 48%,
            rgba(0, 18, 24, 0.52) 72%,
            rgba(0, 18, 24, 0.12) 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;
        /* Donor-like crop: 70%/right hid the welcome woman in the 390 strip */
        object-position: -68% 21%;
        display: block;
    }

    .banerBody.mobile-promo-banner img.mobile-promo-banner__mainImg.bonusBannerMain,
    .mobile-promo-banner img.mobile-promo-banner__mainImg.bonusBannerMain {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Beat any center-right; keep desktop .banner-img at center right */
        object-position: 50% 40%;
        transform: none;
        z-index: 0;
        pointer-events: none;
        filter: none;
    }

    .mobile-promo-banner__inside {
        position: relative;
        z-index: 2;
        padding: 16px;
        max-width: 68%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        justify-content: center;
        min-height: 220px;
        box-sizing: border-box;
    }

    .mobile-promo-banner__text {
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .mobile-promo-banner__eyebrow {
        margin: 0;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.06em;
        line-height: 1.2;
        text-transform: uppercase;
        color: var(--content-secondary);
    }

    .mobile-promo-banner__lead {
        margin: 0;
        font-family: var(--font-display);
        font-size: clamp(18px, 5vw, 22px);
        font-weight: 700;
        line-height: 1.05;
        color: var(--content-primary);
        letter-spacing: -0.02em;
        text-transform: uppercase;
        text-shadow: 0 0 20px rgba(0, 246, 255, 0.15);
    }

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

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

    .mobile-promo-banner__cta {
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: 44px;
        min-width: 44px;
        padding: 0 20px;
        box-sizing: border-box;
        font-family: var(--font-display);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--content-on-accent);
        text-shadow: none;
        line-height: 1;
        background: var(--cta-gradient);
        border: none;
        border-radius: var(--radius-pill);
        box-shadow: var(--cta-inset-shadow);
        transition: filter 0.15s ease;
    }

    .mobile-promo-banner__link:hover .mobile-promo-banner__cta,
    .mobile-promo-banner__link:focus-visible .mobile-promo-banner__cta {
        filter: brightness(1.08);
        color: var(--content-on-accent);
    }
}

/* Tablet: ultra-wide cover crop — 260px matches live carousel height without becoming a carousel */
@media (min-width: 768px) and (max-width: 1024px) {
    .mobile-promo-banner__banner.bonusBanner {
        min-height: 260px;
        max-height: 260px;
    }

    .mobile-promo-banner__inside {
        min-height: 260px;
    }
}

@media (max-width: 430px) {
    .headline-offer {
        font-size: 26px;
    }

    .mobile-promo-banner__inside {
        max-width: 74%;
        padding: 14px;
        min-height: 220px;
        gap: 10px;
    }

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

    .mobile-promo-banner__lead {
        font-size: clamp(16px, 5vw, 20px);
    }

    .mobile-promo-banner__cta {
        width: auto;
        max-width: 100%;
        min-height: 44px;
        padding: 0 16px;
    }

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

@media (max-width: 360px) {
    .headline-offer {
        font-size: 24px;
    }

    .mobile-promo-banner__lead {
        font-size: clamp(16px, 5vw, 18px);
    }
}


