
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A192F, #000);
    color: #F5F5F5;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    color: #F5F5F5;
    margin: 20px 0 10px 0;
}

/* 链接样式 */
a {
    color: #38E54D;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #645CBB;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    z-index: 1000;
}
.navbar .logo {
    font-size: 24px;
    color: #38E54D;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.navbar ul li a {
    color: #F5F5F5;
    font-size: 16px;
    transition: color 0.3s ease;
}
.navbar ul li a:hover {
    color: #38E54D;
}

/* 主容器样式 */
.container {
    max-width: 1200px;
    margin: 100px auto 50px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
}

/* 侧边栏样式 */
.sidebar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
}
.sidebar h3 {
    color: #38E54D;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li {
    margin: 10px 0;
}
.sidebar ul li a {
    color: #F5F5F5;
    font-size: 14px;
    transition: color 0.3s ease;
}
.sidebar ul li a:hover {
    color: #645CBB;
}

/* 主要内容样式 */
.main-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
}
.main-content pre {
    background: #1E2A38;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    color: #F5F5F5;
    font-family: 'Courier New', Courier, monospace;
}
.main-content code {
    background: #1E2A38;
    padding: 2px 4px;
    border-radius: 3px;
    color: #38E54D;
}
.main-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.main-content table, th, td {
    border: 1px solid #38E54D;
}
.main-content th, td {
    padding: 10px;
    text-align: left;
}
.main-content th {
    background: #0A192F;
    color: #38E54D;
}
.main-content td {
    background: rgba(255, 255, 255, 0.05);
}

/* 图片样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}
.image-gallery img {
    width: 100%;
    max-width: 320px;
    border-radius: 10px;
}

/* 底部样式 */
.footer {
    text-align: center;
    padding: 20px;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    color: #F5F5F5;
}

/* 按钮样式 */
.button {
    background: #645CBB;
    color: #F5F5F5;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    background: #38E54D;
    transform: scale(1.1);
}

/* 悬浮操作按钮 */
.floating-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #38E54D;
    color: #F5F5F5;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.floating-button:hover {
    background: #645CBB;
    transform: rotate(45deg);
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.animated-background {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .container {
        max-width: 1100px;
    }
}
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
}
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }
    .sidebar {
        display: none;
    }
    .main-content {
        padding: 20px;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
}
@media (max-width: 320px) {
    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }
}

