
/* 智网金融科技平台样式设计 */

/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0d1117, #000000);
    color: #ffffff;
    line-height: 1.6;
}

/* 容器 */
.container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 20px;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

/* 侧边栏 */
.sidebar {
    grid-column: span 3;
    background: rgba(52, 211, 153, 0.1);
    padding: 20px;
    border-radius: 8px;
}

/* 主内容区域 */
.main-content {
    grid-column: span 9;
    background: rgba(168, 85, 247, 0.1);
    padding: 20px;
    border-radius: 8px;
}

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Inter', sans-serif;
    color: #34d399;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* 段落样式 */
p {
    margin-bottom: 15px;
}

/* 列表样式 */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: rgba(52, 211, 153, 0.2);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
}

/* 代码块样式 */
pre {
    background: #1e293b;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

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

/* 按钮样式 */
.button {
    background-color: #0d1117;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover {
    background-color: #34d399;
    transform: scale(1.1);
}

/* 背景形状 */
.background-shape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 211, 153, 0.2);
    z-index: -1;
    border-radius: 50%;
    animation: float 15s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

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

/* 链接样式 */
a {
    color: #34d399;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

@media (max-width: 1200px) {
    .sidebar {
        grid-column: span 4;
    }
    .main-content {
        grid-column: span 8;
    }
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(8, 1fr);
    }
    .sidebar {
        grid-column: span 2;
    }
    .main-content {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(4, 1fr);
    }
    .sidebar {
        grid-column: span 4;
    }
    .main-content {
        grid-column: span 4;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.2em;
    }
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .sidebar, .main-content {
        grid-column: span 2;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.3em;
    }
    h3 {
        font-size: 1em;
    }
    .button {
        padding: 8px 16px;
    }
}

