/* Front shell — system font stack, no external fonts */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --nx-blue: #2f6bff;
    --nx-blue-dark: #1e4fd4;
    --nx-green: #22c55e;
    --nx-green-dark: #16a34a;
    --nx-ink: #0f172a;
    --nx-muted: #64748b;
    --nx-line: #e2e8f0;
    --nx-surface: #f1f5f9;
    --nx-white: #ffffff;
    --nx-foot: #0b1220;
    --nx-radius: 12px;
    --nx-radius-lg: 16px;
    --nx-topbar-h: 64px;
    --nx-nav-h: 48px;
    --nx-dock-h: 56px;
    --nx-max: 1240px;
}

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

body.nx-site {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--nx-ink);
    background: var(--nx-surface);
    min-height: 100vh;
}

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

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

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

/* —— Top bar —— */
.nx-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--nx-white);
    border-bottom: 1px solid var(--nx-line);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

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

.nx-brand img {
    height: 36px;
    width: auto;
}

.nx-brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

@keyframes nx-header-btn-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 var(--nx-pulse-color, rgba(47, 107, 255, 0.5));
    }
    50% {
        box-shadow: 0 0 0 9px transparent;
    }
}

.nx-topbar-actions .nx-btn {
    animation: nx-header-btn-pulse 2s ease-in-out infinite;
}

.nx-topbar-actions .nx-btn--login {
    --nx-pulse-color: rgba(47, 107, 255, 0.55);
}

.nx-topbar-actions .nx-btn--register {
    --nx-pulse-color: rgba(34, 197, 94, 0.55);
    animation-delay: 0.35s;
}

.nx-topbar-actions .nx-btn:hover {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .nx-topbar-actions .nx-btn,
    .nx-hero-btn,
    .nx-notfound-actions .nx-btn--register {
        animation: none;
    }
}

.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
    white-space: nowrap;
}

.nx-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.nx-btn--login {
    background: var(--nx-blue);
    color: var(--nx-white);
}

.nx-btn--register {
    background: var(--nx-green);
    color: var(--nx-white);
}

.nx-btn--outline {
    background: transparent;
    color: var(--nx-blue);
    border: 1px solid var(--nx-blue);
}

.nx-btn--ghost {
    background: var(--nx-surface);
    color: var(--nx-ink);
}

/* Drawer trigger (mobile, right) */
.nx-drawer-trigger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: var(--nx-surface);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.nx-drawer-trigger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--nx-ink);
    border-radius: 2px;
}

/* —— Desktop primary nav (row under header) —— */
.nx-primary-nav {
    display: none;
    background: var(--nx-white);
    border-bottom: 1px solid var(--nx-line);
}

.nx-primary-nav-inner {
    max-width: var(--nx-max);
    margin: 0 auto;
    padding: 0 12px;
}

.nx-primary-nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.nx-primary-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nx-ink);
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.nx-primary-nav-link:hover,
.nx-primary-nav-link.is-active {
    background: rgba(47, 107, 255, 0.08);
    color: var(--nx-blue);
}

.nx-nav-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: currentColor;
}

/* —— Mobile drawer —— */
.nx-drawer-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 300;
    opacity: 0;
    transition: opacity 0.25s;
}

.nx-drawer-mask.is-visible {
    display: block;
    opacity: 1;
}

.nx-drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    height: 100%;
    z-index: 310;
    background: linear-gradient(165deg, #1e4fd4 0%, #2f6bff 45%, #5b8cff 100%);
    color: var(--nx-white);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nx-drawer-panel.is-visible {
    transform: translateX(0);
}

.nx-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nx-drawer-head img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.nx-drawer-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: var(--nx-white);
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.nx-drawer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nx-drawer-cta .nx-btn--register {
    background: var(--nx-green);
}

.nx-drawer-cta .nx-btn--login {
    background: rgba(255, 255, 255, 0.95);
    color: var(--nx-ink);
}

.nx-drawer-menu {
    list-style: none;
    flex: 1;
}

.nx-drawer-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nx-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 500;
    color: var(--nx-white);
}

.nx-drawer-link.is-active {
    font-weight: 700;
}

.nx-drawer-link .nx-nav-glyph {
    fill: var(--nx-white);
    opacity: 0.95;
}

