.page-game-guides {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-color: #017439; /* Primary brand color for hero background */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
}

.page-game-guides__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.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;
  flex-wrap: wrap;
}

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

.page-game-guides__section {
  padding: 60px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-guides__introduction {
  background-color: #1a1a1a;
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #017439; /* Primary brand color for titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-game-guides__subtitle {
  font-size: 1.8em;
  color: #FFFF00; /* Register and Login font color for emphasis */
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-game-guides__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-game-guides__ordered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-game-guides__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

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

.page-game-guides__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-game-guides__btn-secondary:hover {
  background-color: #FFFF00;
  color: #0a0a0a;
}

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

.page-game-guides__faq {
  background-color: #1a1a1a;
}

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

.page-game-guides__faq-item {
  background-color: #0a0a0a;
  border: 1px solid #017439;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #017439; /* Primary brand color */
  user-select: none;
  list-style: none;
}

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

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

.page-game-guides__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  background-color: #005f2c;
}

.page-game-guides__conclusion {
  text-align: center;
  background-color: #0a0a0a;
}

.page-game-guides__dark-section {
  background-color: #017439; /* Primary brand color for dark background */
  color: #ffffff;
  padding: 60px 20px;
  border-radius: 12px;
}

.page-game-guides__dark-section .page-game-guides__section-title {
  color: #FFFF00; /* Register and Login font color for emphasis */
}

.page-game-guides__dark-section .page-game-guides__text-block {
  color: #ffffff;
}

.page-game-guides__image-conclusion {
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-guides__hero-title {
    font-size: 2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__section,
  .page-game-guides__introduction,
  .page-game-guides__basic-guide,
  .page-game-guides__advanced-strategy,
  .page-game-guides__tips-optimization,
  .page-game-guides__faq,
  .page-game-guides__conclusion {
    padding: 40px 15px;
  }
  .page-game-guides__container {
    padding: 0;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-game-guides__subtitle {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-game-guides__text-block,
  .page-game-guides__list-item {
    font-size: 0.95em;
  }
  .page-game-guides__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-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;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Mobile image 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;
  }
  .page-game-guides__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-title {
    font-size: 1.6em;
  }
  .page-game-guides__subtitle {
    font-size: 1.2em;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}