@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
@property --gra-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits:false;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #040812;
    font-family: Arial, sans-serif;
}
html {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

#banner {
    width: 100vw;
    max-width: 375px;
    margin-bottom: 12px;
}

.phone {
    position: relative;
    width: 317px;
    height: calc(100dvh - 260px);
    min-height: 526px;
    max-height: 552px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 54px;
}

#phone-img {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 54px;
}

#neon-card {
    position: relative;
    width: 250px;
    /* height: 490px; */
    height: calc(100% - 50px);
    max-height: 500px;
    background: linear-gradient(170.48deg, #6354A3 3.55%, #3F3071 21.5%, #11061A 72.33%);
    border-radius: 54px;
    color: white;
    padding: 10px 18px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 10px 4px 1px #160606CC inset;
}

/* prize 獎 */
.prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 10px;
    margin-bottom: 52px;
    z-index: 1;
}

/* 改多圖
    #screen{
        width: calc(100% - 20px);
        min-width: 208px;
        position: relative;
        z-index: 10;
    }
    #neno{
        width: 375px;
        position: absolute;
        bottom: -60px;
        z-index: 5;
    }
    .prize > .screen-content {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: start;
        width: 100%;
    }
    .prize > .screen-content > .screen-inner {
        background-color: white;
        width: calc(100% - 22px);
        border-radius: 4px;
        height: 170px;
        position: absolute;
        top: 2px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    .prize > .screen-content > .screen-inner > img {
        width: 100%;
        max-width: calc(100% - 70px);
        object-fit: cover;
        object-position: center;
    }
*/
#carousel-banner-01 {
    width: 210px;
    z-index: 12;
    border: 3px solid #ac5fdf;
}
#carousel-banner-01 .carousel-indicators [data-bs-target] {
    border-color: #333;
    background-color: #fff;
}
#carousel-banner-01 .carousel-indicators {
    bottom: -40px;
}

.prize > .countdown {
    position: absolute;
    bottom: -40px;
    z-index: 11;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 0px 6.12px 0px #FFFFFF66;
    border-radius: 10px;
}
.prize > .countdown > .countdown-btn {
    position: relative;
    z-index: 2;
    background: linear-gradient(144.48deg, #28272F 9.13%, #040404 62.89%);
    border-radius: 10px;
    width: 160px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #FFFFFF30;
    padding: 0;
    margin: 0;
    box-shadow: 0px 4px 2px -1px #FFFFFF4F inset;
}
.prize > .countdown > .countdown-btn > .countdown-btn-text{
    font-size: 28px;
    font-weight: 500;
    color: #27E6FF;
    width: 100%;
    text-shadow: 0px 0px 4px #6CD8FF99,
    0px 0px 2px #6CD8FF99,
    0px 0px 2px #6CD8FF99,
    0px 0px 2px #6CD8FF99;
    letter-spacing: 2px;
    font-family: "Tahoma";
    margin-top: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prize > .countdown > img{
    position: absolute;
    width: 190px;
    height: 100px;
    z-index: 1;
}
.prize-content{
    width: 240px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: start;
    background: linear-gradient(95.95deg, rgba(34, 22, 57, 0) -4.43%, rgba(54, 148, 195, 0.6) 54.79%, rgba(34, 22, 57, 0) 112.71%);
    position: relative;
    z-index: 1;
}
.prize-content img {
    width: 240px;
    height: 78px;
    position: absolute;
    z-index: 0;
}
.prize-content > .text{
    font-family: "Noto Sans TC", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    /* max-width: 173px; */
    padding: 10px 14px 0px;
    width: 100%;
    color: white;
    position: relative;
    z-index: 1;
}
.neno-light{
    position: absolute;
    inset: -5px;
    z-index: 0;
    border-radius:60px;
    background-color: transparent;
    border: 2px solid #ffffffdd;
    box-shadow: 0px 0px 8px #fff inset, 0px 0px 8px #fff;
}
#neon-before,
#neon-after {
    content: '';
    position: absolute;
    inset: -7px;
    z-index: -1;
    border-radius:60px;
    background: conic-gradient(
        from var(--gra-angle),
        #00ccff,
        #00ccff,
        #d400d4,
        #d400d4,
        #d400d4,
        #d400d4,
        #00ccff,
        #00ccff,
        #00ccff,
        #00ccff,
        #d400d4,
        #d400d4,
        #d400d4,
        #d400d4,
        #00ccff,
        #00ccff);
    animation: neon-border 4s linear infinite;
}

#neon-after {
    filter: blur(1.5rem);
}

#price-box{
    color: #FFEEFF;
    font-size: 36px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    text-shadow: 0px 0px 12px #FF00C480,
    0px 0px 12px #FF00C480,
    0px 0px 12px #FF00C480,
    0px 0px 12px #FF00C480;
    margin: 0;
    animation: bounce 0.5s linear infinite;
    animation-play-state: paused;
  }
