/* xon-layer - surface tokens for xxonbetcasino shell */
@font-face {
    font-family: 'Outfit';
    src: url('/xon-media/fonts/outfit-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('/xon-media/fonts/outfit-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Outfit';
    src: url('/xon-media/fonts/outfit-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --xon-bg-deep: #070b18;
    --xon-bg-panel: #0e1428;
    --xon-bg-card: #121a32;
    --xon-bg-elevated: #182040;
    --xon-cyan: #00e8ff;
    --xon-cyan-dim: #00b8d4;
    --xon-magenta: #ff2d7a;
    --xon-magenta-deep: #c9185a;
    --xon-text: #eef2ff;
    --xon-text-muted: #8b9cc4;
    --xon-border: rgba(0, 232, 255, 0.12);
    --xon-glow-cyan: 0 0 18px rgba(0, 232, 255, 0.35);
    --xon-glow-magenta: 0 0 22px rgba(255, 45, 122, 0.45);
    --xon-radius: 14px;
    --xon-radius-sm: 10px;
    --xon-topbar-h: 64px;
    --xon-nav-h: 52px;
    --xon-dock-h: 62px;
    --xon-font: 'Outfit', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--xon-font);
    line-height: 1.55;
    color: var(--xon-text);
    background: var(--xon-bg-deep);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 45, 122, 0.08), transparent),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 18px,
            rgba(0, 232, 255, 0.015) 18px,
            rgba(0, 232, 255, 0.015) 19px
        );
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--xon-cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--xon-magenta); }

/* ── shell layout ── */
.xon-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── topbar ── */
.xon-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--xon-topbar-h);
    padding: 0 20px;
    background: rgba(7, 11, 24, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--xon-border);
}

.xon-brand-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.xon-brand-link img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.xon-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, var(--xon-magenta), var(--xon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.xon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: var(--xon-radius-sm);
    font-family: var(--xon-font);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}

.xon-btn:active { transform: scale(0.97); }

.xon-btn-ghost {
    background: transparent;
    color: var(--xon-text);
    border: 1px solid rgba(0, 232, 255, 0.4);
}

.xon-btn-ghost:hover {
    border-color: var(--xon-cyan);
    box-shadow: var(--xon-glow-cyan);
    color: var(--xon-cyan);
}

.xon-btn-accent {
    background: linear-gradient(135deg, var(--xon-magenta), var(--xon-magenta-deep));
    color: #fff;
    box-shadow: var(--xon-glow-magenta);
}

.xon-btn-accent:hover {
    box-shadow: 0 0 28px rgba(255, 45, 122, 0.6);
    color: #fff;
}

.xon-btn-cyan {
    background: linear-gradient(135deg, var(--xon-cyan-dim), #0097b2);
    color: #fff;
    box-shadow: var(--xon-glow-cyan);
}

.xon-btn-cyan:hover {
    box-shadow: 0 0 24px rgba(0, 232, 255, 0.5);
    color: #fff;
}

.xon-btn-sm {
    padding: 6px 14px;
    font-size: 0.78rem;
}

/* ── horizontal nav rail (desktop) ── */
.xon-nav-rail {
    position: sticky;
    top: var(--xon-topbar-h);
    z-index: 190;
    background: var(--xon-bg-panel);
    border-bottom: 1px solid var(--xon-border);
    overflow: hidden;
}

.xon-nav-list {
    display: flex;
    align-items: stretch;
    justify-content: center;
    list-style: none;
    gap: 2px;
    padding: 6px 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.xon-nav-list::-webkit-scrollbar { display: none; }

.xon-nav-item { flex-shrink: 0; }

.xon-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--xon-radius-sm);
    color: var(--xon-text-muted);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.xon-nav-link:hover {
    color: var(--xon-cyan);
    background: rgba(0, 232, 255, 0.06);
}

.xon-nav-link.is-active {
    color: var(--xon-cyan);
    background: rgba(0, 232, 255, 0.1);
    box-shadow: inset 0 -2px 0 var(--xon-cyan);
}

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

/* ── main stage ── */
.xon-stage {
    flex: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 20px 32px;
}

/* ── mobile drawer ── */
.xon-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 300;
    backdrop-filter: blur(4px);
}

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

.xon-drawer-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100%;
    z-index: 310;
    background: var(--xon-bg-panel);
    border-right: 1px solid var(--xon-border);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 20px 16px;
}

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

.xon-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--xon-border);
}

.xon-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--xon-border);
    background: var(--xon-bg-card);
    color: var(--xon-text);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xon-drawer-menu {
    list-style: none;
}

