:root {
    --bg: #070b18;
    --bg-soft: #0d1428;
    --bg-card: #121b33;
    --line: #23304f;
    --text: #e6ebf7;
    --muted: #9aa8c7;
    --gold: #f5c451;
    --gold-deep: #d99f21;
    --blue: #3ea8ff;
    --green: #7ed321;
    --radius: 14px;
    --shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    text-decoration: underline;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 11, 24, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.logo {
    display: inline-flex;
    align-items: center;
    transition: transform .3s ease;
}

.logo:hover {
    transform: scale(1.06);
}

.logo img {
    height: 34px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: .3px;
    border-radius: 999px;
    padding: 11px 26px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}

.btn:hover::after {
    left: 130%;
}

.btn--ghost {
    color: var(--gold);
    border: 2px solid var(--gold);
    background: transparent;
}

.btn--ghost:hover {
    color: #0a0f1e;
    background: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245, 196, 81, .35);
}

.btn--solid {
    color: #0a0f1e;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    box-shadow: 0 8px 20px rgba(217, 159, 33, .3);
}

.btn--solid:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 30px rgba(245, 196, 81, .5);
}

.btn--lg {
    padding: 16px 44px;
    font-size: 18px;
}

.banner {
    padding: 26px 0 10px;
}

.banner__box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.banner__img {
    width: 100%;
    height: auto;
    aspect-ratio: 3172 / 1344;
    object-fit: cover;
}

.banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(4, 7, 16, .9) 0%, rgba(4, 7, 16, .72) 38%, rgba(4, 7, 16, 0) 68%);
}

.banner__content {
    padding: 0 clamp(20px, 5vw, 64px);
    max-width: 620px;
}

.banner__eyebrow {
    display: inline-block;
    font-size: clamp(11px, 1.5vw, 13px);
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(245, 196, 81, .45);
    border-radius: 999px;
    padding: 5px 14px;
    margin-bottom: clamp(8px, 2vw, 18px);
}

.banner__title {
    font-size: clamp(20px, 4.6vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .6);
}

.banner__title span {
    color: var(--gold);
}

.banner__text {
    color: var(--muted);
    font-size: clamp(12px, 1.7vw, 18px);
    margin-top: clamp(6px, 1.6vw, 16px);
}

.banner__cta {
    margin-top: clamp(10px, 2.6vw, 28px);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.banner__note {
    color: var(--muted);
    font-size: clamp(10px, 1.3vw, 14px);
}

.section {
    padding: 46px 0;
}

.section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
}

.section__title em {
    font-style: normal;
    color: var(--gold);
}

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

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

.slot:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 18px 34px rgba(0, 0, 0, .55), 0 0 0 1px rgba(245, 196, 81, .25);
}

.slot__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .5s ease, filter .35s ease;
}

.slot:hover .slot__img {
    transform: scale(1.09);
    filter: brightness(.45) saturate(1.1);
}

.slot__layer {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    background: rgba(6, 10, 22, .35);
    transition: opacity .35s ease;
}

.slot:hover .slot__layer,
.slot:focus-within .slot__layer {
    opacity: 1;
}

.slot__play {
    transform: translateY(12px) scale(.9);
    transition: transform .35s ease, box-shadow .25s ease;
    padding: 10px 30px;
    font-size: 15px;
}

.slot:hover .slot__play,
.slot:focus-within .slot__play {
    transform: translateY(0) scale(1);
}

.slot__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 12px 12px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .9);
    background: linear-gradient(0deg, rgba(4, 7, 16, .96) 0%, rgba(4, 7, 16, .8) 45%, transparent 100%);
    transition: opacity .3s ease;
}

.slot:hover .slot__name {
    opacity: 0;
}

.toc {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.toc__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    font-weight: 800;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color .25s ease, color .25s ease;
}

.toc__head::-webkit-details-marker {
    display: none;
}

.toc__head:hover {
    background: rgba(245, 196, 81, .08);
    color: var(--gold);
}

.toc__arrow {
    color: var(--gold);
    font-size: 13px;
    transition: transform .3s ease;
}

.toc[open] .toc__arrow {
    transform: rotate(180deg);
}

.toc__body {
    border-top: 1px solid var(--line);
    padding: 14px 20px 20px;
}

.toc__list {
    list-style: none;
    counter-reset: toc;
    columns: 2;
    column-gap: 30px;
}

.toc__list li {
    break-inside: avoid;
    margin: 0 0 8px;
}

.toc__list a {
    display: block;
    color: var(--text);
    padding: 5px 8px;
    border-left: 2px solid var(--line);
    border-radius: 0 6px 6px 0;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, padding-left .2s ease;
}

.toc__list a:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(245, 196, 81, .07);
    padding-left: 14px;
    text-decoration: none;
}

.toc__list .toc__sub {
    margin-left: 22px;
    font-size: 15px;
    color: var(--muted);
}

.content {
    padding-bottom: 20px;
}

