
/* 基础样式定义 */
body {
    margin: 0;
    font-family: 'Merriweather', serif;
    background: linear-gradient(135deg, #1E1E1E, #2C2C2C);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Fira Code', monospace;
    color: #00FFFF;
    text-shadow: 0 2px 4px rgba(0, 255, 255, 0.5);
}
p, li {
    color: #CCCCCC;
    font-size: 1rem;
}
a {
    color: #8A2BE2;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #39FF14;
}
button {
    background-color: #8A2BE2;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.5);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.code-block {
    background: rgba(0, 0, 0, 0.7);
    color: #00FF00;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
}
.icon {
    width: 40px;
    height: 40px;
    fill: #00FFFF;
}
header {
    background: linear-gradient(135deg, #00FFFF, #8A2BE2);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    animation: waveEffect 10s linear infinite;
    transform: rotate(45deg);
}
@keyframes waveEffect {
    0% { transform: translateX(-50%) translateY(0) rotate(45deg); }
    100% { transform: translateX(-50%) translateY(-100%) rotate(45deg); }
}
footer {
    text-align: center;
    padding: 20px;
    background: #1E1E1E;
    color: #888888;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2rem;
    }
    header {
        padding: 20px;
    }
}

