/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    font-family: 'Roboto', 'Noto Sans TC', sans-serif;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1.5;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* --------CSS ResetEnd---------- */



/* ----------Component---------- */

button{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #0167EC 11.76%, #0257C7 100%);
    padding: 16px 24px;
    color: white;
    border: 1px solid #46381D;
    font-size: 20px;
    border-radius: 100px;
    cursor: pointer;
    transition: all 600ms cubic-bezier(.23, 1, 0.32, 1);
    box-shadow: 0 6px 0 0 #042951;
    white-space: nowrap;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

button::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../images/Text/button-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  z-index: 0;
}

button:hover{
    transform: scale(1.05);
}

.BtnElementLeft,.BtnElementRight{
    width: 20px;
    animation: swing 1s ease-in-out infinite;
}

@keyframes swing {
    0%, 100% {
        transform: translateX(0); 
    }
    50% {
        transform: translateX(4px); 
    }
}

.BtnElementRight{
    rotate: 180deg;
}

.MainButton{
    margin: 0 auto;
}

.secondary-button{
    background: linear-gradient(180deg, #FEEFB5 0%, #FC0 100%);
    color: #681508;
    box-shadow: 0 6px 0 0 #E48E03;
    border: none;
}

@media (max-width: 767px) {
    button{
        width: 100%;;
        font-size: 18px;
        gap: 4px;
        padding: 12px 20px;
    }
}



.FloatButton1,.FloatButton2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white; 
    width: 104px;
    height: 104px;
    background-image: url("../images/side/FloatBtn-1.png");
    background-size: cover;
    font-size: 18px;
    transition: all 600ms cubic-bezier(.23, 1, 0.32, 1);
    text-align: center;
    padding-top: 26px;
}


.FloatButton2 {
    background-image: url("../images/side/FloatBtn-2.png");
}

.FloatButton1:hover,.FloatButton2:hover{
    transform: translateY(-4px);
}


.FloatButton2:hover{
    transform: translateY(-4px);
}

.fixed-btn{
    position: fixed;
    right: 40px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
}

.Sale{
    width: 76px;
    height: auto;
    margin: 0 auto;
}


@media (max-width: 767px) {
    
    .FloatButton1,.FloatButton2 {
        width: 100%;
        height: auto;
        text-align: center;
        justify-content: center;
        padding: 8px 0px;
        border-radius: 0px;
        font-size: 18px;
        background-image: none;
        background-color: #7D59E2;
    }

    .FloatButton2{
        background-color: #00B4FC;
    }

   
    
    .FloatButton1:hover,.FloatButton2:hover,button:hover{
        transform: none;
    }

    .compony{
        font-size: 14px;
        margin-top: 4px;
        text-align: left;
    }

    .fixed-btn{
        right: 0;
        bottom: 0;
        flex-direction: row;
        width: 100%;
        gap: 0px;
    }

} 

/* --------------- Banner ---------------*/

.left-horse,.right-horse{    
    position: absolute;
    width: 54%;
    height: auto;
    bottom: 80px;
}

.left-horse{
    left: -36%;
}

.right-horse{
    right: -38%;
}

.left-cloud,.right-cloud{
    position: absolute;
    width: 38vw;
    height: auto;
    top: 0;
    left: 0;
}

.right-cloud{
    width:46vw;
    left: auto;
    right: 0;
}

.banner-fan{
    position: absolute;
    z-index: -1;
    width: 1145px;
    transform: translateX(-50%);
    left: 52%;
}

