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

:root {
    --bg: #0a1410;
    --bg-2: #0f1d14;
    --surface: #15251a;
    --surface-2: #1a2e20;
    --line: #243a2a;
    --line-2: #2e4a36;
    --accent: #b6ff3d;
    --accent-2: #9aee2a;
    --accent-soft: rgba(182, 255, 61, 0.12);
    --teal: #1f5a55;
    --teal-2: #267069;
    --ink: #e6efe8;
    --ink-mute: #98ad9d;
    --ink-dim: #6f8175;
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 10px;
    --r-pill: 999px;
    --t: 200ms ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}

.topbar__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar__brand img {
    height: 40px;
    width: auto;
    display: block;
}

.topbar__nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Pills (только для шапки и hero CTA) */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    border: 0;
    cursor: pointer;
    padding: 11px 22px;
    border-radius: var(--r-pill);
    font-family: inherit;
    letter-spacing: 0.1px;
    white-space: nowrap;
    transition: background var(--t), color var(--t);
}

.pill--accent {
    background: var(--accent);
    color: #0a1410;
}

.pill--accent:hover {
    background: var(--accent-2);
}

.pill--ghost {
    background: var(--accent);
    color: #0a1410;
}

.pill--ghost:hover {
    background: var(--accent-2);
}

.pill--ghost svg {
    width: 16px;
    height: 16px;
    stroke: #0a1410;
}

.pill--lg {
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 800;
}

/* Promo (баннер) */
.promo {
    position: relative;
    overflow: hidden;
}

.promo__media {
    position: relative;
    display: block;
    width: 100%;
}

.promo__img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 260px;
    object-fit: cover;
    object-position: center;
}

.promo__cta {
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Block */
.block {
    padding: 44px 0 16px;
}

.block__title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 22px;
    letter-spacing: -0.2px;
}

/* Grid */
.grid {
    display: grid;
    gap: 14px;
}

.grid--games {
    grid-template-columns: repeat(4, 1fr);
    padding: 14px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
}

.grid--bonus {
    grid-template-columns: repeat(3, 1fr);
}

/* Tile (game card) */
.tile {
    position: relative;
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color var(--t);
}

.tile:hover {
    border-color: var(--line-2);
}

.tile__chip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(245, 245, 245, 0.92);
    color: #1c1c1c;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--r-sm);
    z-index: 2;
    letter-spacing: 0.1px;
}

.tile__art {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #000;
}

.tile__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tile__name {
    display: block;
    padding: 10px 12px 11px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-mute);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 1px solid var(--line);
}

/* Promo (bonus) cards — больше не кликабельны */
.promo-card {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}

.promo-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article */
.article {
    padding: 40px 0 32px;
}

.crumbs {
    font-size: 13px;
    color: var(--ink-dim);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.crumbs__sep {
    color: var(--line-2);
}

.crumbs__here {
    color: var(--accent-2);
}

.article__meta {
    font-size: 13px;
    color: var(--ink-dim);
    margin-bottom: 14px;
}

.article__h1 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.article__body {
    color: var(--ink-mute);
    font-size: 15px;
    line-height: 1.75;
}

.article__body h2 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.article__body h3 {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 22px 0 10px;
}

.article__body p {
    margin-bottom: 14px;
}

.article__body ul {
    margin: 12px 0 18px;
    padding-left: 18px;
    list-style: disc;
}

.article__body ul li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
}

.article__body table tr:first-child td {
    background: var(--bg-2);
    font-weight: 600;
    color: var(--accent-2);
    font-size: 14px;
}

.article__body table td {
    padding: 11px 14px;
    border: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
    vertical-align: top;
}

.article__body table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.015);
}

.article__body img {
    border-radius: var(--r-sm);
    margin: 22px auto;
    max-width: 100%;
    height: auto;
}

.article__body a {
    color: var(--accent-2);
    text-decoration: underline;
    text-decoration-color: rgba(154, 238, 42, 0.4);
    text-underline-offset: 2px;
}

.article__body a:hover {
    text-decoration-color: var(--accent-2);
}

/* Footer */
.foot {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
}

.foot__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 26px 20px;
    border-bottom: 1px solid var(--line);
}

.foot__menu-link {
    color: var(--ink-mute);
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    transition: color var(--t);
}

.foot__menu-link:hover {
    color: var(--accent-2);
}