.xon-drawer-menu li { margin-bottom: 4px; }

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

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

/* ── mobile bottom dock ── */
.xon-mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    height: var(--xon-dock-h);
    background: rgba(10, 14, 30, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--xon-border);
    padding: 0 8px;
    align-items: center;
    justify-content: space-around;
}

.xon-dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 10px;
    background: none;
    border: none;
    color: var(--xon-text-muted);
    font-family: var(--xon-font);
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
    min-width: 52px;
}

.xon-dock-btn:hover,
.xon-dock-btn.is-active { color: var(--xon-cyan); }

.xon-dock-btn.is-burger { color: var(--xon-cyan); }

.xon-dock-btn .xon-nav-glyph,
.xon-dock-glyph {
    width: 24px;
    height: 24px;
}

/* ── breadcrumbs ── */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
    font-size: 0.8rem;
}

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

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

.breadcrumb-divider { color: rgba(139, 156, 196, 0.5); }

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

.xon-hero-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.xon-hero-caption {
    padding: 16px 20px;
    background: linear-gradient(180deg, transparent, rgba(7, 11, 24, 0.85));
}

.xon-hero-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--xon-text);
    margin-bottom: 6px;
    line-height: 1.3;
}

.xon-hero-sub {
    font-size: 0.85rem;
    color: var(--xon-cyan);
    font-weight: 600;
    margin-bottom: 12px;
}

.xon-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 4px;
}

.xon-hero-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(139, 156, 196, 0.3);
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    padding: 0;
}

.xon-hero-dot.is-active {
    background: var(--xon-cyan);
    box-shadow: var(--xon-glow-cyan);
}

/* ── 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-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--xon-text);
}

.show-all-btn {
    padding: 7px 16px;
    border-radius: var(--xon-radius-sm);
    background: var(--xon-bg-elevated);
    border: 1px solid var(--xon-border);
    color: var(--xon-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

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

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

.game-card:hover {
    border-color: rgba(0, 232, 255, 0.35);
    transform: translateY(-2px);
}

.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-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: rgba(7, 11, 24, 0.9);
}

.game-actions .xon-btn {
    width: 100%;
    justify-content: center;
}

.game-title {
    padding: 8px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    color: var(--xon-text-muted);
}

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

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

.bonus-card {
    position: relative;
    background: linear-gradient(165deg, rgba(24, 32, 64, 0.85), rgba(14, 20, 40, 0.95));
    border: 1px solid rgba(0, 232, 255, 0.12);
    border-radius: var(--xon-radius);
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.bonus-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--xon-magenta), var(--xon-cyan));
    opacity: 0.65;
    transition: opacity 0.25s;
}

.bonus-card:hover {
    border-color: rgba(255, 45, 122, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(255, 45, 122, 0.12);
}

.bonus-card:hover::before { opacity: 1; }

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

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

.bonus-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.bonus-card:hover .bonus-image { transform: scale(1.04); }

.bonus-content {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bonus-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--xon-text);
    line-height: 1.3;
}

.bonus-description {
    font-size: 0.84rem;
    color: var(--xon-text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bonus-value {
    display: inline-flex;
    align-self: flex-start;
    padding: 8px 14px;
    border-radius: var(--xon-radius-sm);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--xon-cyan);
    background: rgba(0, 232, 255, 0.08);
    border: 1px solid rgba(0, 232, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bonus-value strong { font-weight: 700; }

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

.bonus-terms {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed rgba(139, 156, 196, 0.2);
    font-size: 0.72rem;
    color: rgba(139, 156, 196, 0.85);
    line-height: 1.5;
}

/* ── payment methods ── */
.payment-methods-section { margin: 32px 0; }

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.payment-method-card {
    background: var(--xon-bg-card);
    border: 1px solid var(--xon-border);
    border-radius: var(--xon-radius-sm);
    padding: 14px;
    text-align: center;
    transition: border-color 0.2s;
}

.payment-method-card:hover { border-color: var(--xon-border); }

.payment-method-image-wrapper { margin-bottom: 8px; }

.payment-method-image {
    max-height: 36px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
}

.payment-method-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--xon-text-muted);
}

/* ── text content (SEO block) ── */
.xon-menu-text {
    margin: 32px 0;
}

