/* Local typefaces - no remote font requests */
@font-face {
    font-family: "RubikLocal";
    src: url("/vista/typefaces/rubik-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "RubikLocal";
    src: url("/vista/typefaces/rubik-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "RubikLocal";
    src: url("/vista/typefaces/rubik-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "SoraDisplay";
    src: url("/vista/typefaces/sora-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "SoraDisplay";
    src: url("/vista/typefaces/sora-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Theme tokens - night indigo + citrus gold (not purple-glow AI defaults) */
:root {
    --ink: #f2eefc;
    --ink-soft: #c8bddf;
    --ink-mute: #8f84a8;
    --void: #0a0618;
    --void-2: #120a2b;
    --panel: #1a1238;
    --panel-lift: #241a4a;
    --line: rgba(232, 196, 74, 0.22);
    --line-soft: rgba(255, 255, 255, 0.08);
    --citrus: #ffc107;
    --citrus-deep: #ff9800;
    --citrus-ink: #1a0f00;
    --teal-edge: #2ec4b6;
    --danger: #ff5c7a;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-panel: 0 18px 40px rgba(0, 0, 0, 0.35);
    --max-stage: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "RubikLocal", "Trebuchet MS", sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(46, 196, 182, 0.08), transparent 55%),
        radial-gradient(900px 420px at 90% 0%, rgba(255, 193, 7, 0.08), transparent 50%),
        linear-gradient(165deg, var(--void) 0%, var(--void-2) 48%, #0d0820 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

a {
    color: var(--citrus);
}

/* Page nesting shell */
.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.stage-canvas {
    flex: 1 1 auto;
    width: 100%;
}

.stage-inner {
    width: 100%;
    max-width: var(--max-stage);
    margin: 0 auto;
    padding: 22px 18px 40px;
}

.main-content-wrapper {
    max-width: var(--max-stage);
    margin: 0 auto;
    padding: 22px 18px 40px;
}

/* Masthead */
.site-masthead {
    position: sticky;
    top: 0;
    z-index: 230;
    background: rgba(10, 6, 24, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-soft);
}

.masthead-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    min-height: 68px;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-lockup {
    flex-shrink: 0;
}

.brand-lockup-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}

.brand-lockup-img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

.brand-lockup-text {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.auth-cluster {
    display: flex;
    gap: 10px;
    margin-left: auto;
    align-items: center;
}

.btn-ghost,
.btn-accent,
.btn-primary,
.promo-banner-btn,
.game-play-btn,
.app-download-link,
.show-all-btn {
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn-ghost {
    padding: 9px 16px;
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
    border-color: var(--citrus);
    color: var(--citrus);
}

.btn-accent,
.btn-primary,
.promo-banner-btn,
.game-play-btn,
.app-download-link {
    padding: 9px 18px;
    background: linear-gradient(180deg, var(--citrus) 0%, var(--citrus-deep) 100%);
    color: var(--citrus-ink);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.28);
}

.btn-accent:hover,
.btn-primary:hover,
.promo-banner-btn:hover,
.game-play-btn:hover,
.app-download-link:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.nav-trigger {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.nav-trigger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* Horizontal menu row under header */
.nav-strip {
    border-top: 1px solid var(--line-soft);
    background:
        linear-gradient(90deg, rgba(46, 196, 182, 0.06), transparent 30%, rgba(255, 193, 7, 0.06)),
        var(--panel);
}

.nav-strip-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
    padding: 10px 16px;
    margin: 0 auto;
    max-width: 1400px;
}

.nav-strip-item {
    margin: 0;
}

.nav-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--ink-soft);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-strip-link:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-soft);
}

.nav-strip-link.is-current {
    color: var(--citrus-ink);
    background: linear-gradient(180deg, var(--citrus), var(--citrus-deep));
    border-color: transparent;
}

.nav-strip-link.is-current .nav-glyph {
    color: var(--citrus-ink);
}

.nav-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
    color: currentColor;
}

.drawer-veil {
    display: none;
}

/* Promo banners / slider shell */
.promotional-banners,
.promo-track {
    margin-bottom: 28px;
}

.promo-track {
    position: relative;
}

.promo-banner,
.promo-pane {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(46, 196, 182, 0.12), transparent 40%),
        linear-gradient(320deg, rgba(255, 193, 7, 0.1), transparent 45%),
        var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-panel);
    padding: 0;
}

.promo-banner picture,
.promo-pane picture {
    display: block;
    width: 100%;
}

.promo-banner-image,
.promo-pane-image {
    display: block;
    width: 100%;
    max-width: 770px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    aspect-ratio: 770 / 245;
}

.promo-banner-content,
.promo-pane-copy {
    padding: 18px 20px 22px;
    text-align: center;
}

.promo-banner-title,
.promo-pane-kicker {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.promo-banner-text,
.promo-pane-offer {
    margin-bottom: 14px;
    color: var(--citrus);
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}

.promo-banner-btn {
    min-width: 140px;
}

.promo-track-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.promo-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
}

.promo-dot.is-active {
    background: var(--citrus);
}

.promo-track-ctl {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(10, 6, 24, 0.7);
    color: var(--ink);
    cursor: pointer;
    z-index: 2;
}

.promo-track-ctl[data-promo-prev] { left: 10px; }
.promo-track-ctl[data-promo-next] { right: 10px; }

.promo-pane {
    display: none;
}

.promo-pane.is-active {
    display: block;
}

/* Games */
.game-section {
    margin-bottom: 36px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
}

.section-title {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.show-all-btn {
    padding: 7px 14px;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    background: transparent;
    border-radius: 999px;
}

.show-all-btn:hover {
    color: var(--citrus);
    border-color: var(--citrus);
}

.games-carousel {
    overflow: visible;
}

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

.game-card {
    background: var(--panel);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.game-card:hover {
    border-color: var(--line);
    transform: translateY(-2px);
}

.game-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0e0a1f;
}

.game-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 251 / 351;
    background: #0e0a1f;
}

.game-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.game-play-btn,
.game-demo-btn {
    width: 100%;
    padding: 9px 10px;
    font-size: 0.8rem;
    border-radius: 10px;
}

.game-demo-btn {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.game-demo-btn:hover {
    border-color: var(--teal-edge);
    color: var(--teal-edge);
}

.game-title {
    padding: 10px 10px 12px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-soft);
}

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

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

.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(165deg, rgba(34, 21, 72, 0.95) 0%, rgba(16, 10, 36, 0.98) 100%);
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bonus-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--citrus), var(--citrus-deep), var(--teal-edge));
    z-index: 2;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 193, 7, 0.45);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

