/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Matches shared.css body background */
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

.page-game-guides__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

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

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

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

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

.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;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-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-game-guides__btn-primary:hover {
  background-color: #e02a2a;
  transform: translateY(-3px);
}

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

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

.page-game-guides__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  border-radius: 10px;
  margin-top: -80px;
  position: relative;
  z-index: 4;
}

.page-game-guides__section-intro,
.page-game-guides__guide-section,
.page-game-guides__conclusion-section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #222222;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-game-guides__section-title {
  font-size: 2.2em;
  color: #017439;
  margin-bottom: 20px;
  text-align: center;
}

.page-game-guides__section-description {
  font-size: 1.1em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 30px;
}

.page-game-guides__guide-subtitle {
  font-size: 1.8em;
  color: #FFFF00;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid #017439;
  padding-left: 15px;
}

.page-game-guides p {
  margin-bottom: 15px;
  color: #ffffff;
}

.page-game-guides ul,
.page-game-guides ol {
  margin-bottom: 15px;
  padding-left: 25px;
  color: #ffffff;
}

.page-game-guides ul li,
.page-game-guides ol li {
  margin-bottom: 8px;
  color: #ffffff;
}

.page-game-guides__feature-list li strong,
.page-game-guides__function-list li strong,
.page-game-guides__fish-type-list li strong {
  color: #017439;
}

.page-game-guides__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  min-height: 200px;
}

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

.page-game-guides__faq-section {
  background-color: #222222;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-game-guides__faq-list {
  margin-top: 30px;
}

.page-game-guides__faq-item {
  background-color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  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;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

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

.page-game-guides__faq-item.active .page-game-guides__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.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: #444444;
  color: #ffffff;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

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

.page-game-guides__video-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #222222;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.page-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    height: 500px;
  }
  .page-game-guides__hero-title {
    font-size: 2.2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-game-guides__content-area {
    padding: 30px 15px;
    margin-top: -50px;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__guide-subtitle {
    font-size: 1.4em;
  }
  .page-game-guides__section-intro,
  .page-game-guides__guide-section,
  .page-game-guides__conclusion-section,
  .page-game-guides__faq-section,
  .page-game-guides__video-section {
    padding: 20px 15px;
  }

  /* Mobile image, video, button adaptation */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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-x: hidden !important;
  }
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-guides__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-guides__cta-button,
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    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,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}