.foot__menu-dot {
    color: var(--ink-dim);
    font-size: 8px;
    opacity: 0.6;
}

.foot__certs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    padding: 32px 20px;
    border-bottom: 1px solid var(--line);
}

.foot__cert {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.foot__cert-img {
    width: 52px;
    height: auto;
}

.foot__cert-text {
    font-size: 12px;
    color: var(--ink-dim);
    max-width: 200px;
    line-height: 1.4;
}

.age-mark {
    width: 52px;
    height: 52px;
    border: 2px solid var(--ink-dim);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink-dim);
    letter-spacing: -0.5px;
}

.foot__providers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 30px 20px;
    border-bottom: 1px solid var(--line);
}

.foot__providers img {
    height: 26px;
    width: auto;
    opacity: 0.42;
    filter: grayscale(100%) brightness(1.4);
    transition: opacity var(--t);
}

.foot__providers img:hover {
    opacity: 0.75;
}

.foot__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
}

.foot__brand img {
    height: 44px;
    width: auto;
}

/* Legal block (под футером) */
.legal {
    background: var(--bg);
    padding: 28px 20px 36px;
}

.legal__inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.legal__inner p {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--ink-dim);
    margin-bottom: 6px;
}

.legal__copy {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--ink-dim);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .grid--games {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid--bonus {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wrap {
        padding: 0 18px;
    }

    .topbar {
        padding: 11px 0;
    }

    .topbar__brand img {
        height: 32px;
    }

    .pill {
        padding: 9px 16px;
        font-size: 13px;
    }

    .promo__img {
        min-height: 220px;
    }

    .pill--lg {
        padding: 11px 22px;
        font-size: 13px;
    }

    .promo__cta {
        bottom: 16px;
    }

    .block {
        padding: 30px 0 10px;
    }

    .block__title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .grid--games {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .grid--bonus {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .promo-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }

    .article {
        padding: 28px 0 24px;
    }

    .article__h1 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .article__body {
        font-size: 14px;
        line-height: 1.7;
    }

    .article__body h2 {
        font-size: 19px;
        margin: 24px 0 10px;
    }

    .foot__certs {
        gap: 28px;
    }

    .foot__providers {
        gap: 16px;
    }

    .foot__providers img {
        height: 22px;
    }

    .article__body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .article__body table td {
        padding: 9px 11px;
        font-size: 13px;
    }

    .legal__inner p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 14px;
    }

    .topbar {
        padding: 9px 0;
    }

    .topbar__brand img {
        height: 28px;
    }

    .topbar__nav {
        gap: 6px;
    }

    .pill {
        padding: 7px 12px;
        font-size: 12px;
        gap: 5px;
    }

    .pill--ghost svg {
        width: 13px;
        height: 13px;
    }

    .promo__img {
        min-height: 170px;
    }

    .pill--lg {
        padding: 9px 18px;
        font-size: 12px;
    }

    .promo__cta {
        bottom: 12px;
        padding: 0 14px;
    }

    .block {
        padding: 22px 0 8px;
    }

    .block__title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    .grid--games {
        gap: 8px;
        padding: 8px;
    }

    .tile__chip {
        font-size: 10px;
        padding: 3px 7px;
        top: 7px;
        left: 7px;
    }

    .tile__name {
        padding: 8px 10px;
        font-size: 12px;
    }

    .grid--bonus {
        gap: 10px;
    }

    .article {
        padding: 22px 0 18px;
    }

    .article__h1 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .article__body {
        font-size: 13px;
        line-height: 1.7;
    }

    .article__body h2 {
        font-size: 17px;
        margin: 18px 0 8px;
    }

    .foot__certs {
        flex-direction: column;
        gap: 22px;
        padding: 24px 16px;
    }

    .foot__menu {
        gap: 4px;
        padding: 18px 16px;
    }

    .foot__menu-link {
        font-size: 12px;
        padding: 3px 6px;
    }

    .foot__providers {
        gap: 14px;
        padding: 24px 16px;
    }

    .foot__providers img {
        height: 18px;
    }

    .foot__brand {
        padding: 22px 16px;
    }

    .foot__brand img {
        height: 34px;
    }

    .legal {
        padding: 22px 14px 28px;
    }

    .legal__inner p {
        font-size: 11.5px;
    }
}