:root {
    --header-fade-gradient: linear-gradient(
        180deg,
        rgba(189, 149, 88, 0.32) 0%,
        rgba(26, 21, 40, 0.14) 50%,
        rgba(26, 21, 40, 0) 100%
    );

    --primary-color: #1a1528;
    --primary-color-light: #120f18;
    --btn-dark-color: #3a2f1a;

    --secondary-color: #e8c547;
    --btn-secondary-color: linear-gradient(180deg, #fcd34d 46%, #b45309);
    --tertiary-color: #120c08;
    --blue-color: linear-gradient(180deg, #dcd78d 0%, #f59e0b 55%, #d97706 100%);
}

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

html {
    height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.anchor-heading {
    scroll-margin-top: 88px;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100%;
    min-height: 100dvh;
    position: relative;
    background: var(--tertiary-color);
    display: flex;
    flex-direction: column;
}

.page-fill {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.page-fill > .content-section {
    flex: 1 1 auto;
}

.page-fill > .legal-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.page-fill .legal-main .content-section {
    flex: 1 1 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-fade-gradient);
    /* box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35), inset 0 -1px 0 rgba(251, 191, 36, 0.15); */
    z-index: 1000;

    padding: 15px 0;
}

/* Legal subpages: same header fade as main */
.page-legal .header {
    background: var(--header-fade-gradient);
}

.header-content {
    max-width: 1600px;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* Header Left Section */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language dropdown (header right) */
.lang-dropdown {
    position: relative;
    flex-shrink: 0;
    z-index: 1100;
}

.lang-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    list-style: none;
    margin: 0;
    padding: 8px 12px;
    min-height: 42px;
    border-radius: 6px;
    border: 1px solid rgba(232, 197, 71, 0.45);
    background: rgba(26, 21, 40, 0.75);
    color: rgba(232, 197, 71, 0.95);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    user-select: none;
    transition: background 0.2s, border-color 0.2s;
}

.lang-dropdown-btn::-webkit-details-marker {
    display: none;
}

.lang-dropdown-btn:hover {
    background: rgba(26, 21, 40, 0.95);
    border-color: rgba(252, 211, 77, 0.75);
}

.lang-dropdown-btn:focus {
    outline: 2px solid rgba(252, 211, 77, 0.6);
    outline-offset: 2px;
}

.lang-dropdown-btn-label {
    white-space: nowrap;
}

.lang-dropdown-chevron {
    flex-shrink: 0;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.lang-dropdown[open] .lang-dropdown-chevron {
    transform: rotate(180deg);
}

.lang-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 10rem;
    max-height: min(70vh, 22rem);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    border-radius: 8px;
    border: 1px solid rgba(232, 197, 71, 0.25);
    background: rgba(18, 15, 24, 0.98);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.lang-dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: none;
    text-align: left;
}

.lang-dropdown-link {
    color: rgba(232, 197, 71, 0.95);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-dropdown-link:hover {
    background: rgba(232, 197, 71, 0.12);
    color: #fde68a;
}

.lang-dropdown-current {
    color: rgba(255, 255, 255, 0.45);
    cursor: default;
}

.footer-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 12px;
    margin-top: 12px;
    justify-content: flex-end;
    max-width: 100%;
}

.footer-langs a {
    color: rgba(232, 197, 71, 0.9);
    text-decoration: none;
}

.footer-langs a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .lang-dropdown-btn {
        padding: 6px 10px;
        min-height: 38px;
        font-size: 12px;
    }
}

.download-links {
    display: none;
    align-items: center;
    gap: 0px;
    width: fit-content;
    padding: 5px 8px;
    border-radius: 12px;
}

.download-nav {
    display: flex;
    gap: 10px;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: .7;
}

.download-link:hover {
    opacity: 0.8;
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-header-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}


.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--btn-dark-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    box-shadow: 0 1px 1px 0 hsla(45, 80%, 70%, .12) inset;
}


.btn-login-icon {
    display: block;
    width: 130px;
    text-decoration: none;
    color: #FFF;
    transition: filter 0.2s;
    font-weight: 600;
    font-size: 14px;
}

.btn-login-icon:hover {
    filter: brightness(1.2);
}
/* Header Search Section */
.header-search {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 0;
    position: relative;
    border: 1px solid rgba(251, 191, 36, 0.28);
    height: 50px;
}

.header-search-link {
    display: block;
    width: 100%;
    max-width: 220px;
    margin-left: 40px;
    margin-right: auto;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.search-input::placeholder {
    color: #e8e0ff;
    opacity: 0.85;
}

.search-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;

}

.search-btn .icon-img {
    filter: brightness(0) invert(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-signup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 42px;
    background: linear-gradient(90deg, #c9a227 0%, #fde68a 50%, #b45309 100%);
    color: #1a1208;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: filter 0.2s;
}

.btn-signup:hover {
    filter: brightness(1.15);
}

.logo-img {
    object-fit: contain;
    height: 150px;
    width: 100%;
}

.form-container .logo {
    position: relative;
}

@media (max-width: 768px) {
    .download-links {
        display: flex;
    }

    .header {
        padding: 0px 10px;
    }

    .header-content {
        padding: 10px 0px;
        gap: 5px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-search {
        max-width: none;
        min-width: 0;
    }

    .search-input {
        padding: 10px 12px;
        font-size: 12px;
    }

    .header-actions {
        gap: 8px;
    }

    /* Hide header register link on mobile; play CTA remains */
    .header-actions .btn-signup {
        display: none;
    }

    .btn-login-icon {
        margin-left: auto;
        width: 100px;
    }

}


.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 80px 20px 0px 20px;
    box-shadow:
        inset 0 0 100px 90px rgba(26, 21, 40, 0.85),
        inset 0 -120px 100px -40px rgba(251, 191, 36, 0.12);
    background:
        radial-gradient(ellipse 100% 70% at 50% 115%, rgba(217, 119, 6, 0.45) 0%, transparent 52%),
        radial-gradient(ellipse 80% 50% at 80% 20%, rgba(251, 191, 36, 0.14) 0%, transparent 45%),
        radial-gradient(ellipse 70% 45% at 10% 30%, rgba(254, 243, 199, 0.08) 0%, transparent 40%),
        linear-gradient(165deg, #1e1530 0%, #2d2018 35%, #251a35 70%, #1a1420 100%);
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
}



.form-container {
    display: flex;
    flex-direction: column;
    gap: 20px;

    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
    z-index: 1;
}

.banner-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
}

.banner-img {
    width: 75%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .banner-container {
        display: none;
    }
}

.logo {
    display: none;
    justify-content: center;
}

.headline-1 {
    text-align: center;
    color: #f5f0ff;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.headline-2 {
    text-align: center;
    color: #fcd34d;
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.btn-register {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, #c9a227 0%, #fde68a 50%, #b45309 100%);
    color: #1a1208;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-register:hover {
    transform: scale(1.02);
}

.form-banner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-login-banner {
    width: 100%;
    padding: 18px;
    background: var(--blue-color);
    color: #000;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login-banner:hover {
    transform: scale(1.02);
}

/* Content Section */
.content-section {
    position: relative;
    background:
        radial-gradient(ellipse 85% 50% at 50% 0%, rgba(251, 191, 36, 0.2) 0%, transparent 55%),
        linear-gradient(125deg, #241a12 0%, #2a2035 30%, #3d2e18 55%, #352848 78%, #1e1828 100%);
    padding: 60px 20px;
    padding-top: 72px;
}

.content-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, rgba(217, 119, 6, 0.06) 100%);
}

.content-section > * {
    position: relative;
    z-index: 1;
}

.content-max-width {
    max-width: 900px;
    margin: 0 auto;
}

.content-title {
    color: #fefce8;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.content-button-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.content-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--blue-color);
    color: #000;
    font-size: 18px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.content-btn:hover {
    transform: scale(1.05);
}

.text-content {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 25px;
}

/* Table of contents (under first paragraph) */
.article-toc {
    max-width: 28rem;
    width: 100%;
    margin: 0.25rem auto 1.75rem;
    padding: 1rem 1.25rem 1.1rem;
    border: 1px solid rgba(200, 200, 200, 0.38);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
}

.article-toc-heading {
    margin: 0 0 0.9rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fde68a;
    letter-spacing: 0.02em;
}

.text-content .article-toc-list {
    margin: 0;
    padding: 0 0 0 1.35rem;
    list-style: decimal;
    font-size: 0.95rem;
    line-height: 1.45;
}

.article-toc-list .level-1 {
    margin: 0 0 0.55rem;
    padding-left: 0.15rem;
}

.article-toc-list .level-1:last-child {
    margin-bottom: 0;
}

.article-toc-list a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: inherit;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.article-toc-list a:hover {
    color: #fcd34d;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-toc {
        max-width: 100%;
    }
}

.content-screen-figure {
    margin: 28px 0 32px;
    text-align: center;
}

.content-screen-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.text-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #fde68a;
}

.text-content ul,
.text-content ol {
    margin: 0 0 20px 1.2em;
    padding: 0;
}

.text-content li {
    margin-bottom: 8px;
}

.faq-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(251, 191, 36, 0.22);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 28px 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #fef3c7;
    position: relative;
    line-height: 1.35;
}

.faq-summary .faq-question {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: 700;
    color: inherit;
    line-height: inherit;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid rgba(253, 224, 71, 0.85);
    border-bottom: 2px solid rgba(253, 224, 71, 0.85);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
    transform: rotate(-135deg);
    margin-top: -2px;
}

.faq-item[open] .faq-summary {
    color: #fcd34d;
}

.faq-body {
    padding: 0 0 18px 0;
}

.faq-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.7;
}


