/**
 * Laozi - Consent Popup
 *
 * Age verification popup styles.
 *
 * Filename: consent-popup.css
 *
 * @package Laozi
 * @since 3.0.0
 */

/* Consent Popup Overlay - Hidden by default, JS shows if not verified */
.consent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--laozi-black, #0a0a0a);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.consent-popup.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Logo */
.consent-popup__logo {
    font-family: var(--laozi-font-display, 'Cormorant Garamond', serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    color: var(--laozi-cream, #f5f5f0);
}

/* Subtitle */
.consent-popup__subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--laozi-gray, #888);
    margin-bottom: 3rem;
}

/* Warning Text */
.consent-popup__warning {
    font-family: var(--laozi-font-display, 'Cormorant Garamond', serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--laozi-gray, #888);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* Question */
.consent-popup__question {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--laozi-cream, #f5f5f0);
}

/* Buttons Container */
.consent-popup__buttons {
    display: flex;
    gap: 1.5rem;
}

/* Button Base */
.consent-popup__btn {
    padding: 1rem 3rem;
    font-family: var(--laozi-font-body, 'Raleway', sans-serif);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid var(--laozi-gold, #C9A227);
    background: transparent;
    color: var(--laozi-cream, #f5f5f0);
    cursor: pointer;
    transition: all 0.3s ease;
}

.consent-popup__btn:hover {
    background: var(--laozi-gold, #C9A227);
    color: var(--laozi-black, #0a0a0a);
}

/* Exit Button */
.consent-popup__btn--exit {
    border-color: var(--laozi-gray, #888);
    color: var(--laozi-gray, #888);
}

.consent-popup__btn--exit:hover {
    background: var(--laozi-gray, #888);
    color: var(--laozi-black, #0a0a0a);
}

/* Mobile Styles */
@media (max-width: 600px) {
    .consent-popup__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 250px;
    }

    .consent-popup__btn {
        width: 100%;
    }
}
