/* NightWin shell - local fonts, dark casino presentation */
@font-face {
    font-family: 'Sora';
    src: url('fonts/sora-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('fonts/sora-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('fonts/sora-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --nw-bg-deep: #07071a;
    --nw-bg-panel: #12122e;
    --nw-bg-card: #1a1a3d;
    --nw-bg-elevated: #22224f;
    --nw-accent: #6b35ff;
    --nw-accent-hover: #8255ff;
    --nw-gold: #f0c040;
    --nw-text: #f2f2fa;
    --nw-text-muted: #9a9ab8;
    --nw-border: rgba(255, 255, 255, 0.08);
    --nw-radius: 12px;
    --nw-radius-sm: 8px;
    --nw-header-h: 56px;
    --nw-strip-h: 52px;
    --nw-dock-h: 62px;
    --nw-font-display: 'Sora', system-ui, sans-serif;
    --nw-font-body: 'Manrope', system-ui, sans-serif;
}

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

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

body {
    font-family: var(--nw-font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--nw-text);
    background: var(--nw-bg-deep);
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

body.nw-drawer-open {
    overflow: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

/* ── Header shell ── */
.nw-shell-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: linear-gradient(180deg, #0e0e28 0%, var(--nw-bg-deep) 100%);
    border-bottom: 1px solid var(--nw-border);
}

.nw-top-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: var(--nw-header-h);
    padding: 8px 16px;
}

.nw-toggle-panel {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    border-radius: var(--nw-radius-sm);
    background: var(--nw-bg-card);
    cursor: pointer;
    flex-shrink: 0;
}

.nw-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--nw-text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nw-toggle-panel[aria-expanded="true"] .nw-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nw-toggle-panel[aria-expanded="true"] .nw-toggle-line:nth-child(2) {
    opacity: 0;
}

.nw-toggle-panel[aria-expanded="true"] .nw-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nw-brand-block {
    justify-self: start;
}

.nw-brand-link {
    display: inline-flex;
    align-items: center;
}

.nw-brand-image {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nw-brand-wordmark {
    font-family: var(--nw-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.02em;
}

.nw-brand-wordmark em {
    color: var(--nw-accent);
    font-style: italic;
}

.nw-brand-wordmark strong {
    color: var(--nw-text);
    margin-left: 2px;
}

.nw-top-utilities {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.nw-search-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--nw-text-muted);
    cursor: default;
    opacity: 0.6;
}

.nw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: var(--nw-font-body);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.nw-btn-ghost {
    color: var(--nw-text);
    border: 1px solid var(--nw-border);
    background: transparent;
}

.nw-btn-ghost:hover {
    border-color: var(--nw-accent);
    color: var(--nw-accent);
}

.nw-btn-accent {
    color: #fff;
    background: var(--nw-accent);
}

.nw-btn-accent:hover {
    background: var(--nw-accent-hover);
}

/* ── Horizontal strip nav (desktop) ── */
.nw-strip-nav {
    border-top: 1px solid var(--nw-border);
    background: var(--nw-bg-panel);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.nw-strip-nav::-webkit-scrollbar {
    display: none;
}

.nw-strip-list {
    display: flex;
    align-items: stretch;
    gap: 4px;
    padding: 6px 12px;
    min-width: min-content;
}

.nw-strip-cell {
    flex: 0 0 auto;
}

.nw-strip-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--nw-radius-sm);
    color: var(--nw-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.nw-strip-link:hover,
.nw-strip-link.is-active {
    color: var(--nw-text);
    background: var(--nw-bg-elevated);
}

.nw-strip-link.is-active {
    color: var(--nw-gold);
}

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

/* ── Mobile drawer ── */
.nw-drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(2px);
}

.nw-drawer-scrim[hidden] {
    display: none;
}

.nw-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 960;
    width: min(300px, 85vw);
    height: 100%;
    padding: 16px;
    background: var(--nw-bg-panel);
    border-right: 1px solid var(--nw-border);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
}

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

.nw-drawer-brand {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--nw-border);
}

.nw-drawer-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nw-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--nw-radius-sm);
    color: var(--nw-text-muted);
    font-weight: 500;
}

