/* mori-win layout skin - local fonts, dark casino shell */
@font-face {
    font-family: 'Manrope';
    src: url('/bundle/fonts/manrope-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/bundle/fonts/manrope-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url('/bundle/fonts/manrope-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rubik';
    src: url('/bundle/fonts/rubik-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --mw-bg: #080c18;
    --mw-surface: #12182b;
    --mw-surface-2: #1a2238;
    --mw-border: rgba(255, 255, 255, 0.07);
    --mw-text: #e6eaf3;
    --mw-muted: #8b95ad;
    --mw-gold: #f5c518;
    --mw-gold-dim: #c9a012;
    --mw-blue: #3d5af1;
    --mw-blue-soft: #2a3d8f;
    --mw-radius: 12px;
    --mw-radius-sm: 8px;
    --mw-header: 56px;
    --mw-nav: 46px;
    --mw-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mw-text);
    background: var(--mw-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--mw-gold); text-decoration: none; transition: color 0.15s; }
a:hover { color: #ffe566; }

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

/* -- top bar -- */
.site-top-bar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: linear-gradient(180deg, #0e1424 0%, var(--mw-bg) 100%);
    border-bottom: 1px solid var(--mw-border);
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px 16px;
    min-height: var(--mw-header);
}

.top-bar-start {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.top-bar-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-sm);
    background: var(--mw-surface);
    cursor: pointer;
    flex-shrink: 0;
}

.burger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--mw-text);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

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

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

.brand-text {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--mw-text);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--mw-radius-sm);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.action-btn:active { transform: scale(0.97); }

.btn-ghost {
    background: var(--mw-blue-soft);
    color: var(--mw-text);
}
.btn-ghost:hover { background: var(--mw-blue); color: #fff; }

.btn-gold {
    background: linear-gradient(135deg, #ffd84d 0%, var(--mw-gold) 100%);
    color: #1a1200;
}
.btn-gold:hover { background: linear-gradient(135deg, #ffe566 0%, #ffd84d 100%); color: #1a1200; }

/* -- horizontal nav strip -- */
.primary-nav-strip {
    background: var(--mw-surface);
    border-bottom: 1px solid var(--mw-border);
    position: sticky;
    top: var(--mw-header);
    z-index: 190;
}

.nav-strip-scroll {
    max-width: 1320px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.nav-strip-scroll::-webkit-scrollbar { display: none; }

.nav-strip-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 6px 16px;
    min-height: var(--mw-nav);
}

.nav-strip-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--mw-muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.nav-strip-link:hover { color: var(--mw-text); background: rgba(255, 255, 255, 0.05); }
.nav-strip-link.is-active {
    color: var(--mw-gold);
    background: rgba(245, 197, 24, 0.1);
}

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

/* -- mobile drawer -- */
.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 300;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
.nav-drawer-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100%;
    background: var(--mw-surface);
    z-index: 310;
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--mw-border);
    box-shadow: var(--mw-shadow);
}
.nav-drawer-panel.is-open { transform: translateX(0); }

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--mw-border);
}

.drawer-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--mw-surface-2);
    border-radius: var(--mw-radius-sm);
    color: var(--mw-muted);
    cursor: pointer;
}

.drawer-menu {
    list-style: none;
    padding: 12px 8px;
    flex: 1;
    overflow-y: auto;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--mw-radius-sm);
    color: var(--mw-muted);
    font-weight: 500;
    font-size: 14px;
}
.drawer-link.is-active,
.drawer-link:hover { color: var(--mw-gold); background: rgba(245, 197, 24, 0.08); }

.drawer-actions {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--mw-border);
}

/* -- main stage -- */
.main-stage {
    flex: 1;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 16px 32px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 12px;
}

.breadcrumb-link { color: var(--mw-muted); }
.breadcrumb-link:hover { color: var(--mw-gold); }
.breadcrumb-divider { color: var(--mw-muted); opacity: 0.5; }

/* -- hero slider -- */
.hero-slider-zone {
    margin-bottom: 24px;
}

