/* Spin Granny deck - local type + ink surface */

@font-face {
    font-family: "Outfit Local";
    src: url("/chassis/typefaces/outfit-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit Local";
    src: url("/chassis/typefaces/outfit-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Outfit Local";
    src: url("/chassis/typefaces/outfit-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Baloo Deck";
    src: url("/chassis/typefaces/baloo2-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Baloo Deck";
    src: url("/chassis/typefaces/baloo2-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #0a061e;
    --ink-2: #120b32;
    --ink-3: #1c1248;
    --panel: #221456;
    --panel-soft: #2a1b6e;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f4f1ff;
    --muted: #b8aed8;
    --amber-a: #ffc107;
    --amber-b: #ff8a00;
    --mint: #3ddea8;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --font-body: "Outfit Local", "Segoe UI", sans-serif;
    --font-display: "Baloo Deck", "Outfit Local", sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 10% -10%, rgba(88, 40, 180, 0.35), transparent 55%),
        radial-gradient(900px 500px at 90% 0%, rgba(255, 138, 0, 0.12), transparent 50%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 45%, #070414 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

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

.shell-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Masthead */
.mast-band {
    padding: 12px 22px;
    background: linear-gradient(180deg, rgba(18, 11, 50, 0.96), rgba(10, 6, 30, 0.92));
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.mast-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

.brand-mark-img {
    max-height: 46px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(255, 193, 7, 0.25));
}

.brand-mark-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
}

.mast-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    max-width: 58%;
    justify-content: flex-end;
}

.btn-primary,
.btn-ghost,
.promo-banner-btn,
.game-play-btn,
.app-download-link {
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-body);
    border: 1px solid transparent;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
    cursor: pointer;
}

.btn-primary,
.promo-banner-btn,
.game-play-btn,
.app-download-link {
    background: linear-gradient(160deg, var(--amber-a), var(--amber-b));
    color: #1a0f00;
    box-shadow: 0 6px 18px rgba(255, 138, 0, 0.28);
}

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: rgba(170, 150, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Horizontal lane */
.lane-nav {
    background: linear-gradient(90deg, rgba(34, 20, 86, 0.95), rgba(28, 18, 72, 0.95));
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 30;
}

.lane-list {
    list-style: none;
    margin: 0 auto;
    padding: 6px 14px;
    max-width: 1240px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: stretch;
}

.lane-item {
    margin: 0;
}

.lane-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    color: var(--muted);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 12px;
    border: 1px solid transparent;
}

.lane-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.lane-link.is-current {
    color: #1a0f00;
    background: linear-gradient(160deg, var(--amber-a), var(--amber-b));
    border-color: transparent;
}

.lane-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: inherit;
}

.lane-label {
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

.dock-toggle {
    display: none;
    background: linear-gradient(160deg, var(--panel-soft), var(--panel));
    border: 1px solid rgba(255, 193, 7, 0.35);
    cursor: pointer;
    padding: 10px;
    border-radius: 14px;
    color: var(--text);
}

.dock-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--amber-a);
    margin: 4px 0;
    border-radius: 2px;
}

.veil-layer {
    display: none;
}

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

/* Stage */
.stage-pane {
    flex: 1;
    width: 100%;
}

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

.section-title,
.promo-banner-title,
.bonus-name,
.miss-title,
.miss-code {
    font-family: var(--font-display);
}

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

.section-title {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
}

.show-all-btn {
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
    font-size: 13px;
}

.show-all-btn:hover {
    color: var(--text);
    border-color: rgba(255, 193, 7, 0.4);
}

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

.promo-reel {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--panel), var(--ink-3));
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.promo-reel-track {
    position: relative;
}

.promo-slide {
    display: none;
    position: relative;
}

.promo-slide.is-active {
    display: block;
    animation: reelIn 0.45s ease;
}