.nw-drawer-link:hover,
.nw-drawer-link.is-active {
    background: var(--nw-bg-elevated);
    color: var(--nw-gold);
}

/* ── Bottom dock (mobile) ── */
.nw-dock-nav {
    display: none;
}

/* ── Main layout ── */
.main-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px;
}

/* ── Breadcrumbs ── */
.nw-trail-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
}

.nw-trail-link {
    color: var(--nw-text-muted);
}

.nw-trail-link:hover {
    color: var(--nw-accent);
}

.nw-trail-sep {
    color: var(--nw-text-muted);
    opacity: 0.5;
}

/* ── Banner carousel ── */
.nw-banner-carousel {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.nw-banner-track {
    display: flex;
    gap: 12px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.nw-banner-slide {
    flex: 0 0 calc(100% - 48px);
    max-width: 768px;
}

.nw-banner-frame {
    position: relative;
    border-radius: var(--nw-radius);
    overflow: hidden;
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
}

.nw-banner-frame picture {
    display: block;
    line-height: 0;
}

.nw-banner-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 768 / 245;
    object-fit: contain;
    object-position: center;
}

.nw-banner-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 16px;
    background: linear-gradient(0deg, rgba(7, 7, 26, 0.92) 0%, transparent 100%);
}

.nw-banner-heading {
    font-family: var(--nw-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.nw-banner-sub {
    font-size: 0.82rem;
    color: var(--nw-text-muted);
    margin-bottom: 10px;
}

.nw-banner-cta {
    display: inline-flex;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--nw-gold);
    color: #1a1000;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.nw-banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.nw-banner-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: var(--nw-bg-elevated);
    cursor: pointer;
    padding: 0;
}

.nw-banner-dot.is-active {
    background: var(--nw-accent);
    width: 20px;
    border-radius: 4px;
}

/* ── Quick access rows (homepage) ── */
.nw-quick-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.nw-quick-row::-webkit-scrollbar {
    display: none;
}

.nw-quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    color: var(--nw-text);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.nw-quick-pill:hover {
    border-color: var(--nw-accent);
    color: var(--nw-accent);
}

.nw-quick-glyph {
    width: 18px;
    height: 18px;
    color: var(--nw-accent);
}

.nw-icon-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
}

.nw-icon-row::-webkit-scrollbar {
    display: none;
}

.nw-icon-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 0 0 64px;
    text-align: center;
}

.nw-icon-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    color: var(--nw-accent);
}

.nw-icon-ring svg {
    width: 22px;
    height: 22px;
}

.nw-icon-label {
    font-size: 0.65rem;
    color: var(--nw-text-muted);
    line-height: 1.2;
}

.nw-icon-chip:hover .nw-icon-ring {
    border-color: var(--nw-accent);
    background: var(--nw-bg-elevated);
}

/* ── Game sections ── */
.game-section {
    margin-bottom: 28px;
}

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

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

.show-all-btn {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--nw-border);
    color: var(--nw-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
}

.show-all-btn:hover {
    border-color: var(--nw-accent);
    color: var(--nw-accent);
}

.games-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px;
}

.games-carousel::-webkit-scrollbar {
    display: none;
}

.games-grid {
    display: flex;
    gap: 10px;
    width: max-content;
}

.game-card {
    flex: 0 0 136px;
    border-radius: var(--nw-radius-sm);
    overflow: hidden;
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
}

.game-image-wrapper {
    position: relative;
    line-height: 0;
    background: var(--nw-bg-elevated);
}

.game-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 270 / 378;
    object-fit: contain;
    object-position: center;
}

