
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 20px;
    animation: aurora-move 15s linear infinite;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #FFD700; /* 金色 */
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
    color: #f0f0f0;
}

a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFA500;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.header {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    background: radial-gradient(circle, rgba(30,60,114,0.8), transparent);
    border-radius: 10px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    color: #FFD700;
}

.section {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
}

.section h2 {
    color: #FFD700;
    margin-bottom: 15px;
}

.section ul, .section ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ccc;
    color: #f0f0f0;
}

th {
    background: rgba(255, 215, 0, 0.3);
}

pre {
    background: #2a5298;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

code {
    color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
}

.button {
    display: inline-block;
    background-color: #FFD700;
    color: #1e3c72;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background-color: #FFA500;
    transform: scale(1.05);
}

.footer {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 0;
    background: radial-gradient(circle, rgba(30,60,114,0.8), transparent);
    border-radius: 10px;
    margin-top: 20px;
}

.footer p {
    color: #f0f0f0;
}

img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.icon {
    width: 24px;
    height: 24px;
    fill: #FFD700;
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: scale(1.2);
}

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

/* 响应式设计 */
@media (max-width: 1440px) {
    .header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1200px) {
    .header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }

    .header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.2rem;
    }

    .button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    body {
        padding: 10px;
    }

    .header h1 {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.2rem;
    }

    .button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