.bottom-grid{
    position: absolute;
    background-image: url(../images/Banner/bottom-grid.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 108px;
    bottom: 0;
}

.coin-1{
    position: absolute;
    z-index: 10;
    width: 5vw;
    top: 50%;
    left: 2%;
    transform: translateY(0%);
    animation: coin-1 2.5s infinite;
}

.coin-2{
    position: absolute;
    z-index: 10;
    width: 4.5vw;
    top: 20%;
    left: 30%;
    transform: translateY(0%);
    animation: coin-2 2s infinite;
}

.coin-3{
    position: absolute;
    z-index: 1;
    width: 62px;
    bottom: 15%;
    left: 10%;
    transform: translateY(0%);
    animation: coin-3 2.3s infinite;
}

.coin-4{
    position: absolute;
    z-index: 1;
    width: 40px;
    bottom: 50%;
    right: -16%;
    transform: translateY(0%);
    animation: coin-3 2s infinite;
}

@media (max-width: 1439px) {
    .coin-4{
        bottom: 20%;
        right: 18%;
    }
}

@media (max-width: 1023px) {

    .banner-fan{
        width: 130vw;
        top: 10%;
    }

    .left-horse, .right-horse {
        bottom: -33vw;
        width: 60vw;
    }

    .bottom-grid{
        height: 14vw;
    }

    .left-horse{
        left:-28%;
    }

    .right-horse{
        right: -28%;
    }

    .coin-1{
        width: 6vw;
        top:55%;
        left: 34%;
    }
   
    .coin-2{
        top: 10%;
        width: 6.5vw;
    }


    .coin-3{
        bottom: -28%;
        width: 6vw;
        left: 60%;
    }

    .coin-4{
        right: 11%;
        width: 5vw;
    }


}

@media (max-width: 767px) {

    .coin-1{
        width: 8vw;
        left: 6%;
    }

    .coin-2{
        width: 9vw;
    }


    .coin-3{
        width: 8vw;
        bottom: 12%;
        left: 36%;
    }

    .coin-4{
        right: 40%;
        bottom: 30%;
    }


    .left-horse, .right-horse {
        bottom: -24vw;
        width: 70vw;
    }

    .left-horse{
        left:-28%;
    }
    
    .right-horse{
        right: -28%;
    }

}

  @keyframes coin-1 {
    0%{transform: translateY(0px);transition: ease 3s;}
    50%{transform: translateY(-16px);transition: ease 3s;}
  }
  @keyframes coin-2 {
    0%{transform: translateY(0px);transition: ease 3s;}
    50%{transform: translateY(20px);transition: ease 3s;}
  }
  @keyframes coin-3 {
    0%{transform: translateY(0%);transition: ease 3s;}
    50%{transform: translateY(-16px);transition: ease 3s;}
  }
  @keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
    }
    


.Banner{
    margin-top: 80px;
    background-image: url(../images/Banner/banner_w.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    height: 960px;
    position: relative;
    overflow: hidden;
}

.KeyPoint{
    width:1024px ;
    display: flex;
    gap: 120px;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.KvTitle{
    width: 66%;
    margin: 120px auto 0;
    margin-top: 120px;
    position: relative;
    overflow: hidden; 
}


.KvTitle img {
  display: block;
  width: 100%;
}

.KvTitle::after {
  content: "";
  position: absolute;
  top: 0%;
  left: -50%;
  width: 120%;
  height: 120%;

  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(250,241,216,0.0) 20%,
    rgba(250,241,216,0.1) 45%,
    rgba(255,255,255,0.3) 50%,
    rgba(250,241,216,0.1) 55%,
    rgba(250,241,216,0.0) 80%,
    transparent 100%
);

  transform: skewX(-20deg);
  animation: shine 2.5s linear infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-150%) skewX(-20deg);
  }
  100% {
    transform: translateX(250%) skewX(-20deg);
  }
}

.SecondaryTitle{
    width: 50%;
    margin: 0 auto;
    padding-top: 20px;
}

@media (max-width: 1023px) {

    .banner-fan{
        top: 0;
    }

    .KeyPoint{
        width: 100%;
        gap: 20vw;
    }
    
    .Banner{
        height: auto;
        padding: 10% 0 35% 0;
    }
}



