/* Local typefaces - Sora (display) + DM Sans (body), no remote requests */
@font-face {
    font-family: "SoraDeck";
    src: url("/vault/typefaces/sora-latinext.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "SoraDeck";
    src: url("/vault/typefaces/sora-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "PulseSans";
    src: url("/vault/typefaces/dmsans-latinext.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "PulseSans";
    src: url("/vault/typefaces/dmsans-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #f4f6f2;
    --ink-dim: #9aa195;
    --void: #050605;
    --panel: #10140f;
    --panel-2: #171c15;
    --line: #2a3326;
    --acid: #b6ff00;
    --acid-deep: #8ccc00;
    --ash: #2c3228;
    --radius-sm: 6px;
    --radius-md: 10px;
    --maxw: 1240px;
    --font-display: "SoraDeck", "PulseSans", sans-serif;
    --font-body: "PulseSans", "SoraDeck", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

html.drawer-open,
html.drawer-open body {
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.55;
    color: var(--ink);
    background:
        radial-gradient(1200px 480px at 10% -10%, rgba(182, 255, 0, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(80, 120, 40, 0.12), transparent 50%),
        var(--void);
    min-height: 100vh;
}

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

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

/* --- Chrome header --- */
.top-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px clamp(12px, 3vw, 28px);
    background: rgba(5, 6, 5, 0.92);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.header-brand-zone {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.header-logo-text {
    font-family: var(--font-display);
    color: var(--acid);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.header-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    align-items: center;
}

.btn-primary,
.btn-ghost,
.promo-banner-btn,
.game-play-btn,
.game-demo-btn,
.app-download-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.86rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary,
.promo-banner-btn,
.game-play-btn,
.app-download-link {
    background: var(--acid);
    color: #0a0f08;
    border: none;
    padding: 9px 16px;
}

.btn-primary:hover,
.promo-banner-btn:hover,
.game-play-btn:hover,
.app-download-link:hover {
    background: #d4ff4d;
    transform: translateY(-1px);
}

.btn-ghost,
.game-demo-btn {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 8px 14px;
}

.btn-ghost:hover,
.game-demo-btn:hover {
    border-color: var(--acid);
    color: var(--acid);
}

.mobile-burger {
    display: none;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px 9px;
}

.mobile-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--acid);
    margin: 4px 0;
    border-radius: 1px;
}

/* Nav row under header */
.primary-nav-row {
    background: linear-gradient(180deg, #0e120d 0%, #0a0d09 100%);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: thin;
}

.primary-nav-list {
    list-style: none;
    display: flex;
    align-items: stretch;
    gap: 2px;
    padding: 0 clamp(8px, 2vw, 20px);
    margin: 0 auto;
    max-width: var(--maxw);
    min-width: max-content;
}

.primary-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 14px;
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.primary-nav-link:hover,
.primary-nav-link.is-current {
    color: var(--acid);
    border-bottom-color: var(--acid);
    background: rgba(182, 255, 0, 0.04);
}

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

/* Mobile drawer from top-left */
.sidebar-navigation {
    position: fixed;
    left: 0;
    top: 0;
    width: min(300px, 88vw);
    height: 100vh;
    background: var(--panel);
    overflow-y: auto;
    border-right: 1px solid var(--line);
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    z-index: 60;
    padding: 72px 0 24px;
}

.sidebar-navigation.open {
    transform: translateX(0);
}

.sidebar-navigation[hidden] {
    display: block;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--ink);
    text-decoration: none;
    border-left: 3px solid transparent;
}

.sidebar-menu-link.active {
    background: rgba(182, 255, 0, 0.08);
    color: var(--acid);
    border-left-color: var(--acid);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 50;
}

.mobile-overlay[hidden] {
    display: none !important;
}

.mobile-overlay.is-visible {
    display: block;
}

/* Page stage - renamed nesting shell */
.page-stage {
    width: min(100% - 28px, var(--maxw));
    margin: 0 auto;
    padding: 22px 0 40px;
}

.page-stage > .crumb-trail {
    margin-bottom: 18px;
}

/* Banner slider */
.promo-rail {
    margin-bottom: 28px;
    position: relative;
}

.promo-rail-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    scrollbar-width: none;
}

.promo-rail-track::-webkit-scrollbar {
    display: none;
}

.promo-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    min-height: 0;
}

.promo-slide-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0f0a;
    padding: 12px;
}

.promo-slide-media picture {
    display: block;
    width: 100%;
    max-width: 768px;
}

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

.promo-slide-copy {
    padding: clamp(16px, 3vw, 28px);
}

.promo-banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.25;
}

.promo-banner-text {
    color: var(--acid);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

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

.promo-rail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--ash);
    cursor: pointer;
    padding: 0;
}

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

