/* kult surface layer - layout tokens */
@font-face {
    font-family: "ManropeLocal";
    src: url("/static/k7m/fonts/manrope-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ManropeLocal";
    src: url("/static/k7m/fonts/manrope-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ManropeLocal";
    src: url("/static/k7m/fonts/manrope-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SoraLocal";
    src: url("/static/k7m/fonts/sora-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --k-bg: #0e0d14;
    --k-surface: #161522;
    --k-elevated: #1e1c2e;
    --k-border: rgba(255, 255, 255, 0.08);
    --k-text: #eef0f6;
    --k-muted: #9a96ad;
    --k-mint: #7dffb4;
    --k-mint-dim: rgba(125, 255, 180, 0.14);
    --k-cyan: #5ec4ff;
    --k-radius: 14px;
    --k-radius-sm: 10px;
    --k-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    --k-font: "ManropeLocal", system-ui, sans-serif;
    --k-display: "SoraLocal", "ManropeLocal", sans-serif;
    --k-banner-ratio: 768 / 243;
    --k-banner-ratio-m: 1 / 1;
    --k-slot-ratio: 253 / 354;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--k-font);
    line-height: 1.55;
    color: var(--k-text);
    background: var(--k-bg);
    min-height: 100vh;
}

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

a {
    color: inherit;
}

/* --- masthead (a) --- */
.site-masthead {
    position: sticky;
    top: 0;
    z-index: 900;
    background: linear-gradient(180deg, #12101c 0%, var(--k-bg) 100%);
    border-bottom: 1px solid var(--k-border);
    backdrop-filter: blur(12px);
}

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

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

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

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

.masthead-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.action-ghost,
.action-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.action-ghost {
    border: 1px solid rgba(125, 255, 180, 0.45);
    color: var(--k-mint);
    background: transparent;
}

.action-ghost:hover {
    background: var(--k-mint-dim);
}

.action-solid {
    border: none;
    background: var(--k-mint);
    color: #0a0a12;
    box-shadow: 0 4px 20px rgba(125, 255, 180, 0.25);
}

.action-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(125, 255, 180, 0.35);
}

@keyframes masthead-ghost-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(125, 255, 180, 0.35);
        border-color: rgba(125, 255, 180, 0.45);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(125, 255, 180, 0);
        border-color: rgba(125, 255, 180, 0.85);
    }
}

@keyframes masthead-solid-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(125, 255, 180, 0.25), 0 0 0 0 rgba(125, 255, 180, 0.45);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 26px rgba(125, 255, 180, 0.45), 0 0 0 10px rgba(125, 255, 180, 0);
        transform: scale(1.03);
    }
}

.masthead-actions .action-ghost {
    animation: masthead-ghost-pulse 2.4s ease-in-out infinite;
}

.masthead-actions .action-solid {
    animation: masthead-solid-pulse 2.4s ease-in-out infinite;
    animation-delay: 0.35s;
}

.masthead-actions .action-ghost:hover,
.masthead-actions .action-solid:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .masthead-actions .action-ghost,
    .masthead-actions .action-solid {
        animation: none;
    }
}

.primary-rail {
    border-top: 1px solid var(--k-border);
    background: rgba(22, 21, 34, 0.6);
}

.primary-rail-list {
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 6px 12px 10px;
}

.primary-rail-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    border-radius: var(--k-radius-sm);
    text-decoration: none;
    color: var(--k-muted);
    font-size: 0.72rem;
    font-weight: 600;
    transition: color 0.15s, background 0.15s;
    min-width: 72px;
}

.primary-rail-link:hover,
.primary-rail-link.is-active {
    color: var(--k-mint);
    background: var(--k-mint-dim);
}

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

.primary-rail-label {
    text-align: center;
    line-height: 1.2;
}

/* --- dock drawer (b) --- */
.dock-trigger {
    display: none;
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1100;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(125, 255, 180, 0.35);
    border-radius: 16px;
    background: var(--k-elevated);
    box-shadow: var(--k-shadow);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}

.dock-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--k-mint);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.dock-trigger[aria-expanded="true"] .dock-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.dock-trigger[aria-expanded="true"] .dock-bar:nth-child(2) {
    opacity: 0;
}

.dock-trigger[aria-expanded="true"] .dock-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.dock-scrim {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(6, 5, 12, 0.72);
    backdrop-filter: blur(3px);
}

.dock-scrim.is-visible {
    display: block;
}

.dock-panel {
    position: fixed;
    left: 0;
    bottom: 0;
    top: 0;
    z-index: 1080;
    width: min(288px, 86vw);
    background: var(--k-surface);
    border-right: 1px solid var(--k-border);
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 24px 16px 88px;
}

