
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: radial-gradient(circle, rgb(0, 0, 0), rgba(0, 0, 0, 0.9));
    color: #FFFFFF;
    overflow-x: hidden;
}

/* 动态背景 */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000000, #1E00FF, #8F00FF);
    background-size: 400% 400%;
    animation: gradient-animation 15s linear infinite;
    z-index: -1;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.navbar a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #00FF00;
}

/* 主容器 */
.container {
    padding: 100px 20px 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    color: #FFFFFF;
    text-shadow: 0px 0px 10px #00FF00, 0px 0px 20px #00FF00;
}

h1 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    font-size: 36px;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* 段落样式 */
p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #E0E0E0;
}

/* 列表样式 */
ul {
    list-style-type: disc;
    margin-left: 40px;
    color: #E0E0E0;
}

li {
    margin-bottom: 10px;
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

code {
    color: #00FF00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}

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

th, td {
    border: 1px solid #555555;
    padding: 10px;
    text-align: left;
}

th {
    background: #1E00FF;
    color: #FFFFFF;
}

td {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

/* 图片样式 */
img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin: 10px;
}

/* 卡片样式 */
.card {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 255, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 30px rgba(0, 255, 0, 0.7);
}

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

/* 按钮样式 */
.button {
    background-color: #00FF00;
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.button:hover {
    background-color: #00CC00;
    box-shadow: 0px 0px 20px #00FF00;
}

/* 特殊提示 */
.reference-note {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-left: 5px solid #00FF00;
    margin: 20px 0;
    font-size: 18px;
    color: #FFFFFF;
}

/* 响应式设计 */

/* 320px - 小尺寸手机 */
@media (max-width: 320px) {
    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    p, li {
        font-size: 16px;
    }
}

/* 480px - 大尺寸手机 */
@media (max-width: 480px) {
    .navbar {
        flex-direction: column;
    }
    .navbar a {
        margin: 10px 0;
    }
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 22px;
    }
}

/* 768px - 竖屏平板 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 24px;
    }
}

/* 1024px - 中等屏幕 */
@media (max-width: 1024px) {
    .container {
        padding: 120px 30px 60px 30px;
    }
}

/* 1200px - 桌面显示器 */
@media (max-width: 1200px) {
    h1 {
        font-size: 44px;
    }
}

/* 1440px及以上 - 大尺寸桌面显示器 */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* 粒子效果 */
.particle-effect {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(0, 255, 0, 0.5);
    border-radius: 50%;
    animation: float 5s infinite;
}

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

/* 代码高亮 */
.highlight {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-left: 3px solid #00FF00;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
}

/* 表单排除样式（虽然使用不到，但确保没有可编辑字段） */
input, textarea, form {
    display: none;
}

