
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #4c6ef5, #8e44ad);
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.transparent-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #ffffff;
    margin-top: 0;
}

p, ul, ol {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

a {
    color: #00ffcc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00b39f;
}

/* 网格布局与卡片设计 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

/* 动画与粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: move 5s infinite linear;
}

@keyframes move {
    from { transform: translateX(-100%); }
    to { transform: translateX(100%); }
}

/* 自适应布局 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    h1, h2, h3 {
        font-size: 1.5rem;
    }

    p, ul, ol {
        font-size: 0.9rem;
    }
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #00ffcc;
}

code {
    font-family: 'Courier New', monospace;
    color: #00ffcc;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

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

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

/* 提示信息 */
.notice {
    text-align: center;
    margin: 20px 0;
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.8;
}

