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

h1, h2, h3 {
    font-family: 'Exo 2', sans-serif;
    font-weight: bold;
    margin: 1.5em 0 0.5em;
}

h1 {
    background: linear-gradient(90deg, #6C5CE7, #38E54D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    padding: 20px 0;
}

code {
    font-family: 'Roboto Mono', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

pre {
    background: #1E272E;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.module {
    background: #1E272E;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.button {
    background: #6C5CE7;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.button:hover {
    box-shadow: 0 0 10px #38E54D, 0 0 20px #38E54D, 0 0 30px #38E54D;
}

.icon-quantum {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C5CE7, #38E54D);
    position: relative;
    margin: 20px auto;
}

.icon-quantum::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background-color: #FFFFFF;
    border-radius: 50%;
}

.chart-bar {
    width: 20px;
    height: 100px;
    background: #38E54D;
    margin-right: 10px;
    animation: grow 1s ease-out forwards;
}

@keyframes grow {
    from { height: 0; }
    to { height: 100px; }
}

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

    code {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    body {
        padding-top: 40px;
    }
}

@media (min-width: 1440px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
    }
}

