
/* 基础样式与全局设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #4568DC, #B06AB3);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    animation: bgMove 10s infinite alternate ease-in-out;
}
@keyframes bgMove {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}
h1, h2, h3, h4 {
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}
h1 {
    background: -webkit-linear-gradient(#4568DC, #B06AB3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
p { font-size: 1rem; line-height: 1.8; margin: 10px 0; }
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    overflow-x: auto;
}
code {
    color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
}
ul, ol {
    margin: 15px 0;
    padding-left: 20px;
}
li { margin: 5px 0; }
a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: #FFA500; }
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}
th, td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}
td { background: rgba(255, 255, 255, 0.05); }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header {
    position: relative;
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #B06AB3, #4568DC);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: rotate 15s infinite linear;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.header img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0.2;
    filter: blur(5px);
}
.navbar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}
.navbar a {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: background 0.3s ease;
}
.navbar a:hover { background: rgba(255, 255, 255, 0.2); }
.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-10px); }
.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    border-radius: 10px;
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 0.9rem; }
    .content { grid-template-columns: 1fr; }
}