/* —— Main shell —— */
.nx-page-shell {
    max-width: var(--nx-max);
    margin: 0 auto;
    padding: 16px 16px 24px;
    min-height: 40vh;
}

/* Breadcrumbs */
.nx-crumb-trail {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--nx-muted);
}

.nx-crumb-link {
    color: var(--nx-blue);
}

.nx-crumb-sep {
    color: var(--nx-line);
}

/* —— Hero / banners —— */
.nx-hero-strip {
    margin-bottom: 24px;
}

.nx-hero-card {
    position: relative;
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #ff8a4c 0%, #ff6b35 50%, #f97316 100%);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.nx-hero-card.is-active {
    display: block;
}

.nx-hero-card:not(.is-active) {
    display: none;
}

.nx-hero-card:first-child {
    display: block;
}

.nx-hero-strip[data-nx-hero-strip] .nx-hero-card.is-active {
    display: block;
}

.nx-hero-media {
    position: relative;
    min-height: 180px;
}

.nx-hero-media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 280px;
}

.nx-hero-body {
    padding: 20px 20px 24px;
    background: var(--nx-white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nx-hero-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nx-ink);
    margin-bottom: 6px;
}

.nx-hero-sub {
    font-size: 14px;
    color: var(--nx-muted);
    max-width: 520px;
}

.nx-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--nx-blue);
    color: var(--nx-white);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    --nx-pulse-color: rgba(47, 107, 255, 0.55);
    animation: nx-header-btn-pulse 2s ease-in-out infinite;
    transition: opacity 0.15s, transform 0.15s;
}

.nx-hero-btn:hover {
    opacity: 0.94;
    transform: translateY(-1px);
    animation-play-state: paused;
}

.nx-hero-dots {
    display: flex;
    gap: 8px;
    padding: 12px 20px 0;
    justify-content: center;
}

.nx-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--nx-line);
    cursor: pointer;
    padding: 0;
}

.nx-hero-dot.is-active {
    background: var(--nx-blue);
    width: 24px;
    border-radius: 4px;
}

/* Legacy promo (single banner without carousel attrs) */
.nx-promo-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.nx-promo-tile {
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    background: var(--nx-white);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.nx-promo-tile img {
    width: 100%;
}

.nx-promo-copy {
    padding: 16px 20px;
}

.nx-promo-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.nx-promo-text {
    color: var(--nx-muted);
    font-size: 14px;
    margin-bottom: 12px;
}

/* —— Game sections —— */
.nx-games-block {
    margin-bottom: 28px;
}

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

.nx-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nx-ink);
}

.nx-more-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--nx-blue);
    padding: 6px 14px;
    border: 1px solid var(--nx-blue);
    border-radius: 999px;
}

.nx-games-track-wrap {
    overflow: hidden;
    margin: 0 -4px;
}

.nx-games-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 4px 12px;
    scrollbar-width: thin;
}

.nx-games-track::-webkit-scrollbar {
    height: 4px;
}

.nx-games-track::-webkit-scrollbar-thumb {
    background: var(--nx-line);
    border-radius: 4px;
}

.nx-game-tile {
    flex: 0 0 140px;
    scroll-snap-align: start;
    background: var(--nx-white);
    border-radius: var(--nx-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
    .nx-game-tile {
        flex: 0 0 160px;
    }
}

.nx-game-thumb {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--nx-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.nx-game-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--nx-white);
    text-transform: uppercase;
}

.nx-game-badge--top {
    background: var(--nx-blue);
}

.nx-game-badge--new {
    background: var(--nx-green);
}

