.page-game-guides {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-guides__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #017439; /* Brand color as hero background */
}

.page-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3; /* Slightly transparent to let background color show */
}

.page-game-guides__hero-section .page-game-guides__container {
  position: relative;
  z-index: 1;
}

.page-game-guides__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-game-guides__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-game-guides__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  color: #017439; /* Brand color for titles */
}

.page-game-guides__section-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  text-align: center;
  color: #f0f0f0;
}

.page-game-guides__introduction-section,
.page-game-guides__strategy-section,
.page-game-guides__cta-bottom-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Body background color from shared.css */
  color: #ffffff; /* Light text for dark background */
}

.page-game-guides__introduction-section .page-game-guides__section-title,
.page-game-guides__strategy-section .page-game-guides__section-title,
.page-game-guides__cta-bottom-section .page-game-guides__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-guides__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__categories-section,
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: rgba(1, 116, 57, 0.1); /* Lighter brand color tint */
  color: #ffffff;
}

.page-game-guides__categories-section .page-game-guides__section-title,
.page-game-guides__faq-section .page-game-guides__section-title {
  color: #ffffff;
}

.page-game-guides__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white card background */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-game-guides__card-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  color: #FFFF00;
}

.page-game-guides__card-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__card-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-game-guides__btn-tertiary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: auto; /* Push button to bottom */
}

.page-game-guides__btn-tertiary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-game-guides__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-guides__strategy-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #017439;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-game-guides__strategy-list li strong {
  color: #FFFF00;
}

.page-game-guides__faq-list {
  margin-top: 40px;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-game-guides__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-game-guides__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-game-guides__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-game-guides__faq-answer a:hover {
  color: #f0f0f0;
}

.page-game-guides__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-game-guides__cta-bottom-section .page-game-guides__section-title {
  color: #ffffff;
}

.page-game-guides__btn-large {
  font-size: 1.2em;
  padding: 18px 40px;
  margin-top: 30px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 3em;
  }

  .page-game-guides__section-title {
    font-size: 2em;
  }

  .page-game-guides__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-game-guides__hero-section {
    padding-top: var(--header-offset, 80px) !important; /* Adjusted for smaller screens */
    padding-bottom: 60px !important;
  }

  .page-game-guides__hero-title {
    font-size: 2.2em !important;
    margin-bottom: 15px !important;
  }

  .page-game-guides__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  /* 按钮与按钮容器 */
  .page-game-guides__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__btn-tertiary,
  .page-game-guides__btn-large,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-game-guides__cta-bottom-section .page-game-guides__btn-primary {
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 通用图片与容器 */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-game-guides__container,
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* 产品展示图区域 (Categories Section) */
  .page-game-guides__grid {
    grid-template-columns: 1fr !important; /* Single column layout */
    gap: 20px !important;
  }

  .page-game-guides__card {
    padding: 20px !important;
  }

  .page-game-guides__card-image {
    height: 180px !important; /* Adjust height for mobile cards */
  }

  /* 其他内容模块 */
  .page-game-guides__introduction-section,
  .page-game-guides__strategy-section,
  .page-game-guides__categories-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom-section {
    padding: 40px 0 !important;
  }

  .page-game-guides__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px !important;
  }

  .page-game-guides__section-subtitle,
  .page-game-guides__text-block,
  .page-game-guides__strategy-list li,
  .page-game-guides__faq-question,
  .page-game-guides__faq-answer p {
    font-size: 1em !important;
  }

  .page-game-guides__faq-question {
    padding: 15px 20px !important;
  }

  .page-game-guides__faq-answer {
    padding: 0 20px !important;
  }

  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 10px 20px !important;
  }
}