.game-play-btn {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 8px;
    border-radius: 999px;
    background: var(--nw-gold);
    color: #1a1000;
    font-family: var(--nw-font-display);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease;
}

.game-play-btn:hover {
    background: #f5d050;
    color: #1a1000;
}

.game-card:hover .game-play-btn,
.game-card:focus-within .game-play-btn {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none) {
    .game-play-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-title {
    padding: 8px 6px;
    font-size: 0.72rem;
    text-align: center;
    color: var(--nw-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Bonuses page ── */
.nw-bonuses-block {
    margin-bottom: 32px;
}

.nw-bonuses-head {
    margin-bottom: 16px;
}

.nw-bonuses-title {
    font-family: var(--nw-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    padding-left: 12px;
    border-left: 3px solid var(--nw-gold);
}

.nw-bonuses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.nw-bonus-tile {
    display: flex;
    flex-direction: column;
    border-radius: var(--nw-radius);
    overflow: hidden;
    background: linear-gradient(160deg, var(--nw-bg-card) 0%, rgba(18, 18, 46, 0.95) 100%);
    border: 1px solid var(--nw-border);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.nw-bonus-tile:hover {
    border-color: rgba(107, 53, 255, 0.45);
    transform: translateY(-2px);
}

.nw-bonus-visual {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--nw-bg-elevated);
}

.nw-bonus-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nw-bonus-ribbon {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--nw-accent);
    color: #fff;
    font-family: var(--nw-font-display);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 4px 12px rgba(107, 53, 255, 0.4);
}

.nw-bonus-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nw-bonus-name {
    font-family: var(--nw-font-display);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.nw-bonus-desc {
    font-size: 0.78rem;
    color: var(--nw-text-muted);
    line-height: 1.45;
    flex: 1;
}

.nw-bonus-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(240, 192, 64, 0.12);
    border: 1px solid rgba(240, 192, 64, 0.25);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--nw-gold);
}

.nw-bonus-terms {
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--nw-border);
    font-size: 0.65rem;
    color: rgba(154, 154, 184, 0.75);
    line-height: 1.4;
}

/* ── SEO text block (only place for h1-h3) ── */
.text-content.nw-prose {
    max-width: 860px;
    margin: 32px auto 0;
    padding: 28px;
    background: linear-gradient(165deg, rgba(18, 18, 46, 0.95) 0%, rgba(12, 12, 34, 0.98) 100%);
    border-radius: var(--nw-radius);
    border: 1px solid var(--nw-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.nw-prose h1 {
    font-family: var(--nw-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    color: var(--nw-text);
    border-bottom: 1px solid var(--nw-border);
    line-height: 1.3;
}

.nw-prose h2 {
    font-family: var(--nw-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 32px 0 14px;
    padding: 10px 14px;
    color: var(--nw-text);
    background: var(--nw-bg-card);
    border-radius: var(--nw-radius-sm);
    border-left: 3px solid var(--nw-accent);
    line-height: 1.35;
}

.nw-prose h3 {
    font-family: var(--nw-font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 22px 0 10px;
    color: var(--nw-gold);
    letter-spacing: 0.02em;
}

.nw-prose p {
    margin-bottom: 16px;
    color: var(--nw-text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.nw-prose img {
    border-radius: var(--nw-radius-sm);
    margin: 18px 0;
    border: 1px solid var(--nw-border);
}

.nw-prose a {
    color: var(--nw-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(240, 192, 64, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nw-prose a:hover {
    color: #f5d050;
    border-bottom-color: var(--nw-gold);
}

.nw-prose blockquote {
    margin: 18px 0;
    padding: 16px 20px;
    border-left: 3px solid var(--nw-gold);
    background: rgba(107, 53, 255, 0.08);
    border-radius: 0 var(--nw-radius-sm) var(--nw-radius-sm) 0;
    color: var(--nw-text-muted);
    font-style: italic;
}

/* ── Tables: horizontal scroll on mobile ── */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0;
    border-radius: var(--nw-radius-sm);
    border: 1px solid var(--nw-border);
}

.table-wrapper table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.table-wrapper th,
.table-wrapper td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--nw-border);
    font-size: 0.85rem;
}

.table-wrapper th {
    background: var(--nw-bg-elevated);
    font-weight: 600;
    color: var(--nw-text);
    white-space: nowrap;
}

.table-wrapper td {
    color: var(--nw-text-muted);
}

.table-wrapper caption {
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    caption-side: top;
}

.nw-prose ul,
.nw-prose ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--nw-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.nw-prose li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.nw-prose li::marker {
    color: var(--nw-accent);
}

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

.nw-prose .faq-item-block {
    border: 1px solid var(--nw-border);
    border-radius: var(--nw-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.nw-prose .faq-item-block:hover {
    border-color: rgba(107, 53, 255, 0.35);
}

.nw-prose .faq-question-block {
    padding: 14px 16px;
    background: var(--nw-bg-card);
}

.nw-prose .faq-question-block strong {
    font-size: 0.9rem;
    color: var(--nw-text);
}

.nw-prose .faq-answer-block {
    padding: 14px 16px;
    font-size: 0.86rem;
    color: var(--nw-text-muted);
    line-height: 1.55;
    border-top: 1px solid var(--nw-border);
}

.nw-prose .howto-wrapper {
    margin: 20px 0;
    padding: 18px;
    background: var(--nw-bg-card);
    border-radius: var(--nw-radius-sm);
    border: 1px solid var(--nw-border);
}

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

.howto-step-item {
    counter-increment: nw-step;
    padding: 12px 0;
    border-bottom: 1px solid var(--nw-border);
}

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

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

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

.howto-step-item p {
    font-size: 0.85rem;
    color: var(--nw-text-muted);
}

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

/* ── Payment methods ── */
.payment-methods-section {
    margin: 28px 0;
}

.payment-methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.payment-method-card {
    flex: 0 0 auto;
    padding: 12px 16px;
    border-radius: var(--nw-radius-sm);
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    text-align: center;
    min-width: 90px;
}

.payment-method-image {
    height: 28px;
    width: auto;
    margin: 0 auto 6px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.payment-method-name {
    font-size: 0.68rem;
    color: var(--nw-text-muted);
}

/* ── App hero block ── */
.nw-app-hero {
    position: relative;
    margin: 8px 0 28px;
    border-radius: var(--nw-radius);
    overflow: hidden;
}

.nw-app-hero-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 53, 255, 0.15) 0%, rgba(240, 192, 64, 0.08) 50%, transparent 100%);
    pointer-events: none;
}

.nw-app-spec-panel {
    position: relative;
    margin: 0;
    border: 1px solid rgba(107, 53, 255, 0.3);
    border-radius: var(--nw-radius);
    background: linear-gradient(160deg, rgba(26, 26, 61, 0.95) 0%, rgba(14, 14, 40, 0.98) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

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

.nw-app-spec-row {
    border-bottom: 1px solid var(--nw-border);
    transition: background 0.2s ease;
}

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

.nw-app-spec-row:hover {
    background: rgba(107, 53, 255, 0.06);
}

.nw-app-spec-row:first-child {
    background: rgba(107, 53, 255, 0.1);
}

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

.nw-app-spec-icon-cell {
    width: 64px;
    padding: 16px 12px;
    text-align: center;
    vertical-align: middle;
}

.nw-app-spec-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    border-radius: 12px;
    background: var(--nw-bg-deep);
    border: 1px solid var(--nw-border);
    color: var(--nw-gold);
}

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

.nw-app-spec-value-cell {
    padding: 16px 18px 16px 4px;
    color: var(--nw-text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    vertical-align: middle;
}

.nw-app-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nw-app-brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--nw-bg-deep);
    border: 1px solid var(--nw-border);
    padding: 6px;
}

.nw-app-brand-name {
    font-family: var(--nw-font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nw-text);
}

.nw-app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--nw-gold);
    color: #1a1000;
    font-family: var(--nw-font-display);
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 6px 20px rgba(240, 192, 64, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.nw-app-download-btn:hover {
    background: #f5d050;
    transform: translateY(-1px);
}

/* ── Footer ── */
.nw-page-footer {
    position: relative;
    margin-top: 48px;
    padding: 0 16px calc(var(--nw-dock-h) + 28px);
    background: linear-gradient(180deg, #0c0c22 0%, #080818 100%);
    border-top: 1px solid rgba(107, 53, 255, 0.25);
    overflow: hidden;
}

.nw-footer-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(107, 53, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.nw-footer-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 0 24px;
}

.nw-footer-brand-row {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--nw-border);
}

.nw-footer-brand .nw-brand-image {
    height: 32px;
    margin: 0 auto;
}

.nw-footer-brand .nw-brand-wordmark {
    font-size: 1.5rem;
}

.nw-footer-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.nw-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: var(--nw-font-display);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.nw-footer-cta-gold {
    background: var(--nw-gold);
    color: #1a1000;
    box-shadow: 0 4px 16px rgba(240, 192, 64, 0.25);
}

.nw-footer-cta-gold:hover {
    background: #f5d050;
}

.nw-footer-cta-ghost {
    background: transparent;
    color: var(--nw-text);
    border: 1px solid var(--nw-border);
}

.nw-footer-cta-ghost:hover {
    border-color: var(--nw-accent);
    color: var(--nw-accent);
}

.nw-footer-cta-accent {
    background: var(--nw-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(107, 53, 255, 0.3);
}

.nw-footer-cta-accent:hover {
    background: var(--nw-accent-hover);
}

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

.nw-footer-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nw-font-display);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--nw-text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nw-footer-heading-mark {
    display: inline-block;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--nw-gold) 0%, var(--nw-accent) 100%);
    flex-shrink: 0;
}

.nw-footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nw-footer-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.84rem;
    color: var(--nw-text-muted);
    padding: 4px 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.nw-footer-link::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--nw-accent);
    margin-right: 0;
    transition: width 0.2s ease, margin-right 0.2s ease;
}

.nw-footer-link:hover,
.nw-footer-link.is-active {
    color: var(--nw-text);
    padding-left: 4px;
}

.nw-footer-link:hover::before,
.nw-footer-link.is-active::before {
    width: 8px;
    margin-right: 8px;
}

.nw-footer-link.is-active {
    color: var(--nw-gold);
}

.nw-footer-social-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nw-footer-social-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 8px 14px;
    border-radius: var(--nw-radius-sm);
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.nw-footer-social-chip:hover {
    border-color: var(--nw-accent);
    background: var(--nw-bg-elevated);
}

.nw-footer-social-img {
    max-height: 22px;
    width: auto;
    opacity: 0.9;
}

.nw-footer-payments {
    margin-bottom: 28px;
    padding: 20px;
    border-radius: var(--nw-radius);
    background: rgba(26, 26, 61, 0.5);
    border: 1px solid var(--nw-border);
    text-align: center;
}

.nw-footer-payments-label {
    font-family: var(--nw-font-display);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nw-text-muted);
    margin-bottom: 14px;
}

.nw-footer-payments-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 18px;
}

.nw-footer-payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: var(--nw-radius-sm);
    background: var(--nw-bg-deep);
    border: 1px solid var(--nw-border);
}

.nw-footer-payment-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.nw-footer-base {
    padding-top: 24px;
    border-top: 1px solid var(--nw-border);
    text-align: center;
}

.nw-footer-safe {
    margin-bottom: 20px;
}

.nw-safe-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nw-safe-item {
    display: flex;
}

.nw-safe-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: var(--nw-radius-sm);
    background: var(--nw-bg-card);
    border: 1px solid var(--nw-border);
    transition: border-color 0.2s ease;
}

