
body {
    margin: 0;
    font-family: 'Roboto', '思源黑体', sans-serif;
    background: linear-gradient(135deg, #0F2027, #2C5364, #203A43);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(to bottom, #0F2027, #2C5364);
    position: relative;
}

header h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #48DBC6;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #A6B1E1;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5em;
    color: #48DBC6;
    margin-bottom: 10px;
}

.card p {
    font-size: 1em;
    color: #A6B1E1;
}

.article-section {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #203A43, #0F2027);
}

.article-section h2 {
    font-size: 2em;
    color: #48DBC6;
    text-align: center;
    margin-bottom: 20px;
}

.article-section h3 {
    font-size: 1.5em;
    color: #48DBC6;
    margin-top: 30px;
}

.article-section pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    color: #FFFFFF;
}

.article-section code {
    color: #6DDCC9;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .article-section h2 {
        font-size: 1.5em;
    }
}

footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(to top, #0F2027, #2C5364);
    color: #A6B1E1;
    font-size: 0.9em;
}

