.popup-see {
    display: none;
    position: fixed;
    padding: 10px;
    left: 50%;
    margin-left: -160px;
    margin-right: 20px;
    top: 50%;
    margin-top: -100px;
    background: #FFF;
    z-index: 10000;
    border-radius: 12px;
    height: fit-content;
    font-size: 16px;
    margin-bottom: 0px;
    font-weight: bold;
}

.popup-see.popup-see-show {
    left: 34%;
    margin-left: -98px !important;
    margin-top: -82px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.popup-see.popup-see-show .see-mobile {
    /* Keeping your placeholder structure */
}

.see-btn {
    position: absolute;
    top: 12px;
    left: 17px;
    padding-left: 6px;
    padding-right: 7px;
    padding-bottom: 3px;
    padding-top: 3px;
}

/* PERFORMANCE FIX: Replaced the 9999px shadow with a fixed overlay */
#see-popup1::after {
    content: "";
    position: fixed;
    top: -100vh;
    left: -100vw;
    right: -100vw;
    bottom: -100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    /* This creates the same effect as your shadow but is 100x faster to render */
}

.popup-see-container:after {
    filter: blur(2px);
}

#see-popup-see-alert:after,
#see-popup-see-show:after {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -2;
    /* Hardware acceleration for the blur */
    backdrop-filter: blur(4px);
    will-change: backdrop-filter;
}

#see-popup-see-alert:before,
#see-popup-see-show:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #FFF;
    z-index: -1;
    border-radius: 12px;
    border: 1px solid #ffc927;
}

.dark-mode #see-popup-see-alert:before,
.dark-mode #see-popup-see-show:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    z-index: -1;
    border-radius: 12px;
    border: 1px solid #ffc927;
}