/* XON portal layout - locally hosted Manrope + Sora */
@font-face {
    font-family: 'ManropeLocal';
    src: url('/static/fonts/manrope-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ManropeLocal';
    src: url('/static/fonts/manrope-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SoraLocal';
    src: url('/static/fonts/sora-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --xon-bg-deep: #070b16;
    --xon-bg-panel: #0d1224;
    --xon-bg-card: #121830;
    --xon-bg-elevated: #171f3d;
    --xon-border-soft: rgba(120, 140, 210, 0.14);
    --xon-text-main: #eef1ff;
    --xon-text-muted: #8b95b8;
    --xon-accent-cyan: #00e5ff;
    --xon-accent-magenta: #ff2d8f;
    --xon-accent-violet: #7b5cff;
    --xon-gradient-cta: linear-gradient(135deg, #ff2d8f 0%, #7b5cff 100%);
    --xon-gradient-play: linear-gradient(135deg, #00e5ff 0%, #0099cc 100%);
    --xon-radius-sm: 8px;
    --xon-radius-md: 12px;
    --xon-radius-lg: 16px;
    --xon-shadow-glow: 0 0 24px rgba(0, 229, 255, 0.18);
    --xon-font-body: 'ManropeLocal', system-ui, sans-serif;
    --xon-font-display: 'SoraLocal', 'ManropeLocal', system-ui, sans-serif;
    --xon-header-h: 64px;
    --xon-nav-h: 52px;
    --xon-mobile-dock: 64px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--xon-font-body);
    line-height: 1.55;
    color: var(--xon-text-main);
    background: var(--xon-bg-deep);
    min-height: 100vh;
}

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

a {
    color: inherit;
}

/* ── Top header strip ── */
.xon-top-strip {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(7, 11, 22, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--xon-border-soft);
}

.xon-top-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 20px;
    min-height: var(--xon-header-h);
}

.xon-brand-slot a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.xon-brand-slot img {
    max-height: 36px;
    width: auto;
}

.xon-brand-text {
    font-family: var(--xon-font-display);
    font-size: 1.65rem;
    letter-spacing: 0.06em;
    background: var(--xon-gradient-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.xon-cta-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.xon-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: var(--xon-radius-sm);
    border: 1px solid rgba(0, 229, 255, 0.45);
    background: rgba(0, 229, 255, 0.06);
    color: var(--xon-text-main);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    transition: border-color 0.2s, background 0.2s;
}

.xon-btn-outline:hover {
    border-color: var(--xon-accent-cyan);
    background: rgba(0, 229, 255, 0.12);
}

.xon-btn-gradient {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: var(--xon-radius-sm);
    background: var(--xon-gradient-cta);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 45, 143, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

.xon-btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(255, 45, 143, 0.45);
}

/* ── Horizontal nav row (desktop) ── */
.xon-primary-rail {
    display: block;
    background: var(--xon-bg-panel);
    border-bottom: 1px solid var(--xon-border-soft);
}

.xon-primary-rail__scroll {
    max-width: 1440px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.xon-primary-rail__scroll::-webkit-scrollbar {
    display: none;
}

.xon-primary-rail__list {
    display: flex;
    align-items: stretch;
    list-style: none;
    min-height: var(--xon-nav-h);
    padding: 0 12px;
}

.xon-primary-rail__item {
    flex-shrink: 0;
}

.xon-primary-rail__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: var(--xon-nav-h);
    text-decoration: none;
    color: var(--xon-text-muted);
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.xon-primary-rail__link:hover {
    color: var(--xon-text-main);
    background: rgba(255, 255, 255, 0.03);
}

.xon-primary-rail__link.is-active {
    color: var(--xon-accent-cyan);
    border-bottom-color: var(--xon-accent-cyan);
}

.xon-nav-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ── Mobile drawer trigger (bottom-left) ── */
.xon-drawer-trigger {
    display: none;
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 1100;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--xon-gradient-cta);
    box-shadow: 0 4px 24px rgba(255, 45, 143, 0.4);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.xon-drawer-trigger__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.xon-drawer-trigger.is-open .xon-drawer-trigger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.xon-drawer-trigger.is-open .xon-drawer-trigger__bar:nth-child(2) {
    opacity: 0;
}

.xon-drawer-trigger.is-open .xon-drawer-trigger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.xon-drawer-scrim {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(4, 6, 14, 0.72);
    backdrop-filter: blur(4px);
}

.xon-drawer-scrim.is-visible {
    display: block;
}

.xon-drawer-panel {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1080;
    width: min(320px, 88vw);
    max-height: 78vh;
    background: var(--xon-bg-panel);
    border-top-right-radius: var(--xon-radius-lg);
    border: 1px solid var(--xon-border-soft);
    border-left: none;
    border-bottom: none;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding-bottom: calc(var(--xon-mobile-dock) + 12px);
}

.xon-drawer-panel.is-open {
    transform: translateY(0);
}

.xon-drawer-panel__head {
    padding: 18px 20px 12px;
    border-bottom: 1px solid var(--xon-border-soft);
}

.xon-drawer-panel__list {
    list-style: none;
    padding: 8px 0;
}

.xon-drawer-panel__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--xon-text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.xon-drawer-panel__link:hover,
.xon-drawer-panel__link.is-active {
    background: rgba(0, 229, 255, 0.08);
    color: var(--xon-accent-cyan);
}

/* ── Page stage ── */
.xon-page-stage {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

/* ── Breadcrumbs ── */
.breadcrumb-nav {
    margin: 0 0 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}

.breadcrumb-link {
    color: var(--xon-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--xon-accent-cyan);
}

.breadcrumb-divider {
    color: var(--xon-text-muted);
    opacity: 0.5;
}

/* ── Banner slider ── */
.xon-hero-carousel {
    position: relative;
    margin-bottom: 24px;
    border-radius: var(--xon-radius-lg);
    overflow: hidden;
    border: 1px solid var(--xon-border-soft);
    background: var(--xon-bg-card);
}

.xon-hero-carousel__track {
    display: flex;
    transition: transform 0.45s ease;
}

.xon-hero-carousel__slide {
    flex: 0 0 100%;
    position: relative;
}

.xon-hero-carousel__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;
    background: var(--xon-bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xon-hero-carousel__frame picture,
.xon-hero-carousel__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.xon-hero-carousel__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 28px;
    background: linear-gradient(0deg, rgba(7, 11, 22, 0.88) 0%, transparent 55%);
    pointer-events: none;
}

.xon-hero-carousel__overlay > * {
    pointer-events: auto;
}

.xon-hero-carousel__title {
    font-family: var(--xon-font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 6px;
    max-width: 520px;
}

.xon-hero-carousel__subtitle {
    color: var(--xon-accent-cyan);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.xon-hero-carousel__cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 10px 22px;
    border-radius: var(--xon-radius-sm);
    background: var(--xon-gradient-cta);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 18px rgba(255, 45, 143, 0.35);
}

.xon-hero-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--xon-bg-panel);
}

.xon-hero-carousel__dot {
    width: 28px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, width 0.25s;
}

.xon-hero-carousel__dot.is-active {
    background: var(--xon-accent-cyan);
    width: 40px;
}

/* Legacy class aliases for JSON render compatibility */
.promotional-banners { margin-bottom: 24px; }

/* ── Game sections ── */
.game-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.section-title {
    font-family: var(--xon-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--xon-text-main);
}

.show-all-btn {
    padding: 7px 14px;
    border-radius: var(--xon-radius-sm);
    border: 1px solid var(--xon-border-soft);
    background: var(--xon-bg-card);
    color: var(--xon-text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s;
}

.show-all-btn:hover {
    border-color: var(--xon-accent-cyan);
    color: var(--xon-accent-cyan);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 14px;
}

.game-card {
    border-radius: var(--xon-radius-md);
    background: var(--xon-bg-card);
    border: 1px solid var(--xon-border-soft);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: var(--xon-shadow-glow);
}

.game-image-wrapper {
    position: relative;
    background: var(--xon-bg-elevated);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.game-play-btn {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--xon-radius-sm);
    background: var(--xon-gradient-play);
    color: #001018;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 229, 255, 0.35);
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
}

.game-card:hover .game-play-btn {
    opacity: 1;
}

.game-title {
    padding: 10px 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-align: center;
    color: var(--xon-text-main);
}

/* ── Bonuses ── */
.bonuses-section {
    margin-bottom: 36px;
}

.bonuses-section .section-header {
    margin-bottom: 20px;
}

.bonuses-section .section-title {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    background: linear-gradient(135deg, var(--xon-accent-cyan) 0%, var(--xon-accent-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.bonus-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--xon-radius-lg);
    background: var(--xon-bg-card);
    border: 1px solid var(--xon-border-soft);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s, box-shadow 0.25s, border-color 0.2s;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 229, 255, 0.08);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--xon-gradient-cta);
    z-index: 2;
}

.bonus-image-wrapper {
    position: relative;
    background: linear-gradient(180deg, var(--xon-bg-elevated) 0%, rgba(7, 11, 22, 0.6) 100%);
    padding: 12px 12px 0;
}

.bonus-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(18, 24, 48, 0.85) 100%);
    pointer-events: none;
}

.bonus-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 170px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-radius: var(--xon-radius-sm) var(--xon-radius-sm) 0 0;
}

.bonus-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 16px;
    position: relative;
}

.bonus-name {
    font-family: var(--xon-font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--xon-text-main);
    margin-bottom: 8px;
    line-height: 1.35;
}

.bonus-description {
    color: var(--xon-text-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.bonus-value {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 8px 14px;
    border-radius: var(--xon-radius-sm);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.14) 0%, rgba(123, 92, 255, 0.12) 100%);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.bonus-value strong {
    font-size: 0.9375rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--xon-accent-cyan) 0%, var(--xon-accent-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bonus-category {
    margin-bottom: 10px;
}

.bonus-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 45, 143, 0.12);
    border: 1px solid rgba(255, 45, 143, 0.25);
    color: var(--xon-accent-magenta);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bonus-terms {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--xon-border-soft);
    font-size: 0.6875rem;
    color: var(--xon-text-muted);
    line-height: 1.5;
    opacity: 0.85;
}

/* ── SEO text block ── */
.text-content.xon-seo-block {
    position: relative;
    max-width: 900px;
    margin: 32px auto 0;
    padding: 32px 28px;
    background:
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(123, 92, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 35% at 0% 100%, rgba(0, 229, 255, 0.06) 0%, transparent 45%),
        var(--xon-bg-card);
    border-radius: var(--xon-radius-lg);
    border: 1px solid var(--xon-border-soft);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.text-content.xon-seo-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--xon-gradient-cta);
}

