
/* 基本全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #0A1F44, #8C52FF, #BDCDD6);
    color: #FFFFFF;
    overflow-x: hidden;
}

/* 背景动画 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1), transparent);
    animation: aurora-move 15s linear infinite;
    z-index: -1;
}

@keyframes aurora-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

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

/* 标题样式 */
h1, h2, h3 {
    font-weight: bold;
    text-align: center;
    text-shadow: 0px 0px 10px #8C52FF, 0px 0px 20px #8C52FF;
    margin: 20px 0;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.5em;
}

/* 段落样式 */
p {
    font-size: 1em;
    line-height: 1.6;
    margin: 15px 0;
    color: #FFFFFF;
}

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

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

th {
    background-color: rgba(140, 82, 255, 0.2);
}

/* 代码块样式 */
pre {
    background-color: rgba(189, 205, 214, 0.2);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

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

/* 按钮样式 */
button, a.button {
    background-color: #8C52FF;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button:hover, a.button:hover {
    box-shadow: 0 0 10px #BDCDD6, 0 0 20px #8C52FF;
}

button::after, a.button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

button:hover::after, a.button:hover::after {
    opacity: 1;
}

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

/* 模块化布局 */
.section {
    width: 100%;
    padding: 40px 20px;
    background: rgba(10, 31, 68, 0.8);
    border-radius: 15px;
    margin: 20px 0;
}

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

.particle {
    width: 5px;
    height: 5px;
    background-color: #8C52FF;
    border-radius: 50%;
    position: absolute;
    animation: particle 5s infinite;
}

@keyframes particle {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(-50px, -50px); opacity: 0; }
}

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

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

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

@media (max-width: 768px) {
    .section {
        padding: 30px 15px;
    }
    p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1em;
    }
    p {
        font-size: 0.8em;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 10px;
    }
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    h3 {
        font-size: 0.9em;
    }
    p {
        font-size: 0.7em;
    }
}

/* 链接样式 */
a {
    color: #BDCDD6;
    text-decoration: none;
    position: relative;
}

a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #8C52FF;
    transition: width 0.3s;
}

a:hover::after {
    width: 100%;
}

/* 提示信息 */
.info-banner {
    background: rgba(140, 82, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin: 20px 0;
    font-size: 1.1em;
}