.nx-game-label {
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nx-game-play {
    display: block;
    margin: 0 10px 10px;
    padding: 8px;
    text-align: center;
    background: var(--nx-blue);
    color: var(--nx-white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

/* —— Bonuses —— */
.nx-bonus-zone {
    margin-bottom: 28px;
}

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

.nx-bonus-tile {
    background: var(--nx-white);
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.nx-bonus-visual img {
    width: 100%;
}

.nx-bonus-body {
    padding: 16px;
}

.nx-bonus-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.nx-bonus-desc {
    font-size: 14px;
    color: var(--nx-muted);
    margin-bottom: 8px;
}

.nx-bonus-val {
    font-weight: 700;
    color: var(--nx-blue);
    margin-bottom: 8px;
}

.nx-bonus-tag {
    display: inline-block;
    font-size: 11px;
    padding: 4px 10px;
    background: var(--nx-surface);
    border-radius: 999px;
}

.nx-bonus-legal {
    margin-top: 10px;
    font-size: 12px;
    color: var(--nx-muted);
}

/* —— Payments block —— */
.nx-pay-block {
    margin: 32px 0;
    padding: 24px;
    background: var(--nx-white);
    border-radius: var(--nx-radius-lg);
}

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

.nx-pay-item {
    text-align: center;
    padding: 12px;
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
    background: var(--nx-surface);
}

.nx-pay-item img {
    max-height: 36px;
    margin: 0 auto 8px;
    object-fit: contain;
}

.nx-pay-name {
    font-size: 11px;
    font-weight: 600;
}

/* —— Rich prose (text.json: h1–h3, tables, lists, FAQ, howto) —— */
.seo-copy {
    background: var(--nx-white);
    border-radius: var(--nx-radius-lg);
    padding: 28px 24px 32px;
    margin-top: 24px;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--nx-line);
}

.seo-copy--rich {
    --nx-prose-gap: 1rem;
}

/* Headings */
.seo-copy .nx-prose-h1,
.seo-copy h1.nx-prose-h1,
.seo-copy h1 {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 1.25rem;
    padding-bottom: 16px;
    line-height: 1.25;
    color: var(--nx-ink);
    letter-spacing: -0.02em;
    border-bottom: 2px solid var(--nx-line);
}

.seo-copy .nx-prose-h2,
.seo-copy h2 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 700;
    margin: 2.25rem 0 1rem;
    color: var(--nx-ink);
    line-height: 1.3;
}

.seo-copy .nx-prose-h2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seo-copy .nx-prose-h2 span {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.seo-copy .nx-prose-h2 span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--nx-blue), var(--nx-green));
}

.seo-copy .nx-prose-h3,
.seo-copy h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 1.75rem 0 0.65rem;
    color: var(--nx-ink);
    padding-left: 14px;
    border-left: 3px solid var(--nx-blue);
    line-height: 1.35;
}

/* Paragraphs & inline */
.seo-copy .nx-prose-p,
.seo-copy p {
    margin: 0 0 var(--nx-prose-gap);
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

.seo-copy .nx-prose-p:last-child,
.seo-copy p:last-child {
    margin-bottom: 0;
}

.seo-copy a {
    color: var(--nx-blue);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(47, 107, 255, 0.35);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.seo-copy a:hover {
    color: var(--nx-blue-dark);
    border-bottom-color: var(--nx-blue-dark);
}

.seo-copy strong {
    font-weight: 700;
    color: var(--nx-ink);
}

.seo-copy em {
    font-style: italic;
    color: #475569;
}

/* Images */
.seo-copy .nx-prose-figure,
.nx-prose-figure {
    margin: 1.5rem 0;
}

.seo-copy .nx-prose-img,
.seo-copy img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: var(--nx-radius);
    border: 1px solid var(--nx-line);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

/* Tables */
.nx-table-wrap {
    margin: 1.5rem 0;
    border-radius: var(--nx-radius);
    border: 1px solid var(--nx-line);
    background: var(--nx-white);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.nx-table-scroll,
.seo-copy .nx-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nx-data-table,
.seo-copy table,
.nx-table-scroll table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 14px;
}

.nx-data-table thead,
.seo-copy thead {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.nx-data-table th,
.seo-copy th,
.nx-table-scroll th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--nx-ink);
    border-bottom: 2px solid var(--nx-line);
    white-space: nowrap;
}

.nx-data-table td,
.seo-copy td,
.nx-table-scroll td {
    padding: 12px 16px;
    text-align: left;
    color: #334155;
    border-bottom: 1px solid var(--nx-line);
    vertical-align: top;
    line-height: 1.5;
}

.nx-data-table tbody tr:last-child td,
.seo-copy tbody tr:last-child td {
    border-bottom: none;
}

.nx-data-table tbody tr:nth-child(even),
.seo-copy tbody tr:nth-child(even) {
    background: rgba(241, 245, 249, 0.6);
}

.nx-data-table tbody tr:hover,
.seo-copy tbody tr:hover {
    background: rgba(47, 107, 255, 0.06);
}

.nx-data-table caption,
.seo-copy caption {
    caption-side: bottom;
    padding: 10px 16px;
    font-size: 12px;
    color: var(--nx-muted);
    text-align: left;
    background: var(--nx-surface);
}

/* Lists */
.nx-list-card {
    margin: 1.25rem 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
}

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

.nx-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nx-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nx-list li:first-child {
    padding-top: 0;
}

.nx-list--ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316a34a'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.nx-list--ul li:first-child::before {
    top: 6px;
}

