
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1A2A6C, #4B0082, #000);
    color: white;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1400px;
    margin: auto;
}

.header {
    width: 100%;
    transform: skewY(-5deg);
    background: linear-gradient(90deg, #B9345A, #7FFF00);
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.header h1 {
    transform: skewY(5deg);
    font-family: 'Roboto Bold', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
    color: #fff;
}

.left-section {
    flex: 3;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 20px;
}

.right-section {
    flex: 1;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

article {
    font-family: 'Roboto Regular', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

h2, h3, h4 {
    font-family: 'Roboto Bold', sans-serif;
    color: #7FFF00;
}

code {
    background: #1A2A6C;
    color: #7FFF00;
    padding: 5px;
    border-radius: 5px;
    display: block;
    margin: 10px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #7FFF00;
    padding: 10px;
    text-align: left;
}

th {
    background: #B9345A;
    color: white;
}

.particle-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0) 80%);
}

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

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

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .header h1 {
        font-size: 2rem;
    }

    code {
        font-size: 0.9rem;
    }
}

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

    .header h1 {
        font-size: 1.5rem;
    }

    code {
        font-size: 0.8rem;
    }
}

