/* ============================================================= */
/* Возрастная верификация 18+ — EmpireKINO.RU
/* Файл: /templates/Torrent-King/css/age-verification.css
/* ============================================================= */

/* Модальное окно (оверлей) */
.age-verify-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ageOverlayFadeIn 0.3s ease;
}

@keyframes ageOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Модальное окно */
.age-verify-modal {
    background: #1e2a3a;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    color: #e0e0e0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: ageModalSlideIn 0.35s ease;
}

@keyframes ageModalSlideIn {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Иконка 18+ */
.age-verify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f44336, #e91e63);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.4);
}

/* Заголовок */
.age-verify-modal h2 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
}

/* Описание */
.age-verify-modal p {
    color: #a0aab4;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.age-verify-modal p.age-verify-warning {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 4px;
    margin-bottom: 24px;
}

/* Кнопки */
.age-verify-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.age-verify-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-verify-btn--yes {
    background: linear-gradient(135deg, #2bb42b, #1e8a1e);
    color: #fff;
}

.age-verify-btn--yes:hover {
    background: linear-gradient(135deg, #239a23, #1a7a1a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 180, 43, 0.4);
}

.age-verify-btn--no {
    background: rgba(255, 255, 255, 0.08);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.age-verify-btn--no:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Бейдж 18+ на карточках фильмов */
.badge-18plus {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f44336, #e91e63);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .age-verify-modal {
        padding: 28px 20px;
        margin: 10px;
    }

    .age-verify-icon {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .age-verify-modal h2 {
        font-size: 19px;
    }

    .age-verify-buttons {
        flex-direction: column;
    }

    .age-verify-btn {
        padding: 12px 16px;
    }
}
