/* Base Styles */
:root {
  --primary-color: #8a2be2;
  --secondary-color: #ff6b6b;
  --accent-color: #ffd700;
  --text-color: #333;
  --light-text: #fff;
  --dark-bg: #222;
  --light-bg: #f5f5f5;
  --border-radius: 4px;
  --container-width: 1200px;
  --header-height: 70px;
  --footer-bg: #222;
  --game-bg: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Press Start 2P", "Courier New", monospace;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.2;
}

p {
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.site-header {
  background-color: var(--dark-bg);
  padding: 15px 0;
  border-bottom: var(--pixel-border);
  position: relative;
  overflow: hidden;
  height: 70px; /* 固定header高度 */
  display: flex;
  align-items: center;
}

/* 添加像素风格装饰 */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-color) 20px,
    var(--accent-color) 20px,
    var(--accent-color) 40px,
    var(--secondary-color) 40px,
    var(--secondary-color) 60px
  );
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.logo-image {
  height: 40px; /* 减小logo高度 */
  width: auto; /* 保持宽高比 */
  margin-right: 15px;
  /* 添加像素风格边框 */
  border: 2px solid #000;
  padding: 2px;
  background-color: #fff;
  object-fit: contain; /* 确保图片完全适应容器 */
}

.site-name {
  color: var(--accent-color);
  font-size: 1.2rem; /* 稍微减小字体大小 */
  text-transform: uppercase;
  letter-spacing: 2px;
  /* 添加文本阴影创造复古效果 */
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 #000;
  /* 添加闪烁动画 */
  animation: textFlicker 2s infinite alternate;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
  .site-name {
    font-size: 1rem;
  }

  .logo-image {
    height: 30px; /* 在小屏幕上进一步减小 */
  }
}

@media (max-width: 480px) {
  .site-name {
    font-size: 0.8rem;
  }

  .logo-image {
    height: 25px; /* 在最小屏幕上更小 */
    margin-right: 10px;
  }

  .site-header {
    padding: 10px 0;
    height: 60px; /* 在小屏幕上减小header高度 */
  }
}

.main-nav .nav-list {
  display: flex;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--light-text);
  font-size: 0.9rem;
  padding: 0.5rem;
  display: block;
}

.nav-link:hover {
  color: var(--accent-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
}

/* Main Content Styles */
.site-main {
  padding: 2rem 0;
}

/* Game Area Styles */
.game-section {
  padding: 40px 0;
  background-color: #121212;
  background-image: linear-gradient(rgba(33, 33, 33, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 33, 33, 0.8) 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative; /* 添加相对定位 */
}

/* 调整容器结构 */
.game-section .container {
  display: flex;
  flex-direction: column;
}

.section-title {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

/* 创建一个包装器来包含游戏区域和底部导航 */
.game-content-wrapper {
  display: flex;
  width: 100%;
  position: relative; /* 添加相对定位 */
}

/* 左侧内容区域包含游戏显示和底部导航 */
.game-left-content {
  width: 70%;
  display: flex;
  flex-direction: column;
}

/* 游戏显示区域 */
.game-display {
  background-color: var(--dark-bg);
  border: 4px solid #000;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 30px;
}

.game-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background-color: #000;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* 确保iframe显示 */
  background-color: #000;
}

.game-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 0;
  background-color: #000;
  padding: 20px;
}

.game-placeholder img {
  max-width: 150px;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.game-placeholder p {
  color: var(--light-text);
  text-align: center;
  font-size: 0.8rem;
}

.game-controls {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-top: var(--pixel-border);
}

.game-info {
  flex: 1;
}

.game-info h2 {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.game-info p {
  font-size: 0.6rem;
  color: var(--light-text);
  opacity: 0.8;
}

.control-buttons {
  display: flex;
  gap: 10px;
}

.pixel-button {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid #000;
  padding: 8px 12px;
  font-family: "Press Start 2P", cursive;
  font-size: 0.6rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 3px 3px 0 #000;
}

.pixel-button:hover {
  background-color: var(--secondary-color);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #000;
}

.pixel-button:active {
  transform: translate(3px, 3px);
  box-shadow: none;
}

/* 右侧游戏导航 - 调整为固定在右侧 */
.side-nav {
  width: 30%;
  background-color: var(--dark-bg);
  border: 4px solid #000;
  border-radius: 4px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  margin-left: 20px;
}

/* 右侧游戏导航布局修改为两个一排 */
.side-nav-games {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 两列 */
  gap: 15px;
  overflow-y: auto;
  flex: 1;
}

.nav-title {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 15px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.game-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.3);
  border: 2px solid #000;
  padding: 10px;
  border-radius: 4px;
  transition: all 0.3s;
}

.game-nav-item:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.5);
  border-color: var(--primary-color);
}