.nw-safe-link:hover {
    border-color: rgba(240, 192, 64, 0.4);
}

.nw-safe-badge {
    max-height: 32px;
    width: auto;
    opacity: 0.9;
}

.nw-footer-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 640px;
    margin: 0 auto;
}

.nw-footer-copy-main {
    font-size: 0.78rem;
    color: var(--nw-text-muted);
}

.nw-footer-copy-note {
    font-size: 0.7rem;
    color: rgba(154, 154, 184, 0.7);
    line-height: 1.5;
}

/* ── 404 page ── */
.nw-error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nw-header-h) - var(--nw-dock-h) - 120px);
    padding-top: 24px;
    padding-bottom: 48px;
}

.nw-error-panel {
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 480px;
    padding: 48px 28px 40px;
    border-radius: var(--nw-radius);
    background: linear-gradient(160deg, rgba(26, 26, 61, 0.9) 0%, rgba(12, 12, 34, 0.95) 100%);
    border: 1px solid rgba(107, 53, 255, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nw-error-visual {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
}

.nw-error-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(107, 53, 255, 0.5);
    animation: nw-error-pulse 3s ease-in-out infinite;
}

.nw-error-glow {
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 192, 64, 0.35) 0%, transparent 70%);
}

@keyframes nw-error-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}