.text-content {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 28px;
    background: var(--xon-bg-card);
    border-radius: var(--xon-radius-lg);
    border: 1px solid var(--xon-border-soft);
}

.text-content h1 {
    font-family: var(--xon-font-display);
    font-size: clamp(1.5rem, 3.5vw, 1.875rem);
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 16px;
    color: var(--xon-text-main);
    border-bottom: 1px solid var(--xon-border-soft);
    line-height: 1.3;
}

.text-content.xon-seo-block h1 {
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--xon-accent-cyan), var(--xon-accent-magenta), transparent) 1;
}

.text-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--xon-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 32px 0 14px;
    color: var(--xon-text-main);
    line-height: 1.35;
}

.text-content.xon-seo-block h2::before {
    content: '';
    width: 4px;
    height: 20px;
    border-radius: 2px;
    background: var(--xon-gradient-cta);
    flex-shrink: 0;
}

.text-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--xon-accent-cyan);
    line-height: 1.4;
}

.text-content p {
    margin-bottom: 16px;
    color: var(--xon-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.text-content.xon-seo-block > p:first-of-type {
    font-size: 1rem;
    color: var(--xon-text-main);
    opacity: 0.92;
}

.text-content a {
    color: var(--xon-accent-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.35);
    transition: color 0.2s, border-color 0.2s;
}

.text-content a:hover {
    color: var(--xon-accent-magenta);
    border-bottom-color: var(--xon-accent-magenta);
}

.text-content img {
    border-radius: var(--xon-radius-md);
    margin: 16px 0;
}

.text-content blockquote {
    margin: 18px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--xon-accent-cyan);
    background: rgba(0, 229, 255, 0.06);
    border-radius: 0 var(--xon-radius-sm) var(--xon-radius-sm) 0;
    color: var(--xon-text-muted);
}

.text-content ul,
.text-content ol {
    margin: 14px 0;
    padding-left: 24px;
    color: var(--xon-text-muted);
}

.text-content ul li,
.text-content ol li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.text-content.xon-seo-block ul li::marker,
.text-content.xon-seo-block ol li::marker {
    color: var(--xon-accent-cyan);
}

/* ── Tables (horizontal scroll on mobile) ── */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: var(--xon-radius-md);
    border: 1px solid var(--xon-border-soft);
}

