
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0A1F44, #6C5CE7);
    line-height: 1.6;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #6C5CE7;
}
a {
    color: #1ABC9C;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FF6B6B;
}

/* 容器与布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
.grid-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 15px;
}
.grid-item:hover {
    transform: scale(1.05);
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 代码块样式 */
pre {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    color: #FF6B6B;
    font-family: 'Courier New', Courier, monospace;
}

/* 动画效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}
@keyframes move-particles {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
    100% { transform: translate(0, 0); }
}
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #FFFFFF;
    border-radius: 50%;
    animation: move-particles 5s infinite ease-in-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 24px;
    }
}
@media (min-width: 1200px) {
    .container {
        padding: 40px;
    }
}

/* 提示信息 */
.tip {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #FF6B6B;
}