@keyframes reelIn {
    from { opacity: 0.35; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.promo-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    min-height: 0;
}

.promo-banner picture {
    display: block;
    width: 100%;
    align-self: center;
}

.promo-banner-image {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: contain;
    aspect-ratio: 760 / 250;
    background: transparent;
}

.promo-banner-content {
    padding: 28px 28px 28px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.promo-banner-title {
    font-size: clamp(1.25rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
}

.promo-banner-text {
    color: var(--muted);
    font-size: 0.95rem;
}

.promo-banner-btn {
    align-self: flex-start;
    margin-top: 6px;
    position: relative;
    z-index: 3;
}

.promo-reel-controls {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.promo-reel-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(10, 6, 30, 0.65);
    color: var(--text);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.promo-reel-btn:hover {
    border-color: var(--amber-a);
    color: var(--amber-a);
}

.promo-reel-dots {
    display: flex;
    gap: 6px;
    margin-right: 4px;
}

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

.promo-dot.is-active {
    background: var(--amber-a);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

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

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

.game-card {
    background: linear-gradient(180deg, rgba(42, 27, 110, 0.85), rgba(18, 11, 50, 0.95));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 193, 7, 0.35);
}

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

.game-image {
    width: 100%;
    height: auto;
    aspect-ratio: 265 / 371;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #140c36;
}

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

.game-play-btn {
    width: 100%;
    padding: 9px 10px;
    font-size: 12px;
    border-radius: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    min-height: 36px;
}

.game-play-btn.is-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(170, 150, 255, 0.4);
    box-shadow: none;
}

.game-title {
    padding: 10px 12px 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

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

.bonuses-section .section-title {
    background: linear-gradient(120deg, #fff 30%, var(--amber-a));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.bonus-card {
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(280px 160px at 100% 0%, rgba(255, 193, 7, 0.14), transparent 55%),
        linear-gradient(155deg, rgba(42, 27, 110, 0.95), rgba(18, 11, 50, 0.98));
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 193, 7, 0.45);
    box-shadow: 0 18px 40px rgba(255, 138, 0, 0.16);
}

.bonus-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 193, 7, 0.18), transparent 50%),
        #140c36;
    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 {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

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

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

.bonus-value {
    margin-top: 4px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--amber-a);
    letter-spacing: 0.01em;
}

.bonus-value strong {
    background: linear-gradient(120deg, var(--amber-a), #ffe082);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bonus-category {
    order: -1;
}

.bonus-category-badge {
    display: inline-block;
    padding: 5px 11px;
    background: rgba(61, 222, 168, 0.12);
    color: var(--mint);
    border: 1px solid rgba(61, 222, 168, 0.35);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bonus-terms {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    color: var(--muted);
}

/* SEO text */
.text-content {
    max-width: 920px;
    margin: 28px auto 0;
    padding: 8px 4px 20px;
}

.prose-deck {
    padding: clamp(18px, 3vw, 28px);
    border-radius: 22px;
    background:
        radial-gradient(520px 220px at 0% 0%, rgba(255, 193, 7, 0.1), transparent 55%),
        linear-gradient(165deg, rgba(34, 20, 86, 0.72), rgba(12, 7, 36, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.contact-surface .prose-deck,
.doc-surface .prose-deck {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.text-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2rem);
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.prose-deck > h1 {
    background: linear-gradient(120deg, #fff 35%, var(--amber-a));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 28px 0 12px;
    position: relative;
    padding-bottom: 8px;
}

.prose-deck > h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--amber-a), transparent);
}

.text-content h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    margin: 22px 0 10px;
    color: var(--amber-a);
}

.text-content p {
    margin-bottom: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.prose-deck > p:first-of-type {
    color: var(--text);
}

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

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(18, 11, 50, 0.65);
}

.text-content table,
.app-info-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    margin: 0;
}

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

.text-content th {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    white-space: nowrap;
}

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

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

.text-content a {
    color: var(--amber-a);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.text-content blockquote {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--amber-b);
    background: rgba(255, 138, 0, 0.08);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text);
}

/* Contact / help-support */
.contact-surface {
    position: relative;
    margin: 10px auto 8px;
    max-width: 860px;
    padding: clamp(22px, 4vw, 36px);
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(520px 240px at 12% -10%, rgba(255, 193, 7, 0.2), transparent 55%),
        radial-gradient(480px 260px at 100% 20%, rgba(88, 40, 180, 0.4), transparent 58%),
        radial-gradient(420px 220px at 40% 110%, rgba(61, 222, 168, 0.12), transparent 50%),
        linear-gradient(165deg, rgba(34, 20, 86, 0.94), rgba(12, 7, 36, 0.98));
    border: 1px solid rgba(255, 193, 7, 0.26);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    animation: miss-rise 0.5s ease both;
}

.contact-surface::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -50px;
    top: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.28), transparent 70%);
    pointer-events: none;
}