.hero-slider {
    position: relative;
    border-radius: var(--mw-radius);
    overflow: hidden;
    background: var(--mw-surface);
    border: 1px solid var(--mw-border);
}

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

.hero-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.hero-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-slide-visual {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mw-surface-2);
    aspect-ratio: 768 / 240;
}

.hero-slide-visual.is-square { aspect-ratio: 1 / 1; }

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-slide-caption {
    padding: 16px 20px;
    text-align: center;
    width: 100%;
}

.hero-slide-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--mw-text);
}

.hero-slide-sub {
    font-size: 13px;
    color: var(--mw-muted);
    margin-bottom: 12px;
}

.hero-slide-cta {
    display: inline-flex;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ffd84d, var(--mw-gold));
    color: #1a1200;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
}
.hero-slide-cta:hover { color: #1a1200; filter: brightness(1.08); }

.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--mw-muted);
    opacity: 0.4;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s, transform 0.2s;
}
.hero-dot.is-active { opacity: 1; background: var(--mw-gold); transform: scale(1.2); }

/* -- game sections -- */
.slot-zone { margin-bottom: 28px; }

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

.zone-title {
    font-family: 'Rubik', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--mw-text);
}

.zone-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--mw-muted);
    padding: 6px 12px;
    border: 1px solid var(--mw-border);
    border-radius: 999px;
    white-space: nowrap;
}
.zone-link:hover { color: var(--mw-gold); border-color: rgba(245, 197, 24, 0.3); }

.slot-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--mw-blue-soft) transparent;
}

.slot-row {
    display: flex;
    gap: 12px;
    padding-bottom: 4px;
}

.slot-tile {
    flex: 0 0 auto;
    width: 148px;
    background: var(--mw-surface);
    border-radius: var(--mw-radius);
    border: 1px solid var(--mw-border);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}
.slot-tile:hover { border-color: rgba(245, 197, 24, 0.25); transform: translateY(-2px); }

.slot-visual {
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--mw-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slot-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(8, 12, 24, 0.75);
    opacity: 0;
    transition: opacity 0.2s;
}
.slot-tile:hover .slot-actions,
.slot-tile:focus-within .slot-actions { opacity: 1; }

.slot-btn {
    display: block;
    width: 100%;
    max-width: 120px;
    padding: 7px 10px;
    border-radius: var(--mw-radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

.slot-btn-play {
    background: linear-gradient(135deg, #ffd84d, var(--mw-gold));
    color: #1a1200;
}
.slot-btn-play:hover { color: #1a1200; filter: brightness(1.08); }

.slot-btn-demo {
    background: var(--mw-blue-soft);
    color: var(--mw-text);
}
.slot-btn-demo:hover { background: var(--mw-blue); color: #fff; }

.slot-name {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: var(--mw-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.bonus-tile {
    display: flex;
    flex-direction: column;
    background: var(--mw-surface);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
    overflow: hidden;
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.bonus-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 197, 24, 0.28);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.bonus-visual {
    position: relative;
    overflow: hidden;
}
.bonus-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(8, 12, 24, 0.75) 100%);
    pointer-events: none;
}

.bonus-visual img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.25s;
}
.bonus-tile:hover .bonus-visual img { transform: scale(1.04); }

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

.bonus-heading {
    font-family: 'Rubik', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--mw-text);
    line-height: 1.35;
}

.bonus-desc {
    font-size: 13px;
    color: var(--mw-muted);
    margin-bottom: 12px;
    line-height: 1.55;
    flex: 1;
}

.bonus-amount {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.18) 0%, rgba(245, 197, 24, 0.06) 100%);
    border: 1px solid rgba(245, 197, 24, 0.25);
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    color: var(--mw-gold);
}

.bonus-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 10px;
    background: rgba(61, 90, 241, 0.14);
    border: 1px solid rgba(61, 90, 241, 0.25);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #b8c4ff;
    letter-spacing: 0.02em;
}