.bonus-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 193, 7, 0.18), transparent 50%),
        #100a24;
    overflow: hidden;
}

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

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

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

.bonus-name {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}

.bonus-description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bonus-value {
    margin-top: 4px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--citrus-ink);
    background: linear-gradient(135deg, var(--citrus) 0%, var(--citrus-deep) 100%);
    box-shadow: 0 8px 18px rgba(255, 152, 0, 0.28);
    text-align: center;
}

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

.bonus-category {
    margin-top: 2px;
}

.bonus-category-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(46, 196, 182, 0.14);
    color: #9ff3e8;
    border: 1px solid rgba(46, 196, 182, 0.35);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.bonus-terms {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    line-height: 1.45;
    color: var(--ink-mute);
}

/* SEO text block */
.text-content {
    max-width: 920px;
    margin: 28px auto 10px;
    padding: 28px 24px 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 193, 7, 0.08), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(46, 196, 182, 0.06), transparent 42%),
        rgba(26, 18, 56, 0.72);
    border: 1px solid rgba(255, 193, 7, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.text-content h1 {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: clamp(1.55rem, 3.2vw, 1.95rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.25;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.text-content h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--citrus), var(--teal-edge));
}

.text-content h2 {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    margin: 32px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--citrus);
    color: var(--ink);
    line-height: 1.3;
}

.text-content h3 {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    margin: 24px 0 10px;
    color: #ffd666;
}

.text-content > p:first-of-type {
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.7;
}

.text-content p {
    margin-bottom: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.text-content img {
    max-width: 100%;
    height: auto;
    margin: 18px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--line-soft);
}

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

.text-content th,
.text-content td {
    padding: 12px 14px;
    border: 1px solid var(--line-soft);
    text-align: left;
    color: var(--ink-soft);
}