.xon-menu-text .text-content {
    max-width: 100%;
    margin: 0;
    padding: 28px 26px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0, 232, 255, 0.05), transparent 55%),
        linear-gradient(180deg, rgba(18, 26, 50, 0.88), rgba(14, 20, 40, 0.94));
    border: 1px solid rgba(0, 232, 255, 0.12);
    border-radius: var(--xon-radius);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.text-content {
    max-width: 100%;
    margin: 32px 0;
    padding: 24px;
    background: var(--xon-bg-panel);
    border: 1px solid var(--xon-border);
    border-radius: var(--xon-radius);
}

.xon-menu-text .text-content h1,
.text-content h1 {
    font-size: clamp(1.45rem, 3.5vw, 1.85rem);
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0, 232, 255, 0.1);
    color: var(--xon-text);
    line-height: 1.25;
}

.xon-menu-text .text-content h2,
.text-content h2 {
    font-size: 1.22rem;
    font-weight: 700;
    margin: 30px 0 14px;
    padding-left: 14px;
    border-left: 3px solid var(--xon-magenta);
    color: var(--xon-text);
}

.xon-menu-text .text-content h3,
.text-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 22px 0 10px;
    color: var(--xon-cyan);
}

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

.xon-menu-text .text-content p a,
.text-content p a {
    color: var(--xon-cyan);
    text-decoration: underline;
    text-decoration-color: rgba(0, 232, 255, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.xon-menu-text .text-content p a:hover,
.text-content p a:hover {
    color: var(--xon-magenta);
    text-decoration-color: rgba(255, 45, 122, 0.5);
}

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

.text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.text-content th,
.text-content td {
    padding: 10px 14px;
    border: 1px solid var(--xon-border);
    text-align: left;
    font-size: 0.88rem;
}

.text-content th {
    background: var(--xon-bg-elevated);
    color: var(--xon-cyan);
    font-weight: 600;
}

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

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    border-radius: var(--xon-radius-sm);
    border: 1px solid var(--xon-border);
}

.table-wrapper table { margin: 0; min-width: 480px; }

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

.text-content li { margin-bottom: 6px; }

.text-content a { color: var(--xon-cyan); }

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

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

.faq-item-block {
    border: 1px solid rgba(0, 232, 255, 0.12);
    border-radius: var(--xon-radius-sm);
    margin-bottom: 10px;
    background: rgba(18, 26, 50, 0.65);
    overflow: hidden;
    transition: border-color 0.2s;
}

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

.faq-question-block {
    padding: 14px 16px;
    background: rgba(24, 32, 64, 0.55);
    border-bottom: 1px solid rgba(0, 232, 255, 0.08);
}

.faq-question-block strong {
    font-size: 0.94rem;
    color: var(--xon-text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.faq-question-block strong::before {
    content: '?';
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 45, 122, 0.15);
    color: var(--xon-magenta);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-answer-block {
    padding: 14px 16px 14px 48px;
    color: var(--xon-text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.howto-wrapper {
    margin: 18px 0;
    padding: 20px;
    background: rgba(18, 26, 50, 0.55);
    border: 1px solid rgba(0, 232, 255, 0.12);
    border-radius: var(--xon-radius);
}

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

.howto-step-item {
    counter-increment: step-counter;
    padding: 16px 16px 16px 52px;
    margin-bottom: 10px;
    background: rgba(24, 32, 64, 0.5);
    border-radius: var(--xon-radius-sm);
    border: 1px solid rgba(139, 156, 196, 0.1);
    position: relative;
}

.howto-step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--xon-magenta), var(--xon-cyan));
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

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

.howto-step-item p {
    color: var(--xon-text-muted);
    font-size: 0.88rem;
    margin-bottom: 0;
}

.list-container {
    margin: 14px 0;
    padding: 14px 16px;
    border-radius: var(--xon-radius-sm);
    background: rgba(7, 11, 24, 0.35);
    border: 1px solid rgba(139, 156, 196, 0.08);
}

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

.list-container li {
    margin-bottom: 7px;
    line-height: 1.6;
    font-size: 0.9rem;
}

.list-container li::marker {
    color: var(--xon-cyan);
}

/* ── app info table ── */
.xon-app-hero {
    position: relative;
    margin-bottom: 28px;
    border-radius: calc(var(--xon-radius) + 2px);
    overflow: hidden;
    border: 1px solid rgba(0, 232, 255, 0.16);
    background: linear-gradient(155deg, rgba(24, 32, 64, 0.95), rgba(14, 20, 40, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.xon-app-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(255, 45, 122, 0.14), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(0, 232, 255, 0.1), transparent 45%);
    pointer-events: none;
}

.xon-app-hero-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 24px 22px;
    border-bottom: 1px solid rgba(0, 232, 255, 0.12);
}

.xon-app-hero-logo {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(7, 11, 24, 0.65);
    border: 1px solid rgba(0, 232, 255, 0.22);
    box-shadow: var(--xon-glow-cyan);
}

.xon-app-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.xon-app-hero-meta {
    flex: 1;
    min-width: 0;
}

.xon-app-hero-title {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 700;
    color: var(--xon-text);
    margin-bottom: 10px;
    line-height: 1.25;
}

.xon-app-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.xon-app-badge {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--xon-cyan);
    background: rgba(0, 232, 255, 0.1);
    border: 1px solid rgba(0, 232, 255, 0.25);
}

.xon-app-badge-alt {
    color: var(--xon-text-muted);
    background: rgba(139, 156, 196, 0.08);
    border-color: rgba(139, 156, 196, 0.18);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.xon-app-hero-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--xon-radius-sm);
    background: linear-gradient(135deg, var(--xon-magenta), var(--xon-magenta-deep));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: var(--xon-glow-magenta);
    transition: transform 0.15s, box-shadow 0.2s;
}

.xon-app-hero-download svg {
    width: 20px;
    height: 20px;
}

.xon-app-hero-download:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(255, 45, 122, 0.55);
}