.dock-panel.is-open {
    transform: translateX(0);
}

.dock-nav-list {
    list-style: none;
}

.dock-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: var(--k-radius-sm);
    text-decoration: none;
    color: var(--k-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.dock-nav-link:hover,
.dock-nav-link.is-active {
    color: var(--k-mint);
    background: var(--k-mint-dim);
}

/* --- page shell --- */
.page-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 16px 20px 48px;
}

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

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

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

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

/* --- hero slider (ф) --- */
.hero-slider {
    position: relative;
    margin-bottom: 22px;
    border-radius: var(--k-radius);
    overflow: hidden;
    background: var(--k-elevated);
    border: 1px solid var(--k-border);
}

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

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

.hero-visual {
    position: relative;
    aspect-ratio: var(--k-banner-ratio);
    background: var(--k-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 28px;
    background: linear-gradient(90deg, transparent 20%, rgba(14, 13, 20, 0.82) 55%);
    text-align: right;
    pointer-events: none;
}

.hero-caption > * {
    pointer-events: auto;
}

.hero-title {
    font-family: var(--k-display);
    font-size: clamp(1rem, 2.2vw, 1.45rem);
    font-weight: 700;
    margin-bottom: 6px;
    max-width: 420px;
}

.hero-sub {
    color: var(--k-muted);
    font-size: 0.875rem;
    margin-bottom: 14px;
    max-width: 380px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--k-mint);
    color: #0a0a12;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    box-shadow: 0 4px 22px rgba(125, 255, 180, 0.3);
    transition: transform 0.15s;
}

.hero-cta:hover {
    transform: translateY(-1px);
}

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

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

.hero-dot.is-current {
    background: var(--k-mint);
    width: 22px;
    border-radius: 999px;
}

/* --- game rows (ц) --- */
.game-section {
    margin-bottom: 32px;
}

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

.section-title {
    font-family: var(--k-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.show-all-btn {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--k-border);
    text-decoration: none;
    color: var(--k-muted);
    font-size: 0.78rem;
    font-weight: 600;
    transition: color 0.15s, border-color 0.15s;
}

.show-all-btn:hover {
    color: var(--k-mint);
    border-color: rgba(125, 255, 180, 0.4);
}

.games-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--k-mint-dim) transparent;
}

.games-grid {
    display: flex;
    gap: 14px;
    padding-bottom: 4px;
}

.game-card {
    flex: 0 0 148px;
    border-radius: var(--k-radius-sm);
    background: var(--k-surface);
    border: 1px solid var(--k-border);
    overflow: hidden;
}

.game-image-wrapper {
    position: relative;
    aspect-ratio: var(--k-slot-ratio);
    background: #0a0910;
}

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

.game-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(8, 7, 14, 0.72);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.game-card:hover .game-overlay,
.game-card:focus-within .game-overlay {
    opacity: 1;
}

.game-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s;
}

.game-action:hover {
    transform: scale(1.04);
}

.game-action--play {
    background: var(--k-mint);
    color: #0a0a12;
}

.game-action--demo {
    background: transparent;
    color: var(--k-text);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.game-title {
    padding: 10px 8px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--k-muted);
    line-height: 1.25;
}

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

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

.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--k-radius);
    background:
        radial-gradient(circle at 100% 0%, rgba(125, 255, 180, 0.08) 0%, transparent 42%),
        linear-gradient(165deg, rgba(94, 196, 255, 0.1) 0%, rgba(22, 21, 34, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bonus-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--k-mint), var(--k-cyan));
    opacity: 0.75;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(125, 255, 180, 0.35);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.bonus-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.22);
}

.bonus-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

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

.bonus-name {
    font-family: var(--k-display);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

.bonus-description {
    color: var(--k-muted);
    font-size: 0.84rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.bonus-value {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: var(--k-radius-sm);
    background: var(--k-mint);
    color: #0a0a12;
    font-family: var(--k-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 16px rgba(125, 255, 180, 0.22);
    margin-bottom: 0;
}

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

.bonus-category-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(94, 196, 255, 0.12);
    border: 1px solid rgba(94, 196, 255, 0.28);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--k-cyan);
}

.bonus-terms {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
    color: var(--k-muted);
    line-height: 1.45;
}

/* --- SEO text block (р) --- */
.text-content {
    max-width: 920px;
    margin: 32px auto 0;
    padding: 28px 26px;
    background:
        radial-gradient(circle at 100% 0%, rgba(125, 255, 180, 0.06) 0%, transparent 42%),
        rgba(255, 255, 255, 0.02);
    border-radius: var(--k-radius);
    border: 1px solid var(--k-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.text-content h1 {
    font-family: var(--k-display);
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--k-border);
    color: var(--k-text);
}

.text-content h2 {
    font-family: var(--k-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--k-mint);
}

.text-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 22px 0 10px;
    color: var(--k-mint);
}

.text-content p {
    margin-bottom: 14px;
    color: var(--k-muted);
    line-height: 1.65;
    font-size: 0.94rem;
}

.text-content img {
    border-radius: var(--k-radius-sm);
    margin: 18px 0;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: var(--k-radius-sm);
    border: 1px solid var(--k-border);
}

.text-content table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.text-content th,
.text-content td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--k-border);
    text-align: left;
    font-size: 0.875rem;
}

