
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}
h1, h2, h3, h4, h5, h6 {
    color: #ff9800;
    font-weight: bold;
    margin-top: 0;
}
p, li {
    color: #ecf0f1;
    font-size: 1rem;
}
a {
    color: #ff9800;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.header {
    text-align: center;
    margin-bottom: 40px;
}
.header h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff9800, #f6b73c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.article {
    grid-column: span 2;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-left: 5px solid #ff9800;
}
pre {
    background: #2c3e50;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #ecf0f1;
}
code {
    color: #ff9800;
    font-family: 'Courier New', monospace;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #ecf0f1;
    padding: 10px;
    text-align: left;
}
th {
    background: #ff9800;
    color: #2c3e50;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .article {
        grid-column: span 1;
    }
}
.button {
    display: inline-block;
    background: #ff9800;
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.button:hover {
    transform: scale(1.1);
}

