
/* 全局样式 */
body {
    background: linear-gradient(to bottom, #000046, #1cb5e0);
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

a:hover {
    color: #ffffff;
}

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

.module {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

code {
    color: #00ff00;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

/* 动画效果 */
@keyframes orbit {
    from { transform: rotate(0deg) translate(-50%, -50%); }
    to { transform: rotate(360deg) translate(-50%, -50%); }
}

.quantum-orbit {
    width: 100px;
    height: 100px;
    border: 2px solid #00ff00;
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
}

.particle {
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbit 2s infinite linear;
}

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

    h1 {
        font-size: 24px;
    }

    code {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .module {
        padding: 15px;
    }
}

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