/* Age Verification Definitive Plugin Styles - OPTIMIZED (No animations) */

/* Preblock overlay styles - hidden by default, shown only via JavaScript */
#age-verification-preblock {
    position: fixed;
    z-index: 2147483647;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    width: 100vw;
    height: 100vh;
    display: none;
    pointer-events: all;
}

/* Show preblock only when explicitly activated */
#age-verification-preblock.show {
    display: block;
}

/* Ensure main content is never hidden by default */
html, body {
    height: auto !important;
    margin: 0;
    padding: 0;
}

/* Popup container styles */
.age-verification-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Body states when popup is active */
body.age-popup-active {
    overflow: hidden !important;
}

body.age-popup-active .header-bottom.header-mobile {
    display: none !important;
}

body.age-popup-active:has(.age-verification-popup[style*="flex"]) *:not(.age-verification-popup):not(.age-verification-popup *) {
    pointer-events: none !important;
    user-select: none !important;
}

body.age-popup-active .age-verification-popup[style*="flex"] ~ * {
    pointer-events: none !important;
    user-select: none !important;
}

/* Popup content styles - NO ANIMATIONS */
.age-verification-content {
    background: rgba(12, 11, 18, 0.98);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 95vw;
    border: 2px solid #ff00c8;
    box-shadow: 0 0 40px rgba(255, 0, 200, 0.4);
    font-family: "Orbitron", "Audiowide", "Roboto", sans-serif;
    position: relative;
    overflow: hidden;
}

/* Logo styles - NO ANIMATIONS */
.age-verification-logo {
    width: 120px;
    aspect-ratio: 2 / 1;
    height: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 15px rgba(255, 0, 200, 0.6));
    position: relative;
    z-index: 1;
}

/* Title styles - NO ANIMATIONS */
.age-verification-title {
    margin-bottom: 1rem;
    font-size: 36px;
    font-family: "Orbitron", "Audiowide", sans-serif;
    font-weight: 700;
    color: #ff00c8;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 0, 200, 0.6);
    position: relative;
    z-index: 1;
}

/* Badge styles - NO ANIMATIONS */
.age-verification-badge {
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.age-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9500, #ffb347);
    color: #fff;
    border-radius: 50%;
    padding: 0.8rem 1.2rem;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: "Orbitron", "Audiowide", sans-serif;
    border: 2px solid #ff9500;
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.5);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Text styles */
.age-verification-text {
    margin-bottom: 1.5rem;
    font-size: 16px;
    color: #fff;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Action buttons styles */
.age-verification-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 8px;
    margin-top: 1.5rem;
}

.age-btn-enter,
.age-btn-exit {
    border: 2px solid;
    padding: 0.9rem 2.5rem;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    font-family: "Orbitron", "Audiowide", sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.age-btn-enter {
    background: linear-gradient(135deg, #ff00c8, #ff1493);
    color: #fff;
    border-color: #ff00c8;
    box-shadow: 0 4px 15px rgba(255, 0, 200, 0.4);
}

.age-btn-enter:hover {
    background: linear-gradient(135deg, #ff1493, #ff00c8);
    border-color: #00f2ff;
    box-shadow: 0 6px 20px rgba(255, 0, 200, 0.6);
}

.age-btn-exit {
    background: rgba(20, 20, 30, 0.8);
    color: #00f2ff;
    border-color: #00f2ff;
    box-shadow: 0 2px 10px rgba(0, 242, 255, 0.3);
}

.age-btn-exit:hover {
    background: rgba(30, 30, 40, 0.9);
    border-color: #00f2ff;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.5);
}

/* Help link styles */
.age-verification-help {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #ccc;
    position: relative;
    z-index: 1;
}

.age-help-link {
    color: #00f2ff;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.age-help-link:hover {
    color: #ff00c8;
}

.age-btn-enter + .age-btn-exit {
    margin-top: 10px;
}

/* Mobile responsive styles */
@media (max-width: 600px) {
    .age-verification-content {
        width: 98vw;
        max-width: 98vw;
        padding: 2rem 1.5rem;
        border-radius: 16px;
        box-sizing: border-box;
    }
    
    .age-verification-popup {
        align-items: center;
        padding: 0;
    }
    
    .age-verification-logo {
        width: 80px !important;
        margin-bottom: 1rem;
    }
    
    .age-verification-title {
        font-size: 24px;
        letter-spacing: 2px;
        margin-bottom: 0.8rem;
    }
    
    .age-verification-text {
        font-size: 14px;
        margin-bottom: 1.2rem;
    }
    
    .age-badge {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
    .age-verification-actions {
        flex-direction: column;
        gap: 12px 0 !important;
        align-items: stretch;
        margin-top: 1rem;
    }
    
    .age-verification-actions button {
        width: 96%;
        max-width: 240px;
        margin: 0 auto;
        font-size: 16px;
        padding: 0.8rem 1.2rem;
    }
    
    .age-btn-enter + .age-btn-exit {
        margin-top: 10px !important;
    }
    
    .age-verification-help {
        font-size: 0.83rem;
        margin-top: 1.2rem;
    }
}