.table-wrapper table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.text-content th,
.text-content td,
.table-wrapper th,
.table-wrapper td {
    padding: 11px 14px;
    border: 1px solid var(--xon-border-soft);
    text-align: left;
    font-size: 0.875rem;
}

.text-content th,
.table-wrapper th {
    background: var(--xon-bg-elevated);
    font-weight: 700;
    color: var(--xon-text-main);
    white-space: nowrap;
}

.text-content td,
.table-wrapper td {
    color: var(--xon-text-muted);
}

/* ── FAQ / HowTo ── */
.faq-wrapper { margin: 24px 0; }

.faq-item-block {
    border: 1px solid var(--xon-border-soft);
    border-radius: var(--xon-radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--xon-bg-elevated);
    transition: border-color 0.2s;
}

.faq-item-block:hover {
    border-color: rgba(0, 229, 255, 0.22);
}

.faq-question-block {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--xon-border-soft);
}

.faq-question-block strong {
    font-size: 0.9375rem;
    color: var(--xon-text-main);
}

.faq-answer-block {
    padding: 14px 16px;
    color: var(--xon-text-muted);
    font-size: 0.875rem;
}

.howto-wrapper {
    margin: 20px 0;
    padding: 20px;
    background: var(--xon-bg-elevated);
    border-radius: var(--xon-radius-md);
    border: 1px solid var(--xon-border-soft);
}

