.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light background */
  line-height: 1.6;
}

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

.page-game-guides__section {
  padding: 60px 0;
}

.page-game-guides__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
  line-height: 1.2;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-game-guides__hero-section {
  padding-top: 0; /* Ensures no double padding with body */
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px; /* Constrain content width */
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  margin-bottom: 20px; /* Space between image and text */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__hero-text-block {
  padding: 0 20px 40px;
  max-width: 800px;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-read-more {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping by default */
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-game-guides__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
  background-color: #e0f0f8;
}

.page-game-guides__btn-read-more {
  background-color: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-game-guides__btn-read-more:hover {
  background-color: #c96706;
  border-color: #c96706;
}

/* Introduction Section */
.page-game-guides__introduction .page-game-guides__image-content {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Why Choose Section */
.page-game-guides__why-choose .page-game-guides__section-title,
.page-game-guides__why-choose .page-game-guides__text-block {
  color: #FFFFFF;
}

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

.page-game-guides__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-game-guides__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: 700;
  color: #FFFFFF;
}

.page-game-guides__feature-item p {
  font-size: 1em;
  color: #f0f0f0;
}

/* Game Type Guides Section */
.page-game-guides__game-type-guides .page-game-guides__text-block {
  margin-bottom: 50px;
}

.page-game-guides__guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-guides__game-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-game-guides__game-card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-guides__game-card p {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Strategies Section */
.page-game-guides__strategies .page-game-guides__section-title,
.page-game-guides__strategies .page-game-guides__text-block {
  color: #FFFFFF;
}

.page-game-guides__strategy-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-game-guides__strategy-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: #FFFFFF;
}

.page-game-guides__list-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.page-game-guides__strategy-list li p {
  font-size: 1em;
  color: #f0f0f0;
  text-align: left;
}

.page-game-guides__strategies .page-game-guides__image-content {
  display: block;
  margin: 40px auto 0;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* FAQ Section */
.page-game-guides__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-game-guides__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-guides__faq-question:hover {
  background-color: #f5f5f5;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
  text-align: left;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #333333;
}

.page-game-guides__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  background-color: #f9f9f9;
  text-align: left;
}

/* CTA Bottom Section */
.page-game-guides__cta-bottom {
  padding: 80px 0;
  text-align: center;
}

.page-game-guides__cta-content .page-game-guides__section-title,
.page-game-guides__cta-content .page-game-guides__text-block {
  color: #FFFFFF;
}

/* General Image Styles (excluding specific logos) */
.page-game-guides img:not(.page-game-guides__logo-item) {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

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

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-game-guides__hero-description {
    font-size: 1.1em;
  }

  .page-game-guides__text-block {
    font-size: 1em;
  }

  .page-game-guides__features-grid,
  .page-game-guides__guide-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-game-guides__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }

  .page-game-guides__faq-answer {
    padding: 12px 20px 15px;
  }
}

@media (max-width: 768px) {
  /* General page padding */
  .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__section {
    padding: 40px 0;
  }

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

  .page-game-guides__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  /* LOGO轮播区域 - Not present on this page, but defining per requirement */
  /* If a logo carousel were present, its section would have padding like this: */
  /* .page-game-guides__logo-carousel-section { padding: 10px 15px 20px; } */
  /* .page-game-guides__logo-carousel { flex-wrap: wrap; justify-content: center; } */
  /* .page-game-guides__logo-item { width: 80px !important; height: 80px !important; max-width: 80px !important; margin: 10px; } */

  /* HERO 主图区域 */
  .page-game-guides__hero-section {
    padding-top: 0 !important; /* Ensure no header offset */
  }
  .page-game-guides__hero-content-wrapper {
    padding: 0;
  }
  .page-game-guides__hero-image {
    margin-bottom: 15px;
  }
  .page-game-guides__hero-text-block {
    padding: 0 15px 30px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.6em, 7vw, 2.5em); /* Adjust H1 for smaller screens */
    margin-bottom: 10px;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  /* 游戏展示区域 */
  .page-game-guides__game-type-guides .page-game-guides__text-block {
    margin-bottom: 30px;
  }
  .page-game-guides__guide-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__game-card {
    padding-bottom: 20px;
  }
  .page-game-guides__game-card-image {
    height: 180px; /* Slightly smaller fixed height */
  }
  .page-game-guides__game-card-title {
    font-size: 1.2em;
  }
  .page-game-guides__game-card p {
    font-size: 0.9em;
  }

  /* 通用图片与容器 */
  .page-game-guides img:not(.page-game-guides__logo-item) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-game-guides__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__btn-read-more {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important;
    padding: 12px 15px; /* Adjust padding for full width buttons */
  }

  /* 其他内容模块 */
  .page-game-guides__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__feature-item {
    padding: 20px;
  }
  .page-game-guides__feature-title {
    font-size: 1.3em;
  }
  .page-game-guides__strategy-list {
    margin-top: 20px;
  }
  .page-game-guides__strategy-list li {
    padding: 18px 20px;
    margin-bottom: 10px;
  }
  .page-game-guides__list-title {
    font-size: 1.15em;
  }
  .page-game-guides__faq-question {
    font-size: 1em;
    padding: 15px 18px;
  }
  .page-game-guides__faq-answer {
    padding: 12px 18px 15px;
  }
  .page-game-guides__cta-bottom {
    padding: 50px 0;
  }
  .page-game-guides__cta-content {
    padding: 0 15px;
  }
}