html {
    font-size: calc(100vw / 3.97); /* 1rem ≈ 100px (397/3.97=100) */
}

/* 限制最大尺寸（ till-pc 同理） */
@media (min-width: 397px) {
    .platform-logo {
        width: 0.36rem !important;
        height: 0.15rem !important;
    }
    .platform-logo img {
        width: 0.35rem;
    }
    .platform-icons img { 
        width: 0.1rem;
    }
    .pricing-plan {
        border: 0.005rem solid #000000 !important;
    }
    
}

body {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F9F9F9;
    margin: 0;
}

.hero-section,.platforms-section,.advantages-section,.pricing-section {
    width: 100%;
    height: 1.67rem;
    /* background-color: aqua; */
    /* border: 2px solid #333333; */
    position:relative;
}

.hero-section {
    background-color: white;
}

.container {
    padding: 0.22rem 0.6rem;
}

.hero-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hero-content {
    display: -webkit-box; /* 旧版flex兼容 */
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 1.7rem;;
}

.container h2 {
    font-size: 0.18rem;
    line-height: 0.25rem;
    font-weight: 600;
    height: 0.25rem;
    text-align: left;
    color: #333333;
    margin: 0;
}

.hero-text-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 0.08rem;
} 

.badge {
    color: #FFFFFF;
    height: 0.13rem;
    background: #0045FF;
    border-radius: 0.03rem;
    font-size: 0.08rem;
    line-height: 0.13rem;
    text-align: left;
    margin-left: 0.05rem;
    padding: 0 0.035rem;
}

.hero-text-desc {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.hero-text-desc p {
    color: #333333;
    font-size: 0.08rem;
    line-height: 0.1rem !important;
    margin: 0;
}

.platform-icons {
    width: 1.4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0.43rem, 1fr));
    margin-top: 0.1rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 0.43rem;
    height: 0.26rem;
    margin-right: 0.05rem;
    background: #FFFFFF;
    box-shadow: 0px 0.01rem 0.03rem 0px rgba(0,0,0,0.28);
    border-radius: 0.04rem;
    margin-bottom: 0.05rem;
}

.platform-item:hover {
    /* transform: translateY(-0.05rem); */
    background-color: #0145ff;
}

.platform-icons img { 
    max-width: 0.1rem;
}

.platform-item:hover img {
    filter: brightness(1000%);
    filter: grayscale(100%) brightness(200%);
}

.platform-item:hover span {
    color: white;
}

.platform-icons span {
    color: #999999;
    font-size: 0.06rem;
}

.hero-image img {
    width: 1.2rem;
    height: 0.74rem;
}

.hero-hot {
    position:absolute;
    bottom: -0.08rem;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: white;
    padding: 0 0.05rem;
    border-radius: 0.03rem;
    width: 2.78rem;
    height: 0.16rem;
}

.hero-hot-title {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.hero-hot-title img { 
    width: 0.06rem;
    height: 0.07rem;
    margin-right: 0.05rem;
}

.hero-hot-title span { 
    color: #999999;
    font-size: 0.05rem;
    line-height: 0.07rem;
}

.hero-hot-list { 
    display: flex;
    flex-direction: row;
    width: 2.35rem;
    flex-wrap: nowrap;
}
.hero-hot-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 0.05rem;
    line-height: 0.07rem;
    color: #999999;
    /* margin-right: 0.25rem;
    margin: 0 0.05rem; 
    flex-shrink: 0; */
}

.hero-hot-list div span, .hero-hot-list div p {
    font-size: 0.05rem;
    line-height: 0.07rem;
    color: #333333;
}

.color-binance {
    color: #EFC54E !important;
}

.color-coin {
    color: #5278E0 !important;
}

.color-gate {
    color: #19E8A3 !important;
}

.platforms-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.platforms-title { 
    text-align: left;
    width: 1.2rem;
}

.platforms-title h2 {
    margin-bottom: 0.08rem;
}

.platforms-title p {
    font-size: 0.07rem;
    line-height: 0.1rem;
    margin: 0;
}

.platforms-grid {
    width: 1.57rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -0.1rem;
}

