:root {
    /* JetTon core palette */
    --x1-primary: #090b12;
    --x1-secondary: #e92139;
    --x1-tertiary: #090b12;
    --x1-bg-deep: #121721;
    --x1-login-blue: rgba(255, 255, 255, 0.08);

    /* JetTon surfaces */
    --bg-secondary: #1a202c;
    --bg-tertiary: #252c3c;
    --bg-elevated: #121721;

    /* JetTon content colors */
    --content-primary: #f2f3f7;
    --content-secondary: #b7bfce;
    --content-tertiary: #8c95a8;
    --content-on-accent: #ffffff;

    /* Controls & borders */
    --control-neutral: rgba(255, 255, 255, 0.08);
    --control-neutral-hover: rgba(255, 255, 255, 0.14);
    --border-divider: rgba(255, 255, 255, 0.12);
    --border-focus: rgba(233, 33, 57, 0.55);

    /* 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: #f1485d;

    --hero-sand: #d3d8e4;
    --hero-deep: #0f131c;
    --hero-gold: #ff6b79;
    --hero-gold-bright: #ff7f8b;
    --hero-cream: #ffffff;
    --accent-pink-rgb: 233, 33, 57;
    --accent-gold-rgb: 242, 243, 247;
    --accent-green-rgb: 255, 97, 112;
    --accent-blue-rgb: 46, 74, 130;
    --ui-panel: 26, 32, 44;
    --ui-panel-2: 37, 44, 60;
    --link-accent: #f1485d;
    --radius-pill: 999px;
    --radius-btn: 8px;
    --radius-tab: 6px;
    --radius-card: 12px;
    --radius-hero: 16px;

    --header-fade-gradient: none;

    --primary-color: #090b12;
    --primary-color-light: #121721;
    --btn-dark-color: rgba(255, 255, 255, 0.08);

    --secondary-color: #e92139;
    --btn-secondary-color: #e92139;
    --btn-primary-hover: #f1485d;
    --tertiary-color: #090b12;
    --red-color: #ff4760;
    --blue-color: var(--x1-tertiary);
    --dark-btn-text: #f2f3f7;

    /* Layout & spacing */
    --space-page-x-mobile: 16px;
    --space-page-x-desktop: 40px;
    --btn-height: 44px;
    --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: 104px;
    color-scheme: dark;
}

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

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

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    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;
    -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;
}

.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 (JetTon) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--x1-primary);
    border-bottom: 1px solid var(--border-divider);
    padding: 0;
}

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

.page-legal .header {
    background: var(--x1-primary);
}

.header-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px var(--space-page-x-mobile);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
}

.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-img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-logo-img--desktop {
    height: 34px;
    width: auto;
    max-width: 140px;
}

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

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

/* Language dropdown */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1100;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    padding: 0 12px;
    min-height: 40px;
    border-radius: var(--radius-btn);
    border: none;
    background: var(--control-neutral);
    color: var(--content-primary);
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    user-select: none;
    transition: background 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;
    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);
    right: anchor(right);
    left: 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: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    border: none;
    text-align: left;
}

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) */
.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: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-btn);
    background: var(--control-neutral);
    text-decoration: none;
    transition: background 0.15s ease;
}

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

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

.download-icon {
    width: 20px;
    height: 20px;
    fill: var(--content-primary);
}

/* Header CTAs */
.header-login,
.header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.header-login {
    background: var(--control-neutral);
    color: var(--content-primary);
}

.header-login:hover {
    background: var(--control-neutral-hover);
    color: var(--content-primary);
}

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

.header-register {
    background: var(--btn-secondary-color);
    color: var(--content-on-accent);
}

.header-register:hover {
    background: var(--btn-primary-hover);
    color: var(--content-on-accent);
}

.header-help {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--content-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.15s ease;
}

.header-help:hover {
    color: var(--content-primary);
}

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

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

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

    .download-links {
        display: flex;
    }

    .header-right {
        gap: 10px;
    }

    .header-help {
        display: flex;
    }
}

@media (max-width: 768px) {
    .lang-dropdown--desktop {
        display: none;
    }

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

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

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

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

    .header-right {
        gap: 6px;
    }

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

    .lang-dropdown-btn {
        min-height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

.container {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 104px var(--space-page-x-desktop) var(--section-gap);
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: none;
}

.container::after {
    display: none;
}

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

.form-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-hero);
    padding: 28px 24px 24px;
    max-width: 420px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
    z-index: 1;
}

