@font-face {
    font-family: "SoraLocal";
    src: url("/ui/typefaces/sora-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SoraLocal";
    src: url("/ui/typefaces/sora-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "JakartaLocal";
    src: url("/ui/typefaces/jakarta-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "JakartaLocal";
    src: url("/ui/typefaces/jakarta-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --tone-deep: #071620;
    --tone-panel: #0c2430;
    --tone-line: #163544;
    --tone-ink: #ecf6f9;
    --tone-muted: #8aa3ad;
    --tone-mint: #00f5a8;
    --tone-mint-dark: #00c985;
    --tone-gold: #ffd54a;
    --tone-danger: #ff4d6a;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);
    --font-display: "SoraLocal", system-ui, sans-serif;
    --font-body: "JakartaLocal", system-ui, sans-serif;
    --dock-height: 68px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--tone-ink);
    background: radial-gradient(circle at top, #0f3140 0%, var(--tone-deep) 42%, #040c12 100%);
}

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

a {
    color: inherit;
}

button {
    font: inherit;
    cursor: pointer;
}

.site-chrome {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(7, 22, 32, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--tone-line);
}

.masthead-bar {
    padding: 4px 18px;
}

.masthead-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.brand-mark a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

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

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

.masthead-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex-shrink: 0;
}

.masthead-cta-group .btn-outline,
.masthead-cta-group .btn-solid {
    min-height: 36px;
    padding: 0 14px;
}

.btn-outline,
.btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-outline {
    border: 1px solid var(--tone-mint);
    color: var(--tone-ink);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(0, 245, 168, 0.08);
}

.btn-solid {
    border: 1px solid var(--tone-mint);
    background: linear-gradient(135deg, var(--tone-mint) 0%, var(--tone-mint-dark) 100%);
    color: #03140f;
    box-shadow: 0 8px 20px rgba(0, 245, 168, 0.22);
}

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

.route-strip {
    border-top: 1px solid rgba(22, 53, 68, 0.65);
}

.route-strip-scroll {
    max-width: 1320px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
}

.route-strip-scroll::-webkit-scrollbar {
    display: none;
}

.route-strip-list {
    list-style: none;
    margin: 0;
    padding: 0 12px;
    display: flex;
    align-items: stretch;
    gap: 2px;
    min-width: max-content;
}

.route-strip-item {
    position: relative;
}

.route-strip-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--tone-muted);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.route-strip-link:hover,
.route-strip-link.is-current {
    color: var(--tone-mint);
    border-bottom-color: var(--tone-mint);
    background: rgba(0, 245, 168, 0.05);
}

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

.route-glyph svg {
    width: 100%;
    height: 100%;
    display: block;
}

.page-canvas {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 18px calc(var(--dock-height) + 28px);
}

.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 0.82rem;
    color: var(--tone-muted);
}

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

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

.breadcrumb-divider {
    opacity: 0.55;
}

.hero-carousel {
    position: relative;
    margin-bottom: 22px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--tone-panel);
    box-shadow: var(--shadow-soft);
}

.hero-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 768 / 240;
    background: #081820;
}

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

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
}

.hero-slide picture,
.hero-slide img {
    width: 100%;
    height: 100%;
}

.hero-slide img {
    object-fit: contain;
    object-position: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(4, 12, 18, 0.88) 100%);
}

.hero-slide-title {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-slide-text {
    margin: 0 0 12px;
    color: var(--tone-muted);
    font-size: 0.92rem;
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    background: var(--tone-mint);
    color: #03140f;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 245, 168, 0.35);
    border-radius: 50%;
    background: rgba(7, 22, 32, 0.72);
    color: var(--tone-mint);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-nav[disabled] {
    opacity: 0.35;
    cursor: default;
}

.hero-nav-prev {
    left: 10px;
}

.hero-nav-next {
    right: 10px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    padding: 0;
}

.hero-dot.is-active {
    background: var(--tone-mint);
    transform: scale(1.15);
}

.game-section,
.bonuses-section,
.payment-methods-section {
    margin-bottom: 28px;
}

.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.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.show-all-btn {
    color: var(--tone-mint);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.games-carousel {
    position: relative;
}

.games-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 180px);
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.game-card {
    scroll-snap-align: start;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--tone-panel);
    border: 1px solid var(--tone-line);
}

.game-image-wrapper {
    position: relative;
    aspect-ratio: 264 / 369;
    display: block;
    background: linear-gradient(180deg, #102a36 0%, #081820 100%);
    overflow: hidden;
}

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

.game-actions {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.game-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.game-action-btn--primary {
    background: var(--tone-mint);
    color: #03140f;
}

.game-action-btn--ghost {
    background: rgba(7, 22, 32, 0.82);
    color: var(--tone-ink);
    border: 1px solid rgba(0, 245, 168, 0.45);
}

.game-title {
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

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

.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(12, 36, 48, 0.95) 0%, rgba(8, 24, 32, 0.98) 100%);
    border: 1px solid rgba(0, 245, 168, 0.12);
    border-radius: calc(var(--radius-md) + 2px);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 245, 168, 0.28);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 245, 168, 0.08) inset;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tone-mint), rgba(0, 245, 168, 0.1));
}