.nw-error-code {
    position: relative;
    font-family: var(--nw-font-display);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--nw-gold) 0%, var(--nw-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nw-error-title {
    font-family: var(--nw-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--nw-text);
    line-height: 1.35;
}

.nw-error-desc {
    font-size: 0.88rem;
    color: var(--nw-text-muted);
    margin-bottom: 28px;
    line-height: 1.55;
}

.nw-error-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 999px;
    background: var(--nw-gold);
    color: #1a1000;
    font-family: var(--nw-font-display);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(240, 192, 64, 0.3);
    transition: transform 0.2s ease, background 0.2s ease;
}

.nw-error-action:hover {
    background: #f5d050;
    transform: translateY(-2px);
}

/* ── Contact page ── */
.nw-contact-page {
    max-width: 720px;
}

.nw-contact-shell {
    position: relative;
}

.nw-contact-shell::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 120px;
    background: radial-gradient(ellipse, rgba(107, 53, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.nw-contact-page .text-content {
    position: relative;
    margin-top: 0;
    padding: 32px 28px;
    border-color: rgba(107, 53, 255, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.nw-contact-page .text-content h1 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--nw-text) 0%, var(--nw-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nw-contact-page .text-content h1::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 20px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--nw-accent), var(--nw-gold));
}

.nw-contact-page .text-content > p:first-of-type {
    text-align: center;
    font-size: 0.95rem;
    color: var(--nw-text-muted);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--nw-border);
}