.banner-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.banner-img {
    width: 100%;
    max-width: 764px;
    height: auto;
    aspect-ratio: 764 / 429;
    object-fit: fill;
    border-radius: var(--radius-hero);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

    .banner-container {
        display: none;
    }

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

.headline-1 {
    text-align: center;
    color: var(--content-secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
    line-height: 1.3;
}

.headline-2 {
    text-align: center;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.btn-register {
    width: 100%;
    min-height: var(--btn-height);
    padding: 0 var(--btn-padding-x);
    background: var(--btn-secondary-color);
    color: var(--content-on-accent);
    border: none;
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-register.btn-login {
    background: var(--control-neutral);
    margin-bottom: 12px;
    color: var(--content-primary);
}

.btn-register.btn-login:hover {
    background: var(--control-neutral-hover);
    color: var(--content-primary);
}

a.btn-register {
    display: 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: 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 (JetTon dark) ===== */
.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);
    }
}

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

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

.content-title {
    color: #ffffff;
    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 {
    text-align: center;
    margin: var(--section-gap) 0 calc(var(--section-gap) + 12px);
}

.content-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--btn-height);
    min-width: 200px;
    padding: 0 var(--btn-padding-x);
    background: var(--btn-secondary-color);
    color: var(--content-on-accent);
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.content-btn:hover {
    background: var(--btn-primary-hover);
    color: var(--content-on-accent);
    transform: none;
    box-shadow: none;
}

.content-btn:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}
.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: none;
    box-shadow: none;
}

.pros-cons-title {
    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 {
    color: var(--content-primary);
}

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

/* Intro band: author meta + rating card + mid CTA */
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: var(--section-gap);
    padding: var(--card-padding);
    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-size: 14px;
    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 {
    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-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-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--content-tertiary);
}

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

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

.fact-value.warn {
    color: var(--x1-secondary);
}

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

/* Casino facts table — JetTon bets-row pattern */
.stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin: var(--section-gap) 0 calc(var(--section-gap) + 8px);
    font-size: 15px;
}

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

.stats-table td {
    padding: 12px var(--card-padding);
    vertical-align: middle;
}

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

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

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

.text-content p {
    margin-bottom: var(--section-gap);
}

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

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

/* Table of contents — JetTon category pill tabs */
.article-toc {
    width: 100%;
    margin: var(--section-gap) 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
}

.article-toc-heading {
    margin: 0 0 12px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0;
}

.text-content .article-toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 15px;
    line-height: 1.4;
}

.article-toc-list .level-1 {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.article-toc-list a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 var(--btn-padding-x);
    border-radius: var(--radius-tab);
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.article-toc-list a:hover,
.article-toc-list a:focus-visible {
    background: var(--x1-secondary);
    color: var(--content-on-accent);
    text-decoration: none;
}

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

    .text-content .article-toc-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .text-content .article-toc-list::-webkit-scrollbar {
        display: none;
    }
}

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

.content-screen-img {
    display: block;
    max-width: min(100%, 384px);
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-divider);
    box-shadow: none;
}

.text-content h2,
.text-content h3 {
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 600;
    margin-top: calc(var(--section-gap) + 12px);
    margin-bottom: 12px;
    color: #ffffff;
    text-align: left;
    line-height: 1.3;
}

.text-content h3 {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 600;
}

.text-content ul,
.text-content ol {
    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-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-item {
    background: var(--control-neutral);
    border-radius: var(--radius-btn);
    border-left: 3px solid transparent;
    overflow: hidden;
    transition: background 0.15s ease, border-color 0.15s ease;
}

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

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 40px 14px 16px;
    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-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}

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

.faq-summary:hover {
    color: var(--content-primary);
}

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

.faq-item[open] .faq-summary:hover {
    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-secondary);
    border-bottom: 2px solid var(--content-secondary);
    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-item[open] .faq-summary {
    color: var(--content-primary);
}

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

.faq-body p {
    margin: 0;
    color: var(--content-secondary);
    font-size: 15px;
    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: 88px 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;
    }

    .content-button-wrapper .content-btn {
        display: flex;
        width: 100%;
        min-width: 0;
    }

    .article-meta {
        padding: 12px;
    }

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

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

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

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

    .faq-summary {
        font-size: 15px;
        padding: 12px 36px 12px 14px;
    }

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

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

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

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

    .headline-1 {
        font-size: 13px;
    }

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

