/* Local typefaces - no remote font calls */
@font-face {
    font-family: "Sora";
    src: url("/pack/typeface/sora-latin-ext.woff2") format("woff2");
    font-weight: 400;
    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: "Sora";
    src: url("/pack/typeface/sora-latin.woff2") format("woff2");
    font-weight: 400;
    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: "Sora";
    src: url("/pack/typeface/sora-latin-ext-600.woff2") format("woff2");
    font-weight: 600;
    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: "Sora";
    src: url("/pack/typeface/sora-latin-600.woff2") format("woff2");
    font-weight: 600;
    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: "Sora";
    src: url("/pack/typeface/sora-latin-ext-700.woff2") format("woff2");
    font-weight: 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: "Sora";
    src: url("/pack/typeface/sora-latin-700.woff2") format("woff2");
    font-weight: 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: "Manrope";
    src: url("/pack/typeface/manrope-latin-ext.woff2") format("woff2");
    font-weight: 400;
    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: "Manrope";
    src: url("/pack/typeface/manrope-latin.woff2") format("woff2");
    font-weight: 400;
    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: "Manrope";
    src: url("/pack/typeface/manrope-latin-ext-500.woff2") format("woff2");
    font-weight: 500;
    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: "Manrope";
    src: url("/pack/typeface/manrope-latin-500.woff2") format("woff2");
    font-weight: 500;
    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: "Manrope";
    src: url("/pack/typeface/manrope-latin-ext-700.woff2") format("woff2");
    font-weight: 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: "Manrope";
    src: url("/pack/typeface/manrope-latin-700.woff2") format("woff2");
    font-weight: 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: #07080a;
    --panel: #10131a;
    --panel-2: #161b24;
    --line: rgba(182, 255, 59, 0.12);
    --line-hard: #2a3340;
    --lime: #b6ff3b;
    --lime-ink: #0c1400;
    --snow: #f2f5f8;
    --mist: #8b95a5;
    --danger: #ff5a6a;
    --radius: 14px;
    --radius-sm: 10px;
    --font-display: "Sora", sans-serif;
    --font-body: "Manrope", sans-serif;
    --mast-h: 68px;
    --rail-h: 58px;
    --max: 1240px;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(182, 255, 59, 0.08), transparent 55%),
        radial-gradient(900px 420px at 90% 0%, rgba(70, 120, 255, 0.06), transparent 50%),
        linear-gradient(180deg, #0b0d11 0%, var(--ink) 40%, #050608 100%);
    color: var(--snow);
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

/* -- Mast strip -- */
.mast-bar {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(10, 12, 16, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.mast-inner {
    max-width: var(--max);
    margin: 0 auto;
    min-height: var(--mast-h);
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

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

.brand-mark--empty {
    width: 36px;
    height: 36px;
}

.brand-mark--foot img {
    height: 42px;
}

.brand-word {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lime);
}

.auth-cluster {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 2;
}

.chip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    white-space: nowrap;
}

.chip-btn--ghost {
    border: 1px solid var(--line-hard);
    background: rgba(255, 255, 255, 0.03);
    color: var(--snow);
}

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

.chip-btn--solid {
    background: var(--lime);
    color: var(--lime-ink);
    border: 1px solid transparent;
}

.chip-btn--solid:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.nav-trigger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-hard);
    background: var(--panel-2);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.nav-trigger__bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--snow);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-trigger.is-open .nav-trigger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-trigger.is-open .nav-trigger__bar:nth-child(2) {
    opacity: 0;
}
.nav-trigger.is-open .nav-trigger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -- Horizontal rail under mast -- */
.rail-nav {
    position: sticky;
    top: var(--mast-h);
    z-index: 70;
    background: linear-gradient(180deg, #0e1117 0%, #0b0e14 100%);
    border-bottom: 1px solid var(--line);
}

.rail-list {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 12px;
    min-height: var(--rail-h);
    display: flex;
    align-items: stretch;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.rail-list::-webkit-scrollbar {
    display: none;
}

.rail-item {
    flex: 0 0 auto;
}

.rail-link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    min-height: var(--rail-h);
    padding: 0 14px;
    color: var(--mist);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.rail-link:hover,
.rail-link.is-current {
    color: var(--snow);
    border-bottom-color: var(--lime);
    background: rgba(182, 255, 59, 0.04);
}

.rail-ico {
    display: inline-flex;
    width: 22px;
    height: 22px;
    color: var(--lime);
    flex-shrink: 0;
}

.rail-glyph {
    width: 22px;
    height: 22px;
}

.rail-label {
    white-space: nowrap;
}

.veil-layer {
    display: none;
}

/* -- Page canvas -- */
.canvas-zone {
    max-width: var(--max);
    margin: 0 auto;
    padding: 22px 18px 48px;
}

.crumb-trail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--mist);
}

