/* style/game-guides.css */

/* Base styles for the page */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background-color: #08160F; /* Ensure dark background for contrast */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-game-guides__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px 60px;
  box-sizing: border-box;
}

.page-game-guides__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-game-guides__description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
  margin: 10px;
}

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

.page-game-guides__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border color */
  margin: 10px;
}

.page-game-guides__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Border color with opacity */
  transform: translateY(-2px);
}

.page-game-guides__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Content Sections */
.page-game-guides__introduction-section,
.page-game-guides__content-section,
.page-game-guides__conclusion-section {
  padding: 60px 0;
}

.page-game-guides__dark-bg {
  background-color: #11271B; /* Card BG */
}

.page-game-guides__image-block {
  margin: 40px auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

.page-game-guides__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-item details > summary {
  list-style: none;
  cursor: pointer;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  background-color: #13994A; /* Darker green from button gradient */
  border-bottom: 1px solid #2E7A4E; /* Border color */
}

.page-game-guides__faq-question:hover {
  background-color: #2AD16F; /* Lighter green from button gradient */
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__container {
    padding: 0 15px; /* Adjust padding for smaller screens */
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important;
  }

  .page-game-guides__hero-image-wrapper {
    max-height: 400px;
  }

  .page-game-guides__hero-content {
    padding-bottom: 40px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em) !important;
  }

  .page-game-guides__description {
    font-size: 1em;
  }

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

  .page-game-guides__sub-title {
    font-size: 1.5em;
  }

  .page-game-guides__text-block {
    font-size: 1em;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0 !important; /* Adjust margin for vertical stack */
  }

  .page-game-guides__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
    padding: 0 15px;
  }

  .page-game-guides__content-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    min-width: 200px !important; /* Ensure minimum size is still met */
    min-height: 200px !important;
  }

  .page-game-guides__image-block,
  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-game-guides__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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