.xon-app-hero .app-info-table-wrapper {
    margin: 0;
    position: relative;
}

.xon-app-hero .app-info-table-container {
    border: none;
    border-radius: 0;
    background: transparent;
}

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

.app-info-table-container {
    border: 1px solid var(--xon-border);
    border-radius: var(--xon-radius);
    overflow: hidden;
}

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

.app-info-row {
    border-bottom: 1px solid rgba(0, 232, 255, 0.08);
    transition: background 0.2s;
}

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

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

.app-info-label-cell {
    padding: 16px;
    text-align: center;
    background: rgba(7, 11, 24, 0.35);
    width: 64px;
    vertical-align: top;
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(0, 232, 255, 0.08);
    border: 1px solid rgba(0, 232, 255, 0.15);
}

.app-info-value-cell {
    padding: 16px 20px;
    color: var(--xon-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    vertical-align: top;
}

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

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

.app-name-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.app-name-text { font-weight: 700; color: var(--xon-text); font-size: 1.05rem; }

.app-download-link {
    display: inline-flex;
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--xon-magenta), var(--xon-magenta-deep));
    color: #fff;
    border-radius: var(--xon-radius-sm);
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--xon-glow-magenta);
}

.app-download-link:hover { color: #fff; }

/* ── footer ── */
.xon-footer-zone {
    position: relative;
    margin-top: auto;
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(255, 45, 122, 0.07), transparent 55%),
        linear-gradient(180deg, var(--xon-bg-panel) 0%, #0a1020 100%);
    border-top: 1px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--xon-cyan), var(--xon-magenta), transparent) 1;
    padding: 0 0 0;
    overflow: hidden;
}

.xon-footer-zone::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(0, 232, 255, 0.45) 35%, rgba(255, 45, 122, 0.45) 65%, transparent 95%);
    pointer-events: none;
}

.xon-footer-payments {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 20px 0;
}

.xon-footer-payments-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    padding: 16px 18px;
    border-radius: var(--xon-radius);
    background: rgba(18, 26, 50, 0.72);
    border: 1px solid rgba(0, 232, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.xon-footer-payments-label {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--xon-cyan);
    padding-right: 8px;
    border-right: 1px solid rgba(0, 232, 255, 0.18);
}

.xon-footer-payments-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.xon-footer-pay-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 40px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(7, 11, 24, 0.65);
    border: 1px solid rgba(139, 156, 196, 0.14);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.xon-footer-pay-chip:hover {
    border-color: rgba(0, 232, 255, 0.35);
    box-shadow: var(--xon-glow-cyan);
    transform: translateY(-1px);
}

.xon-footer-pay-chip img {
    max-height: 22px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0.15) brightness(1.05);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(160px, 1fr));
    gap: 32px 24px;
    padding: 36px 20px 28px;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-brand-link {
    display: inline-flex;
    align-items: center;
}

.footer-brand-block img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

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

.footer-social-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.footer-social-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(18, 26, 50, 0.9);
    border: 1px solid rgba(0, 232, 255, 0.18);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.footer-social-chip:hover {
    border-color: var(--xon-magenta);
    box-shadow: var(--xon-glow-magenta);
    transform: translateY(-2px);
}

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

