/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
        sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* ===== 背景动画粒子 ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite linear;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 40%; top: 60%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; top: 10%; animation-delay: 3s; animation-duration: 13s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; top: 30%; animation-delay: 2.5s; animation-duration: 15s; }
.particle:nth-child(8) { left: 80%; top: 90%; animation-delay: 4.5s; animation-duration: 19s; }
.particle:nth-child(9) { left: 90%; top: 50%; animation-delay: 1.5s; animation-duration: 14s; }
.particle:nth-child(10) { left: 15%; top: 95%; animation-delay: 3.5s; animation-duration: 16s; }

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(100px, -1000px) scale(0.5);
        opacity: 0;
    }
}

/* ===== 主容器 ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 40px;
    text-align: center;
    flex: 1;
}

/* ===== 标题 ===== */
.title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 50%, #ffed4e 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite, fadeInUp 0.8s ease-out backwards;
}

.title-word:nth-child(1) { animation-delay: 0.1s, 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.2s, 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.3s, 0.3s; }
.title-word:nth-child(4) { animation-delay: 0.4s, 0.4s; }
.title-word:nth-child(5) { animation-delay: 0.5s, 0.5s; }
.title-word:nth-child(6) { animation-delay: 0.6s, 0.6s; }
.title-word:nth-child(7) { animation-delay: 0.7s, 0.7s; }

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

/* ===== 副标题 ===== */
.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* ===== 进度条 ===== */
.progress-container {
    max-width: 500px;
    margin: 0 auto 60px;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.progress-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.progress-percent {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffd700 0%, #ff8c00 100%);
    border-radius: 100px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

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

/* ===== 页脚 ===== */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    margin: 4px 0;
}

.footer .beian a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .beian a:hover {
    color: #ffd700;
}

/* ===== 响应式设计 ===== */
@media (max-width: 640px) {
    .container {
        padding: 60px 16px 30px;
    }
}

/* ===== 减少动画（可访问性） ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
