
/* 全局样式设置 */
body {
    font-family: 'Roboto Mono', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a40, #000000);
    margin: 0;
    padding: 20px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'CustomFont', sans-serif;
    color: #39ff14;
    margin-top: 20px;
    margin-bottom: 10px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: auto;
}

.item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.button {
    background-color: #39ff14;
    color: #1a1a40;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background-color: #1a1a40;
    color: #39ff14;
    transform: scale(1.1);
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, #1a1a40, #000000);
}

@keyframes move-particle {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

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

pre {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #39ff14;
    font-size: 14px;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .item {
        padding: 10px;
    }
}

