/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 导入Google字体 - 使用Pacifico艺术字体 */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

body {
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 粒子画布 */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 标题样式 - 使用艺术字体 */
header h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-family: 'Pacifico', cursive;
    background: linear-gradient(90deg, #00dbde, #fc00ff, #00dbde);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 3s linear infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

@keyframes gradientFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* 副标题样式 */
.subtitle {
    font-size: 1.5rem;
    opacity: 0.8;
    animation: fadeIn 2s ease-in-out;
    font-family: 'Arial', sans-serif;
}

/* 底部备案信息 */
footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Arial', sans-serif;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #00dbde;
    text-decoration: underline;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    footer {
        font-size: 0.8rem;
    }
}