.page-index-game-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--bg-color, #FFFFFF);
}

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

.page-index-game-advantages__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-game-advantages__section-title {
  font-size: clamp(2em, 2.5vw, 3em);
  margin-bottom: 40px;
  font-weight: bold;
  color: #017439;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-index-game-advantages__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-index-game-advantages__text-block .highlight {
  color: #017439;
  font-weight: bold;
}

/* Hero Section */
.page-index-game-advantages__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439;
}

.page-index-game-advantages__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-game-advantages__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7);
}

.page-index-game-advantages__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  box-sizing: border-box;
  background-color: rgba(1, 116, 57, 0.85); /* Semi-transparent background for text readability */
  margin-top: -100px; /* Pull content up slightly over image */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-game-advantages__main-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-index-game-advantages__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-index-game-advantages__btn-primary {
  background-color: #B00000; /* Adjusted for contrast */
  color: #FFFFFF; /* Adjusted for contrast */
  border: 2px solid #B00000;
}

.page-index-game-advantages__btn-primary:hover {
  background-color: #990000;
  border-color: #990000;
  transform: translateY(-2px);
}

.page-index-game-advantages__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-index-game-advantages__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-index-game-advantages__introduction .page-index-game-advantages__text-block {
  text-align: left;
}

/* Advantages List Section */
.page-index-game-advantages__advantages-list {
  background-color: #017439;
  color: #ffffff;
}

.page-index-game-advantages__advantages-list .page-index-game-advantages__section-title {
  color: #FFFFFF;
}

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

.page-index-game-advantages__card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.page-index-game-advantages__card:hover {
  transform: translateY(-5px);
}

.page-index-game-advantages__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-index-game-advantages__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-index-game-advantages__card-description {
  font-size: 1em;
  color: #555555;
}

.page-index-game-advantages__card-description .highlight {
  color: #017439;
  font-weight: bold;
}

/* Gameshow Section */
.page-index-game-advantages__gameshow-section {
  background-color: #f5f5f5;
}

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

.page-index-game-advantages__gameshow-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-game-advantages__gameshow-card:hover {
  transform: translateY(-5px);
}

.page-index-game-advantages__gameshow-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-index-game-advantages__gameshow-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-index-game-advantages__gameshow-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

/* Strategies Section */
.page-index-game-advantages__strategies-section {
  background-color: #017439;
  color: #ffffff;
}

.page-index-game-advantages__strategies-section .page-index-game-advantages__section-title {
  color: #FFFFFF;
}

.page-index-game-advantages__strategies-section .page-index-game-advantages__text-block {
  color: #f0f0f0;
  text-align: left;
}

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

.page-index-game-advantages__strategy-card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-index-game-advantages__strategy-card:hover {
  transform: translateY(-5px);
}

.page-index-game-advantages__strategy-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-index-game-advantages__strategy-description {
  font-size: 1em;
  color: #555555;
}

.page-index-game-advantages__strategy-description .highlight {
  color: #017439;
  font-weight: bold;
}

/* FAQ Section */
.page-index-game-advantages__faq-section {
  background-color: #FFFFFF;
}

.page-index-game-advantages__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-index-game-advantages__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-index-game-advantages__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
  position: relative;
}

.page-index-game-advantages__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-index-game-advantages__faq-item[open] summary {
  background-color: #017439;
  color: #FFFFFF;
  border-bottom: 1px solid #e0e0e0;
}

.page-index-game-advantages__faq-qtext {
  flex-grow: 1;
}

.page-index-game-advantages__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-index-game-advantages__faq-item[open] .page-index-game-advantages__faq-toggle {
  transform: rotate(45deg);
}

.page-index-game-advantages__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #555555;
  border-top: 1px solid #eee;
  background-color: #FFFFFF;
}

.page-index-game-advantages__faq-answer .highlight {
  color: #017439;
  font-weight: bold;
}

/* CTA Section */
.page-index-game-advantages__cta-section {
  background-color: #017439;
  color: #ffffff;
}

.page-index-game-advantages__cta-section .page-index-game-advantages__section-title {
  color: #FFFFFF;
}

.page-index-game-advantages__cta-section .page-index-game-advantages__text-block {
  color: #f0f0f0;
}

.page-index-game-advantages__cta-section .page-index-game-advantages__cta-buttons {
  margin-top: 30px;
}

.page-index-game-advantages__cta-section .page-index-game-advantages__text-block .highlight {
  color: #FFFFFF;
  font-weight: bold;
}

/* Dark/Light background text color handling */
.page-index-game-advantages__dark-bg {
  color: #ffffff;
}

.page-index-game-advantages__dark-bg .page-index-game-advantages__section-title {
  color: #ffffff;
}

.page-index-game-advantages__dark-bg .page-index-game-advantages__text-block {
  color: #f0f0f0;
}

.page-index-game-advantages__light-bg {
  color: #333333;
}

.page-index-game-advantages__light-bg .page-index-game-advantages__section-title {
  color: #017439;
}

.page-index-game-advantages__light-bg .page-index-game-advantages__text-block {
  color: #333333;
}

/* General image responsiveness */
.page-index-game-advantages img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-index-game-advantages__container {
    padding: 0 15px !important;
  }

  .page-index-game-advantages__section {
    padding: 40px 0 !important;
  }

  .page-index-game-advantages__section-title {
    font-size: 1.8em !important;
    margin-bottom: 25px !important;
  }

  .page-index-game-advantages__text-block {
    font-size: 1em !important;
    text-align: justify !important;
  }

  /* HERO 主图区域 */
  .page-index-game-advantages__hero-section {
    min-height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 20px !important;
  }

  .page-index-game-advantages__hero-image-wrapper {
    max-height: 300px !important;
  }

  .page-index-game-advantages__hero-content {
    padding: 20px 15px !important;
    margin-top: -50px !important;
  }

  .page-index-game-advantages__main-title {
    font-size: 1.9em !important;
    margin-bottom: 15px !important;
  }

  .page-index-game-advantages__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }

  /* 按钮与按钮容器 */
  .page-index-game-advantages__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-index-game-advantages__btn-primary,
  .page-index-game-advantages__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-index-game-advantages__card,
  .page-index-game-advantages__gameshow-card,
  .page-index-game-advantages__strategy-card {
    padding: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 产品展示图区域 */
  .page-index-game-advantages__gameshow-grid {
    grid-template-columns: 1fr !important; /* Single column for gameshows on mobile */
  }

  /* 其他内容模块 */
  .page-index-game-advantages__grid,
  .page-index-game-advantages__strategy-grid {
    grid-template-columns: 1fr !important;
  }

  .page-index-game-advantages__faq-item summary {
    font-size: 1em !important;
    padding: 15px 20px !important;
  }

  .page-index-game-advantages__faq-answer {
    padding: 10px 20px 20px !important;
    font-size: 0.95em !important;
  }

  .page-index-game-advantages__faq-toggle {
    font-size: 1.2em !important;
  }
}