
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e1e38, #121221);
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: #00ffcc;
    text-decoration: none;
    rel: nofollow;
}

a:hover {
    text-decoration: underline;
}

header {
    background: linear-gradient(135deg, #2b2b57, #3a3a6b);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-family: 'Futura', sans-serif;
    font-size: 2.5em;
    margin: 0;
    color: #ffd700;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.1);
}

nav a {
    font-size: 1em;
    font-weight: bold;
    color: #00ffcc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

article {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

article h2 {
    font-family: 'Futura', sans-serif;
    font-size: 2em;
    color: #ffd700;
    margin-bottom: 20px;
}

article h3, article h4 {
    font-family: 'Futura', sans-serif;
    color: #00ffcc;
    margin-top: 30px;
}

article p {
    font-size: 1em;
    color: #ffffff;
}

article pre {
    background: #2b2b57;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

article code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ffcc;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #00ffcc;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background: #3a3a6b;
    color: #ffd700;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.image-gallery img {
    width: calc(25% - 10px);
    border-radius: 5px;
}

.footer {
    background: linear-gradient(135deg, #2b2b57, #3a3a6b);
    padding: 20px;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.footer p {
    margin: 0;
    font-size: 0.9em;
}

.notice {
    text-align: center;
    font-size: 1.2em;
    color: #ff69b4;
    margin-top: 20px;
}

/* 动态粒子效果 */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-30px) scale(1.5); opacity: 0.7; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .image-gallery img {
        width: calc(33.333% - 10px);
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 25px 15px;
    }
}

@media (max-width: 1024px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }
    .image-gallery img {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    article h2 {
        font-size: 1.8em;
    }
    .image-gallery img {
        width: 100%;
    }
}

@media (max-width: 480px) {
    nav a {
        font-size: 0.9em;
    }
    article {
        padding: 15px;
    }
    article h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.8em;
    }
    .image-gallery img {
        width: 100%;
    }
}

