/* style/game-guides.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* body handled top padding, this is extra decor */
  text-align: center;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-game-guides__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F2FFF6; /* Text Main */
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F;
  border: 2px solid #2AD16F;
}

.page-game-guides__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
  transform: translateY(-2px);
}

.page-game-guides__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E; /* Gold */
}

.page-game-guides__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #2AD16F; /* Brighter Green */
}

.page-game-guides__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

.page-game-guides__introduction-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

.page-game-guides__game-section {
  padding: 80px 0;
}

.page-game-guides__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-game-guides__content-grid--reverse {
  flex-direction: column-reverse;
}

.page-game-guides__image-wrapper {
  width: 100%;
}

.page-game-guides__game-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__text-content {
  padding: 20px 0;
}

.page-game-guides__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-game-guides__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #F2FFF6; /* Text Main */
}

.page-game-guides__list-item::before {
  content: '✔';
  color: #2AD16F; /* Brighter Green */
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.page-game-guides__list--columns .page-game-guides__list-item {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-left: 20px; /* Adjust for centered text */
}

.page-game-guides__list--columns .page-game-guides__list-item::before {
  content: none; /* Remove checkmark for this style */
}

.page-game-guides__list--columns .page-game-guides__list-item a {
  color: #F2C14E; /* Gold */
  text-decoration: none;
  font-weight: bold;
}

.page-game-guides__list--columns .page-game-guides__list-item a:hover {
  text-decoration: underline;
}

.page-game-guides__other-games-section {
  padding: 60px 0;
  text-align: center;
  background-color: #11271B; /* Card BG */
}

.page-game-guides__why-choose-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-game-guides__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

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

.page-game-guides__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-game-guides__feature-description {
  color: #A7D9B8; /* Text Secondary */
}

.page-game-guides__responsible-gaming-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
  text-align: center;
}

.page-game-guides__faq-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

.page-game-guides__faq-item {
  background-color: #11271B; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  position: relative;
  user-select: none;
}

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2AD16F; /* Brighter Green */
}

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

.page-game-guides__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

.page-game-guides__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

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

/* Common dark/light section styles */
.page-game-guides__dark-section {
  background-color: #0A4B2C;
  color: #F2FFF6;
}

.page-game-guides__light-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

/* Responsive styles */
@media (min-width: 769px) {
  .page-game-guides__content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-game-guides__content-grid--reverse {
    grid-template-areas: "text image";
  }

  .page-game-guides__content-grid--reverse .page-game-guides__text-content {
    grid-area: text;
  }

  .page-game-guides__content-grid--reverse .page-game-guides__image-wrapper {
    grid-area: image;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-game-guides__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-game-guides__sub-title {
    font-size: 1.5em;
  }

  .page-game-guides__hero-cta-buttons,
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__image-wrapper,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__content-grid,
  .page-game-guides__features-grid,
  .page-game-guides__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Video section top padding for mobile */
  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile video responsiveness (if any video is added) */
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button containers for mobile */
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-game-guides__list--columns {
    grid-template-columns: 1fr;
  }
}

/* Color contrast specific rules */
.page-game-guides__dark-section {
  background-color: #0A4B2C;
  color: #F2FFF6; /* Light text on dark background */
}

.page-game-guides__light-bg {
  background-color: #08160F;
  color: #F2FFF6; /* Light text on dark background */
}

.page-game-guides__card {
  background-color: #11271B; /* Darker card background */
  color: #F2FFF6; /* Light text on dark background */
  border: 1px solid #2E7A4E; /* Border */
}

.page-game-guides p,
.page-game-guides li {
  color: #F2FFF6; /* Default text color for main content */
}

.page-game-guides__feature-description,
.page-game-guides__faq-answer {
  color: #A7D9B8; /* Secondary text color */
}