.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Light text for dark body background */
  background-color: #0A0A0A; /* Inherited from body, explicit for clarity */
}

.page-game-guides__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.8) 0%, #0A0A0A 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop, will be contain on mobile */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect, but text is below image */
  padding: 0 20px;
  background: rgba(17, 17, 17, 0.7); /* Semi-transparent background for text readability */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  color: #F2C14E; /* Brand color for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-guides__cta-button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
}

.page-game-guides__cta-button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-game-guides__cta-button--secondary {
  background: #111111;
  color: #F2C14E;
  border: 2px solid #3A2A12;
}

.page-game-guides__cta-button--secondary:hover {
  background: #0A0A0A;
  color: #FFD36B;
  border-color: #F2C14E;
}

.page-game-guides__section {
  padding: 60px 0;
  position: relative;
}

.page-game-guides__section-title {
  font-size: 2.5rem;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-guides__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD36B;
  border-radius: 2px;
}

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

.page-game-guides__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

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

.page-game-guides__strategy-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-guides__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-game-guides__card-title {
  font-size: 1.6rem;
  color: #F2C14E;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-game-guides__card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6;
  padding: 0 20px;
}

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

.page-game-guides__guide-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-guides__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-game-guides__guide-card .page-game-guides__card-title {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}

.page-game-guides__card-link {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__card-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

.page-game-guides__faq-list {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E;
  cursor: pointer;
  list-style: none; /* Remove default marker for details summary */
}

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

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

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

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
}

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

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

/* General container responsiveness */
.page-game-guides__section,
.page-game-guides__container,
.page-game-guides__strategy-grid,
.page-game-guides__guide-card-list,
.page-game-guides__faq-list {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    padding-bottom: 30px;
  }

  .page-game-guides__hero-image {
    object-fit: contain !important; /* Prevent cropping on mobile */
    max-height: 300px !important;
    height: auto !important;
  }

  .page-game-guides__hero-content {
    margin-top: -50px; /* Adjust overlap */
    padding: 20px;
  }

  .page-game-guides__main-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

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

  .page-game-guides__cta-button,
  .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-left: 15px !important;
    padding-right: 15px !important;
    font-size: 1rem !important;
  }

  .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 !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    display: flex;
    flex-direction: column;
  }

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

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

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

  .page-game-guides__text-block {
    font-size: 0.95rem;
  }

  .page-game-guides__strategy-grid,
  .page-game-guides__guide-card-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__strategy-image,
  .page-game-guides__guide-image {
    height: 200px; /* Ensure minimum size */
    object-fit: cover;
  }

  .page-game-guides__card-title {
    font-size: 1.4rem;
  }

  .page-game-guides__card-text {
    font-size: 0.9rem;
  }

  .page-game-guides__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }

  .page-game-guides__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.9rem;
  }

  /* Ensure all images in content area are responsive */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers containing images are responsive */
  .page-game-guides__strategy-card,
  .page-game-guides__guide-card,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-game-guides__strategy-card .page-game-guides__card-title,
  .page-game-guides__strategy-card .page-game-guides__card-text,
  .page-game-guides__guide-card .page-game-guides__card-title,
  .page-game-guides__guide-card .page-game-guides__card-text {
    padding-left: 15px;
    padding-right: 15px;
  }
}