/* style/resources-game-guides.css */
.page-resources-game-guides {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
  background-color: transparent; /* inherited from body, or explicit if needed */
}

.page-resources-game-guides__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top for header offset */
}

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

.page-resources-game-guides__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 0;
}

.page-resources-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-resources-game-guides__hero-title {
  font-size: 3.5em;
  color: #FFFF00; /* Register and Login font color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-resources-game-guides__btn-primary,
.page-resources-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  white-space: normal; /* Allow text wrapping for buttons */
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

.page-resources-game-guides__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #FFFF00;
}

.page-resources-game-guides__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
  transform: translateY(-2px);
}

.page-resources-game-guides__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-game-guides__introduction-section {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-resources-game-guides__game-guides {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-game-guides__general-strategies {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-resources-game-guides__registration-guide {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-game-guides__faq-section {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-resources-game-guides__cta-section {
  background-color: #017439; /* Brand primary color for CTA */
  color: #ffffff;
  padding: 80px 20px;
}

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

.page-resources-game-guides__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FFFF00; /* Emphasize titles */
}

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

.page-resources-game-guides__text-block a {
  color: #017439; /* Brand color for internal links */
  text-decoration: underline;
}

.page-resources-game-guides__text-block a:hover {
  color: #FFFF00;
}

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

.page-resources-game-guides__game-category {
  margin-bottom: 60px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for card-like effect */
  border-radius: 10px;
  text-align: left;
}

.page-resources-game-guides__category-title {
  font-size: 2em;
  color: #FFFF00;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-game-guides__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources-game-guides__list-item {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #f0f0f0;
}

.page-resources-game-guides__list-item::before {
  content: '✓';
  color: #017439; /* Brand color for list bullet */
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-resources-game-guides__list-ordered {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  text-align: left;
}

.page-resources-game-guides__list-ordered .page-resources-game-guides__list-item {
  padding-left: 0;
}

.page-resources-game-guides__list-ordered .page-resources-game-guides__list-item::before {
  content: none;
}

.page-resources-game-guides__btn-text {
  display: inline-block;
  margin-top: 20px;
  color: #FFFF00;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFFF00;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-resources-game-guides__btn-text:hover {
  color: #017439;
  border-color: #017439;
}

.page-resources-game-guides__subsection-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-resources-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* FAQ Styles */
.page-resources-game-guides__faq-list {
  margin-top: 30px;
  text-align: left;
}

.page-resources-game-guides__faq-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly brighter for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-resources-game-guides__faq-question:hover {
  background-color: #02944b;
}

.page-resources-game-guides__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.page-resources-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

.page-resources-game-guides__faq-item.active .page-resources-game-guides__faq-toggle {
  transform: rotate(45deg); /* Plus to X / Minus */
}

.page-resources-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

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

@media (max-width: 768px) {
  .page-resources-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-game-guides__hero-section {
    height: 500px;
  }
  .page-resources-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-resources-game-guides__hero-description {
    font-size: 1em;
  }
  .page-resources-game-guides__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-game-guides__btn-primary,
  .page-resources-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-resources-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-resources-game-guides__category-title {
    font-size: 1.5em;
  }
  .page-resources-game-guides__text-block,
  .page-resources-game-guides__list-item {
    font-size: 0.95em;
  }
  .page-resources-game-guides__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-game-guides__section,
  .page-resources-game-guides__game-category,
  .page-resources-game-guides__container,
  .page-resources-game-guides__faq-list,
  .page-resources-game-guides__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-game-guides__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-game-guides__faq-answer {
    padding: 10px 20px;
  }
  .page-resources-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-resources-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-resources-game-guides__category-title {
    font-size: 1.3em;
  }
}