.nx-list--ol {
    counter-reset: nx-list-num;
}

.nx-list--ol li {
    counter-increment: nx-list-num;
    padding-left: 40px;
}

.nx-list--ol li::before {
    content: counter(nx-list-num);
    position: absolute;
    left: 0;
    top: 10px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--nx-white);
    background: var(--nx-blue);
    border-radius: 50%;
}

.nx-list--ol li:first-child::before {
    top: 0;
}

.nx-list li a {
    font-weight: 500;
}

/* Quote */
.nx-quote {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin: 1.75rem 0;
    padding: 20px 22px;
    border: none;
    border-radius: var(--nx-radius);
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.08) 0%, rgba(34, 197, 94, 0.06) 100%);
    border-left: 4px solid var(--nx-blue);
    box-shadow: 0 2px 12px rgba(47, 107, 255, 0.08);
}

.nx-quote-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--nx-blue);
    position: relative;
}

.nx-quote-icon::before {
    content: "\201C";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--nx-white);
    line-height: 1;
    font-family: Georgia, serif;
}

.nx-quote-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #1e293b;
    font-style: italic;
}

/* How-to steps */
.nx-howto,
.nx-howto-block {
    margin: 1.5rem 0;
    padding: 20px 20px 12px;
    background: var(--nx-surface);
    border-radius: var(--nx-radius);
    border: 1px solid var(--nx-line);
}

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

.nx-howto-step {
    counter-increment: nx-step;
    position: relative;
    margin: 0 0 12px;
    padding: 16px 16px 16px 56px;
    background: var(--nx-white);
    border-radius: var(--nx-radius);
    border: 1px solid var(--nx-line);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nx-howto-step::before {
    content: counter(nx-step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--nx-blue), var(--nx-blue-dark));
    color: var(--nx-white);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(47, 107, 255, 0.35);
}

.nx-howto-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--nx-ink);
    margin-bottom: 6px;
    line-height: 1.35;
}

.nx-howto-step-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--nx-muted);
}

/* FAQ accordion */
.nx-faq,
.nx-faq-block {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nx-faq-item {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
    background: var(--nx-white);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nx-faq-item:hover {
    border-color: rgba(47, 107, 255, 0.35);
}

.nx-faq-item[open] {
    border-color: rgba(47, 107, 255, 0.45);
    box-shadow: 0 4px 16px rgba(47, 107, 255, 0.1);
}

.nx-faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(180deg, #fafbfc 0%, #f8fafc 100%);
    transition: background 0.2s ease;
}

.nx-faq-summary::-webkit-details-marker {
    display: none;
}

.nx-faq-summary::marker {
    content: "";
}

.nx-faq-item[open] .nx-faq-summary {
    background: linear-gradient(180deg, rgba(47, 107, 255, 0.08) 0%, rgba(47, 107, 255, 0.03) 100%);
    border-bottom: 1px solid var(--nx-line);
}

.nx-faq-q {
    font-size: 15px;
    font-weight: 600;
    color: var(--nx-ink);
    line-height: 1.45;
    flex: 1;
}

.nx-faq-chevron {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--nx-white);
    border: 1px solid var(--nx-line);
    position: relative;
    transition: transform 0.25s ease, background 0.2s ease;
}

.nx-faq-chevron::before,
.nx-faq-chevron::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background: var(--nx-blue);
    border-radius: 1px;
    transform: translate(-50%, -50%);
    transition: transform 0.25s ease;
}