/* Legacy class aliases used during transition */
.promotional-banners {
    margin-bottom: 28px;
}

.promo-banner {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
}

/* Game shelves */
.game-section {
    margin-bottom: 34px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
}

.show-all-btn {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink-dim);
    font-size: 0.8rem;
    background: var(--panel-2);
}

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

.games-shelf {
    overflow: hidden;
}

.footer-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.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);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.game-image-wrapper {
    position: relative;
    background: #0b0f0a;
    aspect-ratio: 254 / 356;
    overflow: hidden;
}

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

.game-action-stack {
    position: absolute;
    inset: auto 8px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 1;
}

.game-play-btn,
.game-demo-btn {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.78rem;
    border-radius: var(--radius-sm);
}

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

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

.bonuses-section .section-title {
    font-size: clamp(1.25rem, 2.6vw, 1.55rem);
}

.bonuses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.bonus-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    background:
        radial-gradient(520px 180px at 0% 0%, rgba(182, 255, 0, 0.1), transparent 55%),
        linear-gradient(120deg, #131913, #0d110d 55%, #151c13);
    border: 1px solid rgba(182, 255, 0, 0.18);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
    border-color: rgba(182, 255, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.bonus-image-wrapper {
    position: relative;
    min-height: 200px;
    background: #0b100b;
    overflow: hidden;
}

.bonus-image-wrapper::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(7, 10, 7, 0.75));
    pointer-events: none;
}

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

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

.bonus-content {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bonus-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.bonus-description {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #aeb8a8;
}

.bonus-value {
    align-self: flex-start;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b1205;
    padding: 8px 12px;
    background: linear-gradient(135deg, #d4ff63, var(--acid));
    border-radius: var(--radius-sm);
    box-shadow: 0 0 18px rgba(182, 255, 0, 0.22);
}

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

.bonus-category-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    background: rgba(182, 255, 0, 0.1);
    border: 1px solid rgba(182, 255, 0, 0.28);
    color: var(--acid);
    font-size: 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.bonus-terms {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed rgba(42, 51, 38, 0.95);
    font-size: 0.75rem;
    color: #7f897a;
}

.bonus-cta {
    margin-top: 4px;
    align-self: flex-start;
    width: auto;
    min-width: 140px;
}

@media (max-width: 768px) {
    .bonus-card {
        grid-template-columns: 1fr;
    }

    .bonus-image-wrapper,
    .bonus-image {
        min-height: 170px;
    }
}

/* SEO text island - only place for h1/h2/h3 */
.seo-island,
.text-content {
    max-width: 920px;
    margin: 36px auto 0;
    padding: 28px 24px 32px;
    background:
        linear-gradient(180deg, rgba(16, 20, 14, 0.72), rgba(10, 13, 10, 0.55));
    border: 1px solid rgba(42, 51, 38, 0.95);
    border-radius: 14px;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(182, 255, 0, 0.05);
}

.seo-island h1,
.text-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3.4vw, 2rem);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.seo-island h1::after,
.text-content h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 14px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--acid), transparent);
    border-radius: 2px;
}

.seo-island h2,
.text-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.4vw, 1.35rem);
    font-weight: 700;
    margin: 30px 0 12px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.seo-island h3,