.content h1 {
    font-size: clamp(26px, 3.6vw, 40px);
    line-height: 1.2;
    font-weight: 800;
    margin: 8px 0 22px;
}

.content h2 {
    font-size: clamp(21px, 2.6vw, 29px);
    font-weight: 800;
    margin: 42px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--gold);
}

.content h3 {
    font-size: clamp(18px, 2.1vw, 22px);
    font-weight: 700;
    margin: 30px 0 12px;
    color: var(--gold);
}

.content p {
    margin: 0 0 16px;
    color: #cfd8ec;
}

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

.content ol,
.content ul {
    margin: 0 0 18px 20px;
    color: #cfd8ec;
}

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

.content li::marker {
    color: var(--gold);
    font-weight: 700;
}

.content hr {
    border: 0;
    height: 1px;
    background: var(--line);
    margin: 34px 0;
}

.table-scroll {
    overflow-x: auto;
    margin: 0 0 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

thead th {
    background: rgba(245, 196, 81, .1);
    color: var(--gold);
    font-weight: 700;
    text-align: left;
    font-size: 15px;
    letter-spacing: .3px;
}

th,
td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-size: 15px;
}

tbody tr:last-child th,
tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr {
    transition: background-color .2s ease;
}

tbody tr:hover {
    background: rgba(62, 168, 255, .06);
}

tbody th {
    color: var(--text);
    font-weight: 700;
    text-align: left;
    width: 34%;
}

.faq {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.faq__item {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.faq__item[open] {
    border-color: rgba(245, 196, 81, .55);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.faq__q {
    list-style: none;
    cursor: pointer;
    padding: 0;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.content .faq__q h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 16px 20px;
    font-size: 17px;
    color: var(--text);
    font-weight: 700;
    transition: color .25s ease, background-color .25s ease;
}

.faq__q:hover h3 {
    color: var(--gold);
    background: rgba(245, 196, 81, .06);
}

.faq__item[open] .faq__q h3 {
    color: var(--gold);
}

.faq__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    position: relative;
    border-radius: 50%;
    border: 1px solid var(--gold);
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--gold);
    transform: translate(-50%, -50%);
    transition: transform .3s ease, opacity .3s ease;
}

.faq__icon::before {
    width: 10px;
    height: 2px;
}

.faq__icon::after {
    width: 2px;
    height: 10px;
}

.faq__item[open] .faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq__a {
    padding: 0 20px 18px;
    border-top: 1px solid var(--line);
}

.content .faq__a p {
    margin: 14px 0 0;
}

.footer {
    margin-top: 40px;
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    padding: 40px 0 26px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer__logo img {
    height: 34px;
    width: auto;
    margin-bottom: 14px;
}

.footer__about {
    color: var(--muted);
    font-size: 14px;
    max-width: 420px;
}

.footer__title {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer__list {
    list-style: none;
    display: grid;
    gap: 8px;
}

.footer__list a,
.footer__list span {
    color: var(--muted);
    font-size: 14px;
    transition: color .2s ease, padding-left .2s ease;
}

.footer__list a:hover {
    color: var(--gold);
    padding-left: 5px;
    text-decoration: none;
}

.footer__bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px;
}

.footer__age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #e05252;
    color: #e05252;
    font-weight: 800;
    font-size: 13px;
    flex: 0 0 auto;
}

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

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

@media (max-width: 760px) {
    html {
        scroll-padding-top: 76px;
    }

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

    .toc__list {
        columns: 1;
    }

    .banner__box {
        min-height: 440px;
    }

    .banner__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-position: 66% center;
    }

    .banner__overlay {
        position: relative;
        min-height: 440px;
        align-items: flex-end;
        background: linear-gradient(180deg, rgba(4, 7, 16, .55) 0%, rgba(4, 7, 16, .8) 48%, rgba(4, 7, 16, .96) 100%);
    }

    .banner__content {
        width: 100%;
        max-width: 100%;
        padding: 24px 20px 26px;
    }

    .banner__eyebrow {
        font-size: 11px;
        letter-spacing: 1.2px;
        margin-bottom: 14px;
    }

    .banner__title {
        font-size: 30px;
    }

    .banner__text {
        font-size: 15px;
        margin-top: 10px;
    }

    .banner__cta {
        margin-top: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 420px;
    }

    .banner__cta .btn--lg {
        width: 100%;
        padding: 18px 24px;
        font-size: 19px;
    }

    .banner__note {
        font-size: 12px;
        text-align: center;
    }

    .btn {
        padding: 9px 18px;
        font-size: 14px;
    }

    .logo img {
        height: 28px;
    }

    .nav-actions {
        gap: 8px;
    }

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

    tbody th {
        width: auto;
    }
}

@media (max-width: 420px) {
    .banner__box,
    .banner__overlay {
        min-height: 400px;
    }

    .banner__title {
        font-size: 26px;
    }

    .banner__cta .btn--lg {
        padding: 17px 20px;
        font-size: 18px;
    }
}