.text-content th {
    background: var(--k-elevated);
    font-weight: 700;
    white-space: nowrap;
}

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

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

.text-content a {
    color: var(--k-mint);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.18s ease;
}

.text-content a:hover {
    color: var(--k-cyan);
}

.text-content blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    border-left: 3px solid var(--k-mint);
    background: var(--k-mint-dim);
    border-radius: 0 var(--k-radius-sm) var(--k-radius-sm) 0;
    color: var(--k-muted);
}

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

.page-shell--contact .text-content,
.page-shell--legal .text-content {
    box-shadow: none;
}

.bonuses-section + .text-content {
    margin-top: 8px;
}

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

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

.faq-question-block {
    padding: 14px 16px;
    border-bottom: 1px solid var(--k-border);
}

.faq-question-block strong {
    font-size: 0.9375rem;
}

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

.howto-wrapper {
    margin: 18px 0;
    padding: 18px;
    background: var(--k-elevated);
    border-radius: var(--k-radius-sm);
    border: 1px solid var(--k-border);
}

.howto-steps-list {
    list-style: none;
}

.howto-step-item {
    padding: 14px;
    margin-bottom: 8px;
    background: var(--k-surface);
    border-radius: var(--k-radius-sm);
    border-left: 3px solid var(--k-mint);
}

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

/* --- payments --- */
.payment-methods-section {
    margin: 36px 0 12px;
}

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

.payment-method-card {
    border-radius: var(--k-radius-sm);
    border: 1px solid var(--k-border);
    padding: 14px;
    text-align: center;
    background: var(--k-surface);
}

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

.payment-method-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--k-muted);
}

/* --- footer --- */
.site-footer {
    position: relative;
    margin-top: 48px;
    background:
        radial-gradient(ellipse 80% 55% at 50% 0%, rgba(125, 255, 180, 0.08) 0%, transparent 58%),
        linear-gradient(180deg, #12101c 0%, var(--k-bg) 100%);
    border-top: 1px solid var(--k-border);
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--k-mint) 0%, var(--k-cyan) 50%, var(--k-mint) 100%);
    opacity: 0.9;
}

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

.footer-paydeck {
    margin-bottom: 28px;
    padding: 18px 18px 16px;
    border-radius: var(--k-radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--k-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-paydeck-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-paydeck-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--k-mint), #3dd68c);
    position: relative;
    flex-shrink: 0;
}

.footer-paydeck-icon::before {
    content: "";
    position: absolute;
    inset: 7px 6px 6px 7px;
    border: 1.5px solid rgba(10, 10, 18, 0.55);
    border-radius: 3px;
}

.footer-paydeck-icon::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: 11px;
    height: 2px;
    background: rgba(10, 10, 18, 0.35);
    border-radius: 2px;
}

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

.footer-paytile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: var(--k-radius-sm);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.footer-paytile:hover {
    border-color: rgba(125, 255, 180, 0.35);
    background: var(--k-mint-dim);
    transform: translateY(-2px);
}

.footer-paytile-image {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.footer-paytile-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--k-muted);
}

.footer-masthead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--k-border);
}

.footer-brand-img {
    height: 43.2px;
    width: auto;
}

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

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

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

.footer-btn-primary {
    color: #0a0a12;
    background: var(--k-mint);
    box-shadow: 0 8px 18px rgba(125, 255, 180, 0.22);
}

.footer-btn-ghost {
    color: var(--k-text);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

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

.footer-btn-accent {
    color: #0a0a12;
    background: linear-gradient(180deg, var(--k-cyan), #3a9fd4);
    box-shadow: 0 8px 18px rgba(94, 196, 255, 0.22);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.footer-panel {
    padding: 16px 16px 14px;
    border-radius: var(--k-radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--k-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--k-text);
}

.footer-title-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--k-mint);
    box-shadow: 0 0 8px rgba(125, 255, 180, 0.55);
    flex-shrink: 0;
}

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

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

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

.footer-links a::before {
    content: "";
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--k-mint);
    transition: width 0.18s ease;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--k-text);
    padding-left: 2px;
}