.crumb-trail__link:hover {
    color: var(--lime);
}

.crumb-trail__sep {
    opacity: 0.45;
}

/* -- Welcome slider frame -- */
.slide-deck {
    position: relative;
    margin-bottom: 28px;
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.slide-track {
    display: flex;
    width: 100%;
}

.slide-pane {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
}

.slide-pane picture,
.slide-pane__media {
    display: block;
    width: 100%;
}

.slide-pane__media {
    width: 100%;
    height: auto;
    aspect-ratio: 768 / 240;
    object-fit: contain;
    object-position: center;
    background: #0a0c10;
}

.slide-pane__copy {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px 22px 28px;
    padding-right: 72px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82) 55%);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 18px;
    z-index: 2;
}

.slide-pane__title {
    font-family: var(--font-display);
    font-size: clamp(16px, 2.4vw, 26px);
    font-weight: 700;
    line-height: 1.2;
    max-width: 640px;
}

.slide-pane__text {
    width: 100%;
    color: var(--lime);
    font-weight: 700;
    font-size: clamp(14px, 2vw, 20px);
    letter-spacing: 0.02em;
}

.slide-pane__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--lime-ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.slide-pane__cta:hover {
    filter: brightness(1.06);
}

.slide-dots {
    position: absolute;
    right: 16px;
    bottom: 14px;
    display: flex;
    gap: 6px;
    z-index: 1;
    pointer-events: none;
}

.slide-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.slide-dots span.is-on {
    background: var(--lime);
}

/* -- Game lanes -- */
.game-lane {
    margin-bottom: 34px;
}

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

.lane-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
}

.lane-more {
    color: var(--mist);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.lane-more:hover {
    color: var(--lime);
}

.reel-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(148px, 168px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.tile-card {
    scroll-snap-align: start;
    background: var(--panel-2);
    border: 1px solid var(--line-hard);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.tile-card:hover {
    border-color: rgba(182, 255, 59, 0.45);
    transform: translateY(-2px);
}

.tile-visual {
    position: relative;
    background: #0a0c10;
}

.tile-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 266 / 372;
    object-fit: contain;
    object-position: center;
    background: #0a0c10;
}

.tile-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88) 30%);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.tile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 0 10px;
}

.tile-btn--play {
    background: var(--lime);
    color: var(--lime-ink);
}

