/* ==========================================================================
МОДАЛЬНОЕ ОКНО ПРЕДУПРЕЖДЕНИЯ 17+
========================================================================== */
.warning-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: warningFadeIn 0.4s ease;
}

.warning-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.warning-modal__content {
    position: relative;
    max-width: 540px;
    width: 90%;
    background: linear-gradient(145deg, #0d0d0d 0%, #1a0a0a 100%);
    border: 2px solid #ff7b00;
    border-radius: 16px;
    padding: 40px 32px 32px;
    box-shadow: 
        0 0 60px rgba(255, 123, 0, 0.4),
        0 0 120px rgba(255, 59, 48, 0.2),
        inset 0 0 30px rgba(255, 123, 0, 0.1);
    text-align: center;
    color: #e0e0e0;
    animation: warningSlideUp 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Глаз */
.warning-eye {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 96px;
    filter: drop-shadow(0 0 20px rgba(255, 59, 48, 0.6));
    animation: eyePulse 3s ease-in-out infinite;
}

.warning-eye__svg {
    width: 100%;
    height: 100%;
}

.warning-eye__outline {
    transition: all 0.3s ease;
}

.warning-eye__pupil {
    transition: transform 0.1s ease-out;
}

@keyframes eyePulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 59, 48, 0.6)); }
    50% { filter: drop-shadow(0 0 30px rgba(255, 59, 48, 0.9)); }
}

/* Заголовок */
.warning-modal__title {
    font-size: 28px;
    color: #ff7b00;
    margin: 20px 0 16px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'DarckF', sans-serif;
    text-shadow: 0 0 15px rgba(255, 123, 0, 0.5);
}

.warning-modal__divider {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff7b00, transparent);
    margin: 0 auto 20px;
}

/* Текст */
.warning-modal__text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: left;
    font-family: 'EsteticF', sans-serif;
}

.warning-modal__text p {
    margin-bottom: 12px;
    color: #c0c0c0;
}

.warning-modal__text strong {
    color: #ff7b00;
    font-weight: bold;
}

/* Бейдж 18+ */
.warning-modal__age-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff3b30, #ff7b00);
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 0 20px rgba(255, 59, 48, 0.5);
    letter-spacing: 2px;
}

/* Копирайт */
.warning-modal__copyright {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 16px;
    text-align: center;
}

/* Кнопка */
.warning-modal__btn {
    background: linear-gradient(135deg, #ff7b00, #ff3b30);
    color: white;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'DarckF', sans-serif;
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.4);
}

.warning-modal__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 123, 0, 0.7);
    background: linear-gradient(135deg, #ff8c1a, #ff4d40);
}

.warning-modal__btn:active {
    transform: translateY(-1px);
}

/* Анимации */
@keyframes warningFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes warningSlideUp {
    from { 
        transform: translateY(40px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* Адаптивность */
@media (max-width: 600px) {
    .warning-modal__content {
        padding: 30px 20px 24px;
    }
    
    .warning-eye {
        width: 120px;
        height: 72px;
        top: -45px;
    }
    
    .warning-modal__title {
        font-size: 22px;
        margin-top: 10px;
    }
    
    .warning-modal__text {
        font-size: 14px;
    }
}