.contact-surface .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.contact-surface .text-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #fff 20%, var(--amber-a) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}

.contact-surface .text-content > p:first-of-type {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-surface .text-content h2 {
    margin-top: 28px;
    padding-top: 6px;
    color: var(--text);
}

.contact-surface .text-content h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--amber-a), transparent);
}

.contact-surface .text-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(255, 193, 7, 0.18), rgba(255, 138, 0, 0.08));
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: var(--amber-a);
    font-size: 0.98rem;
}

.contact-surface .text-content h3 + p {
    margin-top: 10px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(10, 6, 30, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.contact-surface .text-content a {
    color: var(--amber-a);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 193, 7, 0.45);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-surface .text-content a:hover {
    color: #ffe082;
    border-bottom-color: #ffe082;
}

/* Legal docs: privacy / terms */
.doc-surface {
    position: relative;
    margin: 10px auto 8px;
    max-width: 920px;
    padding: clamp(22px, 4vw, 38px);
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(560px 240px at 8% -8%, rgba(255, 193, 7, 0.16), transparent 55%),
        radial-gradient(500px 280px at 100% 0%, rgba(88, 40, 180, 0.38), transparent 58%),
        linear-gradient(165deg, rgba(34, 20, 86, 0.94), rgba(12, 7, 36, 0.98));
    border: 1px solid rgba(255, 193, 7, 0.22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
    animation: miss-rise 0.5s ease both;
}

.doc-surface::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--amber-a), var(--amber-b), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.doc-surface .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.doc-surface .text-content h1 {
    font-size: clamp(1.7rem, 3.6vw, 2.2rem);
    letter-spacing: 0.02em;
    background: linear-gradient(120deg, #fff 25%, var(--amber-a) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.doc-surface .text-content > p:first-of-type {
    color: var(--text);
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.doc-surface .text-content h2 {
    margin-top: 30px;
    color: var(--text);
    position: relative;
    padding-left: 14px;
}

.doc-surface .text-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 4px;
    height: 1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--amber-a), var(--amber-b));
}

.doc-surface .text-content h3 {
    color: var(--amber-a);
    margin-top: 20px;
}

.doc-surface .text-content p {
    color: var(--muted);
    line-height: 1.7;
}

.doc-surface .text-content ul,
.doc-surface .text-content ol {
    padding: 14px 18px 14px 34px;
    border-radius: 16px;
    background: rgba(10, 6, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
}

.doc-surface .text-content li {
    margin-bottom: 10px;
}

.doc-surface .text-content a {
    color: var(--amber-a);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 193, 7, 0.4);
}

.doc-surface .text-content a:hover {
    color: #ffe082;
    border-bottom-color: #ffe082;
}

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

.faq-item-block {
    border: 1px solid var(--line);
    margin-bottom: 10px;
    background: rgba(34, 20, 86, 0.7);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.faq-question-block strong {
    font-size: 15px;
    font-family: var(--font-display);
}

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

.howto-wrapper {
    margin: 20px 0;
    padding: 18px;
    background: rgba(34, 20, 86, 0.65);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}

.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(10, 6, 30, 0.55);
    border-left: 3px solid var(--amber-a);
    border-radius: 0 var(--radius) var(--radius) 0;
}

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

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

/* Breadcrumbs */
.breadcrumb-nav {
    margin: 0 0 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
}

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

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

.breadcrumb-divider {
    color: rgba(255, 255, 255, 0.28);
}

/* Footer */
.site-footer {
    margin-top: auto;
    color: var(--text);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 280px at 12% 0%, rgba(255, 138, 0, 0.14), transparent 55%),
        radial-gradient(640px 260px at 88% 8%, rgba(88, 40, 180, 0.45), transparent 58%),
        linear-gradient(180deg, #160d3a 0%, #0a061e 55%, #05030f 100%);
    border-top: 1px solid rgba(255, 193, 7, 0.18);
}

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

.footer-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 34px 20px 28px;
    position: relative;
    z-index: 1;
}

