
/* 基础页面样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #00008B, #004445);
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* 左侧导航栏样式 */
.left-sidebar {
    background: radial-gradient(circle, rgba(17, 17, 17, 0.9), transparent);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    padding: 20px;
    position: relative;
    z-index: 2;
}

.left-sidebar h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FFA500;
}

.left-sidebar ul {
    list-style: none;
    padding: 0;
}

.left-sidebar li {
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.left-sidebar li:hover {
    color: #007BFF;
    transform: translateX(5px);
}

/* 主内容区域样式 */
.main-content {
    background: linear-gradient(135deg, #1E1E1E, #2C2C2C);
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.main-content h2 {
    color: #FFA500;
    font-size: 28px;
    margin-bottom: 20px;
}

.main-content p {
    color: #f4f4f4;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.main-content pre {
    background: #333;
    color: #00ff00;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 14px;
}

.main-content code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

/* 图片展示样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.image-gallery img {
    width: calc(25% - 10px);
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .image-gallery img {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .image-gallery img {
        width: 100%;
    }
}

/* 按钮样式 */
.button {
    background: linear-gradient(135deg, #FFA500, #FF4500);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.button:active {
    transform: scale(0.98);
}

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

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #00008B, #004445, #1E1E1E);
    background-size: 300% 300%;
    animation: aurora-move 15s infinite alternate;
    z-index: -1;
    opacity: 0.3;
}

/* 提示文字样式 */
.tip {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    margin-top: 20px;
}