.footer-col-cta .footer-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.footer-zone-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--xon-text);
    margin-bottom: 14px;
    position: relative;
    padding-bottom: 10px;
}

.footer-zone-label::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--xon-cyan), var(--xon-magenta));
}

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

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

.footer-links a {
    color: var(--xon-text-muted);
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--xon-cyan);
    padding-left: 4px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.footer-social-image {
    max-height: 18px;
    width: auto;
    display: block;
    filter: brightness(0.95);
}

.footer-safe {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 24px;
    text-align: center;
}

.footer-safe-label {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-safe-label::after {
    left: 50%;
    transform: translateX(-50%);
}

.footer-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.footer-safe-links li { margin: 0; }

.footer-safe-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 46px;
    padding: 8px 14px;
    border-radius: var(--xon-radius-sm);
    background: rgba(18, 26, 50, 0.55);
    border: 1px solid rgba(139, 156, 196, 0.12);
    transition: border-color 0.2s, opacity 0.2s;
}

.footer-safe-chip:hover {
    border-color: rgba(255, 45, 122, 0.35);
    opacity: 1;
}

.safe-image {
    max-width: 82px;
    max-height: 28px;
    width: auto;
    height: auto;
    display: block;
    opacity: 0.88;
}

.footer-bottom {
    background: linear-gradient(90deg, rgba(7, 11, 24, 0.95), rgba(24, 32, 64, 0.95), rgba(7, 11, 24, 0.95));
    border-top: 1px solid rgba(0, 232, 255, 0.1);
    padding: 16px 20px;
    text-align: center;
}

.footer-copy-text {
    max-width: 1280px;
    margin: 0 auto;
    font-size: 0.76rem;
    color: rgba(139, 156, 196, 0.9);
    letter-spacing: 0.02em;
}

/* ── 404 page ── */
.xon-error-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 320px);
    padding: 40px 20px 60px;
}

.xon-error-card {
    position: relative;
    width: min(520px, 100%);
    text-align: center;
    padding: 48px 32px 40px;
    border-radius: calc(var(--xon-radius) + 4px);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 45, 122, 0.12), transparent 55%),
        linear-gradient(165deg, rgba(18, 26, 50, 0.95), rgba(10, 16, 32, 0.98));
    border: 1px solid rgba(0, 232, 255, 0.18);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.xon-error-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 232, 255, 0.18), transparent 70%);
    pointer-events: none;
}

.xon-error-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.xon-error-icon {
    width: 88px;
    height: 88px;
    filter: drop-shadow(0 0 16px rgba(255, 45, 122, 0.35));
}

.xon-error-code {
    font-size: clamp(4rem, 14vw, 5.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--xon-magenta) 0%, var(--xon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.04em;
    text-shadow: none;
    filter: drop-shadow(0 0 24px rgba(255, 45, 122, 0.25));
}

.xon-error-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--xon-text);
    line-height: 1.35;
}

.xon-error-desc {
    color: var(--xon-text-muted);
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.92rem;
    line-height: 1.6;
}

.xon-error-btn {
    min-width: 200px;
}

/* ── contact page ── */
.xon-contact-page {
    max-width: 760px;
    margin: 0 auto;
}

.xon-contact-page .xon-menu-text {
    margin: 0;
}

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

.xon-contact-page .text-content h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--xon-text) 20%, var(--xon-cyan) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.xon-contact-page .text-content > h2 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--xon-cyan);
    margin: 28px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 232, 255, 0.15);
}

.xon-contact-page .text-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 18px 20px 10px;
    font-size: 1.05rem;
    color: var(--xon-text);
    background: linear-gradient(165deg, rgba(24, 32, 64, 0.9), rgba(18, 26, 50, 0.95));
    border: 1px solid rgba(0, 232, 255, 0.14);
    border-bottom: none;
    border-radius: var(--xon-radius) var(--xon-radius) 0 0;
}

.xon-contact-page .text-content h3::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--xon-magenta);
    box-shadow: 0 0 10px rgba(255, 45, 122, 0.6);
    flex-shrink: 0;
}

.xon-contact-page .text-content h3 + p {
    margin: 0 0 14px;
    padding: 4px 20px 20px;
    background: linear-gradient(165deg, rgba(24, 32, 64, 0.9), rgba(18, 26, 50, 0.95));
    border: 1px solid rgba(0, 232, 255, 0.14);
    border-top: none;
    border-radius: 0 0 var(--xon-radius) var(--xon-radius);
    font-size: 0.95rem;
    line-height: 1.65;
}