.bonus-terms {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--mw-border);
    font-size: 11px;
    color: var(--mw-muted);
    line-height: 1.45;
}

/* -- payment methods -- */
.pay-zone { margin: 28px 0; }

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

.pay-tile {
    background: var(--mw-surface);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-sm);
    padding: 12px;
    text-align: center;
}

.pay-tile img {
    max-height: 36px;
    width: auto;
    margin: 0 auto 6px;
    object-fit: contain;
}

.pay-label { font-size: 11px; color: var(--mw-muted); font-weight: 500; }

/* -- SEO text block -- */
.text-content {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--mw-border);
}

.text-content h1 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 18px;
    color: var(--mw-text);
    line-height: 1.3;
}

.text-content h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 32px 0 14px;
    padding-bottom: 8px;
    color: var(--mw-text);
    border-bottom: 1px solid var(--mw-border);
}

.text-content h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 22px 0 10px;
    color: var(--mw-gold);
}

.text-content p {
    margin-bottom: 14px;
    color: var(--mw-muted);
    line-height: 1.65;
}
.text-content a { color: var(--mw-gold); text-decoration: underline; text-underline-offset: 3px; }
.text-content a:hover { color: #ffe566; }
.text-content img {
    margin: 18px 0;
    border-radius: var(--mw-radius-sm);
    border: 1px solid var(--mw-border);
}

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

.text-content table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 13px;
}

.text-content th,
.text-content td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--mw-border);
    text-align: left;
}

.text-content th {
    background: var(--mw-surface-2);
    font-weight: 600;
    color: var(--mw-text);
    white-space: nowrap;
}

.text-content caption {
    padding: 10px 12px;
    font-weight: 600;
    text-align: left;
    color: var(--mw-muted);
}

.text-content ul,
.text-content ol { margin: 12px 0; padding-left: 24px; color: var(--mw-muted); }
.text-content li { margin-bottom: 6px; }

.text-content blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    border-left: 3px solid var(--mw-gold);
    background: var(--mw-surface);
    border-radius: 0 var(--mw-radius-sm) var(--mw-radius-sm) 0;
    color: var(--mw-muted);
}

/* FAQ / HowTo */
.faq-wrapper { margin: 20px 0; }
.faq-item-block {
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-sm);
    margin-bottom: 10px;
    background: var(--mw-surface);
    overflow: hidden;
    transition: border-color 0.15s;
}
.faq-item-block:hover { border-color: rgba(245, 197, 24, 0.22); }
.faq-question-block {
    padding: 14px 16px;
    background: linear-gradient(90deg, var(--mw-surface-2) 0%, rgba(26, 34, 56, 0.5) 100%);
    font-weight: 600;
    font-size: 14px;
    color: var(--mw-text);
}
.faq-answer-block {
    padding: 14px 16px;
    color: var(--mw-muted);
    font-size: 14px;
    line-height: 1.6;
    border-top: 1px solid var(--mw-border);
}

.howto-wrapper {
    margin: 20px 0;
    padding: 18px;
    background: var(--mw-surface);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
}
.howto-steps-list { list-style: none; counter-reset: mw-step; }
.howto-step-item {
    counter-increment: mw-step;
    position: relative;
    padding: 14px 14px 14px 48px;
    margin-bottom: 10px;
    background: var(--mw-surface-2);
    border-radius: var(--mw-radius-sm);
    border: 1px solid var(--mw-border);
}
.howto-step-item::before {
    content: counter(mw-step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    color: #1a1200;
    background: linear-gradient(135deg, #ffd84d, var(--mw-gold));
    border-radius: 50%;
}
.howto-step-item strong { display: block; margin-bottom: 6px; color: var(--mw-text); }
.howto-step-item p { color: var(--mw-muted); font-size: 13px; line-height: 1.55; }

.list-container {
    margin: 16px 0;
    padding: 4px 0;
}
.list-container ul,
.list-container ol {
    margin: 0;
    padding: 14px 14px 14px 32px;
    background: var(--mw-surface);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-sm);
    color: var(--mw-muted);
}
.list-container li {
    margin-bottom: 8px;
    line-height: 1.55;
    padding-left: 4px;
}
.list-container li::marker { color: var(--mw-gold); }

/* -- app page -- */
.app-hero-panel {
    position: relative;
    margin-bottom: 28px;
    padding: 22px;
    border-radius: calc(var(--mw-radius) + 4px);
    background:
        radial-gradient(circle at 0% 0%, rgba(245, 197, 24, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(61, 90, 241, 0.14) 0%, transparent 40%),
        var(--mw-surface);
    border: 1px solid rgba(245, 197, 24, 0.15);
    box-shadow: var(--mw-shadow);
    overflow: hidden;
}

.app-hero-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mw-gold), var(--mw-blue), var(--mw-gold));
    opacity: 0.7;
}

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

