
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', sans-serif;
    color: #a64dff;
    margin-bottom: 20px;
}
p {
    line-height: 1.6;
    margin-bottom: 20px;
}
a {
    color: #00e6e6;
    text-decoration: none;
    rel: nofollow;
}
a:hover {
    text-decoration: underline;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}
.header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #0083ff, #a64dff);
    border-radius: 10px;
}
.header h1 {
    font-size: 3em;
    animation: fadeIn 2s ease-in-out;
}
.section {
    margin: 60px 0;
}
.section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    position: relative;
}
.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: #00e6e6;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.article h2 {
    font-size: 2em;
    color: #ff6ec7;
}
.article pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.article code {
    font-family: 'Roboto Mono', monospace;
    color: #00ffea;
}
.table-responsive {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #444;
}
th {
    background: #333;
}
.button {
    display: inline-block;
    padding: 15px 30px;
    background: #00ffea;
    color: #0f2027;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}
.button:hover {
    background: #a64dff;
    cursor: pointer;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}
.button:hover::before {
    width: 200px;
    height: 200px;
}
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #ffffff;
    border-top-color: #00ffea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}
.img-grid img {
    width: 100%;
    border-radius: 10px;
}
footer {
    text-align: center;
    padding: 30px 0;
    background: #203a43;
    color: #a64dff;
}
@media (max-width: 1200px) {
    .header h1 {
        font-size: 2.5em;
    }
}
@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
}
@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }
    .article h2 {
        font-size: 1.5em;
    }
}
@media (max-width: 480px) {
    .header h1 {
        font-size: 2em;
    }
    .button {
        padding: 10px 20px;
    }
}
@media (max-width: 320px) {
    .section-title {
        font-size: 1.5em;
    }
    .article p, .article pre, .article table {
        font-size: 0.9em;
    }
}

