
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000066, #4B0082);
    color: white;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Bold', sans-serif;
    color: #FFFFFF;
}
p, li, td {
    font-family: 'Roboto Light', sans-serif;
    color: #D3D3D3;
}
a {
    color: #39FF14;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00FF7F;
}
em {
    color: #39FF14;
    font-style: normal;
}

/* 布局与网格系统 */
.container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.header {
    grid-column: span 2;
    text-align: center;
    padding: 40px 0;
}
.section {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .header {
        grid-column: span 1;
    }
}

/* 动态粒子效果 */
.particle-container {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 5s infinite ease-in-out;
}
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* 按钮与交互 */
.button {
    background-color: #4B0082;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}
.button:hover {
    background-color: #39FF14;
    color: black;
}

/* 表格与代码块 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #4B0082;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #39FF14;
    color: black;
}
pre {
    background: #000066;
    color: #39FF14;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

/* 图片与装饰 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* 提示信息 */
.notice {
    background: #39FF14;
    color: black;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border-radius: 5px;
    margin: 20px 0;
}

