.page-resources-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#1a1a2e), so text should be light */
  background-color: transparent; /* Inherit from body or shared */
}

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

.page-resources-game-guides__dark-bg {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-resources-game-guides__light-bg {
  background-color: #ffffff; /* Auxiliary color for light sections */
  color: #333333;
}

/* Hero Section */
.page-resources-game-guides__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  overflow: hidden;
  text-align: center;
  background-color: #017439;
}

.page-resources-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4;
}

.page-resources-game-guides__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  border-radius: 8px;
}

.page-resources-game-guides__hero-title {
  font-size: 3.2em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-game-guides__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* General Section Styling */
.page-resources-game-guides__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  padding-bottom: 20px;
  color: inherit;
}

.page-resources-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-resources-game-guides__image-content {
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* CTA Button Styling */
.page-resources-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-game-guides__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom color for register/login font */
  border: 2px solid #C30808;
}

.page-resources-game-guides__btn-primary:hover {
  background-color: #e02a2a;
  transform: translateY(-3px);
}

/* Intro Section */
.page-resources-game-guides__intro-section {
  padding: 60px 0;
  text-align: center;
}

/* Game Categories Section */
.page-resources-game-guides__game-categories {
  padding: 60px 0;
}

.page-resources-game-guides__category-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-game-guides__category-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 20px;
}

/* General Tips Section */
.page-resources-game-guides__general-tips {
  padding: 60px 0;
  text-align: center;
}

/* FAQ Section */
.page-resources-game-guides__faq-section {
  padding: 60px 0;
}

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

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

.page-resources-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439;
  transition: background-color 0.3s ease;
}

.page-resources-game-guides__faq-question:hover {
  background-color: #028e48;
}

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

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

.page-resources-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: left;
}

.page-resources-game-guides__faq-item.active .page-resources-game-guides__faq-answer {
  max-height: 1000px !important; /* Ensure enough height for content */
  padding: 15px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-game-guides__hero-title {
    font-size: 2.8em;
  }
  .page-resources-game-guides__section-title {
    font-size: 2em;
  }
  .page-resources-game-guides__category-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-game-guides__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-game-guides__hero-title {
    font-size: 2em;
  }
  .page-resources-game-guides__hero-description {
    font-size: 1em;
  }
  .page-resources-game-guides__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-resources-game-guides__container,
  .page-resources-game-guides__category-item,
  .page-resources-game-guides__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-resources-game-guides__category-title {
    font-size: 1.4em;
  }
  .page-resources-game-guides__text-block,
  .page-resources-game-guides__faq-answer p {
    font-size: 0.95em;
  }
  .page-resources-game-guides__faq-question {
    font-size: 1.1em;
  }

  /* Mobile responsive for images */
  .page-resources-game-guides img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-game-guides__image-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-resources-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-resources-game-guides__hero-description {
    font-size: 0.9em;
  }
  .page-resources-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-resources-game-guides__category-title {
    font-size: 1.2em;
  }
  .page-resources-game-guides__faq-question {
    font-size: 1em;
  }
  .page-resources-game-guides__faq-answer p {
    font-size: 0.9em;
  }
}