
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000000, #0A2463);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #39FF14;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.8);
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: #D3D3D3;
}

a {
    color: #39FF14;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #00FFFF;
}

pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    color: #00FFFF;
}

code {
    background: rgba(0, 0, 0, 0.8);
    padding: 2px 5px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #FFD700;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

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

th {
    background: rgba(57, 255, 20, 0.2);
    color: #39FF14;
}

td {
    color: #D3D3D3;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background: #39FF14;
    color: #000;
    border-radius: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    color: #000;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(6, 1fr);
    }

    pre {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: repeat(4, 1fr);
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.9rem;
    }
}

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

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

@keyframes move-particle {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, -100px); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 图片装饰 */
.image-decor {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.image-decor-small {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px;
}

