:root {
    /* Основные цвета */
    --color-primary: #fff;
    --color-primary-dark: #d97706;
    --color-secondary: #f59e0b;
    --color-accent: #ffb800;

    /* Фоновые цвета */
    --bg-primary: #111827;
    --bg-secondary: #1a2332;
    --bg-dark: #0b1120;
    --bg-card: #1f2937;
    --bg-card-hover: #374151;
    --bg-overlay: rgba(17, 24, 39, 0.35);

    /* Текстовые цвета */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #d1d5db;
    --text-light: #9ca3af;
    --text-dark: #6b7280;
    --text-button: #000;

    /* Границы */
    --border-primary: #1f2937;
    --border-secondary: #374151;
    --border-card: #4b5563;
    --border-overlay: rgba(75, 85, 99, 0.3);

    /* Градиенты */
    --gradient-primary: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
    --gradient-text: linear-gradient(135deg, var(--text-primary) 0%, #c5c5c5 100%);
    --gradient-card: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    --gradient-bg: linear-gradient(90deg, #1a2744, #1e3050);
    --gradient-cta: linear-gradient(90deg, #111827 0%, #1a1c2e 102.14%);
    --gradient-benefits: linear-gradient(90deg, #0d1a2e 0%, #1b2d4e 50%, #0d1a2e 100%);

    /* Тени */
    --shadow-primary: 0 0 25px rgba(245, 158, 11, 0.4);
    --shadow-secondary: rgba(0, 0, 0, 0.3);
    --shadow-card: rgba(0, 0, 0, 0.4);

    /* Статусные цвета */
    --status-new: #3b82f6;
    --status-jackpot: #fbbf24;
    --status-top: #22c55e;
}

*, ::after, ::before {
    box-sizing: border-box;
    border-width: 0;
    margin: 0;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
}

main {
    padding: 0;
    background: var(--gradient-cta);
}

.popular-slots-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.title-accent {
    width: 4px;
    height: 40px;
    background: var(--status-top);
    border-radius: 2px;
}

.all-games-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--status-top);
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1), gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: color, gap;
}

.all-games-link:hover {
    color: #fff;
    gap: 12px;
}

.all-games-link svg {
    width: 20px;
    height: 20px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slot-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.slot-card:hover {
    transform: translateY(-8px) translateZ(0);
}

.slot-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    background: #0f0519;
    transform: translateZ(0);
    will-change: transform;
}

.slot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0) scale(1);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.slot-card:hover .slot-image {
    transform: translateZ(0) scale(1.05);
}

/* Градиент снизу вверх */
.slot-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transform: translateZ(0);
    will-change: opacity;
}

.slot-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    transform: translateZ(0);
}

.badge-rtp {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateZ(0);
    will-change: transform;
}

.slot-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    z-index: 2;
    transform: translateZ(0);
    will-change: transform;
}

.slot-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
}

.slot-provider {
    font-size: 13px;
    color: #d1d5db;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transform: translateZ(0);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .slots-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .title-accent {
        height: 32px;
    }

    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .slot-title {
        font-size: 16px;
    }

    .slot-provider {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu {
    display: flex;
    position: relative;
    justify-content: flex-end;
    width: 100%;
    margin: 0 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: 0.3s;
    padding: 5px;
    display: block;
    border-radius: 6px;
    font-size: 13px;
}

.menu ul li a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu ul {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: auto;
        min-width: 240px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-secondary);
        border-radius: 12px;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(.96);
        transform-origin: top right;
        transition: opacity .25s cubic-bezier(.4,0,.2,1),
                    visibility .25s,
                    transform .25s cubic-bezier(.4,0,.2,1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, .6),
                    0 0 0 1px var(--border-primary);
        z-index: 1000;
    }

    .menu.active ul {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .menu ul li a {
        padding: 14px 18px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        color: var(--text-secondary);
        border-bottom: none;
        transition: color .2s, background .2s;
    }

    .menu ul li a:hover {
        color: var(--text-primary);
        background: var(--bg-card);
    }

    .menu ul li a:active {
        background: var(--bg-card-hover);
    }
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.site-header__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.site-header__logo-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-header__logo-img {
    height: 38px;
    width: auto;
    display: block;
}
.site-header__cta {
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: var(--text-button);
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: opacity .2s, box-shadow .2s;
    white-space: nowrap;
    box-shadow: var(--shadow-primary);
}
.site-header__cta:hover {
    opacity: .88;
    box-shadow: 0 0 35px rgba(121, 41, 215, .7);
}
@media (max-width: 768px) {
    .site-header__container { padding: 12px 16px; }
    .site-header__logo-img  { height: 30px; }
    .site-header__cta       { padding: 8px 16px; font-size: 13px; }
}.hero-mosaic {
    background: var(--bg-secondary);
    padding: 64px 0;
}

.hero-mosaic__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* Left content */
.hero-mosaic__logo-wrap {
    margin-bottom: 24px;
}

.hero-mosaic__logo {
    height: 36px;
    width: auto;
}

.hero-mosaic__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.18;
    margin-bottom: 12px;
}