.footer-payments {
    margin-bottom: 28px;
    padding: 18px 18px 16px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(42, 27, 110, 0.72), rgba(18, 11, 50, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.footer-payments-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber-a);
    margin-bottom: 14px;
    text-align: center;
}

.footer-payments-rail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-pay-tile {
    min-width: 102px;
    height: 54px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.footer-pay-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(255, 138, 0, 0.22);
}

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

.footer-pay-name {
    font-size: 12px;
    font-weight: 700;
    color: #1a0f00;
}

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

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

.footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    width: fit-content;
}

.footer-brand-img {
    max-height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(255, 193, 7, 0.28));
}

.footer-brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text);
    font-size: 1.35rem;
    letter-spacing: 0.03em;
}

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

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid transparent;
    transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

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

.footer-btn-primary {
    background: linear-gradient(160deg, var(--amber-a), var(--amber-b));
    color: #1a0f00;
    box-shadow: 0 6px 16px rgba(255, 138, 0, 0.28);
}

.footer-btn-accent {
    background: linear-gradient(160deg, var(--mint), #1fb888);
    color: #04140f;
    box-shadow: 0 6px 16px rgba(61, 222, 168, 0.22);
}

.footer-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: rgba(170, 150, 255, 0.4);
}

.footer-section-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    font-family: var(--font-display);
    color: var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 8px;
}

.footer-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--amber-a), transparent);
}

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

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

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

.footer-links a:hover,
.footer-links a.active {
    color: var(--amber-a);
    transform: translateX(2px);
}

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

.footer-social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.footer-social-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 193, 7, 0.45);
    background: rgba(255, 193, 7, 0.1);
}

.footer-social-image {
    max-height: 22px;
    width: auto;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-safe-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

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

.footer-safe-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.footer-safe-chip:hover {
    border-color: rgba(61, 222, 168, 0.45);
    background: rgba(61, 222, 168, 0.08);
}

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

.footer-copy {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.55;
}

/* App hero + table */
.app-hero-deck {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
    margin: 10px 0 28px;
    padding: clamp(16px, 3vw, 24px);
    border-radius: 26px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(520px 260px at 0% 0%, rgba(255, 193, 7, 0.18), transparent 55%),
        radial-gradient(480px 280px at 100% 20%, rgba(88, 40, 180, 0.42), transparent 58%),
        linear-gradient(160deg, rgba(34, 20, 86, 0.96), rgba(10, 6, 30, 0.98));
    border: 1px solid rgba(255, 193, 7, 0.26);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    animation: miss-rise 0.5s ease both;
}

.app-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.app-hero-phone {
    width: min(100%, 168px);
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    padding: 8px;
    background: linear-gradient(160deg, #2a1b6e, #120b32);
    border: 2px solid rgba(255, 193, 7, 0.45);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 2;
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.25s ease;
}

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

.app-hero-phone-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.app-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: 1;
}

.app-hero-orb-a {
    width: 90px;
    height: 90px;
    top: 12%;
    left: 4%;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.45), transparent 70%);
    animation: miss-glow 3s ease-in-out infinite;
}

.app-hero-orb-b {
    width: 70px;
    height: 70px;
    bottom: 10%;
    right: 8%;
    background: radial-gradient(circle, rgba(61, 222, 168, 0.35), transparent 70%);
}

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

.app-info-table-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(10, 6, 30, 0.55);
    height: 100%;
}

.app-info-table {
    min-width: 360px;
    width: 100%;
}

.app-info-row {
    transition: background 0.15s ease;
}

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

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

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

.app-info-label-wrapper {
    width: 42px;
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #1a0f00;
    background: linear-gradient(160deg, var(--amber-a), var(--amber-b));
    box-shadow: 0 6px 14px rgba(255, 138, 0, 0.28);
}

.app-info-icon {
    width: 22px;
    height: 22px;
}

.app-info-value-cell {
    padding: 14px 16px;
    vertical-align: middle;
    color: var(--text);
    line-height: 1.55;
}

.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, 255, 255, 0.1);
}

.app-name-text {
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.app-hero-deck .app-download-link {
    min-width: 180px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 0.98rem;
    animation: miss-pulse 2.6s ease-in-out infinite;
}

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

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

    .app-hero-phone {
        width: 132px;
        transform: rotate(0deg);
    }
}