.game-nav-item img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: contain;
  aspect-ratio: 16/9;
  background-color: rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.game-nav-item .game-title {
  color: var(--light-text);
  font-size: 0.6rem;
  text-align: center;
  line-height: 1.2;
}

/* 底部游戏导航 */
.bottom-nav {
  background-color: var(--dark-bg);
  border: 4px solid #000;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* 添加像素风格装饰 */
.bottom-nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-color) 20px,
    var(--accent-color) 20px,
    var(--accent-color) 40px
  );
}

.bottom-nav .nav-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--accent-color);
  text-shadow: 2px 2px 0 #000;
  position: relative;
  display: inline-block;
  padding: 0 15px;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-nav .nav-title::before,
.bottom-nav .nav-title::after {
  content: "★";
  position: absolute;
  top: 0;
  color: var(--primary-color);
}

.bottom-nav .nav-title::before {
  left: -15px;
}

.bottom-nav .nav-title::after {
  right: -15px;
}

.bottom-nav-games {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

/* 底部导航游戏项样式优化 */
.bottom-nav .game-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--light-text);
  position: relative;
  width: 150px;
  height: auto;
}

.bottom-nav .game-nav-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
}

.bottom-nav .game-nav-item:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.6);
  border-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bottom-nav .game-nav-item img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: contain;
  aspect-ratio: 16/9;
  background-color: rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.bottom-nav .game-nav-item .game-title {
  color: var(--light-text);
  font-size: 0.6rem;
  text-align: center;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.bottom-nav .game-nav-item:hover .game-title {
  color: var(--accent-color);
}

/* 响应式设计调整 */
@media (max-width: 1024px) {
  .game-content-wrapper {
    flex-direction: column;
  }

  .game-left-content,
  .side-nav {
    width: 100%;
  }

  .side-nav {
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .side-nav-games {
    grid-template-columns: repeat(4, 1fr); /* 小屏幕上改为4列 */
  }
}

@media (max-width: 768px) {
  .side-nav-games {
    grid-template-columns: repeat(3, 1fr); /* 更小屏幕上改为3列 */
  }

  .bottom-nav-games {
    grid-template-columns: repeat(3, 1fr);
  }

  .bottom-nav .game-nav-item {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .side-nav-games {
    grid-template-columns: repeat(2, 1fr); /* 最小屏幕上改为2列 */
  }

  .bottom-nav-games {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-nav .game-nav-item {
    width: 100px;
  }
}

/* Animation Effects */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* 底部导航包装器 */
.game-bottom-wrapper {
  display: flex;
  justify-content: flex-start; /* 左对齐 */
  width: 100%;
}

/* 确保底部导航与游戏显示区域对齐 */
.game-bottom-wrapper .bottom-nav {
  margin-right: auto; /* 确保左对齐 */
}

/* 在小屏幕上调整 */
@media (max-width: 1024px) {
  .game-bottom-wrapper {
    justify-content: center; /* 在小屏幕上居中 */
  }

  .game-bottom-wrapper .bottom-nav {
    margin: 0 auto; /* 在小屏幕上居中 */
  }
}

/* SEO内容区域样式 */
.seo-content {
  padding: 60px 0;
  background-color: var(--light-bg);
}

/* Hero部分样式 */
.seo-hero {
  margin-bottom: 60px;
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 40px;
  border: 4px solid #000;
}

.seo-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-color) 20px,
    var(--accent-color) 20px,
    var(--accent-color) 40px,
    var(--secondary-color) 40px,
    var(--secondary-color) 60px
  );
}

.seo-title {
  color: var(--accent-color);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  text-shadow: 3px 3px 0 #000;
  position: relative;
}

.hero-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.hero-text {
  flex: 1;
  color: var(--light-text);
}

.hero-intro {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-text {
  font-size: 0.7rem;
}

.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cta-button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.8rem;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000;
}

.secondary-link {
  color: var(--accent-color);
  text-decoration: underline;
  font-size: 0.8rem;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-img {
  width: 100%;
  border: 4px solid #000;
  border-radius: 4px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
}

.hero-image-caption {
  font-size: 0.6rem;
  color: var(--light-text);
  text-align: center;
  margin-top: 10px;
  opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .seo-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .seo-hero {
    padding: 30px 20px;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-intro {
    font-size: 0.9rem;
  }
}

/* Features部分样式 */
.seo-feature {
  margin-bottom: 60px;
  padding: 40px;
  background-color: var(--light-bg);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.feature-item {
  display: flex;
  gap: 30px;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-left: 5px solid var(--primary-color);
}

.feature-item:nth-child(even) {
  border-left: none;
  border-right: 5px solid var(--secondary-color);
}

.feature-image {
  flex: 1;
  min-width: 300px;
}

.feature-img {
  width: 100%;
  border-radius: 8px;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-img:hover {
  transform: scale(1.02);
}

.feature-content {
  flex: 2;
}

.feature-title {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.feature-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.feature-description {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .feature-item {
    flex-direction: column;
  }

  .feature-item:nth-child(even) .feature-image {
    order: -1;
  }

  .feature-image {
    width: 100%;
    min-width: auto;
  }

  .feature-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .seo-feature {
    padding: 20px;
  }

  .feature-item {
    padding: 20px;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.8rem;
  }
}

/* What Is 部分样式 */
.seo-what-is {
  margin-bottom: 60px;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--primary-color);
}

.what-is-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.what-is-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.what-is-history,
.what-is-gameplay,
.what-is-modes {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.what-is-content h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
  position: relative;
}

.what-is-content p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color);
}

/* How To 部分样式 */
.seo-how-to {
  margin-bottom: 60px;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--secondary-color);
}

.how-to-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.how-to-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 30px;
}

.how-to-step {
  display: flex;
  gap: 20px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  position: relative;
}

.step-number {
  background-color: var(--secondary-color);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
  border: 2px solid #000;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color);
}

.controls-table {
  margin-top: 20px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.controls-table h4 {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 15px;
  margin: 0;
  font-size: 1rem;
}

.controls-table table {
  width: 100%;
  border-collapse: collapse;
}

.controls-table th,
.controls-table td {
  padding: 10px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 0.8rem;
}

.controls-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.controls-table tr:last-child td {
  border-bottom: none;
}

/* Why 部分样式 */
.seo-why {
  margin-bottom: 60px;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--accent-color);
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.why-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.why-item:nth-child(2) {
  border-left-color: var(--primary-color);
}

.why-item:nth-child(3) {
  border-left-color: var(--secondary-color);
}

.why-item:nth-child(4) {
  border-left-color: #6c5ce7;
}

.why-item:nth-child(5) {
  border-left-color: #00b894;
}

.why-item h3 {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 15px;
  position: relative;
}

.why-item:nth-child(2) h3 {
  color: var(--primary-color);
}

.why-item:nth-child(3) h3 {
  color: var(--secondary-color);
}

.why-item:nth-child(4) h3 {
  color: #6c5ce7;
}

.why-item:nth-child(5) h3 {
  color: #00b894;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color);
}

.why-conclusion {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 8px;
  border: 2px solid var(--accent-color);
}

.why-conclusion p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-color);
  font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .seo-what-is,
  .seo-how-to,
  .seo-why {
    padding: 25px;
  }

  .what-is-intro p,
  .how-to-intro p,
  .why-intro p {
    font-size: 1rem;
  }

  .what-is-content h3,
  .step-content h3,
  .why-item h3 {
    font-size: 1.1rem;
  }

  .how-to-step {
    flex-direction: column;
  }

  .step-number {
    margin-bottom: 15px;
  }
}

/* FAQ部分样式 */
.seo-faq {
  margin-bottom: 60px;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid #6c5ce7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: #f0f0f0;
  padding: 20px 25px;
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
  border-left: 4px solid #6c5ce7;
  position: relative;
}

.faq-question::before {
  content: "Q:";
  color: #6c5ce7;
  font-weight: bold;
  margin-right: 10px;
}

.faq-answer {
  padding: 20px 25px;
  background-color: #fff;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .seo-faq {
    padding: 25px;
  }

  .faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .faq-answer {
    padding: 15px 20px;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }
}