.howto-steps-list {
    list-style: none;
    counter-reset: xon-step;
}

.howto-step-item {
    counter-increment: xon-step;
    padding: 14px;
    margin-bottom: 10px;
    background: var(--xon-bg-card);
    border-radius: var(--xon-radius-sm);
    border-left: 3px solid var(--xon-accent-cyan);
}

.howto-step-item::before {
    content: counter(xon-step) ".";
    font-weight: 700;
    color: var(--xon-accent-cyan);
    margin-right: 8px;
}

.howto-step-item strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 6px;
    color: var(--xon-text-main);
}

.list-container ul,
.list-container ol {
    margin: 14px 0;
    padding-left: 24px;
    color: var(--xon-text-muted);
}

/* ── App info table ── */
.xon-app-hero {
    position: relative;
    max-width: 760px;
    margin: 8px auto 28px;
    padding: 28px 24px 24px;
    border-radius: var(--xon-radius-lg);
    border: 1px solid var(--xon-border-soft);
    background:
        radial-gradient(ellipse 70% 50% at 80% 10%, rgba(255, 45, 143, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 60% 45% at 15% 85%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        var(--xon-bg-card);
    overflow: hidden;
}

.xon-app-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--xon-gradient-cta);
}

.app-info-table-wrapper {
    margin: 0;
}

.app-info-table-container {
    border-radius: var(--xon-radius-md);
    overflow: hidden;
    border: 1px solid var(--xon-border-soft);
    background: rgba(7, 11, 22, 0.35);
}

.app-info-table-container.table-wrapper {
    margin: 0;
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 0;
}

.app-info-row {
    border-bottom: 1px solid var(--xon-border-soft);
    transition: background 0.2s;
}

.app-info-row:last-child {
    border-bottom: none;
}

.app-info-row:hover {
    background: rgba(0, 229, 255, 0.04);
}

.app-info-label-cell,
.app-info-value-cell {
    padding: 16px 18px;
    vertical-align: middle;
}

