:root {
    --bg: #0a0c12;
    --bg-elevated: #141820;
    --bg-alt: #1a1520;
    --text: #f3efe6;
    --muted: #c8c0b0;
    --gold: #d4af37;
    --gold-light: #f0d78c;
    --gold-dark: #a8841f;
    --crimson: #9b1c2e;
    --border: #2a3140;
    --header-h: 60px;
    --logo-w: 140px;
    --logo-h: 28px;
    --banner-ar: 800 / 1000;
    --cta-slot-h: 52px;
}

@media (min-width: 561px) {
    :root {
        --header-h: 64px;
        --logo-w: 160px;
        --logo-h: 32px;
    }
}

@media (min-width: 720px) {
    :root {
        --banner-ar: 1920 / 600;
    }
}

@media (min-width: 981px) {
    :root {
        --header-h: 72px;
        --logo-w: 180px;
        --logo-h: 36px;
    }
}

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

html {
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    overflow-x: clip;
}

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

.content .wrapper a:not(.btn),
.html-block a:not(.btn) {
    text-decoration: underline;
    text-underline-offset: 4px;
}

p {
    font-size: 1.05em;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
    color: var(--gold-light);
    overflow-wrap: break-word;
}

h1 { font-size: 1.55em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }

@media (min-width: 561px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.55em; }
    h3 { font-size: 1.25em; }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

.wrapper {
    max-width: 1180px;
    margin: 0 auto 1em;
    padding: 10px 14px;
}

@media (min-width: 561px) {
    .wrapper {
        padding-left: 25px;
        padding-right: 25px;
    }
}

.btn {
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--gold-dark);
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
    font-size: 0.95em;
    padding: 11px 18px;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
    color: #1a1208;
    text-align: center;
    white-space: nowrap;
    line-height: 1.2;
}

.btn:hover {
    background: linear-gradient(180deg, #fff1c2 0%, var(--gold-light) 50%, var(--gold) 100%);
    color: #120c05;
}

.btn-login {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--gold);
}

.btn-login:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
}

.top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0 0;
    background: rgba(10, 12, 18, 0.96);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    height: var(--header-h);
    contain: layout style;
}

.top .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    margin: 0 auto;
    height: var(--header-h);
    max-width: 1180px;
}

.header-spacer {
    height: var(--header-h);
    flex-shrink: 0;
    contain: strict;
}

a.logo {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
    height: var(--logo-h);
}

a.logo img {
    width: var(--logo-w);
    height: var(--logo-h);
    max-width: 100%;
    aspect-ratio: 501 / 100;
    object-fit: contain;
    object-position: left center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.top .btn {
    margin: 0;
    padding: 8px 10px;
    font-size: 0.78em;
}

@media (min-width: 561px) {
    .top .btn {
        padding: 10px 14px;
        font-size: 0.9em;
    }

    .header-actions {
        gap: 8px;
    }
}

@media (max-width: 380px) {
    :root {
        --logo-w: 110px;
        --logo-h: 22px;
    }

    .top .btn {
        padding: 7px 8px;
        font-size: 0.72em;
    }
}

.hamburger-box {
    position: relative;
    margin: 0 4px 0 0;
    flex: 0 0 auto;
}

.checkbox {
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
    display: none;
}

.hamburger {
    display: none;
    position: relative;
    z-index: 3;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hamburger-lines {
    height: 18px;
    width: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    background: var(--gold);
}

.hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.3s ease;
}

.hamburger-lines .line2 {
    transition: opacity 0.2s ease;
}

.hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.3s ease;
}

.top-menu {
    display: none;
    flex-wrap: wrap;
    gap: 0.35em 1em;
    margin: 0 12px 0 auto;
    align-items: center;
}

.top-menu a {
    color: var(--muted);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.top-menu a:hover,
.top-menu a[aria-current="page"] {
    color: var(--gold-light);
}

@media (min-width: 981px) {
    .top-menu {
        display: flex;
    }
}

/* Banner: reserved aspect ratio + reserved CTA slot (mobile-first) */
.banner {
    position: relative;
    contain: layout;
}

.banner > a {
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.banner-frame {
    display: block;
    width: 100%;
    aspect-ratio: var(--banner-ar);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-elevated);
    contain: strict;
}

.banner-frame img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.banner-button {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: var(--cta-slot-h);
    margin-top: 14px;
    flex-shrink: 0;
    contain: layout;
}

.banner-button .btn {
    width: 100%;
    max-width: 280px;
    font-size: 0.95em;
    padding: 12px 16px;
    box-shadow: none;
}

@media (min-width: 720px) {
    .banner > a {
        display: block;
    }

    .banner-button {
        position: absolute;
        bottom: 8%;
        right: 4%;
        left: auto;
        width: auto;
        min-height: 0;
        margin-top: 0;
        z-index: 1;
        display: block;
    }

    .banner-button .btn {
        width: auto;
        max-width: none;
        font-size: 1.05em;
        padding: 12px 22px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    }
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 1em;
    width: 100%;
    margin: 1.2em 0;
    background: var(--bg-elevated);
}

caption {
    caption-side: top;
    text-align: left;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.6em;
    font-size: 1.05em;
}

th, td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    word-wrap: break-word;
    line-height: 1.35;
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--bg-alt);
    color: var(--gold-light);
}

