
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0074D9, #651FFF);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    animation: gradientShift 15s infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

h1, h2, h3 {
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

a:hover {
    color: #FF851B;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    padding: 20px;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.2), transparent);
    z-index: -1;
    opacity: 0.5;
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    margin: 10px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

th {
    background: linear-gradient(135deg, #FF4136, #FF851B);
    color: white;
}

td {
    background: rgba(255, 255, 255, 0.1);
}

button {
    background: linear-gradient(135deg, #0074D9, #651FFF);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.5s ease;
}

button:hover {
    background: linear-gradient(135deg, #FF4136, #FF851B);
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 10px;
    }

    table {
        display: block;
        overflow-x: auto;
    }
}

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

.module {
    animation: fadeIn 1s forwards;
}

