/* Age Verification Overlay - Fixed Version */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.5s ease-in-out;
}

.age-verification-overlay.hidden {
    display: none;
}

/* Blur the main content when age verification is shown */
body.age-verification-active .main-content,
body.age-verification-active .header,
body.age-verification-active .footer {
    filter: blur(5px);
    pointer-events: none;
}

.age-verification-modal {
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.5s ease-out;
    margin-top: -50px; /* Move up slightly to center under logo */
}

.age-verification-content {
    padding: 2rem;
    text-align: center;
}

.age-verification-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.age-verification-header .logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.age-verification-body {
    margin-bottom: 2rem;
}

.age-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s infinite;
}

.age-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.age-description {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.age-warning {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    padding: 1rem;
    background: var(--card-color);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.age-verification-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.age-confirm-btn {
    background: var(--pride-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
}

.age-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.age-exit-btn {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--border-color);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-exit-btn:hover {
    background: var(--card-color);
    color: var(--text-color);
    border-color: var(--border-light);
}

.age-verification-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.age-disclaimer {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Mobile responsiveness for age verification */
@media (max-width: 768px) {
    .age-verification-modal {
        margin: 1rem;
        width: calc(100% - 2rem);
        margin-top: -30px;
    }
    
    .age-verification-content {
        padding: 1.5rem;
    }
    
    .age-title {
        font-size: 1.5rem;
    }
    
    .age-description {
        font-size: 1rem;
    }
    
    .age-icon-large {
        font-size: 3rem;
    }
}
