
/* 基础样式 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0D47A1, #00264D);
    color: #FFC107;
    line-height: 1.8;
}
h1, h2, h3 {
    font-family: 'Baskerville', serif;
    color: #FFAB91;
}
a {
    color: #81C784;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FFC107;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-item {
    background: linear-gradient(135deg, #FFC107, #FFAB91);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: scale(1.05);
}
.button {
    background-color: #81C784;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: #FFAB91;
}
.highlight {
    color: #FFAB91;
    font-weight: bold;
}
pre {
    background-color: #0D47A1;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    color: #FFC107;
    font-family: 'Courier New', monospace;
}
header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #00264D, #0D47A1);
    color: #FFC107;
}
header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}
header p {
    font-size: 1.2rem;
}
section {
    padding: 40px 0;
    background: linear-gradient(135deg, #0D47A1, #00264D);
}
footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #00264D, #0D47A1);
    color: #FFC107;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}

