/**
 * Age Verification Modal Styles - UltraGFE
 * Matches the purple/pink gradient theme with dark glassmorphism
 */

/* Blur effect when modal is active */
body.age-verification-active .app-layout,
body.age-verification-active .container,
body.age-verification-active main {
    filter: blur(8px);
    pointer-events: none;
}

/* Modal Overlay */
#age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#age-verification-modal.show {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.age-verification-content {
    background: linear-gradient(135deg, rgba(26, 26, 36, 0.98), rgba(20, 20, 30, 0.98));
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(147, 51, 234, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#age-verification-modal.show .age-verification-content {
    transform: scale(1);
}

/* Icon */
.age-verification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #9333EA, #EC4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

/* Title */
.age-verification-title {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #9333EA, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* Description */
.age-verification-description {
    color: #9ca3af;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.age-verification-description strong {
    color: #e5e5e5;
    font-weight: 600;
}

/* Buttons Container */
.age-verification-buttons {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

/* Button Base Styles */
.age-verify-btn {
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 1.0625rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-family: inherit;
}

/* Enter Button */
#age-verify-enter {
    background: linear-gradient(135deg, #9333EA, #EC4899);
    color: white;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.35);
}

#age-verify-enter:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(147, 51, 234, 0.5);
}

#age-verify-enter:active {
    transform: translateY(0) scale(0.98);
}

/* Exit Button */
#age-verify-exit {
    background: rgba(42, 42, 56, 0.8);
    color: #9ca3af;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

#age-verify-exit:hover {
    background: rgba(42, 42, 56, 1);
    color: #e5e5e5;
    border-color: rgba(147, 51, 234, 0.3);
    transform: translateY(-1px);
}

#age-verify-exit:active {
    transform: translateY(0);
}

/* Legal Disclaimer */
.age-verification-legal {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(147, 51, 234, 0.15);
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 640px) {
    .age-verification-content {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .age-verification-title {
        font-size: 1.5rem;
    }

    .age-verification-icon {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }

    .age-verify-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Prevent interaction with page content */
#age-verification-modal * {
    pointer-events: auto;
}
