
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0F172A, #6D28D9);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #FFD700;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
    font-weight: bold;
}

h2 {
    font-size: 36px;
    font-weight: bold;
}

h3 {
    font-size: 28px;
    font-weight: bold;
}

h4 {
    font-size: 22px;
    font-weight: bold;
}

p {
    font-size: 16px;
    color: #E5E5E5;
    margin-bottom: 20px;
}

/* 按钮样式 */
button {
    background: linear-gradient(135deg, #FFD700, #E5E5E5);
    border: none;
    padding: 10px 20px;
    color: #000000;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 5px;
}

button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #E5E5E5, #FFD700);
}

/* 容器样式 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* 模块化布局 */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.module {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-10px);
}

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

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

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

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}

/* 粒子效果 */
.particle {
    width: 10px;
    height: 10px;
    background: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    animation: move-particle 5s infinite;
}

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

/* 滚动淡入效果 */
.scroll-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.scroll-fade.active {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1200px) {
    h1 {
        font-size: 40px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 30px 0;
    }
}

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

    .module {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }

    p {
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 28px;
    }

    p {
        font-size: 12px;
    }
}

/* 导航栏样式 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    padding: 20px 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #E5E5E5;
}

/* 页脚样式 */
footer {
    background: rgba(15, 23, 42, 0.9);
    padding: 20px 0;
    text-align: center;
    color: #E5E5E5;
}

footer p {
    margin: 0;
}

/* 按钮动画 */
button {
    position: relative;
    overflow: hidden;
}

button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

button:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

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

.card:hover {
    transform: translateY(-10px);
}

/* 文字装饰 */
.bold-text {
    font-weight: bold;
    color: #FFD700;
}

.italic-text {
    font-style: italic;
    color: #E5E5E5;
}

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

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

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

th {
    background: rgba(255, 215, 0, 0.5);
}

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

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

li {
    margin-bottom: 10px;
    color: #E5E5E5;
}

/* 内部链接样式 */
a[rel="nofollow"] {
    color: #FFD700;
    text-decoration: none;
}

a[rel="nofollow"]:hover {
    text-decoration: underline;
    color: #E5E5E5;
}

/* 表单样式（禁用任何输入字段） */
input, textarea, select {
    display: none;
}


