* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    overflow: hidden;
    background: #000;
    color: #fff;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.nav-dots {
    display: flex;
    gap: 15px;
}

.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:hover {
    background: rgba(0, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: #00ffff;
    box-shadow: 0 0 15px #00ffff;
    border-color: #00ffff;
}

/* 主容器 */
.container {
    position: relative;
    width: 100vw;
    height: 100vh;
}

/* 幻灯片 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* 内容区域 */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 24px;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 第一屏：粒子漩涡效果 */
.vortex-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0a1a 0%, #000000 100%);
    overflow: hidden;
}

#vortex-canvas {
    width: 100%;
    height: 100%;
}

/* 第二屏：星座连线效果 */
.constellation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a0033 0%, #000428 50%, #000000 100%);
}

#constellation-canvas {
    width: 100%;
    height: 100%;
}

/* 第三屏：数字矩阵效果 */
.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

#matrix-canvas {
    width: 100%;
    height: 100%;
}

/* 第四屏：粒子网络效果 */
.network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0a2e 0%, #000 100%);
}

#network-canvas {
    width: 100%;
    height: 100%;
}

/* 第五屏：全息投影效果 */
.hologram-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hologram-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hologram-lines::before,
.hologram-lines::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #00ffff, transparent);
    animation: scanLine 3s ease-in-out infinite;
}

.hologram-lines::before {
    left: 20%;
    animation-delay: 0s;
}

.hologram-lines::after {
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes scanLine {
    0%, 100% {
        opacity: 0;
        transform: translateY(-100%);
    }
    50% {
        opacity: 1;
        transform: translateY(100%);
    }
}

/* 页脚 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .title {
        font-size: 32px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .nav-dots {
        gap: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