.tile-btn--demo {
    background: rgba(255, 255, 255, 0.1);
    color: var(--snow);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tile-btn:hover {
    filter: brightness(1.08);
}

.tile-name {
    padding: 10px 10px 12px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* -- Bonuses -- */
.canvas-zone--offers {
    padding-bottom: 36px;
}

.offer-grid-wrap {
    margin-top: 8px;
}

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

.offer-card {
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, #161c27 0%, #10151d 100%);
    border: 1px solid #2a3340;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.offer-card:hover {
    transform: translateY(-3px);
    border-color: rgba(182, 255, 59, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.offer-media {
    position: relative;
    overflow: hidden;
    background: #0c1016;
}

.offer-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 48px;
    background: linear-gradient(180deg, transparent, #10151d);
    pointer-events: none;
}

.offer-card img,
.offer-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.offer-card:hover .offer-media img {
    transform: scale(1.04);
}

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

.offer-badge {
    align-self: flex-start;
    display: inline-flex;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(182, 255, 59, 0.14);
    color: var(--lime);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.offer-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.offer-value {
    color: var(--lime);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(182, 255, 59, 0.08);
    border: 1px solid rgba(182, 255, 59, 0.16);
}

.offer-desc {
    color: #aeb8c7;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-terms {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #273041;
    font-size: 12px;
    color: #8591a3;
    line-height: 1.45;
}

/* -- SEO island -- */
.seo-island,
.text-content {
    max-width: 920px;
    margin: 28px auto 0;
    padding: 26px 22px 28px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 0%, rgba(182, 255, 59, 0.1), transparent 36%),
        linear-gradient(180deg, #121820 0%, #0c1016 100%);
    border: 1px solid rgba(182, 255, 59, 0.14);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.seo-island h1,
.text-content h1 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.seo-island h2,
.text-content h2 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 700;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--lime);
}

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

.seo-island p,
.text-content p {
    margin-bottom: 14px;
    color: #c9d2df;
    line-height: 1.65;
}

.seo-island img,
.text-content img {
    margin: 18px 0;
    border-radius: 14px;
    border: 1px solid #273041;
}

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

.seo-island a:hover,
.text-content a:hover {
    filter: brightness(1.08);
}

.seo-island ul,
.seo-island ol,
.text-content ul,
.text-content ol,
.list-container ul,
.list-container ol {
    margin: 16px 0;
    padding: 14px 18px 14px 34px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid #273041;
}

.seo-island ul,
.text-content ul,
.list-container ul {
    list-style: disc;
}

.seo-island ol,
.text-content ol,
.list-container ol {
    list-style: decimal;
}

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

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

.seo-island blockquote,
.text-content blockquote {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--lime);
    background: rgba(182, 255, 59, 0.06);
    border-radius: 0 14px 14px 0;
}

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

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

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

.seo-island th,
.text-content th,
.table-wrapper th {
    background: rgba(182, 255, 59, 0.08);
    color: var(--snow);
    font-weight: 700;
}

.faq-wrapper {
    margin: 18px 0;
}

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

.faq-question-block {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
}

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

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

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

.howto-step-item {
    counter-increment: step-counter;
    padding: 12px 0 12px 36px;
    position: relative;
    border-bottom: 1px solid var(--line-hard);
}

.howto-step-item:last-child {
    border-bottom: 0;
}

.howto-step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--lime-ink);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* -- App info -- */
.canvas-zone--app {
    padding-bottom: 40px;
}

.app-stage {
    position: relative;
    margin: 8px 0 28px;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 15% 0%, rgba(182, 255, 59, 0.18), transparent 42%),
        radial-gradient(circle at 90% 30%, rgba(90, 140, 255, 0.1), transparent 38%),
        linear-gradient(160deg, #131925 0%, #0b0f16 70%);
    border: 1px solid rgba(182, 255, 59, 0.2);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.app-stage__glow {
    position: absolute;
    width: 240px;
    height: 240px;
    right: -40px;
    top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 255, 59, 0.22), transparent 68%);
    pointer-events: none;
    animation: miss-pulse 4.2s ease-in-out infinite;
}

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

.app-info-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.app-info-table {
    width: 100%;
    min-width: 300px;
    border-collapse: separate;
    border-spacing: 0 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

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

.app-info-label-cell {
    width: 64px;
    padding: 14px 10px 14px 14px;
    text-align: center;
    color: var(--lime);
    background: #141a24;
    border: 1px solid #273041;
    border-right: 0;
    border-radius: 14px 0 0 14px;
    vertical-align: middle;
}

.app-info-value-cell {
    padding: 14px 16px;
    background: #141a24;
    border: 1px solid #273041;
    border-left: 0;
    border-radius: 0 14px 14px 0;
    vertical-align: middle;
    color: #dce3ee;
}

.app-info-row--app_name .app-info-label-cell,
.app-info-row--app_name .app-info-value-cell {
    background: linear-gradient(90deg, rgba(182, 255, 59, 0.12), #171d28 55%);
    border-color: rgba(182, 255, 59, 0.28);
}

.app-info-row--download_url .app-info-label-cell,
.app-info-row--download_url .app-info-value-cell {
    background: linear-gradient(90deg, #171d28, rgba(182, 255, 59, 0.1));
    border-color: rgba(182, 255, 59, 0.24);
}

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

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

.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: #0d1118;
    padding: 6px;
    border: 1px solid rgba(182, 255, 59, 0.2);
}

.app-name-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--snow);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--lime-ink);
    font-family: var(--font-display);
    font-weight: 700;
    box-shadow: 0 10px 26px rgba(182, 255, 59, 0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.app-download-link:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .app-stage {
        padding: 12px;
        border-radius: 18px;
    }

    .app-info-label-cell {
        width: 56px;
        padding: 12px 8px 12px 10px;
    }

    .app-info-label-wrapper {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .app-name-text {
        font-size: 16px;
    }
}

/* -- Footboard -- */
.footboard {
    margin-top: 48px;
    padding: 0;
    background:
        linear-gradient(180deg, rgba(182, 255, 59, 0.04) 0%, transparent 120px),
        #06080c;
    border-top: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}

.footboard::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
    opacity: 0.45;
}

.footboard__inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 18px 32px;
    position: relative;
    z-index: 1;
}

