
/* 全局样式 */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000033, #1a004d);
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: #00ff8c;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

ol, ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

code {
    background-color: rgba(0, 255, 140, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #00ff8c;
}

pre {
    background-color: rgba(0, 255, 140, 0.1);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    text-align: left;
}

th {
    background-color: rgba(0, 255, 140, 0.2);
    color: #ffffff;
}

/* 页面布局 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

.header {
    background: linear-gradient(90deg, #000033, #1a004d);
    color: #ffffff;
    text-align: center;
    padding: 2rem;
    width: 100%;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.section {
    width: 100%;
    padding: 2rem;
    background: linear-gradient(135deg, #000033, #1a004d);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.article-container h2 {
    color: #00ff8c;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.article-container p {
    color: #ffffff;
    font-size: 1rem;
}

/* 按钮样式 */
button {
    background-color: #00ff8c;
    color: #000033;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 255, 140, 0.5);
}

/* 图片样式 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .article-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .section {
        padding: 1rem;
    }
}

