
/* CSS样式代码 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #4A90E2, #6C5CE7);
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    position: relative;
    height: 40vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #FFD700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

nav a {
    color: #4A90E2;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 10px 0;
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: #FFD700;
}

main {
    margin-left: 250px;
    padding: 20px;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    line-height: 1.6;
}

code {
    background: rgba(0, 0, 0, 0.7);
    color: #FFD700;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}

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

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

table th {
    background: rgba(0, 0, 0, 0.5);
    color: #FFD700;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px;
    }

    main {
        margin-left: 0;
    }
}

footer {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFD700;
    font-size: 0.9rem;
}

