
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #1e1e1e);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    margin-bottom: 1rem;
}
p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #0056b3;
}
button {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.header {
    background: linear-gradient(45deg, #007bff, #6f42c1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}
.header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.header p {
    font-size: 1.2rem;
    color: #ffffff;
}
.feature {
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
}
.feature img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature p {
    font-size: 1rem;
    margin-bottom: 1rem;
}
.article {
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    padding: 2rem;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 2rem;
}
.article h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.article pre {
    background: #2d2d2d;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #007bff;
}
.article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}
.article th, .article td {
    border: 1px solid #444;
    padding: 0.5rem;
    text-align: left;
}
.article th {
    background: #2d2d2d;
    color: #007bff;
}
.footer {
    background: linear-gradient(135deg, #007bff, #6f42c1);
    padding: 1rem;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
}
.footer p {
    font-size: 0.9rem;
    color: #ffffff;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    p {
        font-size: 0.9rem;
    }
}