.nx-faq-chevron::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.nx-faq-item[open] .nx-faq-chevron {
    background: var(--nx-blue);
    border-color: var(--nx-blue);
    transform: rotate(0deg);
}

.nx-faq-item[open] .nx-faq-chevron::before,
.nx-faq-item[open] .nx-faq-chevron::after {
    background: var(--nx-white);
}

.nx-faq-item[open] .nx-faq-chevron::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

.nx-faq-a {
    padding: 16px 18px 18px;
}

.nx-faq-a p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

/* Legacy FAQ (static blocks) */
.nx-faq-entry {
    border: 1px solid var(--nx-line);
    border-radius: var(--nx-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.nx-faq-entry .nx-faq-q {
    padding: 14px 16px;
    background: var(--nx-surface);
}

/* App spec card (aplikacja-kasyna) */
.nx-app-card {
    position: relative;
    margin-bottom: 28px;
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
}

.nx-app-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 45%, #0f172a 100%);
}

.nx-app-card-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.55;
}

.nx-app-card-orb--1 {
    width: 220px;
    height: 220px;
    top: -60px;
    right: -40px;
    background: rgba(47, 107, 255, 0.45);
}

.nx-app-card-orb--2 {
    width: 180px;
    height: 180px;
    bottom: -50px;
    left: -30px;
    background: rgba(34, 197, 94, 0.35);
}

.nx-app-card-inner {
    position: relative;
    z-index: 1;
    padding: 28px 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--nx-radius-lg);
    box-shadow:
        0 4px 24px rgba(15, 23, 42, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.nx-app-card-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nx-app-card-identity {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.nx-app-card-logo-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nx-app-card-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nx-app-card-head {
    min-width: 0;
}

.nx-app-card-title {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.nx-app-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nx-app-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.nx-app-badge--version {
    color: #bfdbfe;
    background: rgba(47, 107, 255, 0.35);
    border: 1px solid rgba(147, 197, 253, 0.35);
}

.nx-app-badge--platform {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.25);
    border: 1px solid rgba(134, 239, 172, 0.3);
}

.nx-app-badge--size {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nx-app-card-dl {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: linear-gradient(135deg, var(--nx-green) 0%, var(--nx-green-dark) 100%);
    color: var(--nx-white);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}

.nx-app-card-dl:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.55);
    color: var(--nx-white);
}

.nx-app-card-dl-icon {
    display: flex;
    width: 22px;
    height: 22px;
}

.nx-app-card-dl-icon .nx-app-spec-svg {
    width: 22px;
    height: 22px;
}

.nx-app-card-desc {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.88);
}

.nx-app-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
}

.nx-app-spec-tile {
    margin: 0;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--nx-radius);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.nx-app-spec-tile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.nx-app-spec-tile-key {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(148, 163, 184, 0.95);
}

.nx-app-spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

.nx-app-spec-svg {
    width: 20px;
    height: 20px;
}

.nx-app-spec-tile--platform .nx-app-spec-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.nx-app-spec-tile--size .nx-app-spec-icon {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.nx-app-spec-tile--version .nx-app-spec-icon {
    background: rgba(47, 107, 255, 0.25);
    color: #93c5fd;
}

.nx-app-spec-tile--updated .nx-app-spec-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
}

.nx-app-spec-tile-val {
    margin: 0;
    padding-left: 46px;
    font-size: 15px;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .nx-app-card-inner {
        padding: 22px 18px 18px;
    }

    .nx-app-card-hero {
        flex-direction: column;
    }

    .nx-app-card-dl {
        width: 100%;
        justify-content: center;
    }

    .nx-app-spec-grid {
        grid-template-columns: 1fr;
    }

    .nx-app-spec-tile-val {
        padding-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nx-app-card-orb {
        display: none;
    }

    .nx-app-card-dl:hover {
        transform: none;
    }
}

/* —— Footer —— */
.nx-site-foot {
    margin-top: 40px;
    background: linear-gradient(180deg, #111c33 0%, #0b1220 55%, #070b14 100%);
    color: #94a3b8;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    position: relative;
    overflow: hidden;
}

.nx-site-foot::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47, 107, 255, 0.5), rgba(34, 197, 94, 0.4), transparent);
}

