
/* 基础样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(180deg, #0A192F, #0C0F15);
    color: #FFFFFF;
    overflow-x: hidden;
}

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

/* 粒子样式 */
.particle {
    position: absolute;
    background: rgba(100, 255, 218, 0.7);
    border-radius: 50%;
    width: 5px;
    height: 5px;
    animation: float 6s infinite ease-in-out;
}

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

/* 主要容器布局 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-family: 'Roboto Bold', sans-serif;
    color: #64FFDA;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
}

h2 {
    font-size: 2.5em;
    color: #8E44AD;
}

h3 {
    font-size: 2em;
    color: #39FF14;
}

h4 {
    font-size: 1.5em;
    color: #64FFDA;
}

/* 段落样式 */
p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* 列表样式 */
ul, ol {
    padding-left: 40px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #64FFDA;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #0C0F15;
}

td {
    background-color: #1A2B3C;
}

/* 代码块样式 */
pre {
    background-color: #1A2B3C;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    color: #64FFDA;
    font-family: 'Courier New', Courier, monospace;
}

/* 按钮样式 */
.button {
    padding: 12px 25px;
    background-color: #64FFDA;
    color: #0C0F15;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1em;
}

.button:hover {
    background-color: #39FF14;
    transform: scale(1.05);
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

/* 网格布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

/* 卡片样式 */
.card {
    background-color: #0C0F15;
    border: 1px solid #64FFDA;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    background-color: #1A2B3C;
}

/* 表单元素禁用样式 */
/* 避免使用任何表单元素 */

/* 响应式设计 */
@media (max-width: 1440px) {
    h1 {
        font-size: 2.8em;
    }
    h2 {
        font-size: 2.3em;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 40px 15px;
    }
    h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.2em;
    }
    h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 30px 10px;
    }
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.4em;
    }
}

