@charset "utf-8";

/* CSS Document */

body {
    background: #ffffff;
    margin: 0;
    padding: 0;
    font-family:"Noto Sans TC", sans-serif;
    color: #18262E;
    text-decoration: none;
    letter-spacing: 2px;
    background-color: #000000;
}


a {
    text-decoration:none;
}


/* menuBar */

.logo{
    width: 372px;
    height: 40px;
    position: absolute;
    top: 16px;
    left: 32px;
    z-index: 1001;
}

.logo img{
    width: 100%;
}

.nav-bar{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    gap:8px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    
}

.nav{
    width:50px;
    height: 50px;
    line-height: 50px;
    font-size:20px;
    text-align: center;
    color: #ffffff;
    transition: 0.2s;
    cursor: pointer;
    padding: 10px;
    background:center center;
    opacity: 0.8;
}

.nav:hover{
    opacity: 1;
    background: url(../images/nav-bg.png) bottom center no-repeat;
}


.nav img{
    width: 90%;
}


.official-site{
    width: auto;
}

.download{
    width: auto;
    min-width: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 80px;
}

.download img{
    width: 90%;
    max-width: 40px;
    margin: 0 auto;
}


/* kv */

.kv-bg{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-image: url(../images/kv-bg-01.jpg);
    background-size: 100%;
    max-height: 900px;
    overflow: hidden;
    transform-origin: center center;
    background-position: top center;
    background-repeat: no-repeat;
}

.kv-bg-bright{
    position: absolute;
    width: 100%;
    top:0;
    left: 0;
    opacity: 0;
    transition: 0.2s ease-out 0.4s;
}

.kv-bg-bright img{
    width: 100%;
}

.kv-bg-bright.show{
    opacity: 1;
}


.kv-pc-show{
    display: block;
}

.kv-m-show{
    display: none;
}


.hover-area{
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 60%;
    height: 100vh;
}

.hover-area img, 
.hover-area .svg {
    display: block;
    width: 95%;
    height: auto;
    margin: 0 auto;
}

.kv-gift{
    position:absolute;
    width: 16.5%;
    bottom:10%;
    right:28.5%;
    z-index: 1000;
}

.kv-gift img{
    width: 100%;
}


.kv-content{
    position: absolute;
    bottom:29%;
    left: 50%;
    transform: translate(-50%,0);
    width:70%;
    z-index: 1000;
    /* max-width: 860px; */
}


.kv-blood-01,
.kv-blood-02 {
    position: absolute;
    width: 19.8%;
    opacity: 0;
    transform: scale(1.5);
    transform-origin: center center; /* 固定縮放基準點 */
    transition: transform 0.2s ease-out, 
                opacity 0.2s ease-out; /* 只針對需要的屬性 */
}

/* 個別定位 */
.kv-blood-01 {
    top: 17.5%;
    left: 2.5%;
    transition-delay: 0.8s;
}

.kv-blood-02 {
    top: 21.5%;
    right: 4.5%;
    transition-delay: 1s;
}

/* 顯示狀態 */
.kv-blood-01.show,
.kv-blood-02.show {
    opacity: 1;
    transform: scale(1);
}



.kv-light.show {
    animation: running-light 500ms ease-out forwards;
    animation-delay: 1s;
}

