body { margin:0; padding:0; font-family:sans-serif; background:#f4f4f4; color:#333; }
header { text-align:center; background:#fff9ec; color:#fff; padding:2em 1em; }
header img { max-width:150px; height:auto; display:block; margin:0 auto 1em; }
.btn { display:inline-block; background:#ee0707; color:white; padding:0.75em 1.5em; text-decoration:none; border-radius:4px; margin-top:1em; }
nav ul { list-style:none; padding:0; margin:0; display:flex; justify-content:center; background:#fff9ec; }
nav ul li { margin:0 .5em; }
nav ul li a { color:white; text-decoration:none; padding:.5em 1em; display:block; }
main { max-width:800px; margin:2em auto; padding:0 1em; background:white; border-radius:6px; }
h1,h2,h3 { color:#1e293b; }
ol { margin-left:1.2em; }
footer { text-align:center; padding:1em; background:#ddd; margin-top:2em; font-size:0.9em; }
.faq-section { margin-top: 2em; }
.faq-section h2 { margin-bottom: 0.5em; }
.faq-item { margin-bottom: 1em; }
.faq-item h3 { margin-bottom: 0.3em; font-size: 1.1em; }

/* 通用导航样式 */
nav {
  background: #fff9ec; /* 修改导航背景颜色为淡黄色 */
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  display: block;
  padding: 1em;
  color: white;
  text-decoration: none;
}

nav ul li a:hover {
  background: #034c90;
}

/* 移动设备隐藏横向菜单，显示按钮 */
.menu-toggle {
  display: none;
  background: #fff9ec; /* 修改为淡黄色 */
  color: #fff;
  border: none;
  padding: 0.6em 1em;
  cursor: pointer;
  font-size: 1.2em;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1001;
  border-radius: 4px;
}

nav.mobile-sidebar {
  display: none;
  position: fixed;
  top: 0;
  left: -220px;
  width: 200px;
  height: 100%;
  background: #fff9ec; /* 修改为淡黄色 */
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 3rem;
  z-index: 1000;
  border-right: 3px solid #333;
}

nav.mobile-sidebar.open {
  left: 0;
}

nav.mobile-sidebar ul {
  display: block;
}

nav.mobile-sidebar ul li a {
  padding: 1rem;
  font-weight: bold;
}

/* 响应式切换 */
@media (max-width: 768px) {
  nav.desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  nav.mobile-sidebar {
    display: block;
  }
}

body {
  font-family: Arial, sans-serif;
  background: #f8f9fa;
  margin: 0;
  padding: 0;
}

.about-container {
  max-width: 800px;
  margin: 50px auto;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.about-container h1 {
  margin-bottom: 20px;
  color: #f3a000;
}

.about-container p {
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

footer {
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}

.site-header {
  background-color: #fff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 36px;
  border-radius: 4px;
  margin-right: 10px;
}

.site-logo span {
  font-size: 18px;
  font-weight: bold;
  color: #111;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links a {
  color: #f3a000;
  text-decoration: none;
  font-size: 15px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #f3a000;
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}
