/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #FFFFFF;
  overflow: hidden;
}

.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;
}

.page-game-guides__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  background-color: #FFFFFF; /* Ensure readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0;
  margin-bottom: 20px;
  /* Using clamp for responsive font size without fixed values */
  font-size: clamp(2em, 5vw, 3.2em);
}

.page-game-guides__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  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: #1a8cc2;
  border-color: #1a8cc2;
}

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

.page-game-guides__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-game-guides__introduction-section,
.page-game-guides__tips-section,
.page-game-guides__cta-section {
  padding: 60px 20px;
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

.page-game-guides__guide-section {
  padding: 60px 20px;
}

.page-game-guides__dark-bg {
  background-color: #26A9E0; /* Brand color as background */
  color: #FFFFFF; /* White text for contrast */
}

.page-game-guides__light-bg {
  background-color: #FFFFFF; /* White background */
  color: #333333; /* Dark text for contrast */
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8em, 4vw, 2.5em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-game-guides__dark-bg .page-game-guides__section-title {
  color: #FFFFFF;
}

.page-game-guides__guide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-game-guides__guide-content h3 {
  font-size: 1.8em;
  color: inherit;
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
}

.page-game-guides__guide-content p,
.page-game-guides__guide-content ul {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 800px;
  text-align: justify;
}

.page-game-guides__guide-content ul {
  list-style-type: disc;
  padding-left: 25px;
}

.page-game-guides__guide-content ul li {
  margin-bottom: 10px;
}

.page-game-guides__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: block;
}

.page-game-guides__faq-section {
  padding: 60px 20px;
  background-color: #26A9E0; /* Brand color as background */
  color: #FFFFFF; /* White text for contrast */
}

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFFFFF;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

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

.page-game-guides__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-game-guides__faq-answer p {
  margin-bottom: 10px;
}

.page-game-guides__faq-answer a {
  color: #FFFFFF; /* Ensure link visibility on dark background */
  text-decoration: underline;
}

.page-game-guides__faq-answer a:hover {
  color: #f0f8ff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 10px 15px 40px;
  }

  .page-game-guides__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

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

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

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  .page-game-guides__introduction-section,
  .page-game-guides__guide-section,
  .page-game-guides__tips-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section {
    padding: 40px 15px;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-game-guides__guide-content h3 {
    font-size: 1.5em;
    text-align: left;
  }

  .page-game-guides__guide-content p,
  .page-game-guides__guide-content ul {
    font-size: 1em;
    text-align: left;
    padding-left: 0;
  }

  .page-game-guides__guide-content ul li {
    margin-left: 20px;
  }

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

  .page-game-guides__hero-image-wrapper,
  .page-game-guides__container,
  .page-game-guides__guide-content,
  .page-game-guides__faq-list,
  .page-game-guides__cta-section .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-game-guides__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.95em;
  }
}