
/* 基础样式重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { width: 100%; height: 100%; font-family: 'Roboto', sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; }
body { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; background: linear-gradient(135deg, #651FFF, #0074D9); }
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; color: #fff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease-in-out; }
p { font-size: 1rem; margin: 1rem 0; line-height: 1.8; }
ul, ol { margin: 1rem 0; padding-left: 1.5rem; }
code, pre { background-color: rgba(255, 255, 255, 0.1); padding: 0.5rem; border-radius: 5px; font-family: 'Courier New', monospace; }

/* 全局布局容器 */
.container { width: 90%; max-width: 1400px; margin: 0 auto; padding: 2rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.header, .footer { width: 100%; text-align: center; padding: 2rem 0; background: rgba(0, 0, 0, 0.2); color: #fff; }
.header h1 { font-size: 2.5rem; letter-spacing: 2px; }
.footer p { font-size: 0.9rem; opacity: 0.8; }

/* 渐变背景模块 */
.gradient-module { background: linear-gradient(45deg, #FFC300, #FF5733); border-radius: 10px; padding: 2rem; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease; }
.gradient-module:hover { transform: translateY(-5px); }

/* 图片展示区域 */
.image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.image-grid img { width: 100%; height: auto; border-radius: 10px; object-fit: cover; transition: transform 0.3s ease; }
.image-grid img:hover { transform: scale(1.1); }

/* 数据可视化区域 */
.chart-container { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.chart-bar { width: 20px; margin: 0 5px; transition: height 0.5s ease, background-color 0.3s ease; }
.chart-bar:hover { background-color: #FFC300; }

/* 表格样式 */
table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: rgba(255, 255, 255, 0.1); }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
th { background: rgba(0, 0, 0, 0.2); }

/* 响应式设计 */
@media (max-width: 768px) {
    .container { grid-template-columns: 1fr; }
    .header h1 { font-size: 2rem; }
}
@media (min-width: 1200px) {
    .container { grid-template-columns: repeat(3, 1fr); }
}

