
/* 基本样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* 头部样式 */
header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(135deg, #142850, #274c77);
    border-bottom: 2px solid #ffffff;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #f7971e, #ffd200);
    -webkit-background-clip: text;
    color: transparent;
}

header p {
    font-size: 1.2em;
    color: #d1d1d1;
}

/* 文章内容 */
article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

article h2, article h3, article h4 {
    color: #ffd200;
    margin-top: 20px;
}

article ul {
    list-style: disc inside;
    margin: 10px 0;
}

article pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
}

.article-highlight {
    background: rgba(255, 215, 0, 0.2);
    padding: 10px;
    border-left: 5px solid #ffd200;
    margin: 20px 0;
}

/* 图片样式 */
img.decorative {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* 动画效果 */
.loader {
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4a90e2, #ff7f50);
    animation: line-expand 2s ease-in-out forwards;
}

@keyframes line-expand {
    from { width: 0; }
    to { width: 100%; }
}

.line:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 127, 80, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 网络节点样式 */
.network-node {
    width: 20px;
    height: 20px;
    background-color: #ff7f50;
    border-radius: 50%;
    position: relative;
    margin: 10px;
}

.network-node::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 30px;
    height: 30px;
    border: 1px solid #4a90e2;
    border-radius: 50%;
}

/* 按钮样式 */
.button {
    background: linear-gradient(135deg, #4a90e2, #50c9c3);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.button:hover {
    background: linear-gradient(135deg, #50c9c3, #4a90e2);
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header h1 {
        font-size: 2.2em;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
}

@media (max-width: 1024px) {
    article {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    article {
        padding: 20px;
    }
    .network-node {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    article {
        padding: 15px;
    }
    .button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.5em;
    }
    article {
        padding: 10px;
    }
    .button {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* 提示文字样式 */
.reference-note {
    text-align: center;
    font-size: 1em;
    color: #d1d1d1;
    margin: 30px 0;
}