.footboard__cta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.foot-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 12px;
    background: #1a1f28;
    border: 1px solid #2a3340;
    color: var(--snow);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.foot-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(182, 255, 59, 0.45);
}

.foot-cta--primary {
    background: var(--lime);
    color: var(--lime-ink);
    border-color: transparent;
}

.foot-cta--primary:hover {
    background: #c8ff5e;
}

.foot-cta--accent {
    background: linear-gradient(135deg, #1d2614, #141a10);
    border-color: rgba(182, 255, 59, 0.35);
    color: var(--lime);
}

.footboard__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 18px 28px;
    margin-bottom: 22px;
    align-items: start;
}

.footboard__brand-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 4px 0;
}

.footboard__soc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.foot-soc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #141820;
    border: 1px solid #2a3340;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.foot-soc:hover {
    border-color: rgba(182, 255, 59, 0.4);
    background: #1a2116;
}

.foot-soc-img {
    max-height: 22px;
    width: auto;
}

.foot-panel {
    border-top: 1px solid #232a35;
    border-bottom: 1px solid #232a35;
    padding: 0;
}

.foot-panel + .foot-panel {
    border-top: none;
}

.foot-panel__sum {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--snow);
    user-select: none;
}

.foot-panel__sum::-webkit-details-marker {
    display: none;
}

.foot-panel__sum::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--mist);
    border-bottom: 2px solid var(--mist);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: -4px;
}

.foot-panel[open] > .foot-panel__sum::after {
    transform: rotate(-135deg);
    margin-top: 4px;
    border-color: var(--lime);
}

.footboard__links {
    padding: 0 0 14px;
}

.footboard__links li {
    margin-bottom: 2px;
}

.footboard__links a {
    display: block;
    color: var(--mist);
    font-size: 14px;
    padding: 7px 0;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.footboard__links a:hover,
.footboard__links a.is-current {
    color: var(--lime);
    padding-left: 4px;
}

.footboard__pay {
    margin: 8px 0 22px;
    padding: 18px 16px;
    border-radius: 16px;
    background: #10141c;
    border: 1px solid #232a35;
}

.footboard__pay-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 14px;
}

.foot-pay-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.foot-pay-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 44px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f4f6f8;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.foot-pay-chip img {
    max-height: 22px;
    width: auto;
    max-width: 64px;
    object-fit: contain;
}

