
/* 全局样式定义 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0A2463, #1E3C72);
    color: #FFFFFF;
    line-height: 1.6;
}
header {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 159, 28, 0.2), transparent);
    transform: rotate(-45deg);
    animation: headerGradientMove 10s infinite alternate;
}
@keyframes headerGradientMove {
    from { transform: rotate(-45deg) translateX(-50%); }
    to { transform: rotate(-45deg) translateX(50%); }
}
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
p.tagline {
    font-size: 1.2rem;
    color: #FF9F1C;
    margin-top: 10px;
    letter-spacing: 1px;
}
main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}
section {
    background: #E5E5E5;
    color: #0A2463;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
img.decorative {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
pre {
    background: #0A2463;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #0A2463;
    padding: 10px;
    text-align: left;
}
th {
    background: #FF9F1C;
    color: #0A2463;
}
td {
    background: #FFFFFF;
}
footer {
    text-align: center;
    padding: 20px;
    background: #0A2463;
    color: #FFFFFF;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    section { padding: 15px; }
    pre { font-size: 0.8rem; }
}