.footer-links a:hover::before,
.footer-links a.active::before {
    width: 10px;
}

.footer-social-link {
    display: inline-flex !important;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--k-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--k-border);
}

.footer-social-link::before {
    display: none !important;
}

.footer-social-link:hover {
    padding-left: 12px !important;
    border-color: rgba(125, 255, 180, 0.25);
    background: var(--k-mint-dim);
}

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

.footer-safe {
    margin-bottom: 22px;
    padding: 18px 16px;
    border-radius: var(--k-radius);
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid var(--k-border);
}

.footer-safe-head {
    text-align: center;
    font-family: var(--k-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--k-muted);
    margin-bottom: 14px;
}

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

.footer-safe-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: var(--k-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.footer-safe-item:hover {
    border-color: rgba(125, 255, 180, 0.2);
    transform: translateY(-1px);
}

.safe-image {
    max-height: 38px;
    width: auto;
}

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

.footer-copy {
    margin: 0 0 6px;
    font-size: 0.78rem;
    color: var(--k-text);
    font-weight: 600;
}

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

/* --- app table --- */
.app-hero {
    position: relative;
    margin: 0 0 28px;
    padding: 22px;
    border-radius: var(--k-radius);
    background:
        radial-gradient(circle at 85% 15%, rgba(125, 255, 180, 0.12) 0%, transparent 45%),
        linear-gradient(155deg, rgba(94, 196, 255, 0.12) 0%, rgba(22, 21, 34, 0.95) 55%, rgba(14, 13, 20, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--k-shadow);
    overflow: hidden;
}

.app-hero-glow {
    position: absolute;
    top: -60px;
    left: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 255, 180, 0.2) 0%, transparent 68%);
    pointer-events: none;
}

.app-hero .app-info-table-container {
    position: relative;
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.app-hero .app-info-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.app-info-table-wrapper {
    margin: 20px 0;
}

.app-info-table-container {
    border-radius: var(--k-radius-sm);
    border: 1px solid var(--k-border);
    overflow-x: auto;
}

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

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

.app-hero .app-info-row td {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
}

.app-hero .app-info-row td:first-child {
    border-radius: var(--k-radius-sm) 0 0 var(--k-radius-sm);
    border-right: 0;
    width: 58px;
}

.app-hero .app-info-row td:last-child {
    border-radius: 0 var(--k-radius-sm) var(--k-radius-sm) 0;
}

.app-info-row {
    border-bottom: 1px solid var(--k-border);
}

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

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--k-mint-dim);
    border: 1px solid rgba(125, 255, 180, 0.22);
}

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

.app-info-value-cell {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--k-text);
}

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

.app-name-logo {
    width: 52px;
    height: 52px;
    padding: 6px;
    border-radius: 14px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.app-name-text {
    font-family: var(--k-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--k-mint);
    color: #0a0a12;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
    box-shadow: 0 8px 20px rgba(125, 255, 180, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.app-download-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(125, 255, 180, 0.32);
}

/* --- misc --- */
.list-container ul,
.list-container ol {
    margin: 14px 0;
    padding-left: 22px;
    color: var(--k-muted);
}

.btn-primary {
    display: inline-flex;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--k-mint);
    color: #0a0a12;
    font-weight: 700;
    text-decoration: none;
}

.error-code {
    position: relative;
    font-family: var(--k-display);
    font-size: clamp(4.5rem, 18vw, 6.5rem);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 10px;
    background: linear-gradient(180deg, var(--k-text) 0%, var(--k-mint) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 8px 24px rgba(125, 255, 180, 0.25));
}

.error-heading {
    position: relative;
    font-family: var(--k-display);
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--k-text);
}

.error-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(68vh, 560px);
    padding: 40px 16px;
    text-align: center;
}

.error-shell {
    position: relative;
    width: min(100%, 520px);
    padding: 48px 28px 40px;
    border-radius: var(--k-radius);
    background:
        radial-gradient(circle at 50% 0%, rgba(125, 255, 180, 0.12) 0%, transparent 52%),
        linear-gradient(165deg, rgba(94, 196, 255, 0.12) 0%, rgba(22, 21, 34, 0.95) 45%, rgba(14, 13, 20, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--k-shadow);
    overflow: hidden;
}

.error-glow {
    position: absolute;
    inset: -40% -20% auto;
    height: 220px;
    background: radial-gradient(circle, rgba(125, 255, 180, 0.2) 0%, transparent 68%);
    pointer-events: none;
}

.error-chip {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--k-mint), #3dd68c);
    border: 3px dashed rgba(10, 10, 18, 0.25);
    opacity: 0.55;
    transform: rotate(18deg);
}

