
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1A1C2C, #0F111A);
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
h1 {
    font-size: 3rem;
    background: -webkit-linear-gradient(#8E44AD, #2ECC71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h2 {
    font-size: 2.5rem;
    color: #2ECC71;
}
h3 {
    font-size: 2rem;
    color: #8E44AD;
}
p {
    font-size: 1rem;
    color: #B0BEC5;
    margin-bottom: 20px;
}
a {
    color: #2ECC71;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #8E44AD;
}
code, pre {
    font-family: 'Courier New', Courier, monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    color: #FFD700;
    display: block;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}
pre {
    margin: 20px 0;
    max-width: 100%;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    overflow: hidden;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
th {
    background: rgba(255, 255, 255, 0.1);
    color: #8E44AD;
}
td {
    color: #B0BEC5;
}
ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
li {
    margin-bottom: 5px;
}
button {
    background: linear-gradient(135deg, #8E44AD, #2ECC71);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
button:hover {
    background: linear-gradient(135deg, #2ECC71, #8E44AD);
    transform: scale(1.05);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #1A1C2C, #0F111A);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: auroraFlow 10s infinite alternate;
    transform-origin: center;
}
@keyframes auroraFlow {
    0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
}
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
}