.nx-foot-wrap {
    max-width: var(--nx-max);
    margin: 0 auto;
    padding: 48px 20px 28px;
}

.nx-foot-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.1fr) minmax(0, 2fr);
    gap: 40px 32px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nx-foot-main--no-brand {
    grid-template-columns: 1fr;
}

.nx-foot-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nx-foot-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nx-foot-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--nx-white);
}

.nx-foot-tagline {
    font-size: 13px;
    line-height: 1.65;
    color: #94a3b8;
    max-width: 320px;
}

.nx-foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 20px;
}

.nx-foot-col-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--nx-white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nx-foot-links {
    list-style: none;
}

.nx-foot-links li {
    margin-bottom: 10px;
}

.nx-foot-links a {
    color: #94a3b8;
    font-size: 14px;
    transition: color 0.15s, padding-left 0.15s;
}

.nx-foot-links a:hover,
.nx-foot-links a.is-active {
    color: var(--nx-white);
    padding-left: 4px;
}

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

.nx-foot-soc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.nx-foot-soc-btn:hover {
    background: rgba(47, 107, 255, 0.2);
    border-color: rgba(47, 107, 255, 0.45);
    transform: translateY(-2px);
}

.nx-foot-soc-img {
    max-height: 22px;
    max-width: 22px;
    width: auto;
    object-fit: contain;
}

.nx-foot-soc-fallback {
    font-size: 15px;
    font-weight: 700;
    color: var(--nx-white);
}

.nx-foot-pay {
    padding: 28px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    text-align: center;
}

.nx-foot-pay-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nx-white);
    margin-bottom: 18px;
}

.nx-foot-pay-grid {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nx-foot-pay-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    height: 48px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nx-foot-pay-item img {
    max-height: 28px;
    max-width: 72px;
    width: auto;
    object-fit: contain;
}

.nx-foot-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nx-foot-trust {
    padding: 28px 0;
    text-align: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nx-foot-trust-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nx-white);
    margin-bottom: 16px;
}

.nx-foot-trust-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 24px;
}

.nx-foot-trust-list a {
    display: block;
    opacity: 0.88;
    transition: opacity 0.15s;
}

.nx-foot-trust-list a:hover {
    opacity: 1;
}

.nx-safe-badge {
    max-height: 44px;
    width: auto;
}

.nx-foot-bar {
    padding-top: 24px;
    text-align: center;
}

.nx-foot-copy {
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.nx-foot-disc {
    font-size: 12px;
    line-height: 1.6;
    color: #64748b;
    max-width: 720px;
    margin: 0 auto;
}

/* —— Mobile bottom dock —— */
.nx-mobile-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 190;
    background: var(--nx-white);
    border-top: 1px solid var(--nx-line);
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
    gap: 8px;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
}

.nx-mobile-dock .nx-btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 13px;
}

.nx-dock-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--nx-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nx-dock-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--nx-ink);
}

/* —— 404 —— */
.nx-notfound {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(72vh, 640px);
    padding: 32px 16px 48px;
    overflow: hidden;
}

.nx-notfound-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nx-notfound-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.45;
}

.nx-notfound-orb--1 {
    width: 220px;
    height: 220px;
    top: -40px;
    right: 10%;
    background: rgba(47, 107, 255, 0.35);
}

.nx-notfound-orb--2 {
    width: 180px;
    height: 180px;
    bottom: -20px;
    left: 5%;
    background: rgba(34, 197, 94, 0.28);
}

.nx-notfound-orb--3 {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 45%;
    background: rgba(47, 107, 255, 0.2);
}

.nx-notfound-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 40px 28px 36px;
    text-align: center;
    background: var(--nx-white);
    border-radius: var(--nx-radius-lg);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 20px 48px rgba(15, 23, 42, 0.1);
    border: 1px solid var(--nx-line);
}

.nx-notfound-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    color: var(--nx-blue);
    opacity: 0.85;
}

.nx-notfound-icon svg {
    width: 56px;
    height: 56px;
}

.nx-notfound-code {
    font-size: clamp(4rem, 18vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--nx-blue) 0%, #5b8cff 45%, var(--nx-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nx-notfound-title {
    font-size: clamp(1.15rem, 4vw, 1.4rem);
    font-weight: 700;
    color: var(--nx-ink);
    margin-bottom: 12px;
    line-height: 1.35;
}