.app-info-table-container {
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
    overflow: hidden;
    background: rgba(8, 12, 24, 0.35);
}

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

.app-info-row {
    border-bottom: 1px solid var(--mw-border);
    transition: background 0.15s;
}
.app-info-row:hover { background: rgba(255, 255, 255, 0.02); }
.app-info-row:last-child { border-bottom: none; }

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

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

.app-info-value-cell {
    padding: 14px 18px 14px 8px;
    color: var(--mw-muted);
    vertical-align: top;
    line-height: 1.55;
}

.app-info-row:first-child .app-info-value-cell {
    padding-top: 16px;
}

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

.app-name-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    padding: 6px;
    background: var(--mw-surface-2);
    border: 1px solid var(--mw-border);
    border-radius: 12px;
}

.app-name-text {
    font-family: 'Rubik', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--mw-text);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #ffd84d, var(--mw-gold));
    color: #1a1200;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 22px rgba(245, 197, 24, 0.25);
    transition: filter 0.15s, transform 0.12s;
}
.app-download-link:hover {
    color: #1a1200;
    filter: brightness(1.06);
    transform: translateY(-1px);
}

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

/* -- footer -- */
.site-bottom-bar {
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61, 90, 241, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, #0e1424 0%, var(--mw-bg) 100%);
    border-top: 1px solid var(--mw-border);
    padding: 0 16px 28px;
    margin-top: auto;
    overflow: hidden;
}

.footer-glow-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--mw-gold) 35%, #ffe566 50%, var(--mw-gold) 65%, transparent 100%);
    opacity: 0.75;
    margin-bottom: 28px;
}

.footer-shell {
    max-width: 1320px;
    margin: 0 auto;
}

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

.footer-brand-row { flex-shrink: 0; }

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

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.12s, filter 0.15s, background 0.15s;
}

.footer-cta-btn:active { transform: scale(0.97); }

