
/* 基础样式 */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #0A1F44, #F7F7F7);
    color: #FFFFFF;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #FF6F5E, #0A1F44);
    color: #FFFFFF;
    position: relative;
}
header h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    margin: 0;
}
header p {
    font-size: 1.2rem;
    margin-top: 1rem;
    opacity: 0.9;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}
.grid-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}
.grid-item:hover {
    transform: translateY(-5px);
}
.highlight {
    background-color: #FF6F5E;
    color: #0A1F44;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}
pre {
    background: #1C1C1C;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
th, td {
    border: 1px solid #FFFFFF;
    padding: 0.8rem;
    text-align: left;
}
th {
    background: #FF6F5E;
    color: #0A1F44;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
footer {
    text-align: center;
    padding: 2rem;
    background: #0A1F44;
    color: #FFFFFF;
    font-size: 0.9rem;
}
button {
    background: #FF6F5E;
    color: #0A1F44;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
button:hover {
    transform: scale(1.1);
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-top-color: #FF6F5E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