.platform-logo-items {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.platform-logo { 
    width: 0.45rem;
    height: 0.19rem;
    padding: 0.06rem 0.06rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #FFFFFF;
    box-shadow: 0px 0.01rem 0.03rem 0px rgba(0,0,0,0.06);
    border-radius: 0.02rem;
    margin-right: 0.105rem;
    margin-bottom: 0.05rem;
}

.platform-logo-shadow-up {
    background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, #FFFFFF 100%);
    border-radius: 0.02rem;
    box-shadow: none;
}

.platform-logo-shadow-down {
    background: linear-gradient( 180deg, #FFFFFF 0%, rgba(255,255,255,0) 100%);
    border-radius: 0.02rem;
    margin-bottom: 0px;
    box-shadow: none;
}

.platform-logo img {
    max-width: 0.35rem;
}
.platform-logo p {
    font-size: 0.05rem;
    line-height: 0.07rem;
    /* margin-top: 0.5rem; */
    text-align: center;
    color: #999999;
    margin:0;
}

/* 平台优势 */
.advantages-section {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.advantages-section .container {
    display: flex;
    align-items: center;
}

.advantages-content {
    display: flex;
    flex-direction: row;
    /* align-items: center; */
}

.advantages-title {
    display: flex;
    flex-direction: column;
    text-align: start;  
}

.advantages-title h2 {
    padding-bottom: 0.08rem;
}

.advantages-title p {
    font-size: 0.07rem;
    line-height: 0.1rem;
    color: #333333;
    margin: 0;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin-left: 0.3rem;
}

.advantages-desc {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.advantages-desc p {
    color:#333333;
    font-size: 0.07rem;
    line-height: 0.1rem;
}

.advantage-item { 
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    margin-bottom: 0.1rem;
}

.advantage-item:last-child {
    margin-bottom: 0;
}

.advantage-item img {
    width: 0.08rem;
    height: 0.08rem;
    margin-right: 0.05rem;
}

.advantage-item span {
    color:#333333;
    font-size: 0.05rem;
    line-height: 0.07rem;
}

/* 平台费用 */
.pricing-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: center;
}

.pricing-content h2 {
    margin-bottom: 0.08rem;
}

.price-desc {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 0.14rem;
}

.price-desc p {
    font-size: 0.07rem;
    line-height: 0.1rem;
    color: #333333;
    margin: 0;
}

.price-desc a {
    color: #333333;
    font-size: 0.08rem;
    font-weight: 600;
    line-height: 0.1rem;
    text-decoration: underline;
}

.pricing-plans {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pricing-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    width: 0.65rem;
    height: 0.28rem;
    border-radius: 0.03rem;
    border: 0.01rem solid #000000;
    margin-right: 0.06rem;
}
.pricing-plan:last-child {
    margin-right: 0;
}

.pricing-plan span {
    font-size: 0.07rem;
    line-height: 0.1rem;
    font-weight: 400;
    color: #333333;
}

.pricing-plan-icon {
    position: absolute;
    display: flex;
    top: 0.03rem;
    left: 0.03rem;
}

.pricing-plan-icon img {
    width: 0.05rem;
    height: 0.05rem;
}

.pricing-plan-icon span {
    color: #60AE55;
    font-size: 0.05rem;
    line-height: 0.07rem;
}

/* 联系我们区域 */
.contact-section {
    /* padding: 5rem 0; */
    background-color: #0E243E;
    color: black;
    text-align: center;
}

.contact-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section h2 {
    font-size: 0.15rem;
    font-weight: 600;
    line-height: 0.21rem;
    color:white;
    width: 0.9rem;
    height: 0.22rem;
    margin-bottom: 0.1rem;
}

.contact-card {
    width: 1.35rem;
    height: 0.78rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    padding: 0.08rem;
    background: white;
    border-radius: 0.03rem;
}

.contact-icon {
    display: flex;
    justify-content: center;
}

.contact-card img {
    width: 0.21rem;
    height: 0.2rem;
    object-fit: contain;
    margin-bottom: 0.02rem;
}

.contact-card h3 {
    font-size: 0.08rem;
    line-height: 0.11rem;
    font-weight: 600;
    color: #333333;
    margin: 0;
    margin-bottom: 0.02rem;
}

.contact-card p {
    font-size: 0.05rem;
    text-align: center;
    line-height: 0.07rem;
    color: #999999;
    margin: 0;
    margin-bottom: 0.02rem;
}

.contact-card p:last-child {
    margin-bottom: 0.05rem;
}

.join-btn {
    background: #0045FF;
    color: white;
    border: none;
    width: 0.53rem;
    height: 0.15rem;
    border-radius: 0.07rem;
    font-size: 0.06rem;
    line-height: 0.09rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
    margin-top: 0.05rem;
}

.join-btn:hover {
    background: #0045FF;
    transform: translateY(-0.025rem);
    box-shadow: 0 0.0375rem 0.075rem rgba(0, 0, 0, 0.3);
}

/* Marquee styles */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    /* width: 100%; */
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    display: flex;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}