.text-content h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 22px 0 10px;
    color: #e4ecd9;
}

.seo-island p,
.text-content p {
    margin-bottom: 15px;
    color: #c3ccbc;
    line-height: 1.7;
    font-size: 0.97rem;
}

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

.seo-island a,
.text-content a {
    color: var(--acid);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.seo-island a:hover,
.text-content a:hover {
    color: #d4ff4d;
}

.seo-island blockquote,
.text-content blockquote {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--acid);
    background: rgba(182, 255, 0, 0.05);
    color: var(--ink-dim);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

.table-wrapper table,
.seo-island table,
.text-content table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    margin: 0;
}

.seo-island th,
.seo-island td,
.text-content th,
.text-content td,
.table-wrapper th,
.table-wrapper td {
    padding: 11px 12px;
    border: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.seo-island th,
.text-content th,
.table-wrapper th {
    background: linear-gradient(180deg, #1a241a, #152015);
    font-weight: 700;
    color: var(--ink);
    font-family: var(--font-display);
}

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

.seo-island ul,
.seo-island ol,
.text-content ul,
.text-content ol,
.list-container ul,
.list-container ol {
    margin: 16px 0;
    padding-left: 24px;
}

.seo-island li,
.text-content li,
.list-container li {
    color: #c5cebe;
    margin-bottom: 6px;
}

.seo-island li::marker,
.text-content li::marker,
.list-container li::marker {
    color: var(--acid);
}

.list-container {
    margin: 16px 0;
    padding: 14px 16px;
    background: rgba(10, 14, 10, 0.55);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

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

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

.faq-question-block {
    padding: 14px;
    background: #1a2118;
}

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

.howto-wrapper {
    padding: 18px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

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

.howto-step-item {
    counter-increment: step-counter;
    padding: 14px;
    margin-bottom: 8px;
    background: var(--panel);
    border-left: 3px solid var(--acid);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

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

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

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

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

.breadcrumb-divider {
    color: #555;
}

/* Footer - Spinit-inspired closing band */
.site-footer {
    position: relative;
    margin-top: 56px;
    color: var(--ink);
    background:
        radial-gradient(720px 220px at 12% 0%, rgba(182, 255, 0, 0.09), transparent 60%),
        radial-gradient(640px 200px at 88% 100%, rgba(182, 255, 0, 0.05), transparent 55%),
        linear-gradient(180deg, #0a0d09 0%, #050605 100%);
    border-top: 1px solid rgba(182, 255, 0, 0.22);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--acid), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 36px clamp(14px, 3vw, 28px) 28px;
}

.footer-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(42, 51, 38, 0.9);
}

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

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 12px rgba(182, 255, 0, 0.18));
}

.footer-cta-accent {
    box-shadow: 0 0 0 1px rgba(182, 255, 0, 0.25), 0 8px 24px rgba(182, 255, 0, 0.12);
}

.footer-payments {
    margin-bottom: 28px;
    padding: 16px 18px;
    background: rgba(16, 20, 15, 0.72);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.footer-payments-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 12px;
}

.footer-payments-track {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-pay-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 48px;
    padding: 8px 16px;
    background: #f4f6f2;
    border-radius: 999px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.footer-pay-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.footer-pay-img {
    max-width: 72px;
    max-height: 28px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-pay-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #111;
}

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

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

.footer-section-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--ink);
    position: relative;
    padding-bottom: 10px;
}

.footer-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--acid);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-block;
}

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

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

.footer-social-list li {
    margin-bottom: 0;
}

.footer-social-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 12px;
    background: var(--panel-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding-left: 12px;
}