/* 404 */
.miss-panel {
    text-align: center;
    max-width: 640px;
    margin: 28px auto 12px;
    padding: clamp(40px, 8vw, 72px) clamp(20px, 5vw, 40px);
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(420px 220px at 50% 0%, rgba(255, 193, 7, 0.22), transparent 60%),
        radial-gradient(380px 220px at 15% 100%, rgba(88, 40, 180, 0.45), transparent 55%),
        radial-gradient(320px 180px at 90% 80%, rgba(61, 222, 168, 0.14), transparent 50%),
        linear-gradient(160deg, rgba(34, 20, 86, 0.92), rgba(10, 6, 30, 0.96));
    border: 1px solid rgba(255, 193, 7, 0.28);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: miss-rise 0.55s ease both;
}

.miss-panel::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    top: -36px;
    right: -28px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 0, 0.35), transparent 70%);
    pointer-events: none;
}

.miss-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.04) 48%, transparent 56%);
    pointer-events: none;
}

.miss-code {
    font-size: clamp(5rem, 16vw, 7.5rem);
    line-height: 0.9;
    margin: 0 auto 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(160deg, #ffe082 0%, var(--amber-a) 40%, var(--amber-b) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 24px rgba(255, 138, 0, 0.35));
    position: relative;
    z-index: 1;
    animation: miss-glow 2.8s ease-in-out infinite;
}

.miss-title {
    font-size: clamp(1.25rem, 3.2vw, 1.7rem);
    margin: 0 auto 14px;
    max-width: 28ch;
    line-height: 1.25;
    color: var(--text);
    position: relative;
    z-index: 1;
}

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

.miss-panel .btn-primary {
    position: relative;
    z-index: 1;
    min-width: 200px;
    padding: 13px 26px;
    font-size: 1rem;
    border-radius: 14px;
    animation: miss-pulse 2.4s ease-in-out infinite;
}

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

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

@keyframes miss-pulse {
    0%, 100% {
        box-shadow: 0 6px 18px rgba(255, 138, 0, 0.28);
    }
    50% {
        box-shadow: 0 8px 28px rgba(255, 138, 0, 0.45);
    }
}

/* Narrow */
@media (max-width: 992px) {
    .mast-band {
        padding: 10px 14px;
    }

    .lane-nav {
        position: fixed;
        left: 0;
        bottom: 0;
        top: auto;
        width: min(88vw, 340px);
        max-height: 74vh;
        overflow-y: auto;
        background: linear-gradient(180deg, var(--panel-soft), var(--ink-2));
        border: 1px solid var(--line);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.45);
        transform: translateY(110%);
        transition: transform 0.25s ease;
        z-index: 1200;
        padding-bottom: 78px;
    }

    .lane-nav.is-open {
        transform: translateY(0);
    }

    .lane-list {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 14px;
        gap: 6px;
    }

    .lane-link {
        width: 100%;
    }

    .dock-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        left: 14px;
        bottom: 14px;
        z-index: 1300;
        width: 54px;
        height: 54px;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
    }

    .veil-layer {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(4, 2, 14, 0.62);
        z-index: 1100;
    }

    .veil-layer:not([hidden]) {
        display: block;
    }

    .stage-inner {
        padding: 14px 12px 96px;
    }

    .promo-banner {
        grid-template-columns: 1fr;
    }

    .promo-banner-content {
        padding: 18px 18px 56px;
    }

    .promo-banner-image {
        aspect-ratio: 1 / 1;
    }

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

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

@media (max-width: 768px) {
    .mast-actions {
        max-width: none;
        gap: 6px;
    }

    .mast-actions .btn-ghost,
    .mast-actions .btn-primary {
        padding: 8px 12px;
        font-size: 13px;
        white-space: nowrap;
    }

    .site-footer .footer-shell {
        padding-bottom: 96px;
    }

    .promo-banner-content {
        padding-bottom: 64px;
    }

    .promo-banner-btn {
        width: auto;
        max-width: calc(100% - 96px);
    }

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

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

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

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

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

    .footer-pay-tile {
        min-width: 88px;
        height: 48px;
    }

    .section-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 560px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-cta {
        width: 100%;
    }

    .footer-btn {
        flex: 1 1 auto;
    }
}

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