:root {
    --color-bg: #040715;
    --color-bg-alt: #090e25;
    --color-surface: #10152e;
    --color-surface-soft: #151b3a;
    --color-border: #252b4a;
    --color-accent: #4fd1c5;
    --color-accent-soft: #f6e05e;
    --color-danger: #f56565;
    --color-text: #f7fafc;
    --color-muted: #a0aec0;
    --color-link: #7f9cf5;

    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-pill: 999px;

    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);

    --transition-fast: 160ms ease-out;
    --transition-med: 220ms ease-out;
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #1a365d 0, #040715 55%, #02040a 100%);
    color: var(--color-text);
}

body {
    min-height: 100vh;
}



.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.section--alt {
    background: radial-gradient(circle at top, rgba(79, 209, 197, 0.07), transparent 60%);
}

.section__narrow {
    max-width: 760px;
}

.section__header {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section__header h2 {
    margin-bottom: 0.75rem;
}

.section__cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
}



.age-banner {
    background: linear-gradient(90deg, rgba(246, 224, 94, 0.13), rgba(245, 101, 101, 0.22));
    border-bottom: 1px solid rgba(246, 224, 94, 0.65);
    backdrop-filter: blur(10px);
}

.age-banner__content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.age-banner__text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: #1a202c;
    color: var(--color-accent-soft);
    font-weight: 700;
    border: 1px solid rgba(246, 224, 94, 0.6);
}

.age-banner__close {
    border: none;
    background: transparent;
    color: #fed7d7;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.age-banner__close:hover {
    background: rgba(26, 32, 44, 0.6);
    transform: translateY(-1px);
}

.age-banner--hidden {
    display: none;
}



.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(4, 7, 21, 0.96), rgba(4, 7, 21, 0.8));
    border-bottom: 1px solid rgba(45, 55, 72, 0.7);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    color: #1a202c;
    font-size: 0.95rem;
}
.logo__mark img {
    width: 100%;
}

.logo__text {
    font-weight: 650;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    font-size: 0.98rem;
    color: var(--color-text);
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}

.nav a {
    color: var(--color-muted);
    text-decoration: none;
    padding: 0.3rem 8px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-soft));
    transition: width var(--transition-fast);
}

.nav a:hover {
    color: var(--color-text);
}

.nav a:hover::after {
    width: 100%;
}

.nav__cta {
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(129, 230, 217, 0.4);
    background: rgba(20, 184, 166, 0.06);
    color: var(--color-accent);
    font-weight: 500;
}

.nav__cta::after {
    display: none;
}

.nav__cta:hover {
    background: rgba(20, 184, 166, 0.16);
}

.nav__cta--active {
    background: rgba(20, 184, 166, 0.24);
    color: var(--color-text);
}



.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0.2rem;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #cbd5f5;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.game-logo {
    width: 100%;
    margin-bottom: 15px;
}
section, section .container {
    position: relative;
}
.block-bg {
    position: relative;
}
.background {
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/background.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
}
.hero {
    padding: 3.5rem 0 4.5rem;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 2.75rem;
    align-items: center;
}

.hero__content h1 {
    font-size: clamp(2.1rem, 2.5vw + 1.5rem, 2.85rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}

.hero__content p {
    color: var(--color-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
}

.hero__disclaimer {
    font-size: 0.86rem;
    color: #e2e8f0;
    max-width: 38rem;
    opacity: 0.85;
}

.hero__card {
    background: radial-gradient(circle at top, rgba(79, 209, 197, 0.14), transparent 68%),
                linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
    border-radius: 26px;
    padding: 1.9rem 1.7rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(79, 209, 197, 0.25);
}

.hero__card h2 {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem;
    display: grid;
    gap: 0.55rem;
    font-size: 0.92rem;
    color: var(--color-muted);
}

.hero-list li::before {
    content: "●";
    margin-right: 0.45rem;
    font-size: 0.6rem;
    color: var(--color-accent-soft);
}

.hero__links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.88rem;
}

.hero-link {
    color: var(--color-link);
    text-decoration: none;
}

.hero-link:hover {
    text-decoration: underline;
}



.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-size: 0.96rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-med), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.btn--primary {
    background: linear-gradient(135deg, #4fd1c5, #81e6d9) !important;
    color: #08111f!important;
    box-shadow: 0 18px 40px rgba(45, 212, 191, 0.45);
}

.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 45px rgba(45, 212, 191, 0.6);
}

