:root {
    --font-heading: 'Unbounded', 'Manrope', sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --color-accent: #5eb5ff;
    --color-accent-dim: rgba(94, 181, 255, 0.15);
    --color-text: rgba(255, 255, 255, 0.92);
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    min-height: 100vh;
    position: relative;
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body:not(.page-loaded) .header {
    opacity: 0;
}

body:not(.page-loaded) .animate-in,
body:not(.page-loaded) .animate-block {
    opacity: 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 25, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 20px;
    transform: translateY(0);
    transition: transform 0.4s var(--ease-out-expo), background 0.3s;
}

body.page-loaded .header {
    animation: headerSlide 0.6s var(--ease-out-expo) forwards;
}

@keyframes headerSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-links {
    display: none;
    align-items: center;
    gap: 8px;
    background: rgba(40, 40, 45, 0.8);
    width: fit-content;
    padding: 5px 10px;
    border-radius: 12px;
}

.download-label {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
}

.download-nav {
    display: flex;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: 0.5;
}

.download-link:hover {
    opacity: 0.8;
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.download-link-text {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    background: #232e3f;
    border-radius: 6px;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.download-link-text:hover {
    opacity: 0.8;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 150px;
}

.logo-header-img {
    height: 20px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(40, 40, 45, 0.8);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5eb5ff;
    transition: all 0.2s;

    @media (max-width: 600px) {
        display: none;
    }
}

.header-icon-btn:hover {
    background: rgba(50, 50, 55, 0.8);
    transform: scale(1.05);
}

.btn-register-header {
    padding: 12px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #5eb5ff 0%, #0072d3 100%);
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: none;
    transition: transform 0.2s var(--ease-out-quart), box-shadow 0.2s;
}

.btn-register-header:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(94, 181, 255, 0.3);
}

.btn-signin-header {
    padding: 12px 28px;
    border-radius: 12px;
    background: linear-gradient(to top, #4ce900, #4ce892);
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-transform: none;
    transition: transform 0.2s var(--ease-out-quart), box-shadow 0.2s;
}

.btn-signin-header:hover {
    background: linear-gradient(to top, #36b300, #36b300);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .header {
        padding: 12px 15px;
    }

    .header-content {
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    .download-links {
        display: flex;
    }

    .header-actions {
        gap: 14px;
        width: 100%;
        justify-content: space-between;
    }

    .header-icon-btn {
        width: 38px;
        height: 38px;
    }

    .btn-register-header,
    .btn-signin-header {
        padding: 10px 18px;
        font-size: 12px;
    }
    .btn-register-header {
        margin-left: auto;
    }
}



.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
}

.background-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(94, 181, 255, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 80% 80%, rgba(76, 233, 0, 0.06) 0%, transparent 45%);
    animation: glowShift 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glowShift {
    0% { opacity: 0.85; }
    100% { opacity: 1; }
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 80px 20px 0px 20px;

    @media (max-width: 768px) {
        align-items: center;
    }
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    z-index: 1;
}

.content-wrapper.animate-block {
    animation: heroReveal 1s var(--ease-out-expo) forwards;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container {
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    flex-shrink: 0;
    margin: auto;
    animation: formReveal 0.9s var(--ease-out-expo) 0.2s both;
}

@keyframes formReveal {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.banner-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin-top: auto;
}

.banner-img {
    width: 70%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }

    .banner-container {
        display: none;
    }
}

.logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.headline-1 {
    font-family: var(--font-heading);
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.headline-2 {
    font-family: var(--font-heading);
    text-align: center;
    color: var(--color-accent);
    font-size: clamp(26px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(94, 181, 255, 0.25);
}

.input-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    background: white;
    font-size: 16px;
    color: #333;
}

.input-field::placeholder {
    color: #999;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #5eb5ff;
    font-size: 18px;
}

.agreement {
    text-align: center;
    color: white;
    font-size: 12px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.rules-link {
    color: #5eb5ff;
    text-decoration: underline;
    cursor: pointer;
}

.rules-link:hover {
    color: #7fc5ff;
}

.btn-register {
    width: 100%;
    padding: 18px;
    background: linear-gradient(to top, #0051a3, #5eb5ff);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login {
    background: linear-gradient(to top, #4ce900, #4ce892);
    margin-bottom: 15px;
}

.btn-register:hover {
    transform: scale(1.02);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 14px;
}

.login-link a {
    color: white;
    text-decoration: underline;
}

/* Content Section */
.content-section {
    position: relative;
    /* min-height: 100vh; */
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, rgba(20, 20, 30, 0.95) 100%);
    padding: 60px 20px;
}

.content-max-width {
    max-width: 900px;
    margin: 0 auto;
}

.content-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.animate-in {
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.animate-in:nth-of-type(1) { animation-delay: 0.05s; }
.animate-in:nth-of-type(2) { animation-delay: 0.15s; }
.animate-in:nth-of-type(3) { animation-delay: 0.25s; }
.animate-in:nth-of-type(4) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-button-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.content-btn {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #5eb5ff 0%, #0072d3 100%);
    color: white;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 12px;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
    text-transform: uppercase;
}

.content-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(94, 181, 255, 0.4);
}

.text-content {
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.85;
    letter-spacing: 0.01em;
}

.text-content p {
    margin-bottom: 1.4em;
}

.text-content h2 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    margin-top: 2.2em;
    margin-bottom: 0.8em;
    letter-spacing: -0.01em;
}

.text-content strong {
    color: var(--color-accent);
    font-weight: 700;
}

/* Доп. блоки: преимущества, шаги, FAQ */
.content-extra {
    margin-top: 3rem;
}

.block-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25em;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 0.5em;
}

.block-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    border-radius: 2px;
}

.benefits-block,
.steps-block,
.faq-block {
    margin-bottom: 3rem;
}

/* Появление блоков при скролле */
.content-extra .animate-in {
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.content-extra .animate-in.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.content-extra .benefits-block.is-visible { transition-delay: 0s; }
.content-extra .steps-block.is-visible { transition-delay: 0.1s; }
.content-extra .faq-block.is-visible { transition-delay: 0.2s; }

.styled-list {
    list-style: none;
    counter-reset: item;
}

.styled-list li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 1em;
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.7;
}

.styled-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(94, 181, 255, 0.5);
}

.steps-list li {
    counter-increment: item;
    padding-left: 2.8em;
}

.steps-list li::before {
    content: counter(item);
    width: 28px;
    height: 28px;
    top: -0.1em;
    left: 0;
    border-radius: 50%;
    background: var(--color-accent-dim);
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 28px;
    box-shadow: none;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s var(--ease-out-quart);
}

.faq-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 1.1em 0;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s, padding 0.25s var(--ease-out-quart);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s var(--ease-out-expo);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    transition: background 0.2s;
}

.faq-icon::before {
    width: 12px;
    height: 2px;
    margin-left: -6px;
    margin-top: -1px;
}

.faq-icon::after {
    width: 2px;
    height: 12px;
    margin-left: -1px;
    margin-top: -6px;
}

.faq-item.is-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s var(--ease-out-expo);
}

