
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    background: linear-gradient(to bottom, #000d2f, #5e17eb);
    overflow-x: hidden;
}

a {
    color: #00ffff;
    text-decoration: none;
}

a[rel="nofollow"] {
    /* 无需额外样式 */
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 13, 47, 0.8);
    padding: 20px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a {
    margin: 0 15px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

header nav a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

header .progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #00ffff;
    width: 0%;
    transition: width 0.3s;
}

.section {
    min-height: 100vh;
    padding: 100px 50px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(94, 23, 235, 0.5);
}

.section h2 {
    font-family: 'Roboto Black', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.section h3 {
    font-size: 24px;
    margin-top: 40px;
}

.section p {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    background: #00ffff;
    color: #000d2f;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.button:hover {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    transform: scale(1.1);
}

.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

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

code {
    color: #00ffff;
    font-family: 'Courier New', Courier, monospace;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation: parallax 10s infinite ease-in-out;
    z-index: -1;
}

@keyframes parallax {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.particle {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: absolute;
    animation: float 5s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-50px); }
}

.article-container {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    margin: 50px auto;
    max-width: 800px;
}

.article-container h2, .article-container h3 {
    color: #ffffff;
}

.article-container table, .article-container pre {
    background: rgba(0, 0, 0, 0.5);
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 13, 47, 0.8);
    position: relative;
}

.footer img {
    width: 100px;
    height: 100px;
    margin: 10px;
}

@media (max-width: 1440px) {
    .section {
        padding: 80px 40px 40px 40px;
    }

    .section h2 {
        font-size: 40px;
    }

    .section h3 {
        font-size: 22px;
    }

    .section p {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 15px;
    }

    header nav a {
        margin: 0 10px;
    }

    .section h2 {
        font-size: 36px;
    }

    .button {
        padding: 12px 25px;
    }
}

@media (max-width: 1024px) {
    .section {
        padding: 70px 30px 30px 30px;
    }

    .section h2 {
        font-size: 32px;
    }

    .button {
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav {
        margin-top: 10px;
    }

    .section h2 {
        font-size: 28px;
        text-align: left;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .article-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .section h2 {
        font-size: 24px;
    }

    .section p {
        font-size: 14px;
    }

    .button {
        padding: 8px 16px;
    }

    .article-container {
        padding: 15px;
    }
}

@media (max-width: 320px) {
    .section {
        padding: 60px 20px 20px 20px;
    }

    .section h2 {
        font-size: 20px;
    }

    .section p {
        font-size: 13px;
    }

    .button {
        padding: 6px 12px;
    }
}

