
/* 基础样式与全局设置 */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #001f3f, #2e7d32);
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #ffab00;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
p {
    font-size: 16px;
    margin-bottom: 1em;
}
a {
    color: #ffab00;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffa000;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    width: 100%;
    height: auto;
    display: block;
}
.code-block {
    background: #282c34;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    h1, h2, h3 {
        font-size: 1.5em;
    }
    p {
        font-size: 14px;
    }
}
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.header {
    background: linear-gradient(135deg, #003366, #1a237e);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}
.header h1 {
    font-size: 2.5em;
    margin: 0;
}
.subtle-note {
    font-size: 0.9em;
    color: #ccc;
    text-align: center;
    margin-top: 10px;
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
table th {
    background-color: #003366;
    color: #fff;
}

