
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #000046, #1C0033);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 提示信息样式 */
.notice {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    font-size: 14px;
    color: #FFD700;
    text-shadow: 0px 2px 5px rgba(255, 215, 0, 0.8);
}

/* 容器布局 */
.container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    padding: 20px;
}

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

/* 左侧导航栏 */
.sidebar {
    background: linear-gradient(180deg, #1E1E1E, #333333);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.sidebar a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    color: #FFD700;
    transform: scale(1.05);
    text-shadow: 0px 2px 5px rgba(255, 215, 0, 0.8);
}

/* 右侧内容区 */
.content {
    background: linear-gradient(180deg, #121212, #222222);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

.content h1, .content h2, .content h3 {
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 0;
}

.content p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 高亮效果 */
.highlight {
    color: #FFD700;
    text-shadow: 0px 2px 5px rgba(255, 215, 0, 0.8);
}

/* 图片装饰 */
.image-decor {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

/* 按钮样式 */
.button {
    background: linear-gradient(135deg, #6A1B9A, #003F72);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    box-shadow: 0px 5px 15px rgba(0, 63, 114, 0.5);
}

/* 代码块样式 */
pre {
    background: #1E1E1E;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.5);
}

code {
    color: #FFD700;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

/* SVG 动画 */
svg {
    display: block;
    margin: 20px auto;
    width: 100px;
    height: 100px;
}

/* 自适应图表 */
.chart {
    width: 100%;
    height: 200px;
    background: linear-gradient(to right, #1E1E1E, #333333);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px 0;
}

.bar {
    position: absolute;
    bottom: 0;
    width: 20%;
    background: #FFFFFF;
    animation: grow 2s ease-in-out forwards;
}

@keyframes grow {
    0% { height: 0; }
    100% { height: 50%; }
}