ul, ol {
    font-size: 1.05em;
    line-height: 1.55;
    padding-inline-start: 1.4em;
}

ul li::marker {
    color: var(--gold);
}

ol {
    list-style-type: none;
    counter-reset: num;
    padding-inline-start: 2.6em;
}

ol li {
    position: relative;
    margin: 0 0 12px;
    padding: 0 0 4px;
    line-height: 1.45;
}

ol li:before {
    content: counter(num);
    counter-increment: num;
    display: inline-block;
    position: absolute;
    top: -2px;
    left: -2.4em;
    width: 28px;
    height: 28px;
    text-align: center;
    line-height: 26px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.85em;
    font-weight: 700;
}

.content-table {
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 8px;
    padding: 14px 16px 0;
    background: var(--bg-elevated);
    contain: layout;
}

.content-table-title {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding-bottom: 14px;
    min-height: 38px;
    gap: 8px;
}

.content-table-title p {
    margin: 0;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--gold-light);
}

.menu-icon,
.menu-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
}

.menu-arrow {
    margin-left: auto;
}

.content-table nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.content-table.active nav {
    max-height: 800px;
}

.content-table ul {
    padding-inline-start: 0;
    margin: 0 0 8px;
}

.content-table li {
    list-style: none;
    margin-bottom: 12px;
    font-size: 1em;
    font-weight: 500;
}

.blocks > div:nth-child(odd) {
    background-color: var(--bg-elevated);
}

.blocks > div:nth-child(even) {
    background-color: var(--bg);
}

.blocks .wrapper {
    padding-top: 1.4em;
    padding-bottom: 1.4em;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 0.4em 0 0.8em;
}

.faq-item h3 {
    margin: 0.8em 0 0.4em;
    font-size: 1.15em;
}

.faq-item p {
    margin: 0.4em 0 0.6em;
}

.cta-row {
    margin: 1.4em 0 0.5em;
    min-height: 48px;
}

.cta-row .btn {
    width: 100%;
    text-align: center;
}

@media (min-width: 561px) {
    .cta-row .btn {
        width: auto;
    }
}

.bottom {
    background: var(--bg-alt);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 24px 0 16px;
    margin-top: 1em;
}

.bottom .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 15px;
    margin: 0 auto 1em;
}

.bottom .logo img {
    width: 160px;
    height: 32px;
    aspect-ratio: 501 / 100;
    object-fit: contain;
}

.bottom-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    font-size: 0.95em;
}

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

.bottom-menu a:hover {
    color: var(--gold-light);
}

.bottom .copy {
    text-align: center;
    color: var(--muted);
    font-size: 0.9em;
    margin: 0 auto;
}

.age-note {
    color: var(--muted);
    font-size: 0.85em;
    text-align: center;
    margin: 0.5em auto 0;
    max-width: 900px;
}

@media (max-width: 980px) {
    .checkbox {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger-box input:checked ~ .top-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: var(--header-h);
        left: 0;
        width: min(100vw, 360px);
        background: rgba(10, 12, 18, 0.98);
        padding: 20px 8% 28px;
        border: 1px solid rgba(212, 175, 55, 0.35);
        border-radius: 0 0 8px 0;
        z-index: 20;
        gap: 0;
    }

    .hamburger-box input:checked ~ .top-menu a {
        display: block;
        width: 100%;
        line-height: 2.2;
        font-size: 1.05em;
        border-bottom: 1px solid var(--border);
    }

    .hamburger-box input:checked ~ .hamburger .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .hamburger-box input:checked ~ .hamburger .hamburger-lines .line2 {
        opacity: 0;
    }

    .hamburger-box input:checked ~ .hamburger .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }

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

    th, td {
        min-width: 120px;
    }
}

@media (max-width: 380px) {
    .hamburger-lines {
        width: 22px;
        height: 16px;
    }
}