.foot-pay-chip span {
    color: #111;
    font-size: 12px;
    font-weight: 700;
}

.footboard__base {
    padding-top: 20px;
    border-top: 1px solid #232a35;
    text-align: center;
}

.footboard__safe-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 12px;
}

.safe-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.safe-badge {
    max-width: 88px;
    height: auto;
    opacity: 0.92;
    transition: opacity 0.2s ease;
}

.safe-row a:hover .safe-badge {
    opacity: 1;
}

.footboard__legal {
    font-size: 12px;
    color: #aeb6c2;
    margin: 0 auto 8px;
    line-height: 1.5;
}

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

/* -- 404 -- */
.canvas-zone--miss {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--mast-h) - var(--rail-h) - 220px);
}

.miss-panel {
    position: relative;
    text-align: center;
    padding: 56px 22px 48px;
    max-width: 560px;
    margin: 24px auto;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(182, 255, 59, 0.16), transparent 42%),
        linear-gradient(180deg, #12171f 0%, #0b0e13 100%);
    border: 1px solid rgba(182, 255, 59, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.miss-panel__glow {
    position: absolute;
    width: 220px;
    height: 220px;
    left: 50%;
    top: -40px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 255, 59, 0.35), transparent 68%);
    filter: blur(8px);
    pointer-events: none;
    animation: miss-pulse 3.6s ease-in-out infinite;
}

.miss-panel__code {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(88px, 18vw, 140px);
    font-weight: 700;
    color: var(--lime);
    line-height: 0.9;
    margin-bottom: 18px;
    letter-spacing: -0.04em;
    text-shadow: 0 0 40px rgba(182, 255, 59, 0.35);
}

