
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0074D9, #651FFF);
    color: #fff;
    line-height: 1.6;
}
h1, h2, h3 {
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 2rem;
}
p, ul, ol, table {
    margin: 1rem auto;
    max-width: 800px;
    padding: 0 1rem;
}
ul, ol {
    list-style-position: inside;
}
a {
    color: #00FF00;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    text-shadow: 0 0 5px #00FF00;
}
code {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
}
pre {
    margin: 1rem auto;
    max-width: 800px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem auto;
}
th, td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    text-align: left;
}
th {
    background: rgba(0, 0, 0, 0.2);
}
.layer {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem auto;
    max-width: 1000px;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.element {
    transition: all 0.3s ease;
}
.element:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    h1, h2, h3 {
        font-size: 1.5rem;
    }
    code {
        font-size: 0.9rem;
    }
}