.bonus-image-wrapper {
    background: radial-gradient(circle at 50% 20%, rgba(0, 245, 168, 0.08), transparent 60%), var(--tone-deep);
    padding: 12px 12px 0;
}

.bonus-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 190px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
}

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

.bonus-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
}

.bonus-description {
    margin: 0;
    color: var(--tone-muted);
    font-size: 0.875rem;
    line-height: 1.65;
    flex: 1;
}

.bonus-value {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 245, 168, 0.1);
    border: 1px solid rgba(0, 245, 168, 0.22);
    color: var(--tone-mint);
    font-weight: 700;
    font-size: 0.875rem;
}

.bonus-category-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 0.625rem;
    font-weight: 700;
    background: rgba(7, 22, 32, 0.85);
    color: var(--tone-mint);
    border: 1px solid rgba(0, 245, 168, 0.18);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.bonus-terms {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 245, 168, 0.15);
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--tone-muted);
}

.text-content {
    max-width: 860px;
    margin: 40px auto 0;
    padding: 30px 28px 34px;
    background: linear-gradient(180deg, rgba(12, 36, 48, 0.98) 0%, rgba(8, 24, 32, 0.96) 100%);
    border: 1px solid rgba(0, 245, 168, 0.1);
    border-radius: calc(var(--radius-md) + 2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
    position: relative;
    overflow: hidden;
}

.text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tone-mint), rgba(0, 245, 168, 0.12), transparent);
}

.text-content h1 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 3.5vw, 1.85rem);
    font-weight: 700;
    margin: 0 0 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 245, 168, 0.1);
    line-height: 1.35;
}

.text-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 2.5vw, 1.28rem);
    font-weight: 700;
    margin: 34px 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--tone-mint);
    line-height: 1.35;
}

.text-content h3 {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--tone-mint);
    line-height: 1.35;
}

.text-content p {
    margin: 0 0 15px;
    color: var(--tone-muted);
    line-height: 1.75;
}

.text-content a {
    color: var(--tone-mint);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 245, 168, 0.45);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.text-content a:hover {
    color: #7dffca;
    text-decoration-color: rgba(125, 255, 202, 0.8);
}

.text-content img {
    margin: 18px auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(22, 53, 68, 0.75);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--tone-line);
}

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

.text-content th,
.text-content td,
.app-info-label-cell,
.app-info-value-cell {
    padding: 11px 14px;
    border-bottom: 1px solid var(--tone-line);
    text-align: left;
}

.text-content th {
    background: rgba(0, 245, 168, 0.08);
    font-weight: 700;
}

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