.hero-mosaic__desc {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-mosaic__facts {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-mosaic__fact {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-mosaic__fact-sep {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1;
}

.hero-mosaic__cta {
    display: inline-block;
    background: var(--color-accent);
    color: var(--bg-primary);
    padding: 13px 36px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s, filter .2s;
}
.hero-mosaic__cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* Right grid: 2x2 mosaic */
.hero-mosaic__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.hero-mosaic__cell--big {
    grid-column: 1 / -1;
    border-radius: 14px;
    overflow: hidden;
}

.hero-mosaic__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hero-mosaic__cell--stat {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.hero-mosaic__cell--accent {
    background: var(--bg-dark);
    border-color: var(--color-accent);
}

.hero-mosaic__stat-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.hero-mosaic__stat-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.hero-mosaic__cell--accent .hero-mosaic__stat-val {
    color: var(--color-accent);
}

.hero-mosaic__stat-lbl {
    font-size: .7rem;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (max-width: 900px) {
    .hero-mosaic__container { grid-template-columns: 1fr; gap: 36px; }
    .hero-mosaic__grid { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 480px) {
    .hero-mosaic { padding: 44px 0; }
    .hero-mosaic__cell--stat { padding: 16px; }
    .hero-mosaic__stat-val { font-size: 1rem; }
}.art-narrow {
    background: var(--bg-primary);
    padding: 64px 0;
}

.art-narrow__container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.art-narrow__body {
    border-left: 3px solid var(--color-secondary);
    padding-left: 32px;
    font-size: .95rem;
}

.art-narrow__body h1,
.art-narrow__body h2,
.art-narrow__body h3,
.art-narrow__body h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.35;
    margin: 36px 0 10px;
    padding: 0;
    border: none;
}
.art-narrow__body h2 { font-size: 1.4rem; }
.art-narrow__body h3 { font-size: 1.1rem; }
.art-narrow__body h1:first-child,
.art-narrow__body h2:first-child { margin-top: 0; }

.art-narrow__body p {
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 0 14px;
}

.art-narrow__body a { color: var(--color-accent); text-decoration: none; transition: color .2s; }
.art-narrow__body a:hover { color: var(--text-primary); }

.art-narrow__body ul,
.art-narrow__body ol {
    color: var(--text-muted);
    padding-left: 1.4em;
    margin: 0 0 16px;
    line-height: 1.8;
}
.art-narrow__body li { margin-bottom: 4px; }
.art-narrow__body li::marker { color: var(--color-accent); }

.art-narrow__body strong { color: var(--text-secondary); font-weight: 600; }

.art-narrow__body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 12px 0 20px;
    font-size: .875rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-primary);
}
.art-narrow__body th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
}
.art-narrow__body td {
    padding: 11px 16px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-primary);
}
.art-narrow__body tr:last-child td { border-bottom: none; }
.art-narrow__body tr:nth-child(even) td { background: var(--bg-secondary); }

.art-narrow__body blockquote {
    border-left: 3px solid var(--color-accent);
    background: var(--bg-secondary);
    padding: 16px 20px;
    margin: 0 0 16px;
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.7;
}

.art-narrow__body img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0 16px; }

@media (max-width: 768px) {
    .art-narrow { padding: 40px 0; }
    .art-narrow__body { padding-left: 20px; }
    .art-narrow__body h2 { font-size: 1.25rem; }
}.foot-compact {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-primary);
    padding: 20px 0;
}

.foot-compact__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.foot-compact__left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.foot-compact__logo-link { display: flex; align-items: center; }
.foot-compact__logo { height: 28px; width: auto; }

.foot-compact__copy {
    font-size: 12px;
    color: var(--text-dark);
    white-space: nowrap;
}

.foot-compact__links {
    display: flex;
    gap: 24px;
}

.foot-compact__links a {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s;
}
.foot-compact__links a:hover { color: var(--text-primary); }

.foot-compact__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.foot-compact__age {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
    border: 1px solid var(--border-secondary);
    border-radius: 4px;
    padding: 2px 8px;
}

.foot-compact__cta {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    transition: color .2s;
}
.foot-compact__cta:hover { color: var(--text-primary); }

@media (max-width: 768px) {
    .foot-compact__inner { flex-wrap: wrap; justify-content: center; gap: 16px; }
    .foot-compact__links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}