/* Age Verification Modal Styles */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.age-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    margin: 1rem;
}

.age-modal-overlay.show .age-modal {
    transform: scale(1) translateY(0);
}

.age-modal-content {
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.age-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Manrope', sans-serif;
}

.age-modal-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Manrope', sans-serif;
}

.age-modal-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.age-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    min-height: 60px;
}

.age-btn-icon {
    font-size: 1.3rem;
}

.age-btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.age-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.age-btn-deny {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.age-btn-deny:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.age-modal-disclaimer {
    font-size: 0.9rem;
    color: #999;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .age-modal {
        width: calc(100% - 1rem);
        max-height: calc(100vh - 1rem);
        margin: 0.5rem;
        border-radius: 15px;
    }
    
    .age-modal-content {
        padding: 1.5rem 1rem;
    }
    
    .age-modal-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .age-modal-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .age-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-height: 50px;
    }
    
    .age-modal-buttons {
        margin-bottom: 1.5rem;
        flex-direction: row;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .age-modal {
        width: calc(100% - 0.5rem);
        max-height: calc(100vh - 0.5rem);
        margin: 0.25rem;
        border-radius: 12px;
    }
    
    .age-modal-content {
        padding: 1rem 0.8rem;
    }
    
    .age-modal-title {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }
    
    .age-modal-text {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }
    
    .age-modal-buttons {
        gap: 0.6rem;
        margin-bottom: 1.2rem;
        flex-direction: row;
    }
    
    .age-btn {
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
        min-height: 45px;
    }
    
    .age-modal-disclaimer {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .age-modal {
        width: calc(100% - 0.25rem);
        max-height: calc(100vh - 0.25rem);
        margin: 0.125rem;
    }
    
    .age-modal-content {
        padding: 0.8rem 0.6rem;
    }
    
    .age-modal-title {
        font-size: 1.2rem;
    }
    
    .age-modal-text {
        font-size: 0.9rem;
    }
    
    .age-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        min-height: 40px;
    }
    
    .age-modal-buttons {
        gap: 0.5rem;
        flex-direction: row;
    }
}

/* Для экранов где кнопки не помещаются в одну строчку */
@media (max-width: 320px) {
    .age-modal-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .age-btn {
        width: 100%;
    }
}

/* Для очень высоких экранов */
@media (min-height: 800px) {
    .age-modal {
        max-height: 600px;
    }
}

/* Для очень широких экранов */
@media (min-width: 1200px) {
    .age-modal {
        max-width: 600px;
    }
}