.btn--ghost {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--color-text);
}

.btn--ghost:hover {
    background: rgba(15, 23, 42, 0.95);
}

.btn--full {
    width: 100%;
}



.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.86));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(79, 209, 197, 0.18);
    box-shadow: var(--shadow-subtle);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1rem;
}

.info-card p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--color-muted);
}



.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.game-card {
    background: radial-gradient(circle at top left, rgba(129, 230, 217, 0.16), transparent 60%),
                linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(11, 15, 35, 0.98));
    border-radius: var(--radius-lg);
    padding: 1.6rem 1.5rem 1.7rem;
    border: 1px solid rgba(66, 153, 225, 0.25);
    box-shadow: var(--shadow-subtle);
    font-size: 0.93rem;
}

.game-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.75rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(129, 230, 217, 0.55);
    background: rgba(15, 23, 42, 0.92);
    color: #e6fffa;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.7rem;
}

.game-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.1rem;
}

.game-card__lead {
    margin-top: 0;
    margin-bottom: 0.85rem;
    color: #e2e8f0;
}

.game-card h4 {
    margin-bottom: 0.3rem;
    margin-top: 0.9rem;
    font-size: 0.98rem;
}

.game-card ul {
    margin: 0.1rem 0 0.45rem 1.1rem;
    padding: 0;
    color: var(--color-muted);
}



.steps-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1.6rem;
}

.steps-list h3 {
    margin: 0 0 0.4rem;
    font-size: 1.02rem;
}

.steps-list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.pill-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2rem;
}

.pill-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.2rem;
    border: 1px solid rgba(79, 209, 197, 0.16);
    font-size: 0.93rem;
    box-shadow: var(--shadow-subtle);
}

.pill-card h3 {
    margin-top: 0;
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
}

.pill-card p {
    margin: 0;
    color: var(--color-muted);
}

.responsible-link {
    margin-top: 1.5rem;
    font-size: 0.92rem;
    color: var(--color-muted);
}

.responsible-link a {
    color: var(--color-link);
}

.faq-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
    padding: 0.85rem 1rem;
}

.faq-item[open] {
    border-color: rgba(129, 230, 217, 0.5);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.97rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.faq-item summary::after {
    content: "＋";
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-left: 0.75rem;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item div {
    margin-top: 0.55rem;
    border-top: 1px solid rgba(45, 55, 72, 0.7);
    padding-top: 0.65rem;
    font-size: 0.93rem;
    color: var(--color-muted);
}



.page--simple {
    background: radial-gradient(circle at top, #1a365d 0, #040715 55%, #02040a 100%);
}
.footer-bottom__inner p {
    margin: 3px 0;
}
.auth-main .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.auth-card {
    max-width: 640px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.92));
    border-radius: 24px;
    padding: 2rem 1.9rem 2.2rem;
    border: 1px solid rgba(79, 209, 197, 0.22);
    box-shadow: var(--shadow-soft);
}

.auth-card--wide {
    max-width: 900px;
}

.auth-card__header h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.45rem;
}

.auth-card__header p {
    margin: 0 0 1.3rem;
    color: var(--color-muted);
    font-size: 0.96rem;
}

.auth-note {
    margin-top: 1.15rem;
    font-size: 0.88rem;
    color: var(--color-muted);
}

.auth-switch {
    margin-top: 0.85rem;
    font-size: 0.9rem;
}

.auth-switch a,
.form__link {
    color: var(--color-link);
}



.form {
    margin-top: 0.5rem;
}

.form__group {
    margin-bottom: 1.05rem;
}

.form__group--two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    color: #cbd5f5;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(74, 85, 104, 0.9);
    background: rgba(15, 23, 42, 0.98);
    color: var(--color-text);
    font-size: 0.92rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form textarea {
    resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: rgba(79, 209, 197, 0.85);
    box-shadow: 0 0 0 1px rgba(79, 209, 197, 0.75);
    background: rgba(15, 23, 42, 1);
}

