
/* 基础样式 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #8DC63F, #E5E5EA);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Open Sans', sans-serif;
    color: #8DC63F;
}
a {
    text-decoration: none;
    color: #FFA500;
    transition: color 0.3s ease;
}
a:hover {
    color: #FF4500;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.header {
    background: linear-gradient(to right, #8DC63F, #87CEEB);
    color: white;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.header h1 {
    font-size: 2.5rem;
    margin: 0;
}
.header p {
    font-size: 1.2rem;
    margin-top: 10px;
}
.section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #8DC63F;
}
.section p {
    font-size: 1rem;
    line-height: 1.8;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.code-block {
    background: #E5E5EA;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
table th {
    background-color: #8DC63F;
    color: white;
}
.button {
    display: inline-block;
    background: #FFA500;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 1200px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

