
/* 基础样式设置 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background: radial-gradient(circle, rgba(30,30,45,1) 0%, rgba(0,0,0,1) 100%);
    color: #FFFFFF;
    overflow-x: hidden;
}

/* 导航栏样式 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
}

.sidebar h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    color: #39FF14;
    margin-bottom: 40px;
}

.sidebar a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 18px;
    margin: 15px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.sidebar a:hover {
    color: #872C5B;
    transform: scale(1.1);
}

/* 主要内容区域 */
.main-content {
    margin-left: 220px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(30,30,45,0.9), rgba(0,0,0,0.9));
    min-height: 100vh;
    box-sizing: border-box;
    animation: aurora-move 20s linear infinite;
}

@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.main-content h2, .main-content h3, .main-content h4 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #39FF14;
    margin-bottom: 20px;
}

.main-content p {
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.main-content pre {
    background: #1E1E2D;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.main-content code {
    color: #39FF14;
    font-family: 'Courier New', Courier, monospace;
}

/* 示例数据展示 */
.sample-data {
    background: rgba(55, 44, 91, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}

.sample-data h3 {
    color: #FF5722;
    margin-bottom: 15px;
}

.sample-data ul {
    list-style-type: disc;
    padding-left: 20px;
}

.sample-data li {
    margin-bottom: 10px;
    color: #FFFFFF;
}

/* 代码块样式 */
.code-block {
    background-color: #1E1E2D;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.code-block code {
    color: #39FF14;
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', Courier, monospace;
}

/* 按钮样式 */
.button {
    background: #39FF14;
    color: #000000;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background: #872C5B;
    transform: translateY(-3px);
}

/* 图片样式 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.image-gallery img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

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

@media (max-width: 1200px) {
    .sidebar {
        width: 180px;
    }

    .main-content {
        margin-left: 180px;
        padding: 25px;
    }

    .sidebar h1 {
        font-size: 20px;
    }

    .sidebar a {
        font-size: 16px;
    }

    .image-gallery img {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 160px;
    }

    .main-content {
        margin-left: 160px;
        padding: 20px;
    }

    .sidebar h1 {
        font-size: 18px;
    }

    .sidebar a {
        font-size: 14px;
    }

    .image-gallery img {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        flex-direction: row;
        justify-content: space-around;
        padding: 10px 0;
    }

    .main-content {
        margin-left: 0;
        padding: 15px;
    }

    .image-gallery {
        flex-direction: column;
        align-items: center;
    }

    .image-gallery img {
        width: 90%;
        height: auto;
    }
}

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

    .sidebar a {
        font-size: 12px;
    }

    .button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .image-gallery img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 320px) {
    .sidebar a {
        font-size: 10px;
    }

    .button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .main-content {
        padding: 10px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 2s ease-in-out;
}

/* 提示信息样式 */
.notice {
    background: rgba(55, 44, 91, 0.9);
    padding: 10px 20px;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
    animation: fadeIn 3s ease-in-out;
}