.footer-social-list a:hover {
    border-color: var(--acid);
    padding-left: 12px;
    background: rgba(182, 255, 0, 0.06);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

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

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

.footer-safe-links li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    background: rgba(16, 20, 15, 0.8);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.footer-safe-links a {
    display: inline-flex;
    align-items: center;
}

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

.footer-copy {
    font-size: 0.78rem;
    color: #9aa195;
    margin-bottom: 6px;
}

.footer-disclaimer {
    font-size: 0.72rem;
    color: #6d7568;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.45;
}

/* App page hero + fact sheet */
.app-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin: 14px 0 32px;
    padding: 22px;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(20, 28, 16, 0.96), rgba(7, 10, 7, 0.98) 58%, rgba(14, 18, 12, 0.96));
    border: 1px solid rgba(182, 255, 0, 0.2);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(182, 255, 0, 0.08);
}

.app-hero-glow {
    position: absolute;
    inset: auto -15% -45% 35%;
    height: 260px;
    background: radial-gradient(ellipse at center, rgba(182, 255, 0, 0.22), transparent 68%);
    pointer-events: none;
    animation: errorPulse 5s ease-in-out infinite;
}

.app-hero-device {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.app-hero-phone {
    width: min(100%, 186px);
    aspect-ratio: 9 / 17;
    padding: 10px 9px 14px;
    background: linear-gradient(180deg, #1a2118, #0b0f0a);
    border: 1px solid rgba(182, 255, 0, 0.28);
    border-radius: 28px;
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(182, 255, 0, 0.08),
        0 0 28px rgba(182, 255, 0, 0.12);
    transform: rotate(-3deg);
    transition: transform 0.25s ease;
}

.app-hero-phone::before {
    content: "";
    display: block;
    width: 42%;
    height: 5px;
    margin: 0 auto 8px;
    background: #2a3326;
    border-radius: 999px;
}

.app-hero:hover .app-hero-phone {
    transform: rotate(-1deg) translateY(-4px);
}

.app-hero-phone img {
    width: 100%;
    height: calc(100% - 16px);
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.app-info-table-wrapper {
    position: relative;
    z-index: 1;
    margin: 0;
    min-width: 0;
}

.app-info-table-container {
    border: 1px solid rgba(42, 51, 38, 0.95);
    border-radius: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 14, 10, 0.72);
}

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

.app-info-row {
    border-bottom: 1px solid rgba(42, 51, 38, 0.9);
    transition: background 0.15s ease;
}

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

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

.app-info-label-cell {
    padding: 14px;
    width: 58px;
    color: var(--acid);
    vertical-align: middle;
}

.app-info-label-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(182, 255, 0, 0.1);
    border: 1px solid rgba(182, 255, 0, 0.22);
}

.app-info-value-cell {
    padding: 14px 16px 14px 8px;
    vertical-align: middle;
    color: #c8d1c1;
    font-size: 0.94rem;
    line-height: 1.45;
}

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

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

.app-name-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(182, 255, 0, 0.08);
    padding: 4px;
}

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

.app-hero .app-download-link {
    padding: 11px 18px;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(182, 255, 0, 0.2), 0 10px 24px rgba(182, 255, 0, 0.16);
}

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

    .app-hero-device {
        order: -1;
    }

    .app-hero-phone {
        width: min(150px, 46vw);
        transform: rotate(-2deg);
    }
}

/* 404 soft block (no heading tags outside SEO) */
.page-stage--404 {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 220px);
}

.page-stage--404 .crumb-trail,
.page-stage--404 .breadcrumb-nav {
    margin-bottom: 8px;
}

.page-stage--404 .seo-island,
.page-stage--404 .text-content {
    margin-top: auto;
    padding: 16px 18px;
    background: transparent;
    border: none;
}

.page-stage--404 .seo-island h1,
.page-stage--404 .text-content h1 {
    font-size: 1.05rem;
    color: var(--ink-dim);
    font-weight: 600;
    margin-bottom: 0;
}

.error-panel {
    position: relative;
    text-align: center;
    padding: clamp(48px, 10vh, 88px) 22px 40px;
    max-width: 620px;
    margin: 28px auto 36px;
    isolation: isolate;
}

