/* 全局重置（SEO+兼容性） */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}
html {
  scroll-behavior: smooth;
  background-color: #f9f9f9;
}
body {
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
ul {
  list-style: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 面包屑导航（SEO友好） */
.breadcrumb {
  padding: 15px 0;
  font-size: 14px;
  color: #666;
}
.breadcrumb a {
  color: #e67e22;
}
.breadcrumb span {
  margin: 0 5px;
}

/* 主导航栏（固定顶部，用户体验+SEO） */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 15px 0;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 22px;
  font-weight: bold;
  color: #e67e22;
}
.nav-menu {
  display: flex;
  gap: 25px;
}
.nav-menu a {
  font-weight: 500;
  color: #333;
}
.nav-menu a:hover {
  color: #e67e22;
}

/* Hero区域（突出主题，与轮播分离） */
.hero {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: #fff;
  padding: 60px 0;
  border-radius: 8px;
  margin: 20px auto;
}
.hero-content {
  text-align: center;
}
.hero h1 {
  font-size: 30px;
  margin-bottom: 15px;
}
.hero p {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}
.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #fff;
  color: #e67e22;
  font-weight: bold;
  border-radius: 4px;
}
.hero-btn:hover {
  background-color: #f8f8f8;
  color: #d35400;
}

/* 轮播图（SEO友好，响应式） */
.carousel {
  position: relative;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 8px;
}
.carousel-slide {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  flex: 0 0 100%;
}
.carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255,255,255,0.8);
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

/* 核心布局：左70%+右30% 黄金SEO布局 */
.main-content {
  display: flex;
  gap: 20px;
  margin: 30px auto;
  align-items: flex-start;
}
.left-content {
  flex: 7; /* 70%宽度 */
  min-width: 0;
}
.right-sidebar {
  flex: 3; /* 30%宽度 */
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 左侧内容板块（丰富内容，SEO友好） */
.content-section {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.content-section h2 {
  color: #e67e22;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.content-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #2c3e50;
}
.content-item p {
  color: #666;
  margin-bottom: 10px;
}
.content-item a {
  color: #e67e22;
  font-weight: 500;
}
.meta {
  font-size: 12px;
  color: #999;
}
.submit-box {
  background-color: #fef9e7;
  padding: 20px;
  border-radius: 8px;
}
.submit-rules {
  margin: 15px 0;
  padding-left: 20px;
  list-style: disc;
  color: #666;
}
.submit-btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: #e67e22;
  color: #fff;
  border-radius: 4px;
}
.about-section {
  margin-bottom: 20px;
}
.about-list {
  padding-left: 20px;
  list-style: disc;
  margin: 15px 0;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 右侧边栏样式（SEO+友情链接） */
.sidebar-title {
  font-size: 16px;
  color: #e67e22;
  border-bottom: 2px solid #e67e22;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.link-list a {
  background-color: #f5f5f5;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
}
.link-list a:hover {
  background-color: #e67e22;
  color: #fff;
}
.qa-list, .update-list {
  padding-left: 10px;
  font-size: 14px;
}
.qa-list li, .update-list li {
  margin-bottom: 8px;
}
.qa-list a {
  color: #333;
}
.qa-list a:hover {
  color: #e67e22;
}
.notice-box {
  background-color: #fff8e1;
  padding: 15px;
  border-left: 4px solid #e67e22;
  border-radius: 4px;
  font-size: 14px;
}
.tips-box {
  background-color: #fef9e7;
  padding: 15px;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
}
.contact-btn a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background-color: #e67e22;
  color: #fff;
  border-radius: 4px;
}

/* 页脚样式（SEO+站群适配） */
.footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}
.footer-col {
  flex: 1;
  min-width: 180px;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #444;
}
.foot-link {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}
.foot-link a {
  color: #ccc;
}
.foot-link a:hover {
  color: #fff;
}
.copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #ccc;
  flex-wrap: wrap;
  gap: 10px;
}
.copyright-right a {
  color: #ccc;
  margin-left: 10px;
}
.copyright-right a:hover {
  color: #fff;
}

/* 响应式适配（移动端SEO友好） */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }
  .nav-menu {
    gap: 15px;
    font-size: 14px;
  }
  .carousel-item img {
    height: 200px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .footer-wrap {
    gap: 20px;
  }
  .copyright {
    flex-direction: column;
    text-align: center;
  }
}