.faq-answer p {
    margin: 0;
    padding: 0 0 1.2em 0;
    padding-right: 2em;
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.faq-item.is-open .faq-answer {
    max-height: 220px;
}

@media (max-width: 768px) {
    .content-section {
        padding: 40px 15px;
    }

    .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;
    }
}

/* Footer */
.footer {
    background: #14161c;
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.age-restriction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(200, 200, 200, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.age-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
}

.age-plus {
    font-size: 10px;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
    top: 8px;
    left: 32px;
}

.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;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.crypto-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
}

.gcb-logo {
    background: #22c55e;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
}

.gcb-text {
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gcb-subtext {
    color: white;
    font-size: 10px;
    margin-top: 2px;
}

.stop-hand-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stop-hand-icon svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-left,
    .footer-right {
        flex: 1;
        min-width: 100%;
    }

    .footer-right {
        justify-content: space-between;
    }
}

@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;
    }

    .crypto-info p {
        font-size: 12px;
    }

    .gcb-logo {
        padding: 10px 16px;
    }

    .gcb-text {
        font-size: 18px;
    }

    .gcb-subtext {
        font-size: 9px;
    }

    .stop-hand-icon {
        width: 36px;
        height: 36px;
    }

    .stop-hand-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Навигация по страницам (40 копий) */
.page-nav {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.page-nav-label {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}
.page-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.page-nav-link,
.page-nav-current {
    display: inline-block;
    min-width: 36px;
    padding: 8px 12px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.25s var(--ease-out-quart), transform 0.2s;
}
.page-nav-link:hover {
    background: rgba(94, 181, 255, 0.25);
    transform: translateY(-2px);
}
.page-nav-current {
    background: var(--color-accent-dim);
    color: var(--color-accent);
    cursor: default;
}