:root {
    /* Palette sampled from img/screen.avif: electric cyan #0dbed9 / #5cf0ff, deep violet UI #1a1428, Hades red #7a0f14, mist #9d90ba */
    --header-fade-gradient: linear-gradient(
        180deg,
        rgba(55, 236, 252, 0.22) 0%,
        rgba(72, 96, 140, 0.2) 32%,
        rgba(42, 32, 58, 0.48) 68%,
        rgba(12, 8, 18, 0) 100%
    );

    --primary-color: #dcecf5;
    --primary-color-light: #0c0814;
    --btn-dark-color: #2c2540;

    --secondary-color: #3ee8f5;
    --btn-secondary-color: linear-gradient(180deg, #6ef6ff 0%, #0aa4b8 42%, #8a1524 100%);
    --tertiary-color: #0a0812;
    --blue-color: linear-gradient(180deg, #b8fdff 0%, #3ee8f5 45%, #078a9a 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 125% 50% at 50% -6%, rgba(13, 190, 217, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 70% 42% at 94% 22%, rgba(92, 240, 255, 0.14) 0%, transparent 46%),
        radial-gradient(ellipse 60% 48% at 6% 38%, rgba(122, 15, 20, 0.11) 0%, transparent 44%),
        radial-gradient(ellipse 88% 72% at 50% 110%, rgba(48, 40, 72, 0.42) 0%, transparent 54%),
        linear-gradient(172deg, #2a2240 0%, #181022 36%, #14101c 70%, var(--tertiary-color) 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(62, 232, 245, 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(62, 232, 245, 0.45);
    background: rgba(36, 32, 56, 0.88);
    color: rgba(62, 232, 245, 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(48, 44, 72, 0.95);
    border-color: rgba(62, 232, 245, 0.75);
}

.lang-dropdown-btn:focus {
    outline: 2px solid rgba(62, 232, 245, 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(62, 232, 245, 0.22);
    background: rgba(18, 14, 30, 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(62, 232, 245, 0.95);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.lang-dropdown-link:hover {
    background: rgba(62, 232, 245, 0.12);
    color: #c8fcff;
}

.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(62, 232, 245, 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: 150px;
    width: auto;
    object-fit: contain;
    transform: scale(1.4);
}


.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(190, 40%, 55%, .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(62, 232, 245, 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: #a8b8d8;
    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, #046e7a 0%, #3ee8f5 48%, #12a0b0 100%);
    color: #050810;
    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%;
}

.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(18, 14, 32, 0.78),
        inset 0 -120px 100px -40px rgba(62, 232, 245, 0.12);
    background:
        radial-gradient(ellipse 100% 70% at 50% 115%, rgba(52, 44, 78, 0.55) 0%, transparent 52%),
        radial-gradient(ellipse 85% 55% at 80% 16%, rgba(13, 190, 217, 0.18) 0%, transparent 46%),
        radial-gradient(ellipse 72% 48% at 12% 26%, rgba(122, 15, 20, 0.14) 0%, transparent 42%),
        radial-gradient(ellipse 55% 35% at 50% 50%, rgba(100, 140, 180, 0.12) 0%, transparent 60%),
        linear-gradient(163deg, #322a48 0%, #3d4870 28%, #282038 62%, #100c18 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: #e4eaf8;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(62, 232, 245, 0.28);
}

.headline-2 {
    text-align: center;
    color: #7af6ff;
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow:
        0 0 28px rgba(62, 232, 245, 0.55),
        0 2px 20px rgba(0, 0, 0, 0.5);
}

.btn-register {
    width: 100%;
    padding: 18px;
    background: linear-gradient(90deg, #046e7a 0%, #3ee8f5 48%, #12a0b0 100%);
    color: #050810;
    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: #050810;
    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(62, 232, 245, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 95% 45% at 50% 100%, rgba(68, 82, 118, 0.2) 0%, transparent 52%),
        radial-gradient(ellipse 70% 55% at 15% 40%, rgba(122, 15, 20, 0.08) 0%, transparent 50%),
        linear-gradient(125deg, #241c34 0%, #303060 26%, #384868 50%, #241a30 74%, #0e0a14 100%);
    padding: 60px 20px;
    padding-top: 72px;
}

.content-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(190, 240, 255, 0.05) 0%, rgba(122, 20, 28, 0.09) 100%);
}

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

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

.content-title {
    color: #f1f4fc;
    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: #050810;
    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(100, 160, 195, 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: #3ee8f5;
    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: #3ee8f5;
    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: #3ee8f5;
}

.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(122, 18, 28, 0.28);
}

.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: #9ecae8;
    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(62, 232, 245, 0.85);
    border-bottom: 2px solid rgba(62, 232, 245, 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: #3ee8f5;
}

.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;
    }

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

/* Footer */
.footer {
    flex-shrink: 0;
    background:
        radial-gradient(ellipse 80% 120% at 50% 0%, rgba(62, 232, 245, 0.08) 0%, transparent 55%),
        linear-gradient(180deg, #161022 0%, #0a0812 100%);
    padding: 20px 30px;
    border-top: 1px solid rgba(62, 232, 245, 0.28);
    box-shadow: inset 0 1px 0 rgba(122, 18, 28, 0.12);
}

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

.footer-nav a:hover {
    color: #9ecae8;
    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: #3ee8f5;
}

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

.legal-link:hover {
    color: #9ecae8;
}

.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(62, 232, 245, 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(158, 190, 220, 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(62, 232, 245, 0.15);
    }
}
