@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap");





/* 彈窗背景遮罩 */
            .popup-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
    width: 100%;
    height: 100%;
                    /* background: rgb(255 255 255 / 87%); */
                        background: url(../img/POPUP.jpg) no-repeat center center;
    background-size: cover;
                z-index: 9999999999;
                justify-content: center;
                align-items: center;
            }


            .popup-overlay2 {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/POPUP2.jpg) no-repeat center center;
    background-size: cover;
                z-index: 9999999999;
                justify-content: center;
                align-items: center;
            }




/* 關閉按鈕 */
            .popup-close {
position: absolute;
    width: 3.438vw;
    height: auto;
    top: -1vw;
    right: -1.5vw;
    /* background: #6e1b736e; */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 9999999;
    transform: skew(0deg);
        transition: 0.3s;
            }


    .popup-close:hover {

        filter: brightness(1.2);


    }
        

/* 彈窗內容區 */
.popup-box {
    position: relative;
        width: auto;
    height: auto;
    color: aliceblue;
        display: flex;
    align-items: center;
    justify-content: center;
            }


#popup_box.animate__animated {
  animation-duration: 0.7s; /* 或 0.8s、1.5s 看你需求 */
}


/* 彈窗主要容器 */
.popup_main {
display: flex
;
    position: relative;
    width: 20.417vw;
    height: 29.115vw;
    margin: 0 auto;
    background: url(../img/card_120.png) no-repeat center center;
    background-size: cover;
    color: #464141;
    overflow: hidden;
    align-items: center;
    flex-direction: column;
}


