/* Age Verification Modal Styles */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.age-verification-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    margin: 20px;
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.age-verification-content {
    padding: 40px 30px;
    text-align: center;
}

.age-verification-content h2 {
    color: #d32f2f;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-verification-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.age-verification-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.age-verification-buttons .btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 160px;
}

.age-verification-buttons .btn-primary {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: #fff;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.age-verification-buttons .btn-primary:hover,
.age-verification-buttons .btn-primary.btn-hover {
    background: linear-gradient(135deg, #b71c1c, #8e0000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.4);
}

.age-verification-buttons .btn-secondary {
    background: linear-gradient(135deg, #757575, #616161);
    color: #fff;
    box-shadow: 0 4px 15px rgba(117, 117, 117, 0.3);
}

.age-verification-buttons .btn-secondary:hover,
.age-verification-buttons .btn-secondary.btn-hover {
    background: linear-gradient(135deg, #616161, #424242);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(117, 117, 117, 0.4);
}

.age-verification-buttons .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.age-verification-warning {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    color: #856404;
}

.age-verification-warning small {
    font-size: 14px;
    line-height: 1.4;
}

/* Body styles when modal is active */
body.age-verification-active {
    overflow: hidden;
}

/* Adult content notice styles */
.adult-content-notice {
    background: linear-gradient(135deg, #ffebee, #ffcdd2);
    border: 2px solid #ef5350;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(239, 83, 80, 0.2);
}

.adult-content-notice p {
    margin: 0;
    color: #c62828;
    font-weight: 600;
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .age-verification-modal {
        width: 95%;
        margin: 10px;
    }
    
    .age-verification-content {
        padding: 30px 20px;
    }
    
    .age-verification-content h2 {
        font-size: 24px;
    }
    
    .age-verification-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .age-verification-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .age-verification-content h2 {
        font-size: 20px;
    }
    
    .age-verification-content p {
        font-size: 14px;
    }
    
    .age-verification-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animation for button loading state */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.age-verification-buttons .btn:disabled {
    animation: pulse 1.5s infinite;
}

/* Focus styles for accessibility */
.age-verification-buttons .btn:focus {
    outline: 3px solid #2196f3;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .age-verification-modal {
        border: 3px solid #000;
    }
    
    .age-verification-buttons .btn {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .age-verification-modal {
        animation: none;
    }
    
    .age-verification-buttons .btn {
        transition: none;
    }
    
    .age-verification-buttons .btn:hover {
        transform: none;
    }
}