.nw-contact-page .text-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    padding: 12px 16px;
    margin: 24px 0 12px;
    border-radius: var(--nw-radius-sm);
    background: var(--nw-bg-card);
    border-left: 3px solid var(--nw-accent);
}

.nw-contact-page .text-content h3 {
    font-size: 0.88rem;
    color: var(--nw-gold);
    margin: 18px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nw-contact-page .text-content a {
    color: var(--nw-gold);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(240, 192, 64, 0.4);
}

.nw-contact-page .text-content a:hover {
    color: #f5d050;
    border-bottom-color: var(--nw-gold);
}

/* ── Legal pages (privacy, terms) ── */
.nw-legal-page {
    max-width: 820px;
}

.nw-legal-shell .text-content {
    margin-top: 8px;
    padding: 36px 32px;
    border-color: rgba(107, 53, 255, 0.2);
}

.nw-legal-shell .text-content h1 {
    font-size: 1.6rem;
    padding-bottom: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--nw-border);
    position: relative;
}

.nw-legal-shell .text-content h1::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--nw-accent), var(--nw-gold));
}

.nw-legal-shell .text-content h2 {
    font-size: 1.05rem;
    margin-top: 32px;
    padding-left: 14px;
    border-left: 3px solid var(--nw-accent);
}

.nw-legal-shell .text-content h3 {
    font-size: 0.92rem;
    color: var(--nw-text);
    margin-top: 22px;
}

