
/* 基础样式设置 */
body, html { margin: 0; padding: 0; font-family: 'Roboto', sans-serif; height: 100%; overflow-x: hidden; }
body { background: linear-gradient(135deg, #1A237E, #651FFF); color: #fff; line-height: 1.6; }
.container { max-width: 1400px; margin: 0 auto; padding: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; }
header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(26, 35, 126, 0.8); z-index: 1000; }
nav { display: flex; justify-content: space-around; align-items: center; padding: 15px 0; }
nav a { color: #E8EAF6; text-decoration: none; font-size: 18px; transition: all 0.3s ease; }
nav a:hover { color: #651FFF; transform: scale(1.1); }

/* 主体内容样式 */
.main-content { margin-top: 80px; flex: 1 1 100%; min-height: calc(100vh - 80px); display: flex; flex-direction: column; align-items: center; }
.article-section { background: rgba(255, 255, 255, 0.1); border-radius: 10px; padding: 20px; margin: 20px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); width: 90%; max-width: 1200px; backdrop-filter: blur(10px); }
.article-section h2, .article-section h3 { color: #651FFF; }
.article-section p, .article-section pre { color: #E8EAF6; font-size: 16px; line-height: 1.8; }
.article-section pre { background: rgba(255, 255, 255, 0.05); padding: 15px; border-radius: 5px; overflow-x: auto; }

/* 图片与卡片样式 */
.image-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 20px 0; }
.image-gallery img { width: 150px; height: 150px; object-fit: cover; border-radius: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.image-gallery img:hover { transform: scale(1.1); box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); }

/* 响应式设计 */
@media (min-width: 768px) {
    .container { flex-direction: row; }
    .article-section { width: 65%; }
}
@media (min-width: 1024px) {
    .article-section { width: 55%; }
    .image-gallery img { width: 200px; height: 200px; }
}
@media (min-width: 1200px) {
    nav a { font-size: 20px; }
    .article-section { padding: 30px; }
}

/* 动画效果 */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 2s ease-in-out; }
.pulse { animation: pulse 1.5s infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.05); } }

/* 提示信息样式 */
.tip { text-align: center; font-size: 14px; color: #ccc; margin: 20px 0; }