.error-text {
    position: relative;
    color: var(--k-muted);
    max-width: 420px;
    margin: 0 auto 28px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.error-cta {
    position: relative;
    min-height: 44px;
    padding: 12px 28px;
    box-shadow: 0 10px 28px rgba(125, 255, 180, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.error-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(125, 255, 180, 0.32);
}

/* --- contact page --- */
.page-shell--contact {
    max-width: 760px;
}

.contact-shell {
    position: relative;
}

.contact-shell::before {
    content: "";
    position: absolute;
    top: -20px;
    right: -10px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 255, 180, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.page-shell--contact .text-content {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.page-shell--contact .text-content h1 {
    margin: 0 0 24px;
    padding: 28px 24px;
    border-radius: var(--k-radius);
    text-align: center;
    background: linear-gradient(135deg, rgba(125, 255, 180, 0.14) 0%, rgba(94, 196, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--k-shadow);
}

.page-shell--contact .text-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(125, 255, 180, 0.35);
}

.page-shell--contact .text-content h2::before {
    content: "";
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: var(--k-mint);
}

.page-shell--contact .text-content h3 {
    margin: 0 0 10px;
    padding: 14px 16px 0;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--k-mint);
}

.page-shell--contact .text-content h3 + p {
    margin: 0 0 16px;
    padding: 0 16px 16px;
    border-radius: 0 0 var(--k-radius-sm) var(--k-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--k-border);
    border-top: 0;
}

.page-shell--contact .text-content h3:has(+ p) {
    padding-top: 16px;
    border-radius: var(--k-radius-sm) var(--k-radius-sm) 0 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--k-border);
    border-bottom: 0;
}

.page-shell--contact .text-content p {
    font-size: 0.94rem;
    line-height: 1.65;
}

.page-shell--contact .text-content a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: var(--k-radius-sm);
    background: var(--k-mint);
    color: #0a0a12 !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(125, 255, 180, 0.22);
    transition: transform 0.18s ease;
}

.page-shell--contact .text-content a[href^="mailto:"]:hover {
    transform: translateY(-1px);
}

/* --- legal pages --- */
.page-shell--legal {
    max-width: 880px;
}

.legal-shell {
    position: relative;
}

.legal-shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(90deg, var(--k-mint), var(--k-cyan));
}

.page-shell--legal .text-content {
    margin-top: 0;
    padding: 32px 28px 28px;
    background: linear-gradient(180deg, rgba(22, 21, 34, 0.85) 0%, rgba(14, 13, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--k-shadow);
}

.page-shell--legal .text-content h1 {
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--k-border);
}

.page-shell--legal .text-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 12px 14px;
    border-radius: var(--k-radius-sm);
    background: var(--k-mint-dim);
    border-left: 3px solid var(--k-mint);
}

.page-shell--legal .text-content h3 {
    margin-top: 24px;
    color: var(--k-mint);
}

.page-shell--legal .text-content p {
    color: var(--k-muted);
}

.page-shell--legal .text-content blockquote {
    border-left-color: var(--k-mint);
    background: var(--k-mint-dim);
}

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

/* --- responsive --- */
@media (max-width: 992px) {
    .primary-rail {
        display: none;
    }

    .dock-trigger {
        display: flex;
    }

    .page-shell,
    .main-content-wrapper {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .masthead-upper {
        padding: 10px 14px;
        min-width: 0;
    }

    .masthead-actions {
        gap: 6px;
    }

    .site-footer {
        padding-bottom: 88px;
    }

    .action-ghost {
        padding: 8px 12px;
        font-size: 0.75rem;
    }

    .action-solid {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .hero-visual {
        aspect-ratio: var(--k-banner-ratio-m);
    }

    .hero-caption {
        align-items: center;
        justify-content: flex-end;
        text-align: center;
        background: linear-gradient(180deg, transparent 10%, rgba(14, 13, 20, 0.88) 55%);
        padding: 16px;
    }

    .hero-title,
    .hero-sub {
        max-width: 100%;
    }

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

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

    .game-card {
        flex: 0 0 130px;
    }

    .game-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 35%, rgba(8, 7, 14, 0.88) 100%);
        justify-content: flex-end;
        padding-bottom: 12px;
    }

    .game-action {
        min-width: 88px;
        padding: 7px 12px;
        font-size: 0.7rem;
    }

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

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

@media (min-width: 993px) {
    .dock-panel,
    .dock-scrim,
    .dock-trigger {
        display: none !important;
    }
}
