/* 核心CSS：隐藏滚动条但保持功能 */
body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* 禁止默认滚动,锁定视口大小，超出部分隐藏 */
    background-color: #0f172a;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* 视口容器 */
#viewport {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 滑动轨道 */
#track {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform; /* 性能优化 */
}

/* 单个全屏卡片 */
.card {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* 初始状态，由JS控制可见性 */
}

/* 背景动画元素 */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.1); }
}

/* 内容进入动画类 */
.content-wrapper {
    z-index: 10;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.card.active .content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* 侧边指示器 */
.indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 50;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* 提示文字 */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    z-index: 20;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* 进度条 */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    width: 0%;
    z-index: 100;
    transition: width 0.1s linear;
}

/* 自定义样式 */
.card-site {
    width: 30%;
    box-sizing: border-box;
    justify-content: center;
    align-items: center; 
    display: grid; 
    border-radius: 10px;
    float: left;
}

.hover_part {
    opacity: 0%;
    transition: 0.3s;
}

.hover_part:hover {
    opacity: 100%;
    transition: 0.3s;
}

.icp{
    text-decoration: none;
    color: #fff;
    font-size: small;
}
.icp:active{
    text-decoration: none;
    color: red;
    font-size: small;
}