.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #0A0A0A;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px; /* Limit height for aesthetic */
}

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  position: relative;
  z-index: 2;
  text-align: center;
}

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

.page-game-guides__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: none;
  margin-right: 15px;
}

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

.page-game-guides__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E;
}

.page-game-guides__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A;
}

.page-game-guides__table-of-contents {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__section-title {
  font-size: 2em;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 25px;
  text-align: center;
}

.page-game-guides__toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-game-guides__toc-link {
  display: block;
  padding: 10px 20px;
  background-color: #3A2A12; /* Border color */
  color: #FFF6D6;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-game-guides__toc-link:hover {
  background-color: #F2C14E;
  color: #0A0A0A;
}

.page-game-guides__content-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__dark-section {
  background-color: #0A0A0A; /* Background */
  border: 1px solid #3A2A12; /* Border color */
}

.page-game-guides__content-section h2 {
  color: #F2C14E;
  margin-bottom: 25px;
  font-size: 1.8em;
}

.page-game-guides__content-section h3 {
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.page-game-guides__content-section p {
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-game-guides__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-game-guides__advantage-item {
  background-color: #111111; /* Card BG */
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #3A2A12;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__advantage-title {
  color: #F2C14E;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.page-game-guides__advantage-item p {
  color: #FFF6D6;
  font-size: 0.95em;
}

/* FAQ Styles */
details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #111111; /* Card BG */
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

.page-game-guides__cta-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px 20px;
  background: linear-gradient(45deg, #0A0A0A, #111111);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

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

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

/* Mobile Responsive - General */
@media (max-width: 768px) {
  .page-game-guides {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-game-guides__hero-content {
    padding: 20px 15px;
  }

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

  .page-game-guides__intro-text {
    font-size: 1em;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .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: 12px 15px;
    margin: 0 !important; /* Remove horizontal margins for full width */
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-game-guides__table-of-contents,
  .page-game-guides__content-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section {
    margin: 30px auto;
    padding: 20px 15px;
  }

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

  .page-game-guides__content-section h2 {
    font-size: 1.6em;
  }

  .page-game-guides__content-section h3 {
    font-size: 1.2em;
  }

  .page-game-guides__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  details.page-game-guides__faq-item summary.page-game-guides__faq-question { padding: 15px; }
  .page-game-guides__faq-qtext { font-size: 15px; }
  details.page-game-guides__faq-item .page-game-guides__faq-answer { padding: 0 15px 15px; }
}

/* The following CSS blocks are included as per the strict instruction in '返回格式' section, even if this is an inner page. */
@media (max-width: 1023px) {
  .page-game-guides__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__hero-brand,
  .page-game-guides__hero-jackpot {
    display: none !important;
  }
  .page-game-guides__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-topbar,
  .page-game-guides__game-trial-bottombar {
    display: none !important;
  }
  .page-game-guides__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-game-guides__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-game-guides__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-game-guides__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-game-guides__hero-brand,
  .page-game-guides__hero-jackpot,
  .page-game-guides__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-game-guides__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-game-guides__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-game-guides__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-game-guides__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* General image and button mobile adaptation for content sections */
@media (max-width: 768px) {
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-guides__content-section,
  .page-game-guides__table-of-contents,
  .page-game-guides__cta-section,
  .page-game-guides__faq-section,
  .page-game-guides__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}