/* style/game-guides.css */
.page-game-guides {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* body background is #0a0a0a from shared.css */
}

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

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

.page-game-guides__light-bg {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
  padding: 60px 0;
}

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

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

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

.page-game-guides__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-game-guides__light-bg .page-game-guides__section-title {
  color: #FFFF00; /* Consistent title color */
}

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

.page-game-guides__keyword {
  color: #FFFF00;
  font-weight: bold;
}

.page-game-guides__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-game-guides__image-content,
.page-game-guides__image-category {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__game-category {
  margin-bottom: 50px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__category-title {
  font-size: 1.8em;
  color: #FFFF00; /* Register/Login font color for emphasis */
  margin-bottom: 15px;
}

.page-game-guides__category-description {
  font-size: 1.05em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-game-guides__strategy-list {
  list-style: disc inside;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-game-guides__strategy-list li {
  margin-bottom: 10px;
}

.page-game-guides__advanced-strategies-section .page-game-guides__strategy-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__strategy-title,
.page-game-guides__criteria-title {
  font-size: 1.6em;
  color: #FFFF00; /* Register/Login font color for emphasis */
  margin-bottom: 15px;
}

.page-game-guides__reputable-platforms-section .page-game-guides__criteria-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 30px;
}

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #017439; /* Brand color for question background */
  color: #ffffff;
  font-size: 1.15em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-question:hover {
  background-color: #005a2e;
}

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

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

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

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0d0d0d; /* Lighter dark background for answer */
  color: #f0f0f0;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 25px;
}

.page-game-guides__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Conclusion Section */
.page-game-guides__conclusion-section {
  text-align: center;
  padding: 80px 0;
}

.page-game-guides__conclusion-section .page-game-guides__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: var(--header-offset, 120px) 15px 40px;
  }
  .page-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-guides__text-block {
    font-size: 0.95em;
  }
  .page-game-guides__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__container {
    padding: 0 15px;
  }
  .page-game-guides__game-category,
  .page-game-guides__advanced-strategies-section .page-game-guides__strategy-item,
  .page-game-guides__reputable-platforms-section .page-game-guides__criteria-item,
  .page-game-guides__faq-item {
    padding: 20px;
  }
  .page-game-guides__category-title,
  .page-game-guides__strategy-title,
  .page-game-guides__criteria-title {
    font-size: 1.5em;
  }
  .page-game-guides img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__image-content,
  .page-game-guides__image-category {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Ensure all containers with images/buttons adapt */
  .page-game-guides__section,
  .page-game-guides__container,
  .page-game-guides__hero-section,
  .page-game-guides__intro-section,
  .page-game-guides__game-types-section,
  .page-game-guides__advanced-strategies-section,
  .page-game-guides__reputable-platforms-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-game-guides__faq-answer {
    padding: 0 20px;
  }
  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 10px 20px;
  }
}