*{ margin: 0; padding: 0; box-sizing: border-box; }
body{
    font-family: 'Inter', 'Orbitron', sans-serif;
    background-color: #010004;
    color: #eef5ff;
    overflow-x: hidden;
    width:100%;
}
.cyber-bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, #0a0a1a, #000000);
    z-index: -2;
}
.cyber-bg::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg, rgba(0,255,255,0.02) 0px, rgba(0,255,255,0.02) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
    animation: scanMoveSoft 12s linear infinite;
}
@keyframes scanMoveSoft{
    0%{ transform: translateY(0);}
    100%{ transform: translateY(80px);}
}
#particleCanvas{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}
.container{
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem 4rem;
}
/* 头部 */
.hero-cyber{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 1.2rem 2rem;
    background: rgba(0,5,15,0.8);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    border-bottom: 2px solid cyan;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s ease;
}
.hero-cyber.visible{ opacity: 1; transform: translateY(0); }
.logo-neon{
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #0ff, #f0f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-neon img{ width: 40px; height: 40px; border-radius: 10px; }
.badge-3d{
    margin-top:8px;
    background: rgba(0,255,255,0.2);
    border-radius: 40px;
    padding: 0.3rem 1.2rem;
    font-size: 0.8rem;
    border: 1px solid cyan;
    display: inline-block;
}
.guarantee-stream{
    margin-top:8px;
    background: linear-gradient(90deg, #000000cc, #1a2f3fcc);
    border-left: 5px solid #ffcc33;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}
.guarantee-stream::before{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
    animation: shine 4s infinite;
}
@keyframes shine{
    0%{ left: -100%;}
    70%{ left: 100%;}
    100%{ left: 100%;}
}
/* 两个卡片分开两行 */
.card-list{ display: flex; flex-direction: column; gap: 2rem; margin: 2.5rem 0; }
.hologram-card{
    max-width:700px;
    margin:0 auto;
    background: rgba(2,12,22,0.95);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(0,255,255,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.hologram-card.visible{ opacity: 1; transform: translateY(0); }
.hologram-card:hover{ border-color: cyan; box-shadow: 0 0 20px rgba(0,255,255,0.2); }
.glow-title{
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(120deg, #0ff, #f0f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.btn-neon{
    background: rgba(0,255,255,0.15);
    border: 1px solid cyan;
    padding: 0.5rem 1.3rem;
    border-radius: 40px;
    font-weight: bold;
    color: cyan;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    transition: 0.2s;
}
.btn-neon:hover{ background: cyan; color: black; box-shadow: 0 0 15px cyan; }
/* 海外担保卡片 */
.usdt-mega{
    max-width:600px;
    background: linear-gradient(145deg, #0a1025, #01020a);
    border-radius: 40px;
    padding: 2rem;
    text-align: center;
    margin: 2rem auto;
    border: 2px solid gold;
    box-shadow: 0 0 40px rgba(255,215,0,0.3);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}
.usdt-mega.visible{ opacity: 1; transform: scale(1); }
.amount-digital{
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFE6A3, #FFB347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* 彩种网格 */
.carousel-container{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(0,0,0,0.2);
}

/* 轮播轨道 */
.carousel-track{
    display: flex;
    gap: 0px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    scrollbar-width: none;  /* Firefox */
    -webkit-overflow-scrolling: touch;
}

.carousel-track:active{
    cursor: grabbing;
}

.carousel-track::-webkit-scrollbar{
    display: none;  /* Chrome/Safari */
}

/* 卡片样式 */
.card{
    flex: 0 0 calc(100% / 8 - 12px);
    scroll-snap-align: start;
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 1rem 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover{
    background: rgba(255,255,255,0.2);
}

/* 图片样式 */
.card-img{
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文字样式 */
.card-text{
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    background-color: #ff6b6b;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

/*通知*/
.notice{
    margin: 0 auto 25px;
    max-width: 1200px;
    border-radius: 12px;
    background: #f8f0f0;
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    gap: 10px;
    overflow: hidden;
}
.marquee{
    flex: 1;
    overflow: hidden;
    position: relative;
}
.marquee-text{
    display: inline-block;
    white-space: nowrap;
    font-size: 14px;
    animation: marquee 8s linear infinite;
    padding-left: 100%;color:red;
    will-change: transform;
}
@keyframes marquee{
    0%{ transform: translateX(0); }
    100%{ transform: translateX(-100%); }
}

/* APP轮播 */
.app-section-wrapper {
    max-width: 500px;
    background: linear-gradient(135deg, rgba(0, 10, 20, 0.8), rgba(0, 5, 15, 0.9));
    backdrop-filter: blur(10px);
    border-radius: 48px;
    padding: 2rem;
    margin: 3rem auto 2rem;
    border: 1px solid rgba(0, 255, 255, 0.4);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.app-section-wrapper.visible { opacity: 1; transform: translateY(0); }
.app-title { text-align: center; margin-bottom: 1.5rem; }
.app-title div { font-size: 2rem; font-family: 'Orbitron', monospace; font-weight: 800; }
.app-swiper {
    display: flex;
    position: relative;
    max-width: 280px;
    padding:15px 0 0 0;
    margin: 1.5rem auto;
    overflow: hidden;
    border-radius: 24px;
    touch-action: pan-y pinch-zoom;
    transition: transform 0.3s ease-out;
}
.app-swiper-slide {
    margin: 0 1%;
    width: 48%;
    flex-shrink: 0;
}
.app-swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(0, 255, 255, 0.5);
    /* 新增：上下浮动动画 */
    animation: floatUpDown 3s ease-in-out infinite;
}

/* 为第二张图片添加延迟，形成错落效果 */
.app-swiper-slide:nth-child(2) img {
    animation-delay: 0.5s;
}

/* 定义浮动动画 */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* 向上浮动10px */
    }
}

.swiper-dots{ display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.swiper-dot{
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.2s;
}
.swiper-dot.active{ background: cyan; width: 20px; border-radius: 4px; }
.download-cyber{ display: flex; justify-content: center; gap: 2rem; margin: 1.5rem 0 1rem; flex-wrap: wrap; }
.download-btn{
    background: linear-gradient(135deg, rgba(0,0,0,0.9), rgba(10,20,40,0.95));
    backdrop-filter: blur(16px);
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    border: 1px solid #0ff;
    cursor: pointer;
    transition: 0.2s;
}
.download-btn:hover{ background: cyan; color: black; box-shadow: 0 0 30px cyan; }
.qr-hint{ text-align: center; margin-top: 1.5rem; font-size: 0.8rem; opacity: 0.7; display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
footer{ text-align: center; border-top: 1px solid rgba(0,255,255,0.2); padding-top: 1.5rem; margin-top: 2rem; font-size: 0.75rem; }
/* 大轮播图 */
.banner{
    position: relative;
    max-width: 1200px;
    height: 400px;
    margin: 0 auto 40px;
    border-radius: 18px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}
.banner-carousel-wrapper{ display: flex; width: 100%; height: 100%; transition: transform 0.4s ease; }
.banner-carousel-item{ min-width: 100%; height: 100%; }
.banner-carousel-item img{ width: 100%; height: 100%; object-fit: cover; }
.banner-carousel-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    border: none;
}
.banner-prev{ left: 12px; }
.banner-next{ right: 12px; }
.banner-carousel-dots{ position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-dot{ width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.banner-dot.active{ background: cyan; }
/* 客服按钮 40x40 */
.customer-service {
    position: fixed;
    bottom: 40px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px; /* 图标和文字之间的间距 */
}

.service-btn {
    background: linear-gradient(135deg, #0a1f2e, #021a2a);
    backdrop-filter: blur(12px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    border: 1px solid cyan;
}

.service-btn i {
    font-size: 20px;
    color: cyan;
}

.service-btn:hover {
    background: cyan;
}

.service-btn:hover i {
    color: black;
}

.service-text {
    font-size: 10px;
    text-align: center;
    color: white; /* 可选：文字颜色 */
    white-space: nowrap; /* 防止文字换行 */
}

 /* 切换按钮样式 */
.app-toggle-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.toggle-btn {
    padding: 8px 16px;
    background: #111;
    color: #0ff;
    border: 1px solid #0ff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: #0ff;
    color: #000;
}

.toggle-btn:hover {
    background: #0ff;
    color: #000;
}

/* 跑马灯容器 */
.marquee-container {
    position: absolute;
    top: 100px;/* 根据需要调整距离顶部的距离 */
    /*margin-top:60px;*/
    left: 0;
    width: 100%;
    overflow: hidden;
    /*background-color: rgba(255, 255, 255, 0.7); *//* 半透明白色背景，可根据需要调整 */
    color: #e65100; /* 文字颜色 */
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
    z-index: 100; /* 确保它位于其他元素之上 */
}

/* 跑马灯内容动画 */
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

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

    100% {
        transform: translateX(-100%);
    }
}

/* 可选：鼠标悬停暂停 */
.marquee-text:hover {
    animation-play-state: paused;
}

/* 确保 .banner-container 相对定位以便子元素绝对定位 */
.banner-container.svelte-ely3a9 {
    position: relative;
}


a{text-decoration:none;color:inherit;}
*{outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0);}

@media (max-width: 800px){
    .container{ padding: 1rem; }
    .logo-neon{ font-size: 1.4rem; }
    .amount-digital{ font-size: 2rem; }
    .banner{ height: 150px; }
    
    .banner-carousel-arrow{display:none;}
    
    .card{flex: 0 0 calc(100% / 6 - 8px);padding: 1rem 5px;}
    .card-img{width: 60px;height: 60px;}
    .card-text{font-size: 11px;padding: 4px 10px;}
}