.footer-cta-primary {
    background: linear-gradient(135deg, #ffd84d 0%, var(--mw-gold) 100%);
    color: #1a1200;
    box-shadow: 0 4px 18px rgba(245, 197, 24, 0.22);
}
.footer-cta-primary:hover { color: #1a1200; filter: brightness(1.06); }

.footer-cta-secondary {
    background: rgba(61, 90, 241, 0.14);
    border: 1px solid rgba(61, 90, 241, 0.35);
    color: var(--mw-text);
}
.footer-cta-secondary:hover { background: rgba(61, 90, 241, 0.28); color: #fff; }

.footer-cta-accent {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(245, 197, 24, 0.45);
    color: var(--mw-gold);
}
.footer-cta-accent:hover { background: rgba(245, 197, 24, 0.1); color: #ffe566; }

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

.footer-block-heading {
    font-family: 'Rubik', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--mw-text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-block-heading::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    margin-top: 8px;
    background: linear-gradient(90deg, var(--mw-gold), transparent);
    border-radius: 1px;
}

.footer-link-list { list-style: none; }
.footer-link-list li { margin-bottom: 7px; }
.footer-link-list a {
    color: var(--mw-muted);
    font-size: 13px;
    transition: color 0.15s, padding-left 0.15s;
    display: inline-block;
}
.footer-link-list a:hover,
.footer-link-list a.is-active {
    color: var(--mw-gold);
    padding-left: 4px;
}

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

.footer-social-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--mw-surface-2);
    border: 1px solid var(--mw-border);
    color: var(--mw-muted);
    transition: color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.footer-social-chip:hover {
    color: var(--mw-gold);
    border-color: rgba(245, 197, 24, 0.35);
    box-shadow: 0 0 16px rgba(245, 197, 24, 0.12);
    transform: translateY(-2px);
}

.footer-social-glyph {
    width: 20px;
    height: 20px;
    display: block;
}

.footer-social-thumb {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-pay-strip {
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
}

.footer-pay-head {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--mw-text);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-pay-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.footer-pay-scroll::-webkit-scrollbar { display: none; }

.footer-pay-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: min-content;
}

.footer-pay-chip {
    flex: 0 0 auto;
    min-width: 96px;
    padding: 12px 14px;
    background: var(--mw-surface);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-sm);
    text-align: center;
    transition: border-color 0.15s, transform 0.12s;
}
.footer-pay-chip:hover {
    border-color: rgba(245, 197, 24, 0.25);
    transform: translateY(-1px);
}

.footer-pay-chip img {
    max-height: 32px;
    width: auto;
    margin: 0 auto 6px;
    object-fit: contain;
}

.footer-pay-label {
    display: block;
    font-size: 10px;
    color: var(--mw-muted);
    font-weight: 600;
    letter-spacing: 0.03em;
}

.footer-legal-row {
    padding-top: 22px;
    border-top: 1px solid var(--mw-border);
}

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

.safe-badge-img {
    max-width: 84px;
    height: auto;
    opacity: 0.82;
    transition: opacity 0.15s;
}
.footer-safe-list a:hover .safe-badge-img { opacity: 1; }

.footer-copy-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 11px;
    color: var(--mw-muted);
    line-height: 1.55;
    text-align: center;
    max-width: 720px;
}

.footer-top-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--mw-border);
    background: var(--mw-surface-2);
    color: var(--mw-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.footer-top-btn:hover {
    color: var(--mw-gold);
    border-color: rgba(245, 197, 24, 0.35);
    background: rgba(245, 197, 24, 0.08);
}

/* -- 404 -- */
.error-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--mw-header) - var(--mw-nav) - 220px);
    text-align: center;
    padding: 48px 20px 64px;
    overflow: hidden;
}

.error-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 35%, rgba(245, 197, 24, 0.14) 0%, transparent 42%),
        radial-gradient(circle at 20% 70%, rgba(61, 90, 241, 0.1) 0%, transparent 35%);
    pointer-events: none;
}

.error-stage::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    border-radius: 50%;
    border: 1px dashed rgba(245, 197, 24, 0.12);
    pointer-events: none;
}

.error-code {
    position: relative;
    z-index: 1;
    font-family: 'Rubik', sans-serif;
    font-size: clamp(5rem, 18vw, 8.5rem);
    font-weight: 500;
    line-height: 0.95;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #ffe566 0%, var(--mw-gold) 45%, #c9a012 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(245, 197, 24, 0.35));
    letter-spacing: -0.04em;
}

.error-heading {
    position: relative;
    z-index: 1;
    font-family: 'Rubik', sans-serif;
    font-size: clamp(1.1rem, 3.5vw, 1.45rem);
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--mw-text);
    max-width: 520px;
}

.error-text {
    position: relative;
    z-index: 1;
    color: var(--mw-muted);
    margin-bottom: 28px;
    max-width: 440px;
    font-size: 14px;
    line-height: 1.6;
}

.error-stage .action-btn {
    position: relative;
    z-index: 1;
    min-width: 200px;
    min-height: 44px;
    padding: 11px 24px;
    font-size: 14px;
    box-shadow: 0 8px 28px rgba(245, 197, 24, 0.22);
}

