/* Age Verification Barrier Popup Styles */

.avb-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.avb-popup.avb-popup-visible {
    display: flex;
}

.avb-popup-content {
    background: #ffffff;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: avbSlideIn 0.3s ease-out;
}

@keyframes avbSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.avb-popup-header h2 {
    color: #333333;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.avb-popup-body p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.avb-popup-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.avb-btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.avb-btn-confirm {
    background-color: #e74c3c;
    color: #ffffff;
}

.avb-btn-confirm:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.avb-btn-confirm:active {
    transform: translateY(0);
}

.avb-btn-deny {
    background-color: #f5f5f5;
    color: #333333;
    border: 2px solid #dddddd;
}

.avb-btn-deny:hover {
    background-color: #e8e8e8;
    border-color: #cccccc;
    transform: translateY(-2px);
}

.avb-btn-deny:active {
    transform: translateY(0);
}

/* Prevent body scroll when popup is open */
body.avb-popup-open {
    overflow: hidden;
}

/* Responsive styles */
@media (max-width: 768px) {
    .avb-popup-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .avb-popup-header h2 {
        font-size: 24px;
    }
    
    .avb-popup-body p {
        font-size: 14px;
    }
    
    .avb-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .avb-popup {
        padding: 10px;
    }
    
    .avb-popup-content {
        padding: 25px 15px;
    }
    
    .avb-popup-header h2 {
        font-size: 20px;
    }
    
    .avb-popup-body p {
        font-size: 13px;
    }
}
