
/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局字体与背景 */
body {
    font-family: 'Lato', 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    padding: 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Roboto Mono', monospace;
    color: #00ffcc;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
}

/* 段落样式 */
p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #e0e0e0;
}

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

th, td {
    padding: 12px 15px;
    border: 1px solid #444;
    text-align: left;
}

th {
    background-color: #1c1c1c;
    color: #00ffcc;
}

tr:nth-child(even) {
    background-color: #2a2a2a;
}

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

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

/* 按钮样式 */
button {
    background: #00ffcc;
    color: #0f2027;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

button:hover {
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.7);
    transform: scale(1.05);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.navbar a {
    display: block;
    margin-bottom: 10px;
    color: #00ffcc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ff4081;
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
}

/* 图片样式 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

body {
    background: radial-gradient(circle, rgb(0, 0, 0), transparent), linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-size: 400% 400%;
    animation: aurora-move 15s linear infinite;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .main-content {
        padding: 30px;
    }
}

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

@media (max-width: 1024px) {
    .main-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: 10px;
        left: 10px;
    }

    .main-content {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    p, th, td {
        font-size: 0.9rem;
    }

    button {
        font-size: 0.9rem;
    }
}

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

    p, th, td {
        font-size: 0.8rem;
    }

    button {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .main-content {
        padding: 10px;
    }

    h1 {
        font-size: 1.2rem;
    }

    p, th, td {
        font-size: 0.7rem;
    }

    button {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
}

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

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

/* 视觉提示 */
.alert {
    background: rgba(255, 0, 128, 0.2);
    border-left: 5px solid #ff4081;
    padding: 10px 15px;
    margin-bottom: 20px;
}

