
/* CSS 样式代码 */
:root {
    --primary-color: #0A1F44;
    --secondary-color: #2C3E50;
    --accent-purple: #8A2BE2;
    --accent-green: #39FF14;
    --glass-opacity: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow-x: hidden;
}

header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10.01%);
    animation: particle-animation 10s linear infinite;
}

@keyframes particle-animation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    z-index: 1;
    position: relative;
}

.glassmorphism {
    background: var(--glass-opacity);
    backdrop-filter: blur(var(--glass-blur));
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
    transition: transform 0.3s ease;
}

.glassmorphism:hover {
    transform: scale(1.05);
}

.card {
    background: var(--glass-opacity);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

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;
}

code {
    color: var(--accent-purple);
    font-family: 'Courier New', monospace;
}

section {
    padding: 40px 20px;
}

h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--accent-purple);
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
}

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

    .card, .glassmorphism {
        width: 100%;
        margin-bottom: 20px;
    }

    pre {
        font-size: 0.9rem;
    }
}

footer {
    text-align: center;
    padding: 20px;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.9rem;
}