.nx-notfound-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--nx-muted);
    margin-bottom: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.nx-notfound-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.nx-notfound-actions .nx-btn {
    min-width: 160px;
}

.nx-notfound-actions .nx-btn--register {
    --nx-pulse-color: rgba(34, 197, 94, 0.55);
    animation: nx-header-btn-pulse 2s ease-in-out infinite;
}

.nx-notfound-actions .nx-btn--register:hover {
    animation-play-state: paused;
}

@media (max-width: 480px) {
    .nx-notfound-card {
        padding: 32px 20px 28px;
    }

    .nx-notfound-actions {
        flex-direction: column;
    }

    .nx-notfound-actions .nx-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nx-notfound-orb {
        display: none;
    }
}

/* —— Content pages (legal / info) —— */
.nx-content-page {
    position: relative;
    padding: 24px 16px 40px;
    overflow: hidden;
}

.nx-content-page-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nx-content-page-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    opacity: 0.35;
}

.nx-content-page-orb--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -40px;
    background: rgba(47, 107, 255, 0.3);
}

.nx-content-page-orb--2 {
    width: 240px;
    height: 240px;
    bottom: -60px;
    left: -40px;
    background: rgba(34, 197, 94, 0.22);
}

.nx-content-page-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 28px 36px;
    background: var(--nx-white);
    border-radius: var(--nx-radius-lg);
    border: 1px solid var(--nx-line);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 16px 40px rgba(15, 23, 42, 0.08);
}

.nx-content-page-card .seo-copy {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 0;
    max-width: none;
}

.nx-crumb-trail--inset {
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--nx-line);
    font-size: 13px;
}

.nx-content-page-card .nx-table-wrap {
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 640px) {
    .nx-content-page {
        padding: 16px 12px 32px;
    }

    .nx-content-page-card {
        padding: 22px 18px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nx-content-page-orb {
        display: none;
    }
}

/* —— Contact page —— */
.nx-contact {
    position: relative;
    padding: 24px 16px 48px;
    overflow: hidden;
}

.nx-contact-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nx-contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.4;
}

.nx-contact-orb--1 {
    width: 320px;
    height: 320px;
    top: -100px;
    right: -60px;
    background: rgba(47, 107, 255, 0.35);
}

.nx-contact-orb--2 {
    width: 280px;
    height: 280px;
    bottom: -80px;
    left: -50px;
    background: rgba(34, 197, 94, 0.28);
}

.nx-contact-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 32px 32px 40px;
    background: var(--nx-white);
    border-radius: var(--nx-radius-lg);
    border: 1px solid var(--nx-line);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 20px 48px rgba(15, 23, 42, 0.1);
}

.nx-contact-title {
    font-size: clamp(1.75rem, 4.5vw, 2.25rem);
    font-weight: 800;
    color: var(--nx-ink);
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.nx-contact-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--nx-muted);
    margin: 0 0 28px;
    max-width: 52ch;
}

.nx-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.nx-contact-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 22px 22px;
    border-radius: var(--nx-radius);
    border: 1px solid var(--nx-line);
    background: linear-gradient(165deg, #fafbfc 0%, var(--nx-white) 55%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nx-contact-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.nx-contact-tile--mail {
    border-color: rgba(47, 107, 255, 0.22);
}

.nx-contact-tile--mail:hover {
    border-color: rgba(47, 107, 255, 0.45);
}

.nx-contact-tile--chat {
    border-color: rgba(34, 197, 94, 0.22);
}

.nx-contact-tile--chat:hover {
    border-color: rgba(34, 197, 94, 0.45);
}

.nx-contact-tile-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 4px;
}

.nx-contact-tile--mail .nx-contact-tile-icon {
    background: rgba(47, 107, 255, 0.12);
    color: var(--nx-blue);
}

.nx-contact-tile--chat .nx-contact-tile-icon {
    background: rgba(34, 197, 94, 0.12);
    color: var(--nx-green-dark);
}

.nx-contact-tile-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.nx-contact-tile-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--nx-ink);
}