/* Footer (JetTon reference) */
.footer {
    flex-shrink: 0;
    background: var(--x1-primary);
    padding: 16px var(--space-page-x-desktop) 32px;
    border-top: 1px solid var(--border-divider);
    box-shadow: none;
}

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

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
}

.footer-nav a {
    color: #969da4;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.footer-nav a:hover {
    color: var(--content-primary);
}

.footer-nav a:focus-visible {
    color: var(--content-primary);
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
    border-radius: 2px;
}

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

.legal-document {
    background: var(--bg-elevated);
    border-radius: var(--radius-card);
    padding: calc(var(--card-padding) * 2) calc(var(--card-padding) * 1.5);
}

.page-legal .content-title {
    color: #ffffff;
    text-align: left;
}

.legal-document .text-content h2,
.legal-document .text-content h3 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 14px;
    color: #ffffff;
    font-weight: 600;
}

.legal-link {
    color: var(--content-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

.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 var(--border-divider);
    border-radius: var(--radius-hero);
    background: var(--bg-elevated);
    box-shadow: none;
}

.legal-visual-eyebrow {
    margin: 0 0 10px 0 !important;
    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-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-hero);
    border: 1px solid var(--border-divider);
    box-shadow: none;
    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-hero);
    border: 1px solid var(--border-divider);
    background: var(--bg-tertiary);
}

.legal-mini-card h3 {
    margin: 0 0 8px 0 !important;
    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-size: 14px;
}

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

.age-restriction-icon {
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;
}

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

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

.footer-copyright {
    color: var(--content-tertiary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 8px 0 !important;
}

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

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


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

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

    .footer-left {
        width: 100%;
    }

    .footer-nav {
        width: 100%;
        padding-top: 16px;
        border-top: 1px solid var(--border-divider);
        gap: 12px 20px;
    }
}

.content-wrapper {
    position: relative;
}


/* 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: 28px;
        width: auto;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        transform: none;
    }
}

/* Hero CTA — JetTon: neutral login + lime register */
.form-container .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 4px;
}

.form-container .hero-buttons > a[href] {
    display: block;
    width: 100%;
}

.form-container .hero-buttons button.btn-register {
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.form-container .hero-buttons .btn-register,
.form-container .hero-buttons a.btn-register {
    background: var(--btn-secondary-color);
    font-weight: 400;
    color: var(--content-on-accent);
    border: none;
    border-radius: var(--radius-btn);
    box-shadow: none;
    min-height: var(--btn-height);
}

.form-container .hero-buttons .btn-register.btn-login,
.form-container .hero-buttons a.btn-register.btn-login {
    background: var(--control-neutral);
    margin-bottom: 12px;
    color: var(--content-primary);
    border: none;
    box-shadow: none;
}

.form-container .hero-buttons .btn-register.btn-login:hover,
.form-container .hero-buttons a.btn-register.btn-login:hover {
    background: var(--control-neutral-hover);
    color: var(--content-primary);
}

.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: var(--content-on-accent);
    transform: none;
}

body.page-legal {
    padding-top: 0;
}

body.page-legal .legal-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
}

body.page-legal .legal-wrap h1 {
    color: #fff;
    margin-bottom: 20px;
}

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

body.page-legal .legal-wrap a {
    color: var(--link-accent);
    font-weight: 700;
}

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

/* Mobile-only promo strip after header (JetTon secondary promo card) */
.banerBody.mobile-promo-banner,
.mobile-promo-banner {
    display: none;
}

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

@media (max-width: 768px) {
    .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: block;
        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;
        min-height: 168px;
        max-height: 220px;
        border-radius: var(--radius-hero);
        background: var(--bg-elevated);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: none;
        isolation: isolate;
    }

    .mobile-promo-banner__banner.bonusBanner::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(
            90deg,
            rgba(11, 12, 13, 0.94) 0%,
            rgba(11, 12, 13, 0.72) 42%,
            rgba(11, 12, 13, 0.2) 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;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center right;
        z-index: 0;
        pointer-events: 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: 168px;
        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: inherit;
        font-size: clamp(18px, 5vw, 22px);
        font-weight: 700;
        line-height: 1.05;
        color: #ffffff;
        letter-spacing: -0.02em;
        text-transform: uppercase;
    }

    .mobile-promo-banner__cta {
        align-self: flex-start;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
        padding: 0 16px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0;
        text-transform: none;
        color: var(--content-on-accent);
        line-height: 1;
        background: var(--btn-secondary-color);
        border-radius: var(--radius-btn);
        box-shadow: none;
    }

    .legal-document {
        padding-top: 140px;
    }

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