.text-content th {
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.16), rgba(255, 193, 7, 0.08));
    color: var(--ink);
    font-weight: 700;
}

.text-content tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.text-content ul,
.text-content ol {
    margin: 16px 0 18px;
    padding-left: 0;
    list-style: none;
    color: var(--ink-soft);
}

.text-content ul li,
.text-content ol li {
    position: relative;
    margin-bottom: 10px;
    padding: 10px 14px 10px 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.55;
}

.text-content ul li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--citrus), var(--citrus-deep));
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
}

.text-content ol {
    counter-reset: text-ol;
}

.text-content ol li {
    counter-increment: text-ol;
}

.text-content ol li::before {
    content: counter(text-ol);
    position: absolute;
    left: 10px;
    top: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--citrus-ink);
    background: linear-gradient(135deg, var(--citrus), var(--citrus-deep));
}

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

.text-content a:hover {
    color: #ffe082;
}

.text-content blockquote {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--teal-edge);
    background: rgba(46, 196, 182, 0.08);
    color: var(--ink-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Casino support page */
.support-stage .stage-inner {
    position: relative;
}

.support-shell {
    position: relative;
    max-width: 760px;
    margin: 12px auto 20px;
    padding: 8px;
    border-radius: calc(var(--radius-lg) + 4px);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.55), rgba(46, 196, 182, 0.35), rgba(255, 92, 122, 0.3));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
    animation: support-in 0.5s ease-out both;
}

.support-glow {
    position: absolute;
    inset: -40% auto auto 20%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.35), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
    animation: support-pulse 3.2s ease-in-out infinite;
}

.support-shell .text-content {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 36px 28px 32px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 193, 7, 0.14), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(46, 196, 182, 0.12), transparent 42%),
        linear-gradient(165deg, #221548 0%, #140c30 55%, #0d0820 100%);
    border: none;
    border-radius: var(--radius-lg);
}

.support-shell .text-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.35rem);
    margin-bottom: 10px;
    background: linear-gradient(120deg, #fff6d0 0%, var(--citrus) 55%, var(--citrus-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.support-shell .text-content h1::after {
    width: 72px;
    height: 4px;
    margin-top: 14px;
}

.support-shell .text-content > p:first-of-type {
    font-size: 1.08rem;
    color: var(--ink);
    margin-bottom: 22px;
}

.support-shell .text-content h2 {
    margin-top: 30px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.14), transparent 80%);
    border-left: 3px solid var(--citrus);
    color: var(--ink);
}

.support-shell .text-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(46, 196, 182, 0.14);
    border: 1px solid rgba(46, 196, 182, 0.35);
    color: #9ff3e8;
    font-size: 0.95rem;
}

.support-shell .text-content a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    margin-top: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--citrus), var(--citrus-deep));
    color: var(--citrus-ink);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(255, 152, 0, 0.35);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.support-shell .text-content a[href^="mailto:"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 152, 0, 0.45);
    color: var(--citrus-ink);
}

@keyframes support-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes support-pulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* Legal pages: privacy / terms */
.legal-shell {
    position: relative;
    max-width: 920px;
    margin: 12px auto 20px;
    padding: 7px;
    border-radius: calc(var(--radius-lg) + 4px);
    background: linear-gradient(140deg, rgba(255, 193, 7, 0.5), rgba(46, 196, 182, 0.28), rgba(255, 92, 122, 0.22));
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
    animation: support-in 0.5s ease-out both;
}

.legal-glow {
    position: absolute;
    top: -20%;
    right: 8%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.28), transparent 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
    animation: support-pulse 3.6s ease-in-out infinite;
}

.legal-shell .text-content {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 34px 28px 36px;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 193, 7, 0.12), transparent 38%),
        linear-gradient(170deg, #1f153f 0%, #120a2b 58%, #0a0618 100%);
    border: none;
    border-radius: var(--radius-lg);
}