.miss-panel__title {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(18px, 3.4vw, 24px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.miss-panel__text {
    position: relative;
    color: var(--mist);
    margin: 0 auto 28px;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.6;
}

.miss-panel__btn {
    position: relative;
    min-height: 48px;
    padding: 0 28px;
    font-size: 14px;
    box-shadow: 0 10px 28px rgba(182, 255, 59, 0.28);
}

@keyframes miss-pulse {
    0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(0.92); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

/* -- Contact stage -- */
.canvas-zone--contact {
    padding-bottom: 48px;
}

.contact-stage {
    position: relative;
    max-width: 760px;
    margin: 12px auto 0;
    padding: 28px 22px 32px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(182, 255, 59, 0.18), transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(90, 140, 255, 0.1), transparent 36%),
        linear-gradient(180deg, #121820 0%, #0c1016 100%);
    border: 1px solid rgba(182, 255, 59, 0.2);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.contact-stage__beam {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
    opacity: 0.7;
    pointer-events: none;
}

.contact-stage .seo-island,
.contact-stage .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.contact-stage .text-content h1 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.contact-stage .text-content > p:first-of-type {
    font-size: 16px;
    color: #c5cedb;
    margin-bottom: 22px;
}

.contact-stage .text-content h2 {
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(182, 255, 59, 0.18);
    color: var(--snow);
}

.contact-stage .text-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(182, 255, 59, 0.12);
    color: var(--lime);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-stage .text-content h3 + p {
    margin: 0 0 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #273041;
}

.contact-stage .text-content a[href^="mailto"] {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--lime-ink);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(182, 255, 59, 0.25);
}

.contact-stage .text-content a[href^="mailto"]:hover {
    filter: brightness(1.05);
}

/* -- Legal / policy docs -- */
.canvas-zone--doc {
    padding-bottom: 48px;
}

.doc-stage {
    position: relative;
    max-width: 920px;
    margin: 8px auto 0;
    padding: 30px 24px 36px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 8% 0%, rgba(182, 255, 59, 0.14), transparent 34%),
        linear-gradient(180deg, #12171f 0%, #0b0e14 100%);
    border: 1px solid rgba(182, 255, 59, 0.16);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}

.doc-stage__beam {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lime), transparent);
    opacity: 0.65;
    pointer-events: none;
}

.doc-stage .seo-island,
.doc-stage .text-content {
    max-width: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.doc-stage .text-content h1 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.doc-stage .text-content > p:first-of-type {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(182, 255, 59, 0.07);
    border: 1px solid rgba(182, 255, 59, 0.14);
    color: #e2e8f0;
}

.doc-stage .text-content h2 {
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--lime);
}

.doc-stage .text-content h3 {
    color: var(--lime);
}

.doc-stage .list-container,
.doc-stage .text-content ul,
.doc-stage .text-content ol {
    padding: 14px 18px 14px 34px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid #273041;
}

.doc-stage .text-content li::marker {
    color: var(--lime);
}

@media (max-width: 768px) {
    .contact-stage,
    .doc-stage {
        padding: 22px 14px 26px;
        border-radius: 18px;
    }
}

/* -- Mobile -- */
@media (max-width: 992px) {
    .nav-trigger {
        display: inline-flex;
    }

    .rail-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 88vw);
        height: 100vh;
        z-index: 100;
        transform: translateX(100%);
        transition: transform 0.28s ease;
        border-bottom: 0;
        border-left: 1px solid var(--line);
        background: #0c0f15;
        overflow-y: auto;
        padding: 72px 0 24px;
    }

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

    .rail-list {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 0 10px;
        overflow: visible;
    }

    .rail-link {
        min-height: 52px;
        border-bottom: 0;
        border-radius: 12px;
        padding: 0 14px;
    }

    .rail-link.is-current {
        background: rgba(182, 255, 59, 0.1);
        border-bottom: 0;
    }

    .veil-layer {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(0, 0, 0, 0.62);
    }

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

    .chip-btn {
        min-height: 36px;
        padding: 0 10px;
        font-size: 11px;
    }

    .auth-cluster .chip-btn--ghost,
    .auth-cluster .chip-btn--solid {
        display: inline-flex;
    }

    .slide-pane__media {
        aspect-ratio: 1 / 1;
    }

    .slide-pane__copy {
        position: static;
        background: var(--panel-2);
        padding: 16px;
        padding-right: 16px;
        z-index: auto;
    }

    .slide-dots {
        position: static;
        justify-content: center;
        padding: 0 0 14px;
        background: var(--panel-2);
        pointer-events: auto;
        z-index: auto;
    }

    .reel-row {
        grid-auto-columns: minmax(132px, 46vw);
        gap: 10px;
    }

    .tile-actions {
        position: static;
        background: var(--panel);
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .mast-inner {
        padding: 0 10px;
        gap: 8px;
    }

    .auth-cluster {
        gap: 6px;
        min-width: 0;
    }

    .auth-cluster .chip-btn--ghost,
    .auth-cluster .chip-btn--solid {
        max-width: min(118px, 30vw);
        padding: 0 8px;
        font-size: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-trigger {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
    }

    .canvas-zone {
        padding: 16px 12px 36px;
    }

    .brand-mark img {
        height: 28px;
    }

    .slide-pane__title {
        font-size: 15px;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .slide-pane__text {
        font-size: 13px;
    }

    .tile-btn {
        font-size: 11px;
        min-height: 32px;
        padding: 0 8px;
    }

    .lane-title {
        font-size: 17px;
    }

    .seo-island,
    .text-content {
        padding: 18px 14px 20px;
        border-radius: 16px;
    }

    .contact-stage .seo-island,
    .contact-stage .text-content,
    .doc-stage .seo-island,
    .doc-stage .text-content {
        padding: 0;
        border-radius: 0;
    }

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

    .footboard__inner {
        padding: 22px 12px 28px;
    }

    .footboard__cta {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footboard__grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .footboard__brand-block {
        padding: 8px 0 12px;
        align-items: flex-start;
    }

    .foot-panel {
        border-radius: 0;
    }

    .footboard__pay {
        padding: 14px 12px;
    }

    .foot-pay-chip {
        min-width: 64px;
        min-height: 40px;
        padding: 6px 10px;
    }
}

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