.form__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form__row--between {
    justify-content: space-between;
}

.form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--color-muted);
    margin: 0.5rem 0 1rem;
}

.form__checkbox input {
    width: auto;
    margin-top: 0.15rem;
}

.form__link {
    font-size: 0.85rem;
    text-decoration: none;
}

.form__link:hover {
    text-decoration: underline;
}



.rp-section {
    margin-top: 1.5rem;
}

.rp-section h2 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}

.rp-list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.94rem;
    color: var(--color-muted);
}

.rp-list li {
    margin-bottom: 0.4rem;
}

.rp-steps {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.94rem;
    color: var(--color-muted);
}

.rp-steps li {
    margin-bottom: 0.6rem;
}

.rp-note {
    font-size: 0.9rem;
    color: var(--color-muted);
    border-left: 3px solid rgba(245, 101, 101, 0.9);
    padding-left: 0.7rem;
    margin-top: 0.8rem;
}



.site-footer {
    border-top: 1px solid rgba(45, 55, 72, 0.85);
    background: rgba(4, 7, 21, 0.98);
    padding: 1.2rem 0 1.5rem;
    margin-top: 1rem;
}

.site-footer--simple {
    margin-top: 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    font-size: 0.86rem;
    color: var(--color-muted);
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.footer__links a {
    color: var(--color-muted);
    text-decoration: none;
}

.footer__links a:hover {
    color: var(--color-text);
}

.footer__brand {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.footer__copy {
    margin: 0;
}



a {
    color: var(--color-link);
}

a:not(.btn--primary):hover {
    color: #c3dafe;
}



@media (max-width: 960px) {
    .hero__grid {
        grid-template-columns: minmax(0, 1.4fr);
    }

    .hero__card {
        margin-top: 2rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section__cta-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

@media (max-width: 768px) {
    .age-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding-top: 2.8rem;
    }

    .header__inner {
        padding-inline: 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        padding: 0.8rem 1.2rem 1rem;
        background: rgba(4, 7, 21, 0.99);
        border-bottom: 1px solid rgba(45, 55, 72, 0.8);
        display: none;
        flex-direction: column;
        gap: 0.5rem;
    }

    .nav a {
        padding: 0.3rem 0.1rem;
    }

    .nav.nav-open {
        display: flex;
    }

    .info-grid,
    .games-grid,
    .pill-grid,
    .form__group--two {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-card {
        padding-inline: 1.2rem;
    }
}

@media (max-width: 520px) {
    .hero__content h1 {
        font-size: 1.85rem;
    }

    .hero__card {
        padding-inline: 1.3rem;
    }

    .section {
        padding: 3.5rem 0;
    }
}

.site-footer {
    border-top: 1px solid rgba(45, 55, 72, 0.9);
    background: #050712;
    color: var(--color-muted);
}

.site-footer--main {
    margin-top: 3rem;
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.1fr 1.1fr 1.1fr 2.2fr;
    gap: 2.5rem;
    align-items: flex-start;
    padding-bottom: 2.4rem;
}

.footer-col p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-muted);
}

.footer-col--brand p {
    max-width: 420px;
}

.footer-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-list a {
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--color-muted);
}

.footer-list a:hover {
    color: var(--color-text);
}

.footer-trusted {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    border-bottom: 1px solid rgba(31, 41, 55, 0.9);
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(3, 7, 18, 0.98));
    padding: 1.8rem 0 2rem;
    margin-top: 0.4rem;
}

.footer-trusted__label {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    color: #e5e7eb;
    text-align: center;
}

.footer-logos {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.age18 {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 3px solid #f00;
    user-select: none;
    background: #fff;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 54px;
    padding: 0.35rem 0.75rem;
    border-radius: 0.9rem;
    background: #1f2e57;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.footer-bottom {
    padding: 1.7rem 0 2.1rem;
}

.footer-bottom__inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: center;
    color: var(--color-muted);
}

.footer-bottom__copy {
    margin-top: 0.35rem;
    color: #a0aec0;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .site-footer--main {
        margin-top: 2.5rem;
        padding-top: 2.4rem;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
    }

    .footer-bottom__inner {
        text-align: left;
        font-size: 0.8rem;
    }
}