
/* 全局样式定义 */
body {
    font-family: 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #121212, #1e1e3f);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #00ff99;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #00ff99;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section {
    width: 100%;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #1e1e3f, #121212);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #00ff99;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.image-box {
    width: 48%;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.image-box img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease-in-out;
}

.image-box:hover img {
    transform: scale(1.1);
}

.code-block {
    background-color: #2b2b2b;
    color: #ffffff;
    padding: 1rem;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

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

th {
    background-color: #007bff;
    color: #ffffff;
}

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

    .image-box {
        width: 100%;
    }

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #00ff99;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