.text-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 3px solid var(--tone-mint);
    background: rgba(0, 245, 168, 0.06);
    color: var(--tone-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.text-content .list-container {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(12, 36, 48, 0.45);
    border: 1px solid rgba(22, 53, 68, 0.75);
}

.text-content .list-container li {
    margin-bottom: 8px;
    color: var(--tone-muted);
}

.text-content .list-container li::marker {
    color: var(--tone-mint);
}

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

.faq-item-block {
    border: 1px solid rgba(22, 53, 68, 0.85);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(7, 22, 32, 0.45);
    transition: border-color 0.2s;
}

.faq-item-block:hover {
    border-color: rgba(0, 245, 168, 0.22);
}

.faq-question-block {
    padding: 14px 16px;
    background: rgba(12, 36, 48, 0.65);
}

.faq-question-block strong {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.faq-answer-block {
    padding: 14px 16px 16px;
    color: var(--tone-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.howto-wrapper {
    margin: 22px 0;
    padding: 18px;
    background: rgba(12, 36, 48, 0.55);
    border: 1px solid rgba(0, 245, 168, 0.12);
    border-radius: var(--radius-md);
}

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

.howto-step-item {
    counter-increment: step-counter;
    padding: 14px 14px 14px 16px;
    margin-bottom: 10px;
    background: rgba(8, 24, 32, 0.85);
    border-left: 3px solid var(--tone-mint);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.howto-step-item::before {
    content: counter(step-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(0, 245, 168, 0.12);
    border: 1px solid rgba(0, 245, 168, 0.25);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--tone-mint);
    vertical-align: middle;
}

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

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

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

.payment-method-card {
    border-radius: var(--radius-sm);
    border: 1px solid var(--tone-line);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    text-align: center;
}

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

.payment-method-name {
    font-size: 0.72rem;
    color: var(--tone-muted);
}

.app-info-table-wrapper {
    margin: 24px 0 32px;
    position: relative;
}

.app-info-table-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-md) + 4px);
    background: linear-gradient(135deg, rgba(0, 245, 168, 0.35), rgba(0, 245, 168, 0.03) 55%, transparent);
    z-index: 0;
    pointer-events: none;
}

.app-info-table-container {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 245, 168, 0.16);
    border-radius: calc(var(--radius-md) + 2px);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(12, 36, 48, 0.98) 0%, rgba(8, 24, 32, 0.96) 100%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.app-info-table-container .table-wrapper {
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
}

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

.app-info-row {
    border-bottom: 1px solid rgba(22, 53, 68, 0.75);
    transition: background 0.2s;
}

.app-info-row:hover {
    background: rgba(12, 36, 48, 0.45);
}

.app-info-row:first-child {
    background: linear-gradient(90deg, rgba(0, 245, 168, 0.1) 0%, rgba(0, 245, 168, 0.02) 100%);
}

.app-info-row:first-child:hover {
    background: linear-gradient(90deg, rgba(0, 245, 168, 0.14) 0%, rgba(0, 245, 168, 0.04) 100%);
}

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

.app-info-label-cell,
.app-info-value-cell {
    padding: 16px 18px;
    vertical-align: middle;
}

.app-info-label-cell {
    width: 62px;
    text-align: center;
    background: rgba(7, 22, 32, 0.55);
}

.app-info-label-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(0, 245, 168, 0.08);
    border: 1px solid rgba(0, 245, 168, 0.18);
    box-shadow: inset 0 0 0 1px rgba(0, 245, 168, 0.05);
}

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

.app-info-value-cell {
    color: var(--tone-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.app-info-row:first-child .app-info-value-cell {
    font-size: 1rem;
}

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

.app-name-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    padding: 6px;
    background: rgba(7, 22, 32, 0.8);
    border: 1px solid rgba(0, 245, 168, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

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

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 11px 22px;
    background: var(--tone-mint);
    color: #03140f;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 245, 168, 0.24);
    transition: transform 0.2s, box-shadow 0.2s;
}

.app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 245, 168, 0.32);
}

.site-footer {
    margin-top: 48px;
    background: linear-gradient(180deg, #081824 0%, #050d14 100%);
    border-top: 1px solid var(--tone-line);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 90%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--tone-mint), transparent);
    opacity: 0.45;
}

.footer-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 20px 28px;
}

.footer-quick-nav {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(22, 53, 68, 0.65);
}

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

.footer-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 245, 168, 0.18);
    background: rgba(12, 36, 48, 0.55);
    color: var(--tone-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.footer-quick-link:hover {
    border-color: rgba(0, 245, 168, 0.45);
    background: rgba(12, 36, 48, 0.9);
    color: var(--tone-mint);
    transform: translateY(-1px);
}

.footer-quick-icon {
    width: 18px;
    height: 18px;
    color: var(--tone-mint);
    flex-shrink: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(160px, 1.1fr) repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px 32px;
    margin-bottom: 32px;
}

.footer-brand-col {
    display: flex;
    align-items: flex-start;
}

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

.footer-brand-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 245, 168, 0.15));
}

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

.footer-section-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tone-mint);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    color: var(--tone-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

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

.footer-payments {
    margin-bottom: 28px;
    padding: 22px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(22, 53, 68, 0.8);
    background: rgba(10, 22, 32, 0.72);
}

.footer-payments-head {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tone-muted);
    text-align: center;
    margin-bottom: 16px;
}

.footer-payments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
}

.footer-pay-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(22, 53, 68, 0.75);
    background: rgba(12, 36, 48, 0.65);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.footer-pay-tile:hover {
    border-color: rgba(0, 245, 168, 0.35);
    background: rgba(12, 36, 48, 0.95);
    transform: translateY(-2px);
}

.footer-pay-logo {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}

.footer-pay-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tone-muted);
}

.footer-social-zone {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(22, 53, 68, 0.65);
}

.footer-social-head {
    font-size: 0.8125rem;
    color: var(--tone-muted);
    margin-bottom: 14px;
}

