
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Helvetica', 'Arial', sans-serif;
    background: radial-gradient(circle, rgb(30, 35, 80), rgb(0, 0, 0));
    color: white;
    line-height: 1.6;
    animation: aurora-move 15s linear infinite;
    overflow-x: hidden;
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
h1, h2, h3 {
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}
p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #45a049;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
header {
    position: relative;
    height: 100vh;
    background: linear-gradient(to bottom, #003366, #000000);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.2), transparent);
    animation: rotate-bg 10s linear infinite;
}
@keyframes rotate-bg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.logo {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    z-index: 10;
}
button {
    background-color: #ffcc00;
    color: #003366;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
button:hover {
    background-color: #e6b800;
    transform: scale(1.05);
}
article {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}
pre {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #ffcc00;
    padding: 15px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin: 1rem 0;
}
code {
    color: #4CAF50;
    font-family: 'Courier New', Courier, monospace;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: rgba(255, 255, 255, 0.1);
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
th {
    background: rgba(255, 204, 0, 0.2);
}
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    header {
        height: 80vh;
    }
    .container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