.legal-shell .text-content h1 {
    font-size: clamp(1.7rem, 3.8vw, 2.2rem);
    margin-bottom: 12px;
    background: linear-gradient(120deg, #fff6d0 0%, var(--citrus) 60%, var(--teal-edge) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.legal-shell .text-content h1::after {
    width: 84px;
    height: 4px;
    margin-top: 14px;
}

.legal-shell .text-content h2 {
    margin-top: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 193, 7, 0.22);
    color: var(--ink);
}

.legal-shell .text-content h3 {
    color: #ffd666;
}

.legal-shell .text-content a {
    color: var(--citrus);
    font-weight: 600;
}

/* Tables: horizontal scroll on narrow screens */
.table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line-soft);
}

.table-wrapper table,
.text-content .table-wrapper table {
    margin: 0;
    width: max-content;
    min-width: 100%;
}

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

.faq-item-block {
    border: 1px solid var(--line-soft);
    margin-bottom: 10px;
    background: var(--panel);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.faq-question-block {
    padding: 14px 16px;
    background: var(--panel-lift);
    border-bottom: 1px solid var(--line-soft);
}

.faq-question-block strong {
    font-size: 0.98rem;
    color: var(--ink);
}

.faq-answer-block {
    padding: 14px 16px;
    color: var(--ink-soft);
}

.howto-wrapper {
    margin: 18px 0;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
}

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

.howto-step-item {
    counter-increment: step-counter;
    padding: 14px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--citrus);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

.howto-step-item strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 6px;
}

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

.breadcrumb-link {
    color: var(--ink-mute);
    text-decoration: none;
}

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

.breadcrumb-divider {
    color: var(--ink-mute);
}

/* Footer */
.site-footer {
    margin-top: auto;
    color: var(--ink-soft);
    background: linear-gradient(180deg, #120a28 0%, #070412 55%, #05020e 100%);
    border-top: 1px solid rgba(255, 193, 7, 0.18);
}

.footer-payments {
    background: linear-gradient(90deg, #f5c518 0%, #ff9800 42%, #ffc107 72%, #f0a500 100%);
    padding: 14px 18px;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.footer-payments-inner {
    max-width: var(--max-stage);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-payments-label {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a0f00;
    white-space: nowrap;
}

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

.footer-payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 40px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.footer-payment-image {
    max-height: 24px;
    max-width: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-main {
    max-width: var(--max-stage);
    margin: 0 auto;
    padding: 32px 18px 8px;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line-soft);
}

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

.footer-brand-img {
    height: 44px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
}

.footer-brand-text {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ink);
}

.footer-app-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.18), rgba(46, 196, 182, 0.12));
    border: 1px solid rgba(255, 193, 7, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-app-cta:hover {
    transform: translateY(-1px);
    border-color: var(--citrus);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.28), rgba(46, 196, 182, 0.18));
    color: var(--ink);
}

.footer-app-cta-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background:
        linear-gradient(160deg, var(--citrus) 0%, var(--citrus-deep) 100%);
    box-shadow: inset 0 0 0 2px rgba(26, 15, 0, 0.2);
    position: relative;
    flex-shrink: 0;
}

.footer-app-cta-icon::after {
    content: "";
    position: absolute;
    inset: 5px 7px 5px 7px;
    border: 1.5px solid var(--citrus-ink);
    border-radius: 3px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-bottom: 8px;
}

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

.footer-section-title {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--citrus);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

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

.footer-links a {
    color: var(--ink-mute);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

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

.footer-social-links a {
    gap: 10px;
}

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

.footer-bottom {
    text-align: center;
    padding: 22px 18px 28px;
    border-top: 1px solid var(--line-soft);
    font-size: 0.78rem;
    color: var(--ink-mute);
    max-width: var(--max-stage);
    margin: 0 auto;
}

.footer-safe {
    margin-bottom: 16px;
}

.footer-safe-title {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 12px;
}

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

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

.footer-safe-links a {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-soft);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.footer-safe-links a:hover {
    border-color: rgba(255, 193, 7, 0.35);
    background: rgba(255, 193, 7, 0.08);
}

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

.footer-disclaimer {
    max-width: 720px;
    margin: 0 auto 10px;
    line-height: 1.55;
    color: var(--ink-mute);
}

.footer-copyright {
    margin: 0;
    color: var(--ink-soft);
    font-weight: 600;
}

/* Lists */
.list-container {
    margin: 16px 0;
}

.text-content .list-container ul,
.text-content .list-container ol {
    margin: 14px 0 18px;
    padding-left: 0;
}

.text-content .list-container ul li,
.text-content .list-container ol li {
    margin-bottom: 10px;
}

/* App hero block */
.app-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    margin: 10px 0 32px;
    padding: 18px;
    border-radius: calc(var(--radius-lg) + 2px);
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 193, 7, 0.2), transparent 42%),
        radial-gradient(circle at 88% 80%, rgba(46, 196, 182, 0.14), transparent 45%),
        linear-gradient(145deg, #221548 0%, #120a2b 55%, #0a0618 100%);
    border: 1px solid rgba(255, 193, 7, 0.28);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    animation: support-in 0.5s ease-out both;
}