.footer-social-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 245, 168, 0.22);
    background: rgba(12, 36, 48, 0.8);
    color: var(--tone-ink);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.footer-social-btn:hover {
    border-color: var(--tone-mint);
    background: rgba(0, 245, 168, 0.12);
    color: var(--tone-mint);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 245, 168, 0.15);
}

.footer-social-svg {
    width: 20px;
    height: 20px;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 4px;
}

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

.safe-image {
    max-height: 42px;
    width: auto;
    opacity: 0.88;
    transition: opacity 0.2s, transform 0.2s;
}

.safe-image:hover {
    opacity: 1;
    transform: scale(1.04);
}

.footer-disclaimer {
    max-width: 760px;
    margin: 0 auto 10px;
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--tone-ink);
    font-weight: 600;
}

.footer-copy {
    margin: 0;
    font-size: 0.78rem;
    color: var(--tone-muted);
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100%;
    z-index: 1100;
    background: linear-gradient(180deg, #0b2733 0%, #071620 100%);
    border-right: 1px solid var(--tone-line);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    padding: 9px 0 calc(var(--dock-height) + 16px);
}

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

.drawer-brand {
    padding: 0 18px 12px;
    border-bottom: 1px solid var(--tone-line);
    margin-bottom: 8px;
}

.drawer-brand a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.drawer-brand img {
    width: auto;
    height: 56px;
    max-height: 56px;
    object-fit: contain;
}

.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.drawer-menu-link.is-current,
.drawer-menu-link:hover {
    background: rgba(0, 245, 168, 0.08);
    border-left-color: var(--tone-mint);
    color: var(--tone-mint);
}

.viewport-shade {
    position: fixed;
    inset: 0;
    background: rgba(2, 8, 12, 0.62);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 1050;
}

.viewport-shade.is-visible {
    opacity: 1;
    visibility: visible;
}

.dock-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: space-around;
    gap: 4px;
    min-height: var(--dock-height);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(5, 15, 22, 0.96);
    border-top: 1px solid var(--tone-line);
    backdrop-filter: blur(12px);
}

.dock-cell {
    flex: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    padding: 4px 2px;
    border: 0;
    background: transparent;
    color: var(--tone-muted);
    text-decoration: none;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dock-cell svg {
    width: 22px;
    height: 22px;
}

.dock-cell.is-active,
.dock-cell:hover {
    color: var(--tone-mint);
}

.dock-menu-trigger {
    order: -1;
}

.dock-cta-center {
    position: relative;
    top: -14px;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tone-mint), var(--tone-mint-dark));
    color: #03140f;
    box-shadow: 0 10px 24px rgba(0, 245, 168, 0.28);
}

.dock-cta-center svg {
    width: 26px;
    height: 26px;
}

.error-panel {
    position: relative;
    text-align: center;
    padding: clamp(56px, 12vw, 110px) 20px;
    min-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.error-panel::before {
    content: '';
    position: absolute;
    inset: 8% 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 168, 0.16) 0%, rgba(0, 245, 168, 0.04) 42%, transparent 72%);
    z-index: -1;
    pointer-events: none;
}

.error-panel::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(420px, 78vw);
    height: min(420px, 78vw);
    transform: translate(-50%, -54%);
    border-radius: 50%;
    border: 1px solid rgba(0, 245, 168, 0.14);
    box-shadow: 0 0 0 1px rgba(0, 245, 168, 0.06) inset;
    z-index: -1;
    pointer-events: none;
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 18vw, 7.5rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, var(--tone-mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(0, 245, 168, 0.35));
    letter-spacing: -0.04em;
}

.error-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    font-weight: 700;
    margin-bottom: 12px;
    max-width: 520px;
}

.error-text {
    color: var(--tone-muted);
    margin-bottom: 30px;
    max-width: 420px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.error-panel .btn-solid {
    min-width: 210px;
    padding: 12px 26px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 245, 168, 0.22);
}

.error-panel .btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 245, 168, 0.32);
}

.page-help-center .text-content {
    max-width: 720px;
    margin: 24px auto 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.page-help-center .text-content h1 {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, var(--tone-mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-help-center .text-content h1 + p {
    text-align: center;
    font-size: 1rem;
    color: var(--tone-muted);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 245, 168, 0.12);
}

.page-help-center .text-content h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 245, 168, 0.08);
    border: 1px solid rgba(0, 245, 168, 0.2);
    color: var(--tone-mint);
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-help-center .text-content h3 {
    margin: 14px 0 0;
    padding: 16px 18px 8px;
    background: linear-gradient(180deg, rgba(12, 36, 48, 0.95) 0%, rgba(10, 30, 40, 0.9) 100%);
    border: 1px solid rgba(22, 53, 68, 0.85);
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    font-size: 1rem;
}

.page-help-center .text-content h3 + p {
    margin: 0 0 14px;
    padding: 0 18px 16px;
    background: linear-gradient(180deg, rgba(10, 30, 40, 0.9) 0%, rgba(8, 24, 32, 0.85) 100%);
    border: 1px solid rgba(22, 53, 68, 0.85);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.page-help-center .text-content h3::before {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--tone-mint), rgba(0, 245, 168, 0.15));
}

