:root {
    --bg: #0a120e;
    --bg-soft: #101d16;
    --bg-card: #14231b;
    --bg-card-hi: #1a2f23;
    --line: #24382c;
    --gold: #e8b94a;
    --gold-hi: #f5d47a;
    --green: #2fae6e;
    --green-hi: #3ecf87;
    --text: #eef4ef;
    --muted: #a7bdb0;
    --radius: 14px;
    --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold);
    text-decoration: none;
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, var(--gold-hi), var(--gold));
    color: #1d1405;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 18px rgba(232, 185, 74, 0.25);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 185, 74, 0.4);
}

.btn-alt {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    box-shadow: none;
}

.btn-alt:hover {
    background: rgba(232, 185, 74, 0.1);
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 18, 14, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 0.3px;
}

.logo svg {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.logo span b {
    color: var(--gold);
    font-weight: 800;
}

nav.main-nav ul {
    display: flex;
    gap: 26px;
    list-style: none;
}

nav.main-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.15s ease;
}

nav.main-nav a:hover {
    color: var(--gold);
}

.header-cta {
    padding: 10px 22px;
    font-size: 14px;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle svg {
    width: 22px;
    height: 22px;
    display: block;
}

.hero {
    background: url("banner.png") center / cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-in {
    padding: 90px 0;
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 18, 14, 0.75);
    border: 1px solid var(--gold);
    color: var(--gold-hi);
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 100px;
    margin-bottom: 22px;
}

.hero-title {
    font-size: 46px;
    line-height: 1.12;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
    margin-bottom: 18px;
}

.hero-title b {
    color: var(--gold-hi);
}

.hero-sub {
    font-size: 18px;
    color: #e6efe9;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-facts {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.hero-fact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dce8df;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.hero-fact svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.crumbs {
    padding: 14px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
}

.crumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 6px;
    color: var(--line);
}

.crumbs a {
    color: var(--muted);
}

.crumbs a:hover {
    color: var(--gold);
}

.crumbs li[aria-current] {
    color: var(--gold);
}

.sec {
    padding: 64px 0;
}

.sec-dark {
    background: var(--bg-soft);
}

.sec-head {
    text-align: center;
    margin-bottom: 40px;
}

.sec-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.sec-title b {
    color: var(--gold);
}

.sec-sub {
    color: var(--muted);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.toplist {
    display: flex;
    flex-direction: column;
    gap: 14px;
    counter-reset: rank;
}

.toplist-item {
    counter-increment: rank;
    display: grid;
    grid-template-columns: 54px 1fr auto auto;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    transition: border-color 0.15s ease, transform 0.15s ease;
    position: relative;
}

.toplist-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.toplist-item.is-top {
    border-color: var(--gold);
    background: var(--bg-card-hi);
}

.toplist-rank {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(232, 185, 74, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold-hi);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}

.toplist-rank::before {
    content: counter(rank);
}

.toplist-info {
    min-width: 0;
}

.toplist-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.toplist-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--green-hi);
    background: rgba(46, 174, 110, 0.14);
    border-radius: 100px;
    padding: 3px 12px;
    margin-bottom: 6px;
}

.toplist-bonus {
    font-size: 14px;
    color: var(--muted);
}

.toplist-bonus b {
    color: var(--gold-hi);
}

.toplist-score {
    text-align: center;
}

.stars {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 4px;
}

.stars svg {
    width: 16px;
    height: 16px;
}

.score-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
}

.score-num b {
    color: var(--text);
    font-size: 16px;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.slot-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.slot-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
}

.slot-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.slot-meta {
    padding: 12px 14px 14px;
    text-align: center;
}

.slot-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.slot-rtp {
    font-size: 12px;
    color: var(--muted);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feat-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    transition: border-color 0.15s ease;
}

.feat-card:hover {
    border-color: var(--gold);
}

.feat-ico {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(232, 185, 74, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-ico svg {
    width: 28px;
    height: 28px;
}

.feat-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.feat-text {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.55;
}

.author-strip {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 26px;
    margin-top: 48px;
}

.author-ava {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #8a6a1d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #1d1405;
    flex-shrink: 0;
}

.author-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

.author-role {
    font-size: 13px;
    color: var(--gold);
    margin-bottom: 4px;
}

.author-desc {
    font-size: 13.5px;
    color: var(--muted);
}

.article-body {
    font-size: 16.5px;
    color: #d9e4dc;
    max-width: 860px;
    margin: 0 auto;
}

.article-body h1 {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 22px;
}

.article-body h2 {
    font-size: 29px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--text);
    margin: 52px 0 16px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.article-body h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold-hi);
    margin: 34px 0 12px;
}

.article-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin: 28px 0 10px;
}

.article-body p {
    margin: 0 0 16px;
}

.article-body strong {
    color: var(--text);
}

.article-body a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 18px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body li::marker {
    color: var(--gold);
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 30px;
    font-size: 14.5px;
}

.article-body th {
    background: var(--bg-card-hi);
    color: var(--gold-hi);
    text-align: left;
    font-weight: 700;
    padding: 12px 14px;
    border: 1px solid var(--line);
    white-space: nowrap;
}

.article-body td {
    padding: 11px 14px;
    border: 1px solid var(--line);
    color: #d9e4dc;
    vertical-align: top;
}

.article-body tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

.article-body blockquote {
    border-left: 3px solid var(--gold);
    background: var(--bg-card);
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 24px 0;
    color: var(--muted);
    font-style: italic;
}

footer {
    background: #070d0a;
    border-top: 1px solid var(--line);
    padding: 52px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
}

.footer-text {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.65;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: var(--muted);
    font-size: 13.5px;
}

.footer-links a:hover {
    color: var(--gold);
}

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 2px solid #d34545;
    border-radius: 50%;
    color: #d34545;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.copyright {
    font-size: 13px;
    color: var(--muted);
}

.rg-note {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(211, 69, 69, 0.07);
    border: 1px solid rgba(211, 69, 69, 0.35);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 36px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.6;
}

.rg-note b {
    color: #e88;
}

@media (max-width: 1024px) {
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 820px) {
    nav.main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--line);
        padding: 10px 20px 18px;
    }

    nav.main-nav.open {
        display: block;
    }

    nav.main-nav ul {
        flex-direction: column;
        gap: 14px;
    }

    .menu-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .hero {
        min-height: 460px;
        background-position: 62% center;
    }

    .hero-in {
        padding: 64px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 16px;
    }

    .toplist-item {
        grid-template-columns: 44px 1fr;
        grid-template-areas:
            "rank info"
            "rank score"
            "btn btn";
        gap: 12px 16px;
    }

    .toplist-rank {
        grid-area: rank;
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .toplist-info {
        grid-area: info;
    }

    .toplist-score {
        grid-area: score;
        text-align: left;
    }

    .stars {
        justify-content: flex-start;
    }

    .toplist-item .btn {
        grid-area: btn;
        width: 100%;
    }

    .article-body h1 {
        font-size: 28px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body h3 {
        font-size: 19px;
    }

    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .sec-title {
        font-size: 26px;
    }

    .author-strip {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .sec {
        padding: 44px 0;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hero-actions .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}
