:root {
    /* From img/screen.avif: deep violet field, gold frame, logo yellow-orange, spin #ff9000 */
    --hero-sand: #d4af37;
    --hero-deep: #0f001a;
    --hero-gold: #ff9000;
    --hero-gold-bright: #ffcc00;
    --hero-cream: #ffffff;
    --accent-pink-rgb: 168, 85, 247;
    --accent-gold-rgb: 212, 175, 55;
    --accent-green-rgb: 255, 144, 0;
    --accent-blue-rgb: 120, 53, 180;
    --ui-panel: 28, 12, 42;
    --ui-panel-2: 42, 18, 58;

    --header-fade-gradient: linear-gradient(
        180deg,
        rgba(var(--accent-gold-rgb), 0.2) 0%,
        rgba(var(--accent-pink-rgb), 0.12) 40%,
        rgba(15, 0, 26, 0.55) 72%,
        rgba(10, 0, 16, 0) 100%
    );

    --primary-color: #ffffff;
    --primary-color-light: #1a0a28;
    --btn-dark-color: #2a1038;

    --secondary-color: #ff9000;
    --btn-secondary-color: linear-gradient(180deg, #ffb547 0%, #ff9000 42%, #c2410c 100%);
    --tertiary-color: #0a0014;
    --blue-color: linear-gradient(180deg, #ffcc00 0%, #ff9000 38%, #c2410c 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:
        radial-gradient(ellipse 95% 75% at 50% 45%, rgba(88, 0, 130, 0.45) 0%, transparent 58%),
        radial-gradient(ellipse 120% 85% at 50% 115%, rgba(var(--accent-green-rgb), 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 55% at 15% 15%, rgba(var(--accent-blue-rgb), 0.2) 0%, transparent 48%),
        radial-gradient(ellipse 70% 50% at 90% 25%, rgba(var(--accent-pink-rgb), 0.08) 0%, transparent 46%),
        linear-gradient(180deg, #1a0528 0%, #0f001a 42%, #0a0014 100%);
    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(var(--accent-pink-rgb), 0.12); */
    z-index: 1000;

}

/* 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(var(--accent-gold-rgb), 0.45);
    background: rgba(var(--ui-panel), 0.96);
    color: #e5e5e5;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    user-select: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 0 1px rgba(var(--accent-gold-rgb), 0.08) inset;
}

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

.lang-dropdown-btn:hover {
    background: rgba(var(--ui-panel-2), 0.98);
    border-color: rgba(var(--accent-gold-rgb), 0.75);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(var(--accent-gold-rgb), 0.15) inset;
}

.lang-dropdown-btn:focus {
    outline: 2px solid rgba(var(--accent-gold-rgb), 0.55);
    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(255, 255, 255, 0.12);
    background: rgba(12, 12, 12, 0.98);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(var(--accent-gold-rgb), 0.06) inset;
}

.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: #fbbf24;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-dropdown-link:hover {
    background: rgba(var(--accent-gold-rgb), 0.14);
    color: #f8fafc;
}

.lang-dropdown-current {
    color: rgba(var(--accent-gold-rgb), 0.55);
    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(var(--accent-gold-rgb), 0.92);
    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: 150px;
    width: auto;
    object-fit: contain;
    transform: scale(1.2);
}


.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(340, 35%, 40%, .18) 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(var(--accent-pink-rgb), 0.32);
    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: #9ca3af;
    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: var(--btn-secondary-color);
    color: #ffffff;
    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;
    width: 100%;
    transform: scale(1.3);
}

.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(10, 0, 20, 0.75),
        inset 0 -120px 100px -40px rgba(var(--accent-gold-rgb), 0.1);
    background:
        radial-gradient(ellipse 90% 72% at 50% 42%, rgba(79, 20, 120, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(var(--accent-green-rgb), 0.08) 0%, transparent 52%),
        radial-gradient(ellipse 85% 55% at 0% 25%, rgba(var(--accent-blue-rgb), 0.18) 0%, transparent 46%),
        radial-gradient(ellipse 70% 48% at 100% 20%, rgba(var(--accent-pink-rgb), 0.06) 0%, transparent 44%),
        linear-gradient(165deg, #240a32 0%, #180520 35%, #0f0018 68%, #0a0010 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: 80%;
    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: #cccccc;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(var(--accent-pink-rgb), 0.3);
}

.headline-2 {
    text-align: center;
    color: #ffcc00;
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow:
        0 0 26px rgba(var(--accent-gold-rgb), 0.45),
        0 0 18px rgba(var(--accent-green-rgb), 0.35),
        0 0 12px rgba(var(--accent-pink-rgb), 0.2),
        0 2px 18px rgba(0, 0, 0, 0.65);
}

.btn-register {
    width: 100%;
    padding: 18px;
    background: var(--btn-secondary-color);
    color: #ffffff;
    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: #ffffff;
    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 88% 52% at 50% 0%, rgba(var(--accent-pink-rgb), 0.08) 0%, transparent 55%),
        radial-gradient(ellipse 95% 42% at 50% 100%, rgba(var(--accent-gold-rgb), 0.07) 0%, transparent 52%),
        radial-gradient(ellipse 72% 55% at 12% 38%, rgba(75, 0, 110, 0.2) 0%, transparent 50%),
        linear-gradient(125deg, #1a0a28 0%, #220d32 28%, #140820 55%, #0a0010 100%);
    padding: 60px 20px;
    padding-top: 72px;
}

.content-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(10, 0, 20, 0.25) 100%);
}

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

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

.content-title {
    color: #ffffff;
    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: #ffffff;
    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(var(--accent-pink-rgb), 0.35);
    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: #fbbf24;
    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: rgb(var(--accent-blue-rgb));
    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: #fbbf24;
}

.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(var(--accent-gold-rgb), 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: #e2e8f0;
    position: relative;
    line-height: 1.35;
    text-shadow: 0 0 18px rgba(var(--accent-gold-rgb), 0.08);
}

.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:hover {
    color: #ffffff;
}

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

.faq-summary::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid rgba(var(--accent-gold-rgb), 0.88);
    border-bottom: 2px solid rgba(var(--accent-gold-rgb), 0.88);
    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: #fb7185;
    text-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.28);
}

.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: 0px 40px 80px;
    }

    .logo-header-img {
        height: 50px;
        transform: scale(1.3);
    }

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

/* Footer */
.footer {
    flex-shrink: 0;
    background:
        radial-gradient(ellipse 80% 120% at 50% 0%, rgba(var(--accent-gold-rgb), 0.1) 0%, transparent 55%),
        linear-gradient(180deg, #14071c 0%, #0a0014 100%);
    padding: 20px 30px;
    border-top: 1px solid rgba(var(--accent-gold-rgb), 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.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: #9ca3af;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s, opacity 0.2s;
}

.footer-nav a:hover {
    color: rgb(var(--accent-blue-rgb));
    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: #fbbf24;
}

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

.legal-link:hover {
    color: rgb(var(--accent-blue-rgb));
}

.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(var(--accent-pink-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.age-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(232, 237, 248, 0.95);
    position: absolute;
}

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

.footer-copyright {
    color: rgba(156, 163, 175, 0.92);
    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(var(--accent-pink-rgb), 0.15);
    }
}
