/**
 * Age Gate Modal Custom Styles
 * Full screen age verification modal that blocks all content
 */

/* Full Screen Age Gate Modal */
#ageGateModal {
    z-index: 99999 !important;
    background: linear-gradient(180deg, rgba(252, 183, 26, 0.1) 50%, rgba(0, 0, 0, 1.0) 100%);
}

/* Fixed Follow Us Button */
.follow-us-btn {
    position: fixed;
    right: -120px;
    bottom: 80px;
    z-index: 1000;
    background: linear-gradient(135deg, #fcb71a 0%, #f4a019 100%);
    color: #000;
    padding: 15px 15px 15px 15px;
    border-radius: 10px 0 0 10px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: none;
    box-shadow: 0 4px 15px rgba(252, 183, 26, 0.3);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-us-btn.show {
    right: 0;
}

.follow-us-btn:hover {
    right: 0px;
    box-shadow: 0 6px 20px rgba(252, 183, 26, 0.5);
    padding: 15px 25px 15px 15px;
}

.follow-us-btn:active {
}

/* YouTube Video Popup Styling */
#video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 675px;
    background: #000;
    border-radius: 12px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#youtube-player-container {
    width: 100%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.mfp-content #video-player-wrapper {
    width: 100%;
    height: 100%;
    min-height: 675px;
}

/* Magnific Popup customizations for video */
.mfp-iframe-holder .mfp-content,
.mfp-inline-holder .mfp-content {
    max-width: 1300px;
    width: 95%;
    height: auto;
}

/* Custom Close Button with Cross Icon */
.mfp-close {
    color: transparent !important;
    right: -30px !important;
    top: -30px !important;
    text-align: center !important;
    padding: 0 !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 999999 !important;
}

.mfp-close:after {
    content: "×" !important;
    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    line-height: 46px !important;
    display: block !important;
    color: #fff !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    text-align: center !important;
}

.mfp-close:hover {
    background: #fcb718 !important;
    border-color: #fcb718 !important;
    transform: scale(1.1) !important;
}

/* Responsive adjustments for video popup */
@media (max-width: 1024px) {
    #video-player-wrapper {
        max-width: 900px;
        height: 506px;
    }
    
    .mfp-content #video-player-wrapper {
        min-height: 506px;
    }
    
    .mfp-iframe-holder .mfp-content,
    .mfp-inline-holder .mfp-content {
        max-width: 950px;
    }
}

@media (max-width: 768px) {
    #video-player-wrapper {
        max-width: 700px;
        height: 394px;
    }
    
    .mfp-content #video-player-wrapper {
        min-height: 394px;
    }
    
    .mfp-iframe-holder .mfp-content,
    .mfp-inline-holder .mfp-content {
        width: 90%;
        max-width: 100%;
    }
    
    .mfp-close {
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        right: -10px !important;
        top: -10px !important;
    }
    
    .mfp-close:after {
        font-size: 24px !important;
        line-height: 36px !important;
    }
}

@media (max-width: 480px) {
    #video-player-wrapper {
        height: 280px;
        max-width: 100%;
    }
    
    .mfp-content #video-player-wrapper {
        min-height: 280px;
    }
    
    .mfp-iframe-holder .mfp-content,
    .mfp-inline-holder .mfp-content {
        width: 95%;
    }
}

/* Responsive adjustments for Follow Us button */
@media (max-width: 576px) {
    .follow-us-btn {
        bottom: 60px;
        font-size: 12px;
        padding: 12px 20px 12px 12px;
        min-height: 100px;
    }
}
