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

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  min-height: 600px;
  overflow: hidden;
}

.page-game-guides__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

.page-game-guides__hero-content {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

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

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

.page-game-guides__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
  transform: translateY(-2px);
}

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

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-game-guides__section {
  padding: 60px 20px;
  background-color: #1a1a2e; /* Inherit from body for consistency, but explicitly set for sections */
  color: #ffffff;
}

.page-game-guides__introduction {
  background-color: #2a2a4a;
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  color: #f0f0f0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

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

.page-game-guides__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-game-guides__image-content {
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Base responsive image style */
  height: auto; /* Base responsive image style */
}

.page-game-guides__faq {
  background-color: #2a2a4a;
}

.page-game-guides__faq-item {
  background-color: #0A2463;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  color: #ffffff;
  font-weight: bold;
  background-color: #0A2463;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-game-guides__faq-question h3 {
  margin: 0;
  color: inherit;
}

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

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #1a3a73;
  color: #e0e0e0;
}

.page-game-guides__faq-answer p {
  margin: 15px 0;
  color: inherit;
}

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

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: 3em;
  }
  .page-game-guides__intro-text {
    font-size: 1.2em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__sub-title {
    font-size: 1.6em;
  }
}

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

  .page-game-guides__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    min-height: 450px;
  }

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

  .page-game-guides__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

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

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

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

  .page-game-guides__sub-title {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .page-game-guides__text-block,
  .page-game-guides__list-item {
    font-size: 0.95em;
  }

  .page-game-guides__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }

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

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

  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 10px 15px;
  }

  /* Ensure all content containers are constrained */
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Already handled by section/container padding */
    /* padding-right: 15px; */
  }

  /* If buttons are in a flex group, ensure they wrap or stack */
  .page-game-guides__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-title {
    font-size: 1.6em;
  }
  .page-game-guides__sub-title {
    font-size: 1.2em;
  }
}