.app-hero-visual {
    position: relative;
    min-height: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0d0820;
}

.app-hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: saturate(1.1);
}

.app-hero-device {
    position: absolute;
    inset: 18px 28px 18px 28px;
    border-radius: 22px;
    padding: 10px 8px 14px;
    background: linear-gradient(180deg, #2a1f4d 0%, #120a28 100%);
    border: 2px solid rgba(255, 193, 7, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: stretch;
    justify-content: center;
    transform: rotate(-2deg);
    animation: app-float 3.6s ease-in-out infinite;
}

.app-hero-device::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transform: translateX(-50%);
}

.app-hero-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.app-info-table-wrapper {
    margin: 0;
    min-width: 0;
    display: flex;
}

.app-info-table-container {
    width: 100%;
    border: 1px solid rgba(255, 193, 7, 0.18);
    border-radius: var(--radius-md);
    background: rgba(10, 6, 24, 0.55);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: blur(6px);
}

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

.app-info-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}

.app-info-row:hover {
    background: rgba(255, 193, 7, 0.05);
}

.app-info-row:last-child {
    border-bottom: none;
    background: rgba(255, 193, 7, 0.07);
}

.app-info-label-cell {
    padding: 14px 12px 14px 16px;
    text-align: center;
    width: 58px;
    vertical-align: middle;
}

.app-info-label-wrapper {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--citrus-ink);
    background: linear-gradient(145deg, var(--citrus) 0%, var(--citrus-deep) 100%);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.28);
}

.app-info-value-cell {
    padding: 14px 18px 14px 8px;
    color: var(--ink-soft);
    vertical-align: middle;
    font-size: 0.95rem;
    line-height: 1.5;
}

.app-info-icon {
    width: 20px;
    height: 20px;
    display: block;
}

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

.app-name-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border: 1px solid rgba(255, 193, 7, 0.25);
}

.app-name-text {
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ink);
}

.app-info-row:last-child .app-info-value-cell {
    padding-top: 16px;
    padding-bottom: 16px;
}

.app-hero .app-download-link {
    padding: 12px 22px;
    font-size: 0.95rem;
    box-shadow: 0 10px 26px rgba(255, 152, 0, 0.38);
}

@keyframes app-float {
    0%, 100% {
        transform: rotate(-2deg) translateY(0);
    }
    50% {
        transform: rotate(-2deg) translateY(-6px);
    }
}

@media (max-width: 900px) {
    .app-hero {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .app-hero-visual {
        min-height: 200px;
        max-height: 240px;
    }

    .app-hero-device {
        inset: 16px 22% 16px 22%;
    }
}

/* 404 miss panel */
.miss-panel {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 36px auto;
    padding: 64px 28px 56px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.28), transparent 42%),
        radial-gradient(circle at 15% 85%, rgba(46, 196, 182, 0.16), transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(255, 92, 122, 0.12), transparent 38%),
        linear-gradient(165deg, #1c1240 0%, #120a2b 55%, #0a0618 100%);
    border: 1px solid rgba(255, 193, 7, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    animation: miss-rise 0.55s ease-out both;
}

.miss-panel::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -70px;
    right: -50px;
    border-radius: 50%;
    border: 3px dashed rgba(255, 193, 7, 0.35);
    animation: miss-spin 18s linear infinite;
    pointer-events: none;
}