@media (max-width: 767px) {

    .Banner{
        margin-top: 58px;
        padding: 20% 0% 20% 0%;
    }

    .KeyPoint{
        gap: 16px;
    }

    .KvTitle,.SecondaryTitle{
        width: 87vw;
    }

    .hero-title{
        width: 87vw;
        margin: 0 auto;
    }

    .KvTitle{
        margin-top: 56px;
    }
   
    .banner-fan{
        width: 180vw;
        top: -28px;
    }

    .KeyPoint .MainButton{
        margin-top: 52vw;
    }

    .SecondaryTitle{
        width: 65vw;
        padding-top: 2vw;
    }
}




/* --------------- Section1 ---------------*/


.TextLine,.FirstLine{
    display: flex;
    width: fit-content;
    gap: 24px;
    justify-content: center;
    margin: 0 auto 60px;
    align-items: center;
}

.TextLine img,.FirstLine img{
    width: auto;
    height: 60px;
    margin: 0 auto;
}

.title-star{
    width: 40px;
    height: 49px;
    background-image: url(../images/Text/title-star.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: star-breathe 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes star-breathe {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}


.Item{
    width: 95%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px; 
    row-gap: 58px; 
    padding: 48px;
    border-right: 24px solid #CEAE5E;
    border-left: 24px solid #CEAE5E;
    margin: 0 auto;
    background-color: white;
}

.ItemContent span{
    font-size:18px ;
    text-align: center;
}

.item-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 56px 20% 32px 20%;
    background-color: #FCF5E3;
    border: 1px solid #CEAE5E;
    border-radius: 12px;
}

.item-container p{
    font-size: 18px;
}

.Item > .ItemContent:nth-child(4) .item-container {
  background-color: white; 
  background-image: url(../images/Text/item-container-bg.png);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-star{
    width: 40px;
}



.ItemContent{
    display: flex;
    flex-direction: column;
    align-items: center;
    width:100%;
    position: relative;
}

.circle-title,.loan-title{
    width: auto;
    height: 50px;
    position: absolute;
    top: -25px;
}

.loan-title{
    height: 78px;
}

.ItemContent p{
    text-align: center;
    padding: 8px 0px;
    border-top: #DBB13F solid 2px;
    border-bottom: #DBB13F solid 2px;
}

.ItemTitle{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin:8px 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}





.ItemTitle span{
    color: #DBB13F;
    font-weight: 700;
}

/* -----RodElement----- */

.RodTop{
    position: sticky;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    z-index: 10000;
}

.RodBottom{
    position: sticky;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    z-index: 10000;
}

.Center{
    width: 100%;
}
.HorTop{
    width: 100%;
    height: 16px;
    background-color: #CEAE5E;
}

.HorBottom{
    width: 100%;
    height: 10px;
    background-color: #C29A47;
}

.OutPoint{
    width: 24px;
}

.OutPointTop{
    width: 100%;
    height: 16px;
    background-color: #F7DFA0;
}

.OutPointBottom{
    width: 100%;
    height: 10px;
    background-color: #F5D789;
}

.OuterMost{
    width: 14px;
    height: 13px;
    background-color: #323232;
}

@media (max-width: 1023px) {

    .FirstLine img{
        height: 144px;
    }

    .Item{
        align-items: center;
        padding: 48px 32px 48px 32px;
    }

    .ItemTitle{
        margin:16px 0 8px 0;
    }
    
    .item-container{
        padding: 40px 16px 32px 16px ;
    }

}

@media (max-width: 767px) {

    .TextLine,.FirstLine{
        margin-bottom: 32px;
    }

    .FirstLine img{
        height: 78px;
    }

    .TextLine img{
        height: 39px;
    }
        

    .Item{
        width: 90%;
        padding: 40px 16px;
        grid-template-columns: repeat(1, 1fr);
        border-right: 16px solid #CEAE5E;
        border-left: 16px solid #CEAE5E;
    }

    .ItemContent p{
        max-width: 240px;
        font-size: 18px;
    }

    .ItemTitle{
        font-size: 20px;
    }

    .HorTop,.OutPointTop{
        height: 16px;
    }

    .HorBottom,.OutPointBottom{
        height: 8px;
    }

    .OutPoint{
        width: 18px;
    }

    .OuterMost{
        width: 10px;
        height: 12px;
    }

    .circle-title{
        height: 45px;
    }

    .loan-title{
        height: 70px;
    }

    .title-star{
        width: 24px;
        height: 30px;
    }

}


/* --------------- Section2 ---------------*/
.SubTitle{
    text-align: center;
    margin-top: -36px;
    margin-bottom: 60px;
    font-size: 20px;
    font-weight: 500;
}

.OutLineCard{
    padding: 40px 80px 80px 80px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 64px;
    position: relative;
    z-index: 10;
    position: relative;
}

.OutLineCard::after,.NoteCard::after{
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 4px solid #CEAE5E; 
    pointer-events: none; 
    border-radius: 10px;
}

.Notice{
    position: relative;
    z-index: 10;
    font-weight: 600;
}

.Notice img{
    width: 20px;
    margin-left: 4px;
    vertical-align: middle;
    margin-bottom: 4px;
}

#NoticeList{
    scroll-margin-top: 40px;
}

/* ETF */

.ETF{
    padding: 64px 40px 40px 40px;
    background-color: #FCF5E3;
    border: 2px solid #CEAE5E;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    border-radius: 12px;
    margin-top: 80px;
}

.ETFTitle,.StockTitle{
    width: auto;
    height: 56px;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
}


.ETFTable{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    border-radius: 10px;
}


.ETFBlock img{
    position: absolute;
    width: 350px;
    height: auto;
    margin: 0 auto;
    top: -39px;
    left: 50%;
    transform: translateX(-50%);
}

.ETFBlock{
    position: relative;
    border: 2px solid #E8AD4F;
    border-radius: 10px;
}

.Stock{
    position: relative;
    padding: 62px 40px 40px 40px ;
    background-color: #FCF5E3;
    border: 2px solid #CEAE5E;
    border-radius: 12px;
    margin-top: 39px;
    margin-top: 80px;
}


.ETF p{
    font-size: 28px;
    margin-bottom: 16px;
}

.ETF span{
    font-size: 18px;
}

.ETF p,.ETF span {
    font-weight: 500;
}

.firework-left,.firework-right{
    position:absolute ;
    width: 220px;
    height: auto;
    top: 15%;
    left: -220px;
    z-index: 1;
}

.firework-right{
    top: auto;
    left: auto;
    bottom: 5%;
    right: -220px;
}

.StockTable{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}


.StockItem{
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    box-sizing: border-box;
    padding-bottom: 12px;
    border-bottom: 1px solid #929292;
    font-size: 18px;
    font-weight: 500;
}

.ETFItem{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    box-sizing: border-box;
    padding-bottom: 12px;
    border-bottom: 1px solid #929292;
    font-size: 18px;
    font-weight: 500;
}



.StockName ,.ETFName{
    white-space: nowrap;
}

.StockBlock{
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.Block1,.Block2{
    width: 50%;
    padding: 40px 24px 24px 24px;
    text-align: center;
    border: 2px solid #E8AD4F;
    border-radius: 10px;
    position: relative;
    margin-top: 26px;
}


.ChipTitle{
    background-color: #FB5D01;
    white-space: nowrap;
    color: white;
    padding: 8px 24px;
    display: inline;
    border-radius: 1000px;
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
}


@media (max-width: 1439px) {
    .firework-left,.firework-right{
        display: none;
    }
}

@media (max-width: 1023px) {
    .ETFBlock img{
        width: 224px;
        top: -25px;
    }

    .ETFTable{
         grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

}

@media (max-width: 767px) {

    .OutLineCard{
        padding: 28px;
    }

    .OutLineCard::after,.NoteCard::after{
    top: 12px;
    right: 12px;
    bottom: 20px;
    left: 12px;
    border: 2px solid #CEAE5E; 
    pointer-events: none; 
    border-radius: 10px;
}

    .SubTitle{
        margin-top: -8px;
        margin-bottom: 32px;
    }

    .ETFBlock img{
        width: 180px;
        top: -20px;
    }

    .StockItem,.ETFItem{
        justify-content: center;
        padding-left: 0;
        flex-direction: column;
        gap: 0;
    }

    .ETFItem{
        text-align: center;
    }

    .ETF,.Stock{
        padding: 40px 16px 32px 16px;
        margin-top: 60px;
    }

    .ETFTitle,.StockTitle{
        height: 45px;
        top: -24px;
    }


    .OutLineCard{
        padding: 40px;
    }

    .ChipTitle{
        font-size: 18px;
    }

    .StockBlock{
        flex-direction: column;
    }

    .Block1,.Block2{
        width: 100%;
    }

    .ETFTable{
        padding-top: 8px;
    }


    .ETF p{
        font-size: 20px;
    }
    
    .ETF span{
        font-size: 16px;
    }

    .ETF br{
        display: none;
    }

    .SubTitle br{
        display: none;
    }
}

    
/* --------------- Section3 ---------------*/



.box-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.box-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 8.4vw 16px;
    position: relative;
}

.box-container::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/side/box-card.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}

.step-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.step-img{
    width: auto;
    height: 45px;
}

.dot-text{
    display: flex;
    flex-direction: column;
    margin-top: 8px;  
}

.dot-text > div {
  position: relative;
  padding-left: 1em;   
  margin-bottom: 0.4em;  
  line-height: 1.6;
}

.dot-text > div::before {
  content: "•";
  position: absolute;
  left: 0;
}


@media (max-width: 1023px) {

    .box-container{
        padding: 10vw 64px;
        justify-content: center;
    }

    .box-content{
        grid-template-columns: 1fr;
        grid-auto-rows: 1fr;
    } 
}

@media (max-width: 767px) {

    .Step{
        font-size: 16px;
        padding: 4px 12px;
    }

    .KeyPoint .MainButton{
        margin-top: 32vw;
    }

    .MainButton{
        width: 220px;
        font-size: 18px;
    }

    .box-container{
        padding: 10vw;
    }

    .box-container::after{
        background-image: url(../images/side/box-card-m.png);
    }

    .step-box br{
        display: none;
    }

    .step-box{
        max-width: 280px;
        margin: 0 auto;
    }

    .step-img{
        height: 32px;
    }

   .StockTable,.ETFTable{
        grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    } 

}

/* --------------- Section4 ---------------*/

.NoteCard {
    background-color: white;
    padding: 64px 80px;
    border-radius: 12px;
    position: relative;
    z-index: 10;
    font-weight: 500;
    font-size: 18px;
}

.NoteCard p{
    padding-bottom: 8px;
}


.List {
    counter-reset: list-counter;
    margin: 0; 
    padding-left: 0; 
    font-weight: 500;
    font-size: 18px;
}

.List li {
    counter-increment: list-counter;
    display: block;
    margin-bottom: 12px; 
    padding-left: 30px; 
    word-wrap: break-word; 
    position: relative;
}

.List li a {
    word-break: break-word;
    text-decoration: underline;
    font-weight: 600;
}

.List li::before {
    content: counter(list-counter) "."; 
    color: #333;
    margin-right: 8px; 
    flex-shrink: 0; 
    position: absolute; 
    left: 0;
}

link, a{
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    text-decoration: none;
    color: #005BAC;
    display: inline-block;
}

@media (max-width: 1023px) {
    .NoteCard{
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .NoteCard{
        padding: 32px 24px;
        font-size: 16px;
    }

    .List {
        font-size: 16px;
    }
}


.ETFs{
    background-color: #F0A400;
    color: white;
    border: none;
}

.rate-block{
    display: flex;
    justify-content: center;
    align-items: center;
}