@keyframes running-light {
    0% {
        left: 2.5%;
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% { 
        left: 90%;
        opacity: 0;
    }
}

.kv-light{
    position: absolute;
    width: 30%;
    bottom: 20%;
    left: 2.5%;
    opacity: 0;
}


.bottom-bar{
    width: 100%;
    position: absolute;
    z-index: 999;
    bottom: 12%;
}

@keyframes btn-fixed {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

.btn-fixed{
    position: fixed;
    bottom: 0;
    background: linear-gradient(180deg, rgba(6, 125, 204, 0) 0%, rgba(0, 0, 0, 0.9) 90%);
    animation: btn-fixed 0.5s ease-out;
}

.btn-fixed.bottom{
    display: none;
}

.btn-reserve-circle{
    text-align: center;
    width:9%;
    margin: 0 auto 16px;
    max-width: 184px;
    cursor: pointer;
    transition: 0.2s;

}

.btn-reserve-circle img{
    width: 100%;
}

.btn-reserve-circle:hover{
    transform: scale(1.08);
}


.reserve-area{
    display: flex;
    margin-top:0;
    gap: 1.2%;
}

.input-area{
    width: 63%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    flex:1;
    gap: 16px;
}

.input-box {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #B36800;
    border-radius: 8px;
    padding: 16px 8px 16px 16px;
    background: linear-gradient(90deg, rgba(214, 99, 37, 0.9) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(214, 111, 37, 0.939) 100%);
  }
  
  .dropdown,
  .input-field {
    border: 1px solid #B36800;
    border-radius: 8px;
    padding: 12px;
    font-size: 24px;
    color: #ffffff;
  }
  
  .dropdown {
    appearance: none; /* 隱藏預設的瀏覽器樣式 */
    -webkit-appearance: none; /* 適用於 Safari */
    -moz-appearance: none; /* 適用於 Firefox */
    background-color: rgba(0, 0, 0, 0.9);
    color: #6a6a6a;
    background-image: url('../images/arrow-icon.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    min-width: 140px;
  }

  .dropdown.selected {
    color: #fff;
  }


  .input-field {
    flex: 1; 
    letter-spacing: 0.5px;
  }

  input[type="text"] {
    background-color: rgba(0, 0, 0, 0.9);
    outline: none;
  }

  input::placeholder{
    color: #6a6a6a;
  }
  
  .dropdown:focus,
  .dropdown:focus-visible,
  input[type="text"]:focus {
    outline: none;
    border-color: #ff864e; /* 聚焦時的邊框顏色 */
    box-shadow: 0 0 12px rgba(255, 120, 75, 0.6); /* 聚焦時的陰影 */
  }
  
  .btn-style {
    border: none;
    background-color: transparent;
    cursor: pointer;
  }

  .btn-style img{
    width: 100%;
    transition: 0.2s;
    margin-top: 4px;
  }
  
  
  .btn-style:hover img{
    transform: scale(1.05);
  }


.icon-scroll{
    width:3%;
    height: auto;
    margin: 1% auto 0;
}

.kv-title {
    opacity: 0;
    transform: scale(1.2);
    transform-origin: center;
    transition-delay: 100ms;
    /* transition: opacity 0.5s ease-out; */
    transition: 0.2s ease-out 0.5s;
}

.kv-title.show {
    opacity: 1;
    transform: scale(1);
}

.kv-title img,
.kv-blood-01 img,
.kv-blood-02 img,
.kv-light img,
.gift img,
.icon-scroll img{
  width: 100%;
}

/* content */
.section{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 5% 0 1%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:top center;
}


.container{
    max-width: 1140px;
    height: 100%;
    margin: 0 auto;
    padding: 0 5%;
}

/* gift */
.bg-gift{
    background:linear-gradient(180deg, rgba(0, 0, 0, 0) 80%, #000000 100%), url(../images/bg-gift.jpg) top center / 100% auto no-repeat;
    padding: 1% 0 1%;
}


.gift-modal-btn{
    cursor: pointer;

}

.gift-modal-btn:hover{
    opacity: 0.9;
    
}

.gift-modal{
    width: 100%;
    margin: 0 auto;
    height: 100%;
    overflow-y: scroll;
    overscroll-behavior: contain;
}

.gift-list-box{
    display: flex;
    justify-content: center;
    padding: 32px;
    margin: 48px auto;
    gap: 32px;
    max-width: 800px;
    border: 1px solid #DC6345;
    position: relative;
}

.gift-item-01,
.gift-item-02{
    flex:1;
}

.gift-item-01 img,
.gift-item-02 img{
    width: 100%;
}

/* revision */
.bg-revision{
    background:linear-gradient(180deg, rgba(0, 0, 0, 0) 80%, #000000 100%), url(../images/bg-revision.jpg) top center / 100% auto no-repeat;
}


.main-title {
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden;

}

.main-title img{
    width: 65%;
    margin: 0 auto;
    display: block;
}

.gift-title{
    margin-bottom: 2%;
}

.revision-title{
    margin-bottom:2%;
}

.slider-box{
    position: relative;
}
    

.arrow{
    position: absolute;
    width: 35px;
    height: 60px;
    top: 50%;
    z-index: 998;
    cursor: pointer;
}

.arrow.left {
    position: absolute;
    top: 50%;
    left: 90px;
    transform: rotate(180deg) translateY(50%);
}
.arrow.right {
    position: absolute;
    top: 50%;
    right: 90px;
    transform: translateY(-50%) ;
}


.slide-box{
    display: block;
    position: relative;
    font-size: 0;
    background-color: #000000;
    /* border: 2px solid #FF8A6A; */
    box-shadow: 0 0 12px #FF8A6A;
    margin-bottom: 8px;
}

.gift-slider .slide-box{
    aspect-ratio: 16 / 9; 
    box-shadow:unset;
    background-color: unset;
}

.revision-slider .slide-box{
    aspect-ratio: 16 / 9;
    
}

.slide-box img{
    width: 100%;
    display: block;
}

.slide-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.link-hover img {
    transition: box-shadow 0.3s ease;
  }
  
.link-hover:hover img {
    opacity: 0.9;
  }



/* video */
.bg-video{
    background:linear-gradient(180deg, rgba(0, 0, 0, 0) 80%, #000000 100%), url(../images/bg-video.jpg) top center / 100% auto no-repeat;
}

.videobox {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    box-shadow: 0 0 12px #FF8A6A;
}

.videobox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* notice */
.bg-notice{
    background: url(../images/bg-notice.jpg) top center / 100% auto no-repeat;
    background-size: cover;
}

.notice-box{
    display: flex;
    padding: 0 0 5%;
}

.line{
    height: 1px;
    background: linear-gradient(90deg, #9D8477 0%, #ffffff 56%, #9D8477 100%);
    display: none;
}

.notice-title{
    font-size:40px;
    font-weight: 700;
    background: linear-gradient(90deg, #9D8477 0%, #ffffff 56%, #9D8477 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width:100px;
    margin-top: 24px;
    line-height: 1.25;
    letter-spacing: 4px;
    font-family: "Noto Serif TC", serif;;

}

.notice-text{
    color: #ffffff;
    font-size: 20px;
    line-height: 2;
    font-weight: 300;
}

.text-block{
    display: block;
}

.text-blue{
    color: #42CBE1;
    font-weight: 500;
}

.text-main-color{
    color: #DC6345;
    font-weight: 500;
}


.warning-text{
    min-width: 247px;
}

/* modal */
.modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
    overflow: auto;
    overscroll-behavior: contain;
}

.modal{
    position: relative;
    color: #fff;
    height: fit-content;
    font-size: 22px;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 650px;
    min-height: 380px;
    overflow: hidden;
}

.modal-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding:48px 24px 24px 24px;
}

.modal-text{
    margin-top: 16px;
    padding: 0 8px 0 16px;
    color:#FF8A6A;
}

.modal-btn{
    display: flex;
    gap: 24px;
    margin: 12px 0 8px;
}


.icon-x{
    position: absolute;
    top:0;
    right:16px;
    width: 28px;
    height: 28px;
    background-size: 100%;
    font-size: 56px;
    line-height: 32px;
    cursor: pointer;
    transform: rotate(-45deg);
    font-weight: 300;
    color: #FF8A6A;
}

.gift-modal .icon-x{
    position: fixed;
    top: 16px;
    right: 50%;
    margin-right: -460px;
}

.btn-style{
    width: 107px;
}

.success{
    text-align: center;
}

.success img{
    width: 100%;
    margin: 0 auto;
    max-height: 350px;
    margin-top: -48px;
}

.show-pc{
    display: block;
}

.show-m{
    display: none;
}

.kv-pc{
    display: block;
}

.kv-m{
    display: none;
}

.phone-box{
    max-width: 250px;
}

.otp-box{
    max-width: 400px;
}


@media screen and (max-width: 1920px) {
.arrow.left {
    top: 50%;
    left: 50.5%;
    transform: rotate(180deg) translateY(50%) translateX(calc(50% + 620px)) ;
}
.arrow.right {
    top: 50%;
    right: 50.5%;
    transform: translateY(-50%) translateX(calc(50% + 620px));
}


}


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

    .arrow.left {
        top: 50%;
        left: 80px;
        transform: rotate(180deg) translateY(50%);
    }
    .arrow.right {
        top: 50%;
        right: 80px;
        transform: translateY(-50%);
    }

}

@media screen and (max-width: 1559px) {
    .bg-gift{
        background-size: 125% auto;
    }

}

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

    .bg-gift{
        background-size: 150% auto;
    }

    .notice-text{
        font-size: 18px;
    }

    .input-box{
        padding: 12px 10px 12px 12px
    }

    .dropdown, .input-field {
        font-size: 20px;
        padding: 12px 8px;
    }

    .dropdown{
        min-width: 120px;
    }

    .btn-style{
        width: 80px;
        padding-inline: 0;
    }

    .modal{
        font-size: 18px;
        max-width: 550px;
    }

    .phone-box{
        max-width: 220px;
    }
    
    .otp-box{
        max-width: 370px;
    }

}

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

    .logo{
        width: 279px;
        height: 30px;
    }

    .notice-title{
        font-size: 32px;
        min-width: 80px;
    }

    .btn-reserve-circle{
        margin: 0 auto 8px;
    }

    .nav-bar{
        gap: 0;
    }


    .nav{
        font-size: 16px;
        width: 40px;
        height: 40px;
        line-height: 40px;
    
     }

     .download{
        width: auto;
        height: 68px;
    }

    .main-title img{
    width: 650px;}



}


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

    .nav-bar{
        flex-direction: row;
        top:0;
        transform: unset;
    }


    .nav:hover{
        background: none;
    }

    .logo{
        left: 12px;
        width: 250px;
        height: 27px;
        top:12px;
        position: fixed;
    }

    .nav-bar{
        flex-direction: row;
        top: 0;
        right: 0;
        padding:0 4px;
        width: 100%;
        justify-content: end;
        transform: unset;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .nav{
        padding:6px 4px 4px;
    }

    .download {
        padding-top:0 ;
    }

    .official-site{
        display: none;
    }



    .download{
        height: auto;
        flex-direction: row;
        gap: 4px;
        padding-top: 5px;
    }

    .download img{
        max-width: 32px;
    }

    

    .kv-bg{
    padding-bottom: 145%;
    background-image: url(../images/kv-bg-m-01.jpg);
    }

    .kv-pc-show{
        display:none;
    }

    .kv-m-show{
        display: block;
    }

    .kv-gift{
        width: 25%;
        bottom: 2%;
        right: 15%;
    }


    .kv-content{
        width: 80%;
        transform: translate(-50%,40%);
    }

    .kv-blood-01{
        position: absolute;
        width: 35%;
        top:16.8%;
        left: 8.2%;
    }
    
    .kv-blood-02{
        position: absolute;
        width: 35%;
        top:64%;
        right: 10.7%;
    }
    
    .kv-light{
        position: absolute;
        width: 30%;
        bottom: 41%;
        left: 3%;
    }

    .icon-scroll{
        margin: 0 auto;
        display: none;
    }

    .bottom-bar{
        bottom: 3%;
    }

    .btn-fixed{
        bottom: 0;
    }

    .count-title{
        margin: -2.5% auto 0;
    }

    .count-title img{
        width: 22%;
    }

    .count-bg{
        width: 55%;
        position: unset;
        padding: 0;
    }

    .count{
        font-size: 5.8vw;
        padding: 26% 0 8.5% 2%;
    }


    .btn-reserve-circle{
        width: 18%;
    }

    .arrow.left {
        left: 16px;
    }
    .arrow.right {
        right: 16px;
    }

}


@media screen and (max-width: 930px) {
    .gift-list-box{
        margin: 4% 32px;
    }

    .gift-modal .icon-x{
        top:1px;
        right:5px;
        margin-right: unset;
    }
}


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


    .notice-box{
        flex-direction: column;
    }

    .notice-title{
        text-align: center;
        font-size: 24px;
        letter-spacing: 1.5px;
        margin-top: 12px;
    }

    .text-block{
        display: inline;
    }
    

    .notice-text{
        font-size: 16px;
    }

    .arrow{
        width: 35px;
        height: 55px;
    }

    .arrow img{
        width: 100%;
    }

    .kv-pc{
        display:none;
    }

    .input-box{
        padding: 8px 4px 8px 8px;
        gap:4px;
    }
    .phone-box {
        width: 50%;
    }

    .dropdown, .input-field {
        font-size: 16px;
        padding: 12px 8px;
    }

    .dropdown{
        min-width: 100px;
    }

    .btn-style{
        width: 70px;
        padding-inline: 0;
        flex: 0 0 70px;
    }

    .modal{
        font-size: 16px;
        max-width: 450px;
    }

    .modal-content{
        padding: 48px 0 24px;
    }

    .success img{
        width: 80%;
    }

    
    .dropdown{
        min-width: 100px;
    }

    .main-title img{
        width: 100%;
    }

    .bg-video .main-title img{
        width: 115%;
        margin-left: -7.5%;
    }
}



@media screen and (max-width: 576px) {   
    
    .container{
        padding: 0 6%;
    }

    .kv-bg{
        padding-bottom: 155%;
        box-sizing: border-box;
    }

    .kv-gift{
        width: 37%;
        bottom: 1%;
        right: 2%;
    }

    .kv-content{
        width: 90%;
        transform: translate(-50%,25%);
    }

    .count-title img{
        width: 27%;
    }

    .count-bg{
        width: 65%;
        background: url(../images/count-bg-m.png) center no-repeat;
        background-size: 100%;

    }

    .download {
        padding-top:0 ;
    }

    .official-site{
        display: none;
    }

    .bottom-bar{
        bottom: 2%;
    }

    .btn-fixed{
        bottom: 0;
    }

    .btn-reserve-circle{
        width: 25%;
    }

    .main-title{
        margin: 0 auto 8px;
        padding: 0;
    }

    .revision-title{
        margin-bottom: 16px;
    }

    .notice-title{
        font-size: 20px;
    }

    .notice-box{
        padding: 8px;
    }

    .notice-text{
        font-size: 14px;
    }

    .modal-btn{
        font-size: 16px;
    }


    .arrow.left {
        left: 5px;
    }
    .arrow.right {
        right: 5px;
    }

    .show-pc{
        display:none;
    }

    .show-m{
        display: block;
    }

    .reserve-area {
        width: 95%;
    }

    .gift-slider .slide-box{
        aspect-ratio: 1 / 1; 
    }
    
    .revision-slider .slide-box{
        aspect-ratio: 5 / 4;
        
    }

    .count{
        padding: 27% 0 8.5% 2%;
        font-size: 6.5vw;
    }

    .logo{
        width: 55%;
        max-width: 250px;
    }

    .nav{
        padding: 6px 0 4px;
    }

    .bg-gift{
        background-size: 250% auto;
    }

    .bg-revision,
    .bg-video{
        background-size: 150% auto;
    }

    .gift-list-box{
        flex-direction: column;
        align-items: center;
    }

    .gift-list-box{
        padding:16px 8px;
    }


}



.float {
    transform: translateY(0px);
	animation: float 2s ease-in-out infinite
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-8px);
	}
	100% {
		transform: translateY(0px);
	}
}