.error-panel-glow {
    position: absolute;
    inset: 8% 12% auto;
    height: 58%;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(182, 255, 0, 0.28), transparent 68%),
        radial-gradient(circle at 50% 80%, rgba(182, 255, 0, 0.1), transparent 55%);
    filter: blur(8px);
    z-index: -1;
    pointer-events: none;
    animation: errorPulse 4.5s ease-in-out infinite;
}

.error-panel-code {
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 18vw, 8.5rem);
    font-weight: 700;
    color: var(--acid);
    margin-bottom: 10px;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-shadow:
        0 0 28px rgba(182, 255, 0, 0.45),
        0 0 80px rgba(182, 255, 0, 0.2);
    animation: errorFloat 5s ease-in-out infinite;
}

.error-panel-title {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--ink);
    max-width: 26ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.error-panel-text {
    color: var(--ink-dim);
    margin: 0 auto 28px;
    max-width: 38ch;
    font-size: 0.98rem;
    line-height: 1.55;
}

.error-panel-btn {
    min-width: 200px;
    padding: 12px 22px;
    font-size: 0.95rem;
    box-shadow: 0 0 0 1px rgba(182, 255, 0, 0.2), 0 10px 28px rgba(182, 255, 0, 0.16);
}

@keyframes errorPulse {
    0%, 100% { opacity: 0.75; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1.04); }
}

@keyframes errorFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
    .error-panel-glow,
    .error-panel-code {
        animation: none;
    }
}

/* Contact page shell */
.contact-shell {
    position: relative;
    margin: 12px auto 40px;
    max-width: 820px;
    padding: 10px;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(155deg, rgba(22, 30, 18, 0.96), rgba(8, 11, 8, 0.98) 55%, rgba(14, 20, 12, 0.96));
    border: 1px solid rgba(182, 255, 0, 0.22);
    box-shadow:
        0 24px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(182, 255, 0, 0.08);
}

.contact-shell-aura {
    position: absolute;
    width: 340px;
    height: 340px;
    right: -90px;
    top: -110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 255, 0, 0.24), transparent 70%);
    pointer-events: none;
    animation: errorPulse 4.5s ease-in-out infinite;
}

.contact-shell-mark {
    position: absolute;
    right: 22px;
    top: 22px;
    color: var(--acid);
    opacity: 0.55;
    z-index: 1;
    filter: drop-shadow(0 0 16px rgba(182, 255, 0, 0.35));
    pointer-events: none;
}

.contact-shell .seo-island,
.contact-shell .text-content {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 28px 26px 34px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.contact-shell .seo-island h1,
.contact-shell .text-content h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--ink), var(--acid));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    max-width: 14ch;
}

.contact-shell .seo-island > p:first-of-type,
.contact-shell .text-content > p:first-of-type {
    font-size: 1.05rem;
    color: #d5ddcf;
    margin-bottom: 28px;
    max-width: 34ch;
}

.contact-shell .seo-island h2,
.contact-shell .text-content h2 {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid rgba(42, 51, 38, 0.95);
    color: var(--acid);
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-shell .seo-island h2:first-of-type,
.contact-shell .text-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.contact-shell .seo-island h3,
.contact-shell .text-content h3 {
    display: inline-flex;
    align-items: center;
    margin: 18px 0 10px;
    padding: 8px 12px;
    background: rgba(182, 255, 0, 0.1);
    border: 1px solid rgba(182, 255, 0, 0.22);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.95rem;
}

.contact-shell .seo-island h3 + p,
.contact-shell .text-content h3 + p {
    margin: 0 0 16px;
    padding: 16px 16px 16px 18px;
    background: rgba(10, 14, 10, 0.85);
    border: 1px solid var(--line);
    border-left: 3px solid var(--acid);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: #c9d2c3;
}

.contact-shell .seo-island a[href^="mailto:"],
.contact-shell .text-content a[href^="mailto:"] {
    display: inline-flex;
    margin-top: 8px;
    padding: 10px 16px;
    background: var(--acid);
    color: #0b1205;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 18px rgba(182, 255, 0, 0.28);
    transition: transform 0.15s ease, background 0.15s ease;
}

.contact-shell .seo-island a[href^="mailto:"]:hover,
.contact-shell .text-content a[href^="mailto:"]:hover {
    background: #d4ff4d;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .contact-shell-mark {
        width: 48px;
        height: 48px;
        right: 14px;
        top: 14px;
        opacity: 0.4;
    }

    .contact-shell-mark svg {
        width: 48px;
        height: 48px;
    }

    .contact-shell .seo-island,
    .contact-shell .text-content {
        padding: 22px 16px 26px;
    }
}

