
/* 主体布局样式 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333333;
  background-color: #f0f4f8;
  overflow-x: hidden;
}

/* 背景动画 */
.background-animation {
  background: linear-gradient(-45deg, #0d47a1, #424242, #0d47a1, #424242);
  background-size: 400% 400%;
  animation: subtleMove 15s ease infinite;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

@keyframes subtleMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 导航栏样式 */
.header {
  background: linear-gradient(135deg, #0d47a1, #424242);
  color: #ffffff;
  padding: 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .logo {
  font-size: 1.5em;
  font-weight: bold;
}

.header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.header nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s ease;
}

.header nav ul li a:hover {
  color: #0288d1;
}

/* 主内容区样式 */
.main-content {
  padding: 100px 20px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.notice {
  background-color: #0288d1;
  color: #ffffff;
  padding: 15px;
  text-align: center;
  font-size: 1.2em;
  border-radius: 5px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 文章内容样式 */
article {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

article h2 {
  color: #0d47a1;
  font-size: 2em;
  margin-bottom: 20px;
}

article h3 {
  color: #424242;
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
}

article p {
  font-size: 1em;
  line-height: 1.6;
  color: #424242;
  margin-bottom: 15px;
}

article pre {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 20px;
}

article code {
  color: #d32f2f;
  font-family: 'Courier New', Courier, monospace;
}

/* 图片装饰样式 */
.decorative-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.decorative-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decorative-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .main-content {
    padding: 120px 10px 10px 10px;
  }

  article {
    padding: 20px;
  }

  .decorative-images {
    grid-template-columns: 1fr;
  }

  .header nav ul li a {
    font-size: 1.2em;
  }
}

/* 按钮样式 */
.button {
  background-color: #0288d1;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1em;
}

.button:hover {
  background-color: #026c9e;
  transform: scale(1.05);
}

/* 折叠区域样式 */
.collapsible {
  background-color: #f5f5f5;
  color: #424242;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.2em;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.collapsible:hover {
  background-color: #e0f7fa;
}

.content {
  padding: 0 15px;
  display: none;
  overflow: hidden;
  background-color: #fafafa;
  border-radius: 5px;
  margin-bottom: 15px;
}

.content.show {
  display: block;
}

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

thead {
  background-color: #0d47a1;
  color: #ffffff;
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #dddddd;
}

tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

tbody tr:hover {
  background-color: #f1f1f1;
}

/* 代码块样式 */
.code-block {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 20px;
  font-family: 'Courier New', Courier, monospace;
}

.code-block code {
  color: #d32f2f;
}

/* 仪表盘样式 */
.dashboard {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #fafafa;
  padding: 20px;
  border-radius: 8px;
}

.dashboard-item {
  flex: 1 1 200px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.dashboard-item h4 {
  margin-bottom: 10px;
  color: #424242;
}

.dashboard-item p {
  font-size: 1.2em;
  color: #0288d1;
}

