
/* 全局样式与渐变背景 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #001f3f, #0074d9);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #ff851b;
}

p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
}

a {
    color: #ff851b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff4136;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.image-section {
    width: calc(60% - 20px);
    margin-bottom: 20px;
    position: relative;
}

.text-section {
    width: calc(40% - 20px);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .image-section, .text-section {
        width: 100%;
    }
}

/* 图片装饰 */
.decorative-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 渐变卡片 */
.card {
    background: linear-gradient(135deg, #1e2c3a, #2a3f54);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.node {
    width: 50px;
    height: 50px;
    background-color: #ff851b;
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin: 0 auto;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #001f3f;
    color: #ffffff;
}

td {
    background-color: #0074d9;
}

/* 高亮代码块 */
pre {
    background: #1e2c3a;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

/* 提示信息 */
.info-box {
    background: linear-gradient(135deg, #ff851b, #ff4136);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
}

/* 小屏优化 */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.3rem;
    }
    p {
        font-size: 0.9rem;
    }
}

