/* style/game-guides.css */
.page-game-guides {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Limit hero image height */
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any subtle background elements */
}

.page-game-guides__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__subtitle {
  font-size: 1.15em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  display: inline-block;
  background: #11271B;
  color: #2AD16F;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 2px solid #2AD16F;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

.page-game-guides__btn-secondary:hover {
  background: #2AD16F;
  color: #11271B;
  border-color: #11271B;
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6;
  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: linear-gradient(90deg, #2AD16F 0%, #13994A 100%);
  border-radius: 2px;
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #F2FFF6;
  margin-top: 50px;
  margin-bottom: 25px;
}

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

.page-game-guides__text-block {
  font-size: 1.05em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-align: left;
}

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

.page-game-guides__list-item {
  background-color: #11271B;
  border-left: 5px solid #2AD16F;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  color: #F2FFF6;
  font-size: 1.0em;
}

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

.page-game-guides__card-bg {
  background-color: #11271B;
  padding: 80px 20px;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
}

.page-game-guides__text-main {
  color: #F2FFF6;
}

.page-game-guides__text-secondary {
  color: #A7D9B8;
}

.page-game-guides__dark-section {
  background-color: #0A4B2C; /* Deep Green for contrast */
}

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

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 80px 20px;
  text-align: center;
}

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

.page-game-guides__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  margin-bottom: 15px;
  border-radius: 10px;
  text-align: left;
  overflow: hidden;
}

.page-game-guides__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #0A4B2C;
  border-bottom: 1px solid #2E7A4E;
}

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

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #2AD16F;
  margin-left: 15px;
  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: 20px 25px;
  font-size: 1.0em;
  color: #A7D9B8;
  background-color: #11271B;
}

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

.page-game-guides__faq-answer a {
  color: #57E38D;
  text-decoration: none;
}

.page-game-guides__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-image {
    max-height: 500px;
  }
  .page-game-guides__main-title {
    font-size: 2.8em;
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }
  .page-game-guides__hero-image {
    max-height: 400px;
  }
  .page-game-guides__main-title {
    font-size: 2.2em;
  }
  .page-game-guides__subtitle {
    font-size: 1em;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__section {
    padding: 60px 15px;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__sub-title {
    font-size: 1.3em;
  }
  .page-game-guides__container,
  .page-game-guides__card-bg {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-game-guides__sub-title {
    font-size: 1.2em;
  }
}