.nw-legal-shell .text-content p {
    font-size: 0.9rem;
    line-height: 1.65;
}

.nw-legal-shell .text-content ul,
.nw-legal-shell .text-content ol {
    font-size: 0.9rem;
    line-height: 1.6;
}

.nw-legal-shell .text-content .table-wrapper {
    border-radius: var(--nw-radius-sm);
    background: var(--nw-bg-card);
}

.nw-legal-shell .text-content .table-wrapper th {
    background: var(--nw-bg-elevated);
    color: var(--nw-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nw-legal-shell .text-content blockquote {
    border-left-color: var(--nw-gold);
    background: rgba(107, 53, 255, 0.08);
}

@media (max-width: 768px) {
    .nw-legal-shell .text-content {
        padding: 24px 18px;
    }
}

/* ── Responsive ── */
@media (min-width: 993px) {
    .nw-top-bar {
        max-width: 1280px;
        margin: 0 auto;
        padding: 8px 24px;
    }

    .nw-strip-list {
        max-width: 1280px;
        margin: 0 auto;
        padding: 6px 24px;
    }

    .main-content-wrapper {
        padding: 20px 24px;
    }

    .nw-page-footer {
        padding-bottom: 32px;
    }

    .nw-bonuses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

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

    .game-play-btn {
        font-size: 0.68rem;
        min-height: 34px;
        padding: 7px 10px;
    }

    .nw-banner-slide {
        flex: 0 0 85%;
    }
}

@media (max-width: 992px) {
    .nw-toggle-panel {
        display: flex;
        order: -1;
    }

    .nw-top-bar {
        grid-template-columns: auto 1fr auto;
    }

    .nw-brand-block {
        justify-self: center;
    }

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

    .nw-dock-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 890;
        height: var(--nw-dock-h);
        padding-bottom: env(safe-area-inset-bottom, 0);
        background: var(--nw-bg-panel);
        border-top: 1px solid var(--nw-border);
    }

    .nw-dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 6px 4px;
        border: none;
        background: none;
        color: var(--nw-text-muted);
        font-size: 0.62rem;
        font-family: var(--nw-font-body);
        cursor: pointer;
    }

    .nw-dock-item.is-active {
        color: var(--nw-gold);
    }

    .nw-dock-glyph {
        width: 22px;
        height: 22px;
    }

    .nw-btn-ghost {
        display: none;
    }

    body {
        padding-bottom: var(--nw-dock-h);
    }
}

@media (max-width: 768px) {
    .nw-banner-slide {
        flex: 0 0 calc(100% - 32px);
    }

    .nw-banner-frame img {
        aspect-ratio: 1 / 1;
        max-height: 250px;
        object-fit: contain;
    }

    .nw-btn-accent {
        padding: 7px 12px;
        font-size: 0.75rem;
    }

    .text-content.nw-prose {
        padding: 16px;
        margin-top: 20px;
    }

    .nw-prose h1 {
        font-size: 1.25rem;
    }

    .nw-prose h2 {
        font-size: 1.05rem;
    }

    .nw-prose h3 {
        font-size: 0.95rem;
    }

    .nw-bonuses-grid {
        gap: 8px;
    }

    .nw-bonus-body {
        padding: 10px;
    }

    .nw-bonus-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .nw-brand-wordmark {
        font-size: 1.1rem;
    }

    .nw-top-utilities .nw-btn-accent {
        padding: 6px 10px;
    }
}
