
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a0a2a, #1a0a4f, #2b0a73);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-family: 'Exo', sans-serif;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ff99;
    text-shadow: 0 0 10px rgba(0, 255, 153, 0.8);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 255, 153, 0.3);
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 153, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card:hover::before {
    opacity: 1;
}
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #00ff99;
}
code {
    font-family: 'Consolas', monospace;
    color: #00ff99;
}
button {
    background: linear-gradient(135deg, #00ff99, #00ccff);
    border: none;
    color: #0a0a2a;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 255, 153, 0.3);
}
button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 255, 153, 0.4);
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
    pre {
        font-size: 0.8rem;
    }
}