/* -- contact page -- */
.page-contact .text-content {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 24px 32px;
    background:
        radial-gradient(circle at 100% 0%, rgba(61, 90, 241, 0.12) 0%, transparent 40%),
        var(--mw-surface);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
    box-shadow: var(--mw-shadow);
}

.page-contact .text-content h1 {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--mw-text) 0%, #ffe566 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-contact .text-content > p:first-of-type {
    font-size: 15px;
    color: var(--mw-text);
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--mw-border);
}

.page-contact .text-content h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 6px 12px;
    background: rgba(245, 197, 24, 0.08);
    border-radius: 999px;
    font-size: 1rem;
    color: var(--mw-gold);
}

.page-contact .text-content h3 {
    margin-top: 18px;
    padding-left: 12px;
    border-left: 3px solid var(--mw-gold);
    color: var(--mw-text);
}

.page-contact .text-content p a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    margin-top: 4px;
    background: rgba(61, 90, 241, 0.12);
    border: 1px solid rgba(61, 90, 241, 0.3);
    border-radius: var(--mw-radius-sm);
    color: var(--mw-text);
    font-weight: 600;
    word-break: break-all;
}
.page-contact .text-content p a:hover {
    background: rgba(61, 90, 241, 0.22);
    color: #fff;
}

/* -- legal pages -- */
.page-legal .text-content {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 24px 36px;
    background: var(--mw-surface);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius);
    box-shadow: var(--mw-shadow);
}

.page-legal .text-content h1 {
    font-size: clamp(1.45rem, 3.8vw, 1.75rem);
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--mw-border);
    color: var(--mw-text);
}

.page-legal .text-content h2 {
    margin-top: 32px;
    padding: 10px 0 10px 14px;
    border-left: 3px solid var(--mw-gold);
    background: linear-gradient(90deg, rgba(245, 197, 24, 0.08) 0%, transparent 100%);
    border-radius: 0 var(--mw-radius-sm) var(--mw-radius-sm) 0;
}

.page-legal .text-content h3 {
    margin-top: 22px;
    color: var(--mw-gold);
    font-size: 1rem;
}

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

.page-legal .list-container ul,
.page-legal .list-container ol {
    background: var(--mw-surface-2);
    border: 1px solid var(--mw-border);
    border-radius: var(--mw-radius-sm);
    padding: 16px 16px 16px 36px;
}

.page-legal .list-container li {
    margin-bottom: 8px;
    line-height: 1.55;
}

.page-legal .text-content blockquote {
    border-left-color: var(--mw-blue);
    background: rgba(61, 90, 241, 0.08);
}

/* -- responsive -- */
@media (max-width: 768px) {
    .nav-burger { display: flex; }

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

    .top-bar-end .action-btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .main-stage { padding: 14px 12px 28px; }

    .hero-slide-visual { aspect-ratio: 1 / 1; }

    .slot-tile { width: 130px; }

    .slot-actions { opacity: 1; background: rgba(8, 12, 24, 0.55); }

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

    .footer-hero-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-cta-row { width: 100%; }
    .footer-cta-btn { flex: 1 1 calc(50% - 5px); min-width: 0; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-block-social { grid-column: 1 / -1; }

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

    .table-wrapper { margin: 12px -4px; }
    .text-content table { min-width: 100%; font-size: 12px; }
}

@media (max-width: 400px) {
    .top-bar-inner { padding: 8px 10px; gap: 8px; }
    .top-bar-end { gap: 5px; max-width: 62%; }
    .top-bar-end .action-btn {
        padding: 6px 7px;
        font-size: 10px;
    }
    .brand-text { display: none; }
    .hero-slide-title { font-size: 0.95rem; }
    .hero-slide-caption { padding: 12px 14px; }
}

@media (min-width: 769px) {
    .hero-slide-visual.is-mobile-only { display: none; }
}

@media (max-width: 768px) {
    .hero-slide-visual.is-desktop-only { display: none; }
}

@media (min-width: 769px) and (max-width: 992px) {
    .slot-tile { width: 140px; }
}