.nx-contact-tile-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--nx-muted);
    margin: 0;
    flex: 1;
}

.nx-contact-action {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nx-white);
    background: var(--nx-blue);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    word-break: break-all;
}

.nx-contact-action:hover {
    background: var(--nx-blue-dark);
    transform: translateY(-1px);
}

.nx-contact-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--nx-green-dark);
    background: rgba(34, 197, 94, 0.15);
    border-radius: 999px;
}

.nx-contact-btn {
    align-self: flex-start;
    margin-top: 8px;
}

.nx-contact-hours {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--nx-radius);
    background: linear-gradient(135deg, rgba(47, 107, 255, 0.08) 0%, rgba(47, 107, 255, 0.03) 100%);
    border: 1px solid rgba(47, 107, 255, 0.15);
}

.nx-contact-hours-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(47, 107, 255, 0.14);
    color: var(--nx-blue);
}

.nx-contact-hours-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.nx-contact-hours-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--nx-ink);
    margin-bottom: 6px;
}

.nx-contact-hours-text {
    font-size: 14px;
    line-height: 1.65;
    color: var(--nx-muted);
    margin: 0;
}

.seo-copy--seo-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 720px) {
    .nx-contact {
        padding: 16px 12px 36px;
    }

    .nx-contact-card {
        padding: 22px 18px 28px;
    }

    .nx-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .nx-contact-tile {
        padding: 20px 18px 18px;
    }

    .nx-contact-action,
    .nx-contact-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nx-contact-orb {
        display: none;
    }

    .nx-contact-tile:hover {
        transform: none;
    }
}

/* —— Desktop —— */
@media (min-width: 993px) {
    .nx-topbar-actions {
        display: flex;
    }

    .nx-primary-nav {
        display: block;
        position: sticky;
        top: var(--nx-topbar-h);
        z-index: 150;
    }

    .nx-drawer-trigger,
    .nx-drawer-panel,
    .nx-drawer-mask,
    .nx-mobile-dock {
        display: none !important;
    }

    .nx-page-shell {
        padding: 24px 20px 40px;
    }

    .nx-hero-body {
        padding: 28px 32px;
    }

    .nx-hero-title {
        font-size: 1.5rem;
    }

    .nx-games-track {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    .nx-game-tile {
        flex: 0 0 calc(20% - 10px);
        max-width: calc(20% - 10px);
    }
}

/* —— Mobile —— */
@media (max-width: 992px) {
    .nx-topbar-inner {
        gap: 8px;
    }

    .nx-brand {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-start;
        min-width: 0;
        margin-right: auto;
    }

    .nx-brand img {
        height: 32px;
    }

    .nx-topbar-actions {
        display: flex;
        flex-shrink: 0;
        gap: 6px;
    }

    .nx-topbar-actions .nx-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .nx-drawer-trigger {
        display: flex;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        padding: 9px;
    }

    /* CTA уже в хедере — в dock оставляем только иконки навигации */
    .nx-mobile-dock > .nx-btn {
        display: none;
    }

    .nx-mobile-dock {
        display: flex;
        justify-content: center;
        --nx-dock-h: 52px;
    }

    body.nx-site {
        padding-bottom: calc(var(--nx-dock-h) + 12px);
    }

    .nx-page-shell {
        padding: 12px 12px 20px;
    }

    .seo-copy {
        padding: 20px 16px 24px;
    }

    .seo-copy .nx-prose-h1,
    .seo-copy h1 {
        font-size: 1.35rem;
    }

    .nx-list-card {
        padding: 14px 16px;
    }

    .nx-quote {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .nx-howto-step {
        padding-left: 52px;
    }

    .nx-faq-summary {
        padding: 14px 16px;
    }

    .nx-foot-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .nx-foot-cols {
        grid-template-columns: 1fr 1fr;
        gap: 24px 16px;
    }

    .nx-foot-col--social {
        grid-column: 1 / -1;
    }

    .nx-foot-wrap {
        padding: 36px 16px 24px;
    }
}

@media (max-width: 480px) {
    .nx-foot-cols {
        grid-template-columns: 1fr;
    }

    .nx-foot-pay-item {
        min-width: 76px;
        height: 42px;
        padding: 6px 10px;
    }
}
