/* Age Gate Styles */
#age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#age-gate-popup {
    background-color: black;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* max-width: 400px; */
    width: 90%;
    position: relative;
    animation: fadeInScale 0.3s ease-out;
    min-height: 550px;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    align-content: center;
    padding: 40px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.age-gate-content {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    background-color: black;
    border-radius: 10px;
    color: white;
    /* min-height: 550px; */
}

/* .age-gate-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #C29E58;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9;
}

.age-gate-close small {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    margin-top: 4px;
    margin-right: 5px;
} */

/* .age-gate-close:hover {
    opacity: 0.8;
} */
button#age-gate-close {
    border: 0px !important;
    margin-right: 30px;
    margin-top: 20px;
    color: white !important;
    font-size: 20px !important;
}

.age-gate-logo {
    max-width: 120px;
    max-height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.age-gate-content h2 {
    color: white;
    margin-bottom: 15px;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.3;
}

.age-gate-content p {
    color: white;
    margin-bottom: 50px;
    font-size: 15px;
    line-height: 1.5;
}

.age-gate-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-gate-buttons button.age-btn {
    font-family: 'Open Sans', sans-serif;
    outline: none;
    padding: 15px 20px;
    border-radius: 0px;
    border: 1.5px solid #C29E58 !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    color: #C29E58 !important;
    text-transform: uppercase;
    background-color: transparent !important;
}

.age-gate-buttons button.age-btn:hover {
    color: white !important;
    background-color: #C29E58 !important;
    border: 1.5px solid #C29E58 !important;
}

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

/* Responsive design */
@media (max-width: 480px) {
    #age-gate-popup {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .age-gate-content {
        padding: 30px 20px;
    }
    
    .age-gate-content h2 {
        font-size: 30px;
    }
    
    .age-gate-content p {
        font-size: 14px;
    }
    
    .age-gate-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .age-btn {
        width: 100%;
        max-width: 200px;
        font-size:13px;
    }
}

/* Prevent scrolling on body when popup is open */
body.age-gate-active {
    overflow: hidden;
}

/* Accessibility improvements */
.age-btn:focus,
.age-gate-close:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #age-gate-overlay {
        display: none !important;
    }
}