
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #1A2B4D, #3E276F);
    color: #fff;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
a {
    color: #8BC34A;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0074D9, #651FFF);
    color: #fff;
}
.header h1 {
    font-size: 2.5rem;
    margin: 0;
}
.header p {
    font-size: 1.2rem;
    margin-top: 10px;
}
.section {
    background: #121212;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.section p {
    font-size: 1rem;
    line-height: 1.8;
}
.code-block {
    background: #222;
    color: #00FF7F;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin: 10px 0;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 20px;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}
.button:hover {
    background: linear-gradient(135deg, #8BC34A, #4CAF50);
}
.table-container {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
table th, table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}
table th {
    background: #333;
    color: #fff;
}
footer {
    text-align: center;
    padding: 20px;
    background: #000;
    color: #fff;
    margin-top: 40px;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .section h2 {
        font-size: 1.5rem;
    }
    .code-block {
        font-size: 0.8rem;
    }
}