.miss-panel::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    bottom: -40px;
    left: -30px;
    border-radius: 50%;
    border: 2px solid rgba(46, 196, 182, 0.28);
    animation: miss-spin 24s linear infinite reverse;
    pointer-events: none;
}

.miss-code {
    position: relative;
    z-index: 1;
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: clamp(5rem, 18vw, 7.5rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffe082 0%, var(--citrus) 40%, var(--citrus-deep) 78%, #ff5c7a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 24px rgba(255, 193, 7, 0.35));
    animation: miss-glow 2.8s ease-in-out infinite;
}

.miss-title {
    position: relative;
    z-index: 1;
    font-family: "SoraDisplay", "RubikLocal", sans-serif;
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    font-weight: 700;
    margin: 0 auto 14px;
    max-width: 28ch;
    color: var(--ink);
    line-height: 1.3;
}

.miss-copy {
    position: relative;
    z-index: 1;
    margin: 0 auto 28px;
    max-width: 42ch;
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.6;
}

.miss-panel .btn-accent {
    position: relative;
    z-index: 1;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(255, 152, 0, 0.35);
    animation: miss-cta 2.4s ease-in-out infinite;
}

@keyframes miss-rise {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes miss-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes miss-glow {
    0%, 100% {
        filter: drop-shadow(0 8px 24px rgba(255, 193, 7, 0.3));
    }
    50% {
        filter: drop-shadow(0 10px 32px rgba(255, 152, 0, 0.55));
    }
}

@keyframes miss-cta {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 10px 28px rgba(255, 152, 0, 0.35);
    }
    50% {
        transform: translateY(-3px);
        box-shadow: 0 14px 34px rgba(255, 152, 0, 0.48);
    }
}

/* Mobile: burger top-left, nav as left drawer */
@media (max-width: 992px) {
    .nav-trigger {
        display: flex;
        order: -1;
        position: relative;
        z-index: 220;
        margin-right: 2px;
    }

    .masthead-top {
        padding: 10px 12px;
        gap: 8px;
    }

    .brand-lockup-img {
        height: 34px;
        max-width: 118px;
    }

    .auth-cluster {
        gap: 6px;
    }

    .btn-ghost,
    .btn-accent,
    .btn-primary {
        padding: 7px 11px;
        font-size: 0.78rem;
    }

    .nav-strip {
        position: fixed;
        top: 58px;
        left: 0;
        width: min(300px, 86vw);
        height: calc(100vh - 58px);
        z-index: 210;
        background: var(--void-2);
        border-top: none;
        border-right: 1px solid var(--line);
        box-shadow: 8px 0 28px rgba(0, 0, 0, 0.45);
        transform: translateX(-105%);
        transition: transform 0.25s ease;
        overflow-y: auto;
        padding-top: 12px;
    }

    .nav-strip.is-open {
        transform: translateX(0);
    }

    .nav-strip-list {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 12px;
        gap: 4px;
        overflow-x: visible;
    }

    .nav-strip-link {
        width: 100%;
        padding: 12px 14px;
    }

    .drawer-veil {
        display: block;
        position: fixed;
        top: 58px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 205;
        background: rgba(0, 0, 0, 0.55);
    }

    .drawer-veil[hidden] {
        display: none;
    }

    body.nav-drawer-open {
        overflow: hidden;
    }

    .stage-inner,
    .main-content-wrapper {
        padding: 14px 12px 28px;
    }

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

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

    .promo-banner-image,
    .promo-pane-image {
        max-width: 250px;
        aspect-ratio: 1 / 1;
    }

    .promo-track-ctl {
        display: none;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .stage-inner,
    .main-content-wrapper {
        padding: 12px 10px 24px;
    }

    .text-content {
        padding: 16px 12px;
    }

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

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

    .text-content h3 {
        font-size: 1.02rem;
    }

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

    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-payments-inner {
        flex-direction: column;
        gap: 10px;
    }

    .footer-payment-item {
        min-width: 64px;
        height: 36px;
        padding: 5px 10px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .promo-banner-text,
    .promo-pane-offer {
        font-size: 1.1rem;
    }

    .table-wrapper table,
    .text-content table {
        min-width: 560px;
    }

    .app-info-table {
        min-width: 0;
    }
}
