/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
    background-size: 200% 200%;
    margin: 0;
    padding: 20px;
    color: #333;
    line-height: 1.6;
    animation: backgroundAnimation 10s ease infinite;
    min-height: 100vh;
}

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

/* 标题样式 */
h1 {
    background: linear-gradient(50deg, #FF6347, #FFA500, #FFD700);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 5s ease infinite;
    text-align: center;
    font-size: 3em;
    margin-bottom: 20px;
}

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

/* 二级标题样式 */
h2 {
    color: #007BFF;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

h2:hover {
    color: #FF6347;
}

/* 段落样式 */
p {
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

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

/* 列表样式 */
ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

/* 页脚样式 */
footer {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    color: #666;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    padding: 10px 0;
    border-radius: 5px;
    transition: all 0.3s ease;
}

footer:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
}

/* 版权年份样式 */
#copyright-year {
    background: linear-gradient(50deg, #FF6347, #FFA500, #FFD700);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 5s ease infinite;
    font-weight: bold;
}

/* 内容容器样式 */
.content-container {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
    transition: box-shadow 0.3s ease;
}

.content-container:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 链接样式 */
a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6347;
    text-decoration: underline;
}