.swiper {
    /* overflow: visible !important; */
}

.swiper-slide {
    opacity: 0.4 !important;
}

.swiper-slide-active {
    opacity: 1 !important;
}

.swiper-button-disabled {
    opacity: 0.3;
}

.swiper-pagination {
    position: initial !important;
    bottom: 0 !important;
    margin-top: 16px;
}

.swiper-pagination-bullet {
    width: 74px !important;
    height: 4px !important;
    border-radius: 10px !important;
    background-color: #D9D9D9 !important;
    transition: 0.3s background-color;
}

.swiper-pagination-bullet-active {
    background-color: #DC6345 !important;
}

.navigation {
    max-width: 1140px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 100;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
}

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

.swiper-pagination{
    margin-top: 8px;
    margin-bottom: 16px;
}

.swiper-pagination-bullet {
    width: 50px !important;
}

}

.revision-swiper .swiper-slide {
    transition: transform 0.7s ease;
    transform: scale(0.75);
}

.revision-swiper .swiper-slide .slide-box img {
    transition: transform 0.75s ease;
    transform: scale(2.5);
    transform-origin: center center;
}

.revision-swiper .swiper-slide .slide-box {
    transition: transform .5s ease;
    overflow: hidden;
    position: relative;
}

.revision-swiper .swiper-slide.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.revision-swiper .swiper-slide.swiper-slide-active .slide-box {
    transform: scale(1);
    opacity: 1;
}

.revision-swiper .swiper-slide.swiper-slide-active .slide-box img {
    transform: scale(1);
}