.popup_main.card_120 {
    background: url(../img/card_120.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_100 {
    background: url(../img/card_100.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_80 {
    background: url(../img/card_80.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_60 {
    background: url(../img/card_60.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_20 {
    background: url(../img/card_20.png) no-repeat center center;
    background-size: cover;
}

.popup_main_B {
display: flex
;
    position: relative;
    width: 20.417vw;
    height: 29.115vw;
    margin: 0 auto;
    background: url(../img/card_gift.png) no-repeat center center;
    background-size: cover;
    color: #464141;
    overflow: hidden;
    align-items: center;
    flex-direction: column; 
}


.popup_main_B_txt1 {
    position: relative;
    color: #000000;
    top: 8vw;
    /* text-decoration: none; */
    font-size: .92vw;
    /* text-align: center; */
    font-weight: 600;
    letter-spacing: 0.05vw;
    line-height: 2.2vw;
}

.popup_main_B_txt2 {
    position: relative;
    color: #000000;
    top: 8vw;
    text-decoration: underline;
    font-size: 1.3vw;
    /* text-align: center; */
    font-weight: 700;
    letter-spacing: 0.1vw;
    line-height: 1.2vw;
}

.bnt_popup1 {
    display: block;
    position: absolute;
    width: 12.084vw;
    height: 2.865vw;
    background-image: url(../img/bnt_popup1.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.2s 
ease-in-out;
    bottom: 1.6vw;
}


.bnt_popup2 {
    display: block;
    position: absolute;
    width: 12.084vw;
    height: 2.865vw;
    background-image: url(../img/bnt_popup2.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.2s 
ease-in-out;
    bottom: 1.6vw;
}

.bnt_popup1:hover, .bnt_popup2:hover {
transform: scale(0.97);
}








@media screen and (min-width: 1024px) and (max-width: 1279px) {

}


@media screen and (min-width: 769px) and (max-width: 1023px) {

}


@media screen and (max-width: 768px) {



/* 彈窗背景遮罩 */
            .popup-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
    width: 100%;
    height: 100%;
                    /* background: rgb(255 255 255 / 87%); */
                        background: url(../img/POPUP_m.jpg) no-repeat center center;
    background-size: cover;
                z-index: 9999999999;
                justify-content: center;
                align-items: center;
            }


            .popup-overlay2 {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/POPUP_m.jpg) no-repeat center center;
    background-size: cover;
                z-index: 9999999999;
                justify-content: center;
                align-items: center;
            }




/* 關閉按鈕 */
            .popup-close {
        position: absolute;
        width: 14vw;
        height: auto;
        top: -5vw;
        right: -5.5vw;
        /* background: #6e1b736e; */
        background: none;
        border: none;
        cursor: pointer;
        z-index: 9999999;
        transform: skew(0deg);
        transition: 0.3s;
            }


    .popup-close:hover {

        filter: brightness(1);


    }
        

/* 彈窗內容區 */
.popup-box {
    position: relative;
        width: auto;
    height: auto;
    color: aliceblue;
        display: flex;
    align-items: center;
    justify-content: center;
            }


#popup_box.animate__animated {
  animation-duration: 0.7s; /* 或 0.8s、1.5s 看你需求 */
}


/* 彈窗主要容器 */
.popup_main {
display: flex
;
    position: relative;
        width: 74vw;
        height: 106vw;
    margin: 0 auto;
    background: url(../img/card_120.png) no-repeat center center;
    background-size: cover;
    color: #464141;
    overflow: hidden;
    align-items: center;
    flex-direction: column;
}


.popup_main.card_120 {
    background: url(../img/card_120.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_100 {
    background: url(../img/card_100.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_80 {
    background: url(../img/card_80.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_60 {
    background: url(../img/card_60.png) no-repeat center center;
    background-size: cover;
}

.popup_main.card_20 {
    background: url(../img/card_20.png) no-repeat center center;
    background-size: cover;
}



.popup_main_B {
display: flex
;
    position: relative;
        width: 74vw;
        height: 106vw;
    margin: 0 auto;
    background: url(../img/card_gift.png) no-repeat center center;
    background-size: cover;
    color: #464141;
    overflow: hidden;
    align-items: center;
    flex-direction: column; 
}


.popup_main_B_txt1 {
position: relative;
        color: #000000;
        top: 32vw;
        /* text-decoration: none; */
        font-size: 3.3vw;
        /* text-align: center; */
        font-weight: 600;
        letter-spacing: 0.05vw;
        line-height: 2.2vw;
}

.popup_main_B_txt2 {
        position: relative;
        color: #000000;
        top: 36vw;
        text-decoration: underline;
        font-size: 5vw;
        /* text-align: center; */
        font-weight: 700;
        letter-spacing: 0.1vw;
        line-height: 1.2vw;
}

.bnt_popup1 {
        display: block;
        position: absolute;
        width: 50vw;
        height: 12vw;
        background-image: url(../img/bnt_popup1.png);
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 10;
        cursor: pointer;
        transition: transform 0.2s 
ease-in-out;
        bottom: 4.6vw;
}


.bnt_popup2 {
    display: block;
    position: absolute;
        width: 50vw;
        height: 12vw;
    background-image: url(../img/bnt_popup2.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.2s 
ease-in-out;
        bottom: 4.6vw;
}

.bnt_popup1:hover, .bnt_popup2:hover {
transform: scale(1);
}



}




  /* 超寬比例的螢幕樣式 */
/* 21:9 附近範圍 (20:9 ~ 22:9) */
@media screen and (min-aspect-ratio: 19/9) and (max-aspect-ratio: 26/9) {

.popup_main {
  transform: scale(0.8); /* 整體縮小為80% */
  transform-origin: center; /* 控制縮放的基準點，可改成 center */
}

}


/* 針對 32:9 超寬螢幕範圍，大約寬高比在 3.5 ~ 3.6 */
@media screen and (min-aspect-ratio: 35/10) and (max-aspect-ratio: 36/10) and (min-width: 2200px) {


.popup_main {
  transform: scale(0.6); /* 整體縮小為80% */
  transform-origin: center; /* 控制縮放的基準點，可改成 center */
}


}