.app-info-label-cell {
    width: 64px;
    text-align: center;
    background: rgba(18, 24, 48, 0.6);
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: var(--xon-radius-sm);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.12) 0%, rgba(123, 92, 255, 0.1) 100%);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.app-info-icon {
    width: 22px;
    height: 22px;
    color: var(--xon-accent-cyan);
}

.app-info-value-cell {
    font-size: 0.9375rem;
    color: var(--xon-text-muted);
    line-height: 1.55;
}

.app-info-row:first-child .app-info-value-cell {
    font-size: 1rem;
}

.app-name-with-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-name-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    padding: 6px;
    background: var(--xon-bg-elevated);
    border: 1px solid var(--xon-border-soft);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
}

.app-name-text {
    font-family: var(--xon-font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--xon-text-main);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--xon-radius-sm);
    background: var(--xon-gradient-cta);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 22px rgba(255, 45, 143, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

.app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 45, 143, 0.45);
}

/* ── Footer ── */
.site-footer {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 92, 255, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, var(--xon-bg-elevated) 0%, var(--xon-bg-panel) 100%);
    border-top: 1px solid var(--xon-border-soft);
    margin-top: 48px;
    overflow: hidden;
}

.footer-accent-bar {
    height: 3px;
    background: var(--xon-gradient-cta);
    opacity: 0.85;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 28px;
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
    gap: 32px 28px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-brand-link {
    display: inline-flex;
    text-decoration: none;
}

.footer-brand-image {
    max-height: 44px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.15));
}

.footer-brand-tagline {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--xon-text-muted);
    max-width: 280px;
}

.footer-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: var(--xon-radius-sm);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.footer-cta-btn--primary {
    background: var(--xon-gradient-cta);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 45, 143, 0.28);
}

.footer-cta-btn--secondary {
    border: 1px solid rgba(0, 229, 255, 0.4);
    background: rgba(0, 229, 255, 0.06);
    color: var(--xon-text-main);
}

.footer-cta-btn--accent {
    background: var(--xon-gradient-play);
    color: #001018;
}

.footer-cta-btn:hover {
    transform: translateY(-1px);
}

.footer-col {
    min-width: 0;
}

.footer-section-title {
    font-family: var(--xon-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--xon-text-main);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--xon-border-soft);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: var(--xon-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, transform 0.15s;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    margin-right: 0;
    background: var(--xon-accent-cyan);
    transition: width 0.2s, margin-right 0.2s;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--xon-accent-cyan);
}

.footer-links a:hover::before {
    width: 8px;
    margin-right: 8px;
}

.footer-social-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: var(--xon-radius-md);
    border: 1px solid var(--xon-border-soft);
    background: rgba(18, 24, 48, 0.7);
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.footer-social-chip:hover {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: var(--xon-shadow-glow);
    transform: translateY(-2px);
}

.footer-social-image {
    max-height: 24px;
    width: auto;
}

.footer-payments {
    border-top: 1px solid var(--xon-border-soft);
    border-bottom: 1px solid var(--xon-border-soft);
    background: rgba(7, 11, 22, 0.45);
}

.footer-payments__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 20px;
}

.footer-payments__title {
    margin-bottom: 14px;
    border-bottom: none;
    padding-bottom: 0;
    text-align: center;
}

.footer-payments__grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-payment-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 52px;
    padding: 10px 16px;
    border-radius: var(--xon-radius-sm);
    border: 1px solid var(--xon-border-soft);
    background: var(--xon-bg-card);
    transition: border-color 0.2s, transform 0.15s;
}

.footer-payment-chip:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-1px);
}

.footer-payment-image {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 20px 28px;
}

.footer-safe__title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 12px;
}

.footer-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-safe-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: var(--xon-radius-sm);
    border: 1px solid var(--xon-border-soft);
    background: rgba(18, 24, 48, 0.5);
    text-decoration: none;
    transition: opacity 0.2s, border-color 0.2s;
}

.footer-safe-chip:hover {
    border-color: rgba(0, 229, 255, 0.25);
    opacity: 1;
}

