
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background: linear-gradient(135deg, #1e274b, #2a3d7c);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #f8f9fa;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

h2 {
    font-size: 2.2em;
    color: #ffc107; /* 亮橙色 */
}

h3 {
    font-size: 1.8em;
    color: #f8f9fa;
}

p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #d0d7e0;
    margin-bottom: 1.2em;
}

ul, ol {
    color: #d0d7e0;
    margin-bottom: 1.2em;
    padding-left: 25px;
}

li {
    line-height: 1.6;
    margin-bottom: 0.5em;
}

a {
    color: #66aaff;
    text-decoration: none;
}

a:hover {
    color: #aaccff;
}

pre {
    background-color: #282c34;
    color: #abb2bf;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.5;
    tab-size: 4;
    margin-bottom: 1.5em;
}

code {
    font-family: monospace, monospace;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(30, 39, 75, 0.9), rgba(42, 61, 124, 0.9));
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}

header p {
    font-size: 1.2em;
    color: #d0d7e0;
    margin-bottom: 0;
}

section {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    margin-bottom: 30px;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

section h2 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 1.5em;
    position: relative;
    padding-bottom: 0.5em;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 3px;
    width: 50px;
    background-color: #ffc107; /* 亮橙色 */
    border-radius: 2px;
}

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

.grid-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
}

.grid-item:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.grid-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #f8f9fa;
}

.grid-item p {
    color: #d0d7e0;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.article-section article {
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.article-section article h2 {
    text-align: left;
    padding-bottom: 0.3em;
}
.article-section article h2::after {
    left: 0;
    transform: none;
}

.article-section article pre {
    background-color: #2d333b;
}

.article-section article blockquote {
    border-left: 5px solid #ffc107;
    padding-left: 15px;
    margin-left: 0;
    font-style: italic;
    color: #d0d7e0;
}

footer {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px 15px;
    }

    header {
        padding: 40px 15px;
    }

    header h1 {
        font-size: 2.8em;
    }

    header p {
        font-size: 1.1em;
    }

    section {
        padding: 30px 20px;
    }

    section h2 {
        font-size: 2em;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
    .article-section article h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2.2em;
    }
    header p {
        font-size: 1em;
    }
    section h2 {
        font-size: 1.6em;
    }
    p, li {
        font-size: 1em;
    }
}

