
/* CSS 样式定义 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom right, #001f3f, #6c7ae0);
    color: #ffffff;
    line-height: 1.8;
    letter-spacing: 0.5px;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40vh;
    background: linear-gradient(135deg, #00ff99, #6c7ae0);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    position: relative;
    text-align: center;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

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

main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.section-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.section-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    color: #00ff99;
    margin-top: 0;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #e0e0e0;
}

code {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #00ff99;
    font-size: 0.9rem;
}

pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

button {
    background: linear-gradient(135deg, #00ff99, #6c7ae0);
    border: none;
    padding: 10px 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

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

table th {
    background: rgba(0, 0, 0, 0.2);
    color: #00ff99;
}

ul, ol {
    padding-left: 20px;
    margin: 15px 0;
}

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

footer {
    background: linear-gradient(135deg, #001f3f, #00ff99);
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main {
        grid-template-columns: 1fr;
    }

    pre {
        font-size: 0.8rem;
    }
}

