
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 设置网页的基础字体和背景 */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #f0f0f0;
    overflow-x: hidden;
}

/* 容器布局 */
.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
}

/* 侧边导航栏样式 */
.sidebar {
    width: 20%;
    background-color: #1e1e1e;
    padding: 20px;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    transition: width 0.3s;
}

.sidebar a {
    display: block;
    color: #39FF14;
    text-decoration: none;
    margin: 15px 0;
    font-size: 1rem;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: #FF8C00;
}

/* 主内容区域样式 */
.main-content {
    margin-left: 20%;
    width: 60%;
    padding: 20px;
    background: #0f2027;
}

.main-content h2,
.main-content h3,
.main-content h4 {
    color: #39FF14;
    margin-bottom: 15px;
}

.main-content p {
    margin-bottom: 20px;
    font-size: 1rem;
}

/* 代码块样式 */
.main-content pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.main-content pre code {
    color: #FF8C00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

/* 信息面板样式 */
.info-panel {
    width: 20%;
    background-color: #1e1e1e;
    padding: 20px;
    position: fixed;
    right: 0;
    height: 100%;
    overflow-y: auto;
    transition: width 0.3s;
}

.info-panel .asset-status {
    background: #2c5364;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-panel .asset-status h4 {
    color: #FF8C00;
    margin-bottom: 10px;
}

.info-panel .asset-status p {
    font-size: 0.9rem;
}

/* 图片样式 */
img.decorative {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px 0;
}

img.decorative:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, #39FF14, #FF8C00);
    color: #1e1e1e;
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.3s, background 0.3s;
    font-size: 1rem;
}

.button:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #FF8C00, #39FF14);
}

/* 导航系统样式 */
.nav-system {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.9);
    padding: 10px 20px;
    z-index: 1000;
}

.nav-system ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-system ul li {
    margin: 0 15px;
}

.nav-system ul li a {
    color: #39FF14;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-system ul li a:hover {
    color: #FF8C00;
}

/* 微交互动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand-logo {
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes draw {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

.chart-line {
    stroke-dasharray: 1000;
    animation: draw 2s ease-in-out forwards;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .sidebar,
    .info-panel {
        width: 100%;
        position: relative;
    }
    .main-content {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    img.decorative {
        max-width: 100%;
    }
}