@media (max-width: 768px) {
    .logo {
        display: flex;
    }
    .header-logo {
        display: none;
    }

    .container {
        align-items: center;
    }

    .content-section {
        padding: 40px 20px;
    }

    .content-max-width {
        padding-top: 40px;
    }

    .content-title {
        font-size: 24px;
    }

    .content-btn {
        padding: 15px 35px;
        font-size: 16px;
    }

    .text-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .text-content h2 {
        font-size: 20px;
        margin-top: 30px;
    }

    .faq-summary {
        font-size: 16px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .headline-2 {
        font-size: 25px;
    }
}

@media (max-width: 600px) {
    .header-search {
        display: none;
    }

    .form-container {
        padding: 30px 40px 80px;
    }

    .logo-header-img {
        height: 50px;
    }

    .header-actions {
        width: 100%;
    }
}

/* Footer */
.footer {
    flex-shrink: 0;
    background: linear-gradient(180deg, #181008 0%, #0f0c14 100%);
    padding: 20px 30px;
    border-top: 1px solid rgba(251, 191, 36, 0.28);
    box-shadow: inset 0 1px 0 rgba(254, 243, 199, 0.06);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 22px;
}

.footer-nav a {
    color: #fcd34d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, opacity 0.2s;
}

.footer-nav a:hover {
    color: #fef3c7;
    text-decoration: underline;
}

.legal-main {
    min-height: 50vh;
    /* padding-top: 72px; */
}

.legal-document .text-content h2 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 14px;
    color: #fde68a;
}

.legal-link {
    color: #fcd34d;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-link:hover {
    color: #fef3c7;
}

.legal-meta {
    margin-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65) !important;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.age-restriction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.age-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(254, 243, 199, 0.95);
    position: absolute;
}

.age-plus {
    font-size: 10px;
    color: rgba(254, 243, 199, 0.95);
    position: absolute;
    top: 8px;
    left: 32px;
}

.footer-copyright {
    color: rgba(254, 243, 199, 0.9);
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 8px 0 !important;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.footer-disclaimer p:first-child {
    margin-bottom: 5px;
}


@media (max-width: 768px) {
    .footer {
        padding: 15px 20px;
    }

    .age-restriction-icon {
        width: 45px;
        height: 45px;
    }

    .age-number {
        font-size: 20px;
    }

    .age-plus {
        font-size: 9px;
        top: 7px;
        left: 28px;
    }

    .footer-disclaimer p {
        font-size: 12px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-nav {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(251, 191, 36, 0.15);
    }
}