.safe-image {
    max-width: 72px;
    max-height: 32px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--xon-text-muted);
    line-height: 1.5;
}

/* ── 404 page ── */
.xon-error-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--xon-header-h) - var(--xon-nav-h) - 120px);
    text-align: center;
    padding: 48px 20px 72px;
    overflow: hidden;
}

.xon-error-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(0, 229, 255, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(255, 45, 143, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 70% 75%, rgba(123, 92, 255, 0.08) 0%, transparent 38%);
    pointer-events: none;
}

.xon-error-screen::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(420px, 80vw);
    height: min(420px, 80vw);
    transform: translate(-50%, -55%);
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.12);
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.08);
    pointer-events: none;
}

.xon-error-code {
    position: relative;
    z-index: 1;
    font-family: var(--xon-font-display);
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--xon-accent-cyan) 0%, var(--xon-accent-violet) 50%, var(--xon-accent-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 32px rgba(0, 229, 255, 0.35));
    animation: xon-error-pulse 3s ease-in-out infinite;
}

@keyframes xon-error-pulse {
    0%, 100% { filter: drop-shadow(0 0 32px rgba(0, 229, 255, 0.35)); }
    50% { filter: drop-shadow(0 0 48px rgba(255, 45, 143, 0.4)); }
}

.xon-error-heading {
    position: relative;
    z-index: 1;
    font-family: var(--xon-font-display);
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 14px;
    max-width: 520px;
    color: var(--xon-text-main);
}

.xon-error-text {
    position: relative;
    z-index: 1;
    color: var(--xon-text-muted);
    margin-bottom: 32px;
    max-width: 440px;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.xon-error-screen .btn-primary {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--xon-radius-sm);
    background: var(--xon-gradient-cta);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    box-shadow: 0 6px 28px rgba(255, 45, 143, 0.35);
    transition: transform 0.15s, box-shadow 0.2s;
}

.xon-error-screen .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 36px rgba(255, 45, 143, 0.45);
}

/* ── Contact page (centrum-pomocy) ── */
.xon-contact-page {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 24px;
}

.xon-contact-page .text-content {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 16px;
}

.xon-contact-page .text-content h1 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--xon-accent-cyan) 0%, var(--xon-accent-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.xon-contact-page .text-content > p:first-of-type {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 32px;
    color: var(--xon-text-muted);
}

.xon-contact-page .text-content h2 {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--xon-text-muted);
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--xon-border-soft);
}

.xon-contact-page .text-content > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 0;
    padding: 18px 22px 10px;
    border-radius: var(--xon-radius-md) var(--xon-radius-md) 0 0;
    border: 1px solid var(--xon-border-soft);
    border-bottom: none;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(123, 92, 255, 0.08) 100%);
    color: var(--xon-text-main);
    font-size: 1rem;
}

.xon-contact-page .text-content > h3::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--xon-accent-cyan);
    box-shadow: 0 0 10px var(--xon-accent-cyan);
    flex-shrink: 0;
}

.xon-contact-page .text-content > h3:nth-of-type(2)::before {
    background: var(--xon-accent-magenta);
    box-shadow: 0 0 10px var(--xon-accent-magenta);
}

.xon-contact-page .text-content > h3 + p {
    margin: 0 0 16px;
    padding: 0 22px 20px;
    border: 1px solid var(--xon-border-soft);
    border-top: none;
    border-radius: 0 0 var(--xon-radius-md) var(--xon-radius-md);
    background: var(--xon-bg-card);
    color: var(--xon-text-muted);
    line-height: 1.65;
}

.xon-contact-page .text-content > h3 + p a {
    display: inline-flex;
    margin-top: 6px;
    padding: 8px 16px;
    border-radius: var(--xon-radius-sm);
    background: var(--xon-gradient-play);
    color: #001018;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: transform 0.15s, box-shadow 0.2s;
}

.xon-contact-page .text-content > h3 + p a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.xon-contact-page .text-content > h2:last-of-type + p {
    padding: 18px 22px;
    border-radius: var(--xon-radius-md);
    border: 1px solid var(--xon-border-soft);
    background: var(--xon-bg-card);
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ── Legal pages (prywatnosc-danych, zasady-korzystania) ── */
.xon-legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.xon-legal-page .text-content {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 8px;
}

.xon-legal-page .text-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--xon-accent-cyan), var(--xon-accent-magenta), transparent) 1;
}

