
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #6C5CE7);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: rgba(10, 31, 68, 0.8);
    backdrop-filter: blur(10px);
    padding-top: 60px;
    box-sizing: border-box;
}

.navbar a {
    display: block;
    color: #ffffff;
    padding: 15px 20px;
    text-decoration: none;
    transition: background 0.3s;
}

.navbar a:hover {
    background: rgba(255, 167, 38, 0.2);
}

/* 主内容区样式 */
.main-content {
    margin-left: 200px;
    padding: 20px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    min-height: 100vh;
}

h1, h2, h3, h4 {
    color: #FFA726;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
}

pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow: auto;
}

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

/* 右侧工具栏样式 */
.sidebar {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 150px;
    background: rgba(10, 31, 68, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 8px;
}

.sidebar a {
    display: block;
    color: #ffffff;
    margin-bottom: 10px;
    text-decoration: none;
    text-align: center;
    padding: 10px;
    background: rgba(108, 92, 231, 0.2);
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.sidebar a:hover {
    background: rgba(255, 167, 38, 0.3);
    transform: scale(1.05);
}

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

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

/* 响应式设计 */
@media (max-width: 1440px) {
    .navbar {
        width: 180px;
    }
}

@media (max-width: 1200px) {
    .navbar {
        width: 160px;
    }
    .sidebar {
        display: none;
    }
}

@media (max-width: 1024px) {
    .main-content {
        margin-left: 160px;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 140px;
    }
    .main-content {
        margin-left: 140px;
    }
    .card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .navbar {
        width: 120px;
    }
    .main-content {
        margin-left: 120px;
    }
    .sidebar {
        width: 120px;
    }
}

@media (max-width: 320px) {
    .navbar {
        width: 100px;
    }
    .main-content {
        margin-left: 100px;
    }
}

/* 按钮样式 */
.button {
    background: linear-gradient(135deg, #6C5CE7, #FFA726);
    border: none;
    padding: 10px 20px;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #FFA726, #6C5CE7);
}

/* 提示框样式 */
.alert {
    background: rgba(255, 167, 38, 0.8);
    color: #0A1F44;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

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

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

.background-animation {
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
    animation: aurora-move 15s linear infinite;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

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

th {
    background: rgba(108, 92, 231, 0.6);
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

/* 代码块样式 */
pre code {
    display: block;
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    overflow-x: auto;
    color: #FFD700;
    font-family: 'Courier New', Courier, monospace;
}

/* 页脚样式 */
footer {
    background: rgba(10, 31, 68, 0.8);
    color: #ffffff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

