/* Age Verification Modal Styles */
.age-modal {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease;
}

.age-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 0, 64, 0.3), 
                0 0 40px rgba(255, 0, 64, 0.2);
    position: relative;
    overflow: hidden;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 0, 64, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.age-verification-header {
    margin-bottom: 30px;
}

.age-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.4);
}

.age-verification-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 0, 64, 0.3);
}

.age-verification-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.age-verification-body {
    position: relative;
    z-index: 1;
}

.age-warning {
    background: rgba(255, 0, 64, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.age-warning i {
    color: var(--primary-color);
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite alternate;
}

.age-warning p {
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

.age-question {
    margin-bottom: 30px;
}

.age-question p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

.age-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.age-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border: 2px solid;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.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-btn-yes {
    border-color: #28a745;
    color: #28a745;
}

.age-btn-yes:hover {
    background: #28a745;
    color: white;
    box-shadow: 0 0 20px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

.age-btn-no {
    border-color: #dc3545;
    color: #dc3545;
}

.age-btn-no:hover {
    background: #dc3545;
    color: white;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
    transform: translateY(-2px);
}

.age-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.age-footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.age-footer i {
    color: var(--primary-color);
}

/* Animation for modal appearance */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.age-modal-content {
    animation: slideInUp 0.6s ease;
}

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

/* Pulse animation for warning icon */
@keyframes pulse {
    0% {
        transform: scale(1);
        color: var(--primary-color);
    }
    100% {
        transform: scale(1.1);
        color: #ff3366;
        text-shadow: 0 0 20px rgba(255, 0, 64, 0.6);
    }
}

/* Mobile styles for age verification */
@media (max-width: 768px) {
    .age-modal-content {
        padding: 30px 20px;
        margin: 20px;
        max-width: none;
        width: calc(100% - 40px);
    }
    
    .age-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .age-verification-header h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .age-verification-header p {
        font-size: 1rem;
    }
    
    .age-warning {
        padding: 15px;
        margin-bottom: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .age-warning i {
        font-size: 1.5rem;
    }
    
    .age-warning p {
        font-size: 0.9rem;
    }
    
    .age-question p {
        font-size: 1.1rem;
    }
    
    .age-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .age-btn {
        width: 100%;
        min-width: auto;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .age-footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .age-modal-content {
        padding: 25px 15px;
        margin: 15px;
    }
    
    .age-logo {
        width: 50px;
        height: 50px;
    }
    
    .age-verification-header h2 {
        font-size: 1.4rem;
    }
    
    .age-verification-header p {
        font-size: 0.9rem;
    }
    
    .age-warning p {
        font-size: 0.85rem;
    }
    
    .age-question p {
        font-size: 1rem;
    }
    
    .age-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .age-modal-content {
        animation: none;
    }
    
    .age-modal {
        animation: none;
    }
    
    .age-warning i {
        animation: none;
    }
    
    .age-modal-content::before {
        animation: none;
    }
    
    .age-btn::before {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .age-modal {
        background: rgba(0, 0, 0, 0.98);
    }
    
    .age-modal-content {
        border-width: 3px;
        background: #000000;
    }
    
    .age-warning {
        border-width: 2px;
        background: rgba(255, 0, 64, 0.2);
    }
    
    .age-btn {
        border-width: 3px;
    }
}