/* Legal pages shell */
.legal-shell {
    position: relative;
    margin: 12px auto 40px;
    max-width: 920px;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(165deg, rgba(18, 24, 16, 0.96), rgba(7, 10, 7, 0.98) 60%, rgba(11, 16, 10, 0.97));
    border: 1px solid rgba(182, 255, 0, 0.18);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(182, 255, 0, 0.07);
}

.legal-shell-aura {
    position: absolute;
    width: 280px;
    height: 280px;
    left: -90px;
    top: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 255, 0, 0.16), transparent 72%);
    pointer-events: none;
}

.legal-shell .seo-island,
.legal-shell .text-content {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 30px 28px 36px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.legal-shell .seo-island h1,
.legal-shell .text-content h1 {
    font-size: clamp(1.65rem, 4.5vw, 2.25rem);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--ink);
}

.legal-shell .seo-island h1::after,
.legal-shell .text-content h1::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--acid), transparent);
    border-radius: 2px;
}

.legal-shell .seo-island > p:first-of-type,
.legal-shell .text-content > p:first-of-type {
    font-size: 1.02rem;
    color: #d2dbc9;
    margin-bottom: 22px;
}

.legal-shell .seo-island h2,
.legal-shell .text-content h2 {
    margin-top: 28px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: rgba(182, 255, 0, 0.08);
    border-left: 3px solid var(--acid);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--ink);
    font-size: 1.1rem;
}

.legal-shell .seo-island h3,
.legal-shell .text-content h3 {
    margin-top: 20px;
    color: var(--acid);
    font-size: 1rem;
}

.legal-shell .list-container {
    margin: 12px 0 18px;
    padding: 14px 16px 14px 18px;
    background: rgba(10, 14, 10, 0.75);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.legal-shell .list-container ul,
.legal-shell .list-container ol {
    margin: 0;
}

.legal-shell .list-container li {
    color: #c5cebe;
}

.legal-shell .list-container li::marker {
    color: var(--acid);
}

@media (max-width: 768px) {
    .legal-shell .seo-island,
    .legal-shell .text-content {
        padding: 22px 16px 28px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .promo-slide {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 992px) {
    .mobile-burger {
        display: inline-block;
    }

    .primary-nav-row {
        display: none;
    }

    .page-stage {
        width: min(100% - 20px, var(--maxw));
        padding-top: 16px;
    }

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

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

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

    .header-logo-img {
        height: 32px;
    }

    .header-actions {
        gap: 6px;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .header-actions .btn-ghost,
    .header-actions .btn-primary {
        padding: 7px 10px;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .btn-ghost,
    .btn-primary {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

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

    .footer-top-bar {
        align-items: flex-start;
    }

    .footer-cta-row {
        justify-content: flex-start;
    }
}

@media (max-width: 420px) {
    .header-brand-zone {
        gap: 8px;
    }

    .header-logo-img {
        height: 28px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-actions .btn-ghost,
    .header-actions .btn-primary {
        padding: 6px 8px;
        font-size: 0.7rem;
        letter-spacing: 0;
    }
}

@media (max-width: 768px) {
    .seo-island,
    .text-content {
        padding: 18px 14px;
    }

    .seo-island h1,
    .text-content h1 {
        font-size: 1.35rem;
    }

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

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

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

    .footer-pay-chip {
        min-width: 76px;
        height: 42px;
        padding: 6px 12px;
    }

    .footer-pay-img {
        max-width: 60px;
        max-height: 24px;
    }

    .game-action-stack {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
