/* ====== 深色背景 + 金色字体风格 ====== */
body {
  margin: 0;
  padding: 0;
  font-family: "KaiTi", "STKaiti", serif;
  background: #2c3e50; /* 深蓝色背景 */
  color: #ecf0f1; /* 浅灰色字体 */
}
.navbar {
  background: #34495e; /* 更深的蓝色导航栏 */
  padding: 10px 20px;
}
.navbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
}
.navbar li {
  margin-left: 20px;
}
.navbar a {
  color: #f1c40f; /* 金色链接 */
  text-decoration: none;
  font-weight: bold;
}
/* 页面主体 */
.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(44, 62, 80, 0.8); /* 半透明深蓝色背景 */
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  text-align: center;
}
.container h1 {
  font-size: 48px;
  color: #f1c40f; /* 金色标题 */
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.intro-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: justify;
}
.section {
  margin-bottom: 30px;
  text-align: justify;
}
.section h2 {
  font-size: 32px;
  color: #f39c12; /* 橙金色标题 */
  margin-bottom: 15px;
  border-bottom: 2px solid #f39c12;
  padding-bottom: 10px;
}
.section p {
  line-height: 1.8;
}
.section a {
  color: #f1c40f;
  text-decoration: none;
  font-weight: bold;
}
.section a:hover {
  text-decoration: underline;
}
.icon-showcase {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}
.icon-item {
  text-align: center;
}
.animated-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  transition: transform 0.5s ease-in-out;
}
.animated-icon:hover {
  transform: rotateY(180deg) scale(1.1); /* 旋转和放大动画 */
}
.icon-item p {
  font-size: 16px;
  color: #ecf0f1;
}
/* 底部版权 */
.footer {
  text-align: center;
  font-size: 12px;
  color: #95a5a6;
  padding: 20px;
}

/* ====== 响应式设计 ====== */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    align-items: center;
  }
  
  .navbar li {
    margin: 5px 0;
  }
  
  .container {
    margin: 20px 10px;
    padding: 20px;
  }
  
  .container h1 {
    font-size: 32px;
  }
  
  .intro-text {
    font-size: 16px;
  }
  
  .section h2 {
    font-size: 24px;
  }
  
  .icon-showcase {
    flex-direction: column;
    align-items: center;
  }
  
  .icon-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 10px 5px;
    padding: 15px;
  }
  
  .container h1 {
    font-size: 24px;
  }
  
  .intro-text {
    font-size: 14px;
  }
  
  .section h2 {
    font-size: 20px;
  }
  
  .animated-icon {
    width: 80px;
    height: 80px;
  }
  
  .icon-item p {
    font-size: 14px;
  }
}