.xon-contact-page .text-content h3 + p a {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: var(--xon-radius-sm);
    background: rgba(0, 232, 255, 0.08);
    border: 1px solid rgba(0, 232, 255, 0.25);
    color: var(--xon-cyan);
    font-weight: 600;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.xon-contact-page .text-content h3 + p a:hover {
    border-color: var(--xon-cyan);
    box-shadow: var(--xon-glow-cyan);
    color: var(--xon-cyan);
}

.xon-contact-page .text-content > h2:last-of-type + p {
    padding: 20px 22px;
    border-radius: var(--xon-radius);
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 45, 122, 0.1), transparent 45%),
        rgba(18, 26, 50, 0.85);
    border: 1px solid rgba(255, 45, 122, 0.2);
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ── legal pages (privacy, terms) ── */
.xon-legal-page {
    max-width: 860px;
    margin: 0 auto;
}

.xon-legal-page .xon-menu-text {
    margin: 0;
}

.xon-legal-page .text-content {
    padding: 32px 28px;
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(0, 232, 255, 0.06), transparent 60%),
        linear-gradient(180deg, rgba(18, 26, 50, 0.92), rgba(14, 20, 40, 0.96));
    border: 1px solid rgba(0, 232, 255, 0.14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.xon-legal-page .text-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 232, 255, 0.12);
    background: linear-gradient(90deg, var(--xon-text), var(--xon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.xon-legal-page .text-content > p:first-of-type {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--xon-text-muted);
    padding: 16px 18px;
    border-radius: var(--xon-radius-sm);
    background: rgba(7, 11, 24, 0.45);
    border-left: 3px solid var(--xon-magenta);
    margin-bottom: 24px;
}

.xon-legal-page .text-content h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0 14px;
    padding: 0;
    font-size: 1.15rem;
    color: var(--xon-text);
}

.xon-legal-page .text-content h2::before {
    content: '';
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--xon-cyan), var(--xon-magenta));
    flex-shrink: 0;
}

.xon-legal-page .text-content h3 {
    margin-top: 22px;
    padding-left: 16px;
    border-left: 2px solid rgba(255, 45, 122, 0.45);
}

.xon-legal-page .text-content p {
    font-size: 0.9rem;
    line-height: 1.75;
}

.xon-legal-page .list-container {
    margin: 12px 0 20px;
    padding: 16px 18px 16px 12px;
    border-radius: var(--xon-radius-sm);
    background: rgba(7, 11, 24, 0.35);
    border: 1px solid rgba(139, 156, 196, 0.1);
}

.xon-legal-page .list-container li {
    margin-bottom: 8px;
    line-height: 1.6;
}

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

.xon-legal-page .text-content blockquote {
    border-left-color: var(--xon-cyan);
    background: rgba(0, 232, 255, 0.05);
}

.xon-legal-page .table-wrapper {
    border-color: rgba(0, 232, 255, 0.15);
}

@media (max-width: 768px) {
    .xon-legal-page .text-content {
        padding: 20px 16px;
    }
}

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

    .xon-mobile-dock { display: flex; }

    .xon-stage {
        padding-bottom: calc(var(--xon-dock-h) + 20px);
    }

    .xon-hero-visual { aspect-ratio: 1 / 1; }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

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

@media (max-width: 768px) {
    .xon-topbar { padding: 0 12px; }

    .xon-topbar-actions {
        gap: 6px;
        min-width: 0;
    }

    .xon-brand-link img { height: 32px; }

    .xon-btn { padding: 8px 14px; font-size: 0.8rem; }

    .xon-stage { padding: 14px 12px calc(var(--xon-dock-h) + 16px); }

    .text-content { padding: 16px; }

    .text-content h1 { font-size: 1.4rem; }

    .text-content h2 { font-size: 1.15rem; }

    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-brand-block {
        grid-column: 1 / -1;
    }

    .xon-footer-payments-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .xon-footer-payments-label {
        border-right: none;
        padding-right: 0;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(0, 232, 255, 0.18);
        width: 100%;
    }

    .xon-app-hero-head {
        flex-direction: column;
        text-align: center;
        padding: 22px 16px 18px;
    }

    .xon-app-hero-badges {
        justify-content: center;
    }

    .xon-app-hero-download {
        width: 100%;
        justify-content: center;
    }

    .game-actions { flex-direction: column; }

    .xon-btn-sm { width: 100%; }
}

@media (max-width: 380px) {
    .xon-topbar-actions .xon-btn { padding: 8px 10px; font-size: 0.72rem; }
}

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