/* Стили для модального окна проверки возраста */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.age-verification-modal.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.age-verification-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.age-verification-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

.age-verification-header {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.age-verification-header h2 {
    color: #d4af37;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.age-verification-body {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.age-icon {
    margin-bottom: 20px;
    animation: iconPulse 2s infinite;
}

.age-icon svg {
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

.age-question {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    font-family: 'Inter', sans-serif;
}

.age-description {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.age-verification-footer {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 180px;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.age-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.age-btn:hover::before {
    left: 100%;
}

.age-yes-btn {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #0f0f0f;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid #d4af37;
}

@media (hover: hover) {
    .age-yes-btn:hover {
        background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    }
}

.age-no-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.age-no-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.age-back-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.age-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Анимации */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .age-verification-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .age-verification-header h2 {
        font-size: 24px;
    }
    
    .age-question {
        font-size: 20px;
    }
    
    .age-description {
        font-size: 14px;
    }
    
    .age-verification-footer {
        flex-direction: column;
        align-items: center;
    }
    
    .age-btn {
        width: 100%;
        max-width: 250px;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .age-verification-content {
        padding: 25px 15px;
    }
    
    .age-verification-header h2 {
        font-size: 20px;
    }
    
    .age-question {
        font-size: 18px;
    }
    
    .age-description {
        font-size: 13px;
    }
    
    .age-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}

/* Дополнительные эффекты */
.age-verification-modal.show {
    display: flex;
}

/* Эффект при фокусе на кнопках */
.age-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Эффект при нажатии */
.age-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