.xon-legal-page .text-content > p:first-of-type {
    padding: 20px 22px;
    margin-bottom: 28px;
    border-radius: var(--xon-radius-md);
    border: 1px solid var(--xon-border-soft);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06) 0%, rgba(123, 92, 255, 0.05) 100%);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--xon-text-muted);
}

.xon-legal-page .text-content h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 0;
    padding: 16px 22px;
    font-size: 1.05rem;
    border-radius: var(--xon-radius-md) var(--xon-radius-md) 0 0;
    border: 1px solid var(--xon-border-soft);
    border-bottom: none;
    background: var(--xon-bg-elevated);
    color: var(--xon-text-main);
}

.xon-legal-page .text-content h2::before {
    content: '';
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--xon-gradient-cta);
    flex-shrink: 0;
}

.xon-legal-page .text-content h2 + p,
.xon-legal-page .text-content h2 + .list-container {
    margin: 0 0 20px;
    padding: 16px 22px 20px;
    border: 1px solid var(--xon-border-soft);
    border-top: none;
    border-radius: 0 0 var(--xon-radius-md) var(--xon-radius-md);
    background: var(--xon-bg-card);
}

.xon-legal-page .text-content h2 + p {
    color: var(--xon-text-muted);
    line-height: 1.7;
}

.xon-legal-page .text-content .list-container {
    margin-top: 0;
}

.xon-legal-page .text-content h2 + .list-container {
    padding-top: 8px;
}

.xon-legal-page .text-content .list-container ul,
.xon-legal-page .text-content .list-container ol {
    margin: 0;
}

.xon-legal-page .text-content .list-container li {
    position: relative;
    padding-left: 4px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.xon-legal-page .text-content .list-container li::marker {
    color: var(--xon-accent-cyan);
}

.xon-legal-page .text-content a {
    color: var(--xon-accent-cyan);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.35);
    transition: border-color 0.2s, color 0.2s;
}

.xon-legal-page .text-content a:hover {
    color: var(--xon-accent-magenta);
    border-bottom-color: var(--xon-accent-magenta);
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .xon-primary-rail {
        display: none;
    }

    .xon-drawer-trigger {
        display: flex;
    }

    .xon-page-stage {
        padding: 16px;
        padding-bottom: calc(var(--xon-mobile-dock) + 16px);
    }

    .xon-hero-carousel__frame {
        aspect-ratio: 16 / 9;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .game-play-btn {
        opacity: 1;
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .xon-top-strip__inner {
        padding: 10px 14px;
    }

    .xon-btn-outline,
    .xon-btn-gradient {
        padding: 8px 12px;
        font-size: 0.8125rem;
    }

    .text-content {
        padding: 18px;
    }

    .text-content h1 { font-size: 1.4rem; }
    .text-content h2 { font-size: 1.15rem; }
    .text-content h3 { font-size: 1rem; }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 16px 24px;
    }

    .footer-brand-col {
        align-items: center;
        text-align: center;
    }

    .footer-brand-tagline {
        max-width: none;
    }

    .footer-cta-row {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-links a::before {
        display: none;
    }

    .footer-social-grid {
        justify-content: center;
    }

    .footer-payments__inner {
        padding: 18px 16px;
    }

    .footer-payment-chip {
        min-width: 76px;
        min-height: 46px;
        padding: 8px 12px;
    }

    .xon-hero-carousel__overlay {
        padding: 16px 14px;
    }

    .xon-hero-carousel__title {
        font-size: 1rem;
        max-width: 100%;
    }

    .xon-hero-carousel__subtitle {
        font-size: 0.8125rem;
        margin-bottom: 10px;
    }

    .xon-hero-carousel__cta {
        padding: 9px 16px;
        font-size: 0.8125rem;
    }
}

@media (min-width: 993px) {
    .xon-drawer-panel,
    .xon-drawer-scrim {
        display: none !important;
    }
}