.page-help-center .text-content a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--tone-mint);
    color: #03140f;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0, 245, 168, 0.22);
    transition: transform 0.2s, box-shadow 0.2s;
}

.page-help-center .text-content a[href^="mailto:"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 245, 168, 0.3);
}

.page-legal .text-content {
    max-width: 820px;
    margin: 24px auto 0;
    padding: 28px 26px 32px;
    background: linear-gradient(180deg, rgba(12, 36, 48, 0.98) 0%, rgba(8, 24, 32, 0.96) 100%);
    border: 1px solid rgba(0, 245, 168, 0.12);
    border-radius: calc(var(--radius-md) + 2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
}

.page-legal .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tone-mint), rgba(0, 245, 168, 0.15), transparent);
}

.page-legal .text-content h1 {
    text-align: center;
    font-size: clamp(1.55rem, 3.8vw, 2.1rem);
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 245, 168, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, var(--tone-mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-legal .text-content h2 {
    display: inline-flex;
    margin: 30px 0 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 245, 168, 0.08);
    border: 1px solid rgba(0, 245, 168, 0.18);
    color: var(--tone-mint);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.page-legal .text-content h3 {
    margin: 22px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--tone-mint);
}

.page-legal .text-content p {
    color: var(--tone-muted);
    line-height: 1.75;
}

.page-legal .text-content .list-container {
    margin: 12px 0 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: rgba(12, 36, 48, 0.55);
    border: 1px solid rgba(22, 53, 68, 0.75);
}

.page-legal .text-content .list-container ul,
.page-legal .text-content .list-container ol {
    margin: 0;
    padding-left: 20px;
}

.page-legal .text-content .list-container li {
    margin-bottom: 8px;
    color: var(--tone-muted);
}

.page-legal .text-content .list-container li::marker {
    color: var(--tone-mint);
}

.page-legal .text-content .table-wrapper {
    border-color: rgba(0, 245, 168, 0.15);
    box-shadow: inset 0 0 0 1px rgba(0, 245, 168, 0.05);
}

.page-legal .text-content blockquote {
    border-left-color: var(--tone-mint);
    background: rgba(0, 245, 168, 0.06);
}

@media (max-width: 992px) {
    .route-strip {
        display: none;
    }

    .dock-bar {
        display: flex;
    }

    .dock-cell > span:not(.route-glyph) {
        display: none;
    }

    .dock-cell {
        gap: 0;
    }

    :root {
        --dock-height: 52px;
    }

    .page-canvas {
        padding-bottom: calc(var(--dock-height) + 34px);
    }
}

@media (max-width: 768px) {
    .masthead-bar {
        padding: 4px 14px;
    }

    .brand-mark img {
        height: 40px;
        max-height: 40px;
    }

    .masthead-cta-group .btn-outline,
    .masthead-cta-group .btn-solid {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.68rem;
    }

    .masthead-cta-group {
        gap: 8px;
        flex-shrink: 1;
        min-width: 0;
    }

    .btn-outline,
    .btn-solid {
        min-height: 36px;
        padding: 0 12px;
        font-size: 0.72rem;
        white-space: nowrap;
    }

    .brand-mark-text {
        display: none;
    }

    .hero-viewport {
        aspect-ratio: 1 / 1;
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-slide-overlay {
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .hero-slide-btn {
        min-height: 42px;
        width: 100%;
        max-width: 280px;
    }

    .hero-nav {
        width: 32px;
        height: 32px;
    }

    .games-grid {
        grid-auto-columns: minmax(132px, 150px);
    }

    .text-content {
        padding: 16px;
    }

    .footer-shell {
        padding: 28px 16px 22px;
    }

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

    .footer-quick-list {
        flex-direction: column;
        align-items: center;
    }

    .footer-quick-link {
        width: min(100%, 280px);
        justify-content: center;
    }

    .footer-payments {
        padding: 18px 12px;
    }

    .footer-payments-grid {
        grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
        gap: 8px;
    }

    .app-info-label-cell,
    .app-info-value-cell {
        padding: 14px 12px;
    }

    .app-name-with-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (min-width: 993px) {
    .nav-drawer,
    .viewport-shade,
    .dock-bar {
        display: none !important;
    }
}