#price-box > .unit {
    font-size: 22px;
    margin-right: 8px;
}
#nav {
    transition: all 0.2s linear;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

#actions {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}
#actions > button {
    background-color: transparent;
    border: 0;
    width: auto;
    padding: 0;
}
#actions > button:hover {
    transform: scale(1.1);
    transition: all 0.1s linear;
    cursor: pointer;
}

#actions > button:active {
    transform: scale(1.1);
    transition: all 0.1s linear;
}
#actions > a > img,
#actions > button > img {
    width: 88px;
}
#checkout2 {
    display: none;
}

.times > p{
    margin: 0;
    font-family: 'Tahoma';
}
.times > .count{
    color: #FFEEFF;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Tahoma';
    font-style: italic;
}
.times > .count > .divide{
    color: #FFEEFF;
    font-size: 14px;
    margin: 0px 1px;
    display: inline-block;
}
.times > .time{
    color: #FFEEFF99;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Tahoma';
    display: flex;
    justify-content: center;
    align-items: center;
}
.times > .time > span{
    margin: 2px 4px;
    margin-bottom: 0px;
    font-family: 'Tahoma';
}
button {
    background-color: transparent;
    border: 0;
    width: auto;
    padding: 0;
}

.side-right{
    position: fixed;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap:8px;
    z-index: 5;
}

.float-btn{
    cursor: pointer;
}
.float-btn:hover {
    transform: scale(1.1);
    transition: all 0.1s linear;
    cursor: pointer;
}
.yellow-btn{
    width: 60px;
    height: 60px;
    background-image: url('img/yellow-btn.png');
    background-size: cover;
}
.blue-btn{
    width: 60px;
    height: 60px;
    background-image: url('img/blue-btn.png');
    background-size: cover;
}

.fix-bottom{
    width: 100vw;
    max-width: 375px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.next-prize{
    width: 66px;
    height: 60px;
    background-image: url('img/next-prize.png');
    background-size: cover;
    margin-right: 10px;
}
.nav-btn{
    width: 60px;
    height: 60px;
    background-image: url('img/navblue.png');
    background-size: cover;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-btn .bugur{
    width: 28px;
}
.nav-btn .xmark{
    width: 28px;
    fill: white;
}

ul.nav {
    background-color: #040812ed;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: white;
    width: 100vw;
    height: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 50;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul.nav li {
    width: 100%;
    max-width: 375px;
    text-align: center;
    font-weight: 500;
    font-family: "Noto Sans TC", sans-serif;
    padding: 1px 0;
    font-size: 18px;
}
ul.nav a {
    display: block;
    color: #eee;
    background-color: transparent;
    padding: 5px 0 7px;
    text-decoration: none;
}
ul.nav a:hover {
    color: #fff;
    background-color: #347;
}
.inNav{
    position: absolute;
    bottom: 12px;
    left: 0px;
}
.nav-bottom{
    position: absolute;
    bottom: 12px;
    left: 50%;
    width: 100%;
    max-width: 375px;
    transform: translateX(-50%);
}
.bg-blue {
    width: 100%;
    max-width: 375px;
    height: 249px;
    position: absolute;
    bottom: 10px;
    z-index: -2;
    background: radial-gradient(ellipse at center, #0455C7B2 0%, rgba(0,0,0,0) 75%);
}
.bg-bottom {
    width: 100%;
    max-width: 375px;
    position: absolute;
    bottom: 0px;
    z-index: -2;
}
.bg-bottom .block{
    width: 100%;
    max-width: 220px;
    height: 11px;
    border-radius: 100%;
    position: absolute;
    z-index: 0;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #42d0e680;
    backdrop-filter: blur(1rem);
    -webkit-backdrop-filter: blur(1rem);
    opacity: 70%;
}
.bg-bottom img{
    width: 100%;
    position: relative;
    z-index: 1;
}


@keyframes neon-border {
    0% {
        --gra-angle: 0deg;
    }
    100% {
        --gra-angle: 360deg;
    }
}
