/* ===== Base ===== */
:root {
    --bg-main: #0b0b0f;
    --bg-card: #14141c;
    --text-main: #ffffff;
    --text-muted: rgba(255,255,255,0.7);

    --accent-man: #1da1f2;
    --accent-woman: #ff5fa2;

    --radius-card: 20px;
    --radius-pill: 999px;
}

/* ===== Reset ===== */
* {
    box-sizing: border-box;
}

/* ===== Page ===== */
body {
    margin: 0;
    min-height: 100vh;
    display: block;

    padding: 0 6vw;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

    background:
        radial-gradient(circle at 20% 20%, #272746 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, #2d1e30 0%, transparent 40%),
        var(--bg-main);

    color: var(--text-main);
}

/* ===== Card ===== */
.container {
    width: 100%;
    max-width: 1200px;

    margin: 12vh auto 0;
    padding: 56px;

    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    align-items: center;

    background: linear-gradient(180deg, #1b1b26 0%, var(--bg-card) 100%);
    border-radius: var(--radius-card);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ===== Invisible Page Text ===== */
.page-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 16px;
    max-width: 420px;

    color: var(--text-muted);
}

.page-text h3 {
    font-size: 1.6rem;
    margin: 0;
    color: var(--text-main);
}

.page-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.page-text .muted {
    font-size: 0.95rem;
    opacity: 0.75;
}

/* ===== Main Block ===== */
.main-block {
    display: grid;
    grid-template-columns: auto minmax(440px, 1fr);
    gap: 56px;
    align-items: center;
}

/* ===== Image / Slider ===== */
.image-container {
    display: flex;
    justify-content: center;
}

.slider {
    position: relative;
    width: 280px;
    height: 380px;

    overflow: hidden;
    border-radius: 16px;
}

.slider .slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 16px;

    opacity: 0;
    transition: opacity 0.4s ease-in-out;

    box-shadow:
        0 12px 30px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.06);
}

.slider .slide.active {
    opacity: 1;
}

/* ===== Content ===== */
.content {
    max-width: 440px;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 22px;
}

h1 {
    font-size: 2.15rem;
    line-height: 1.2;
    margin: 0;
}

h2 {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Buttons ===== */
.buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.button {
    width: 90%;
    padding: 20px 0;

    border-radius: var(--radius-pill);
    text-align: center;

    font-size: 1rem;
    font-weight: 500;

    text-decoration: none;
    color: #fff;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.6);
}

.button-man {
    background: linear-gradient(135deg, #cb1c1c, #0c7bdc);
}

.button-woman {
    background: linear-gradient(135deg, #f6ef30, #e63b7a);
}

/* ===== Footer ===== */
.footer {
    width: 100%;
    margin-top: 140px;
    padding: 48px 6vw 32px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.65),
            rgba(0,0,0,0.25),
            transparent
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

/* Footer Left */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-left .brand {
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-left .tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer Center */
.footer-center {
    display: flex;
    gap: 22px;
}

.footer-center a {
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-muted);
}

/* Footer Right */
.footer-right {
    display: flex;
    justify-content: flex-end;
}

.footer-right .age {
    font-size: 0.8rem;
    padding: 6px 10px;
    border-radius: 999px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        margin-top: 8vh;
        padding: 32px 24px;
        gap: 40px;
        border-radius: 0;
    }

    .page-text {
        text-align: center;
        max-width: 100%;
    }

    .main-block {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }

    .content {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .slider {
        width: 220px;
        height: 300px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.05rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }
}

/* ===== Support Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;

    z-index: 999;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: relative;

    width: 100%;
    max-width: 360px;
    padding: 28px 28px 32px;

    background: linear-gradient(180deg, #1b1b26, #14141c);
    border-radius: 18px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.75),
        inset 0 1px 0 rgba(255,255,255,0.05);

    text-align: center;
}

.modal h3 {
    margin: 0 0 12px;
    font-size: 1.4rem;
}

.modal p {
    margin: 0 0 16px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.support-email {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;

    padding-bottom: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.support-email:hover {
    border-color: #fff;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 14px;

    background: none;
    border: none;

    font-size: 1.6rem;
    line-height: 1;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
}

.modal-close:hover {
    color: #fff;
}

.age-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;

    background: radial-gradient(
        circle at top,
        rgba(30, 30, 40, 0.98),
        rgba(8, 8, 12, 0.98)
    );
    backdrop-filter: blur(16px);

    display: flex;
    align-items: center;
    justify-content: center;

    animation: fadeIn 0.4s ease-out;
}

/* Центральная карточка */
.age-gate-box {
    max-width: 420px;
    width: 90%;
    padding: 32px 28px;

    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.06);

    text-align: center;
    color: #fff;

    transform: translateY(10px);
    animation: slideUp 0.4s ease-out forwards;
}

/* 18+ badge */
.age-gate-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;

    color: #ff5e8e;
    border: 1px solid rgba(255, 94, 142, 0.4);
    border-radius: 999px;
}

/* Заголовок */
.age-gate-box h2 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
}

/* Текст */
.age-gate-box p {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

/* Кнопки */
.age-gate-actions {
    display: flex;
    gap: 12px;
}

.age-gate-actions button {
    flex: 1;
    height: 48px;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;

    border-radius: 14px;
    border: none;

    transition: all 0.25s ease;
}

/* Yes */
.age-gate-actions .confirm {
    background: linear-gradient(135deg, #ff5e8e, #ff2e63);
    color: #fff;
}

.age-gate-actions .confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(255, 46, 99, 0.4);
}

/* No */
.age-gate-actions .decline {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
}

.age-gate-actions .decline:hover {
    background: rgba(255, 255, 255, 0.14);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

