.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #FFFFFF; /* Body background */
}

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

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  position: relative;
  background: #017439; /* Brand color as background for hero */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

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

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap image slightly for effect, but no text on image */
  background: rgba(1, 116, 57, 0.9); /* Semi-transparent brand color background for content */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 40px;
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00; /* Register/Login font color for main title */
  line-height: 1.2;
}

.page-game-guides__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #ffffff;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-game-guides__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-game-guides__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-game-guides__section-title--white {
  color: #ffffff;
}

.page-game-guides__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-guides__text-block--white {
  color: #f0f0f0;
}

.page-game-guides__introduction-section,
.page-game-guides__game-types-section,
.page-game-guides__detailed-guides-section,
.page-game-guides__promotions-section,
.page-game-guides__faq-section,
.page-game-guides__conclusion-section {
  padding: 60px 0;
}

.page-game-guides__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-game-guides__game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-guides__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 15px 10px;
  color: #017439;
}

.page-game-guides__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__card-text {
  font-size: 0.95rem;
  color: #555555;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-game-guides__guide-article {
  margin-bottom: 50px;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__article-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #017439;
  margin-bottom: 20px;
}

.page-game-guides__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #444444;
}

.page-game-guides__list li {
  margin-bottom: 8px;
}

.page-game-guides__article-figure {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__strategy-section {
  background-color: #017439; /* Dark background for strategy section */
  color: #ffffff;
}

.page-game-guides__strategy-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 30px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

.page-game-guides__promo-banner {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-game-guides__promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.page-game-guides__promo-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFFF00; /* Register/Login font color for promo title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-game-guides__promo-text {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 30px;
}

/* FAQ styles */
details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: #f5f5f5;
}
.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure contrast on light background */
}
.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Ensure contrast for answer text */
}

.page-game-guides__cta-buttons--center {
  margin-top: 40px;
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__container {
    padding: 20px 30px;
  }

  .page-game-guides__hero-content {
    padding: 30px;
    margin-top: -80px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-game-guides__description {
    font-size: 1.1rem;
  }

  .page-game-guides__section-title {
    font-size: 2rem;
  }

  .page-game-guides__promo-title {
    font-size: 2rem;
  }

  .page-game-guides__promo-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 849px) {
  .page-game-guides__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__hero-section {
    padding-top: 10px; /* Still small top padding */
  }

  .page-game-guides__hero-content {
    padding: 20px;
    margin-top: -60px;
    margin-bottom: 20px;
    width: calc(100% - 30px); /* Adjust width to fit container padding */
    max-width: unset;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-game-guides__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }

  .page-game-guides__introduction-section,
  .page-game-guides__game-types-section,
  .page-game-guides__detailed-guides-section,
  .page-game-guides__promotions-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-game-guides__text-block {
    font-size: 0.95rem;
    padding: 0 15px;
  }

  .page-game-guides__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-game-guides__card-image {
    height: 180px;
  }

  .page-game-guides__card-title {
    font-size: 1.2rem;
  }

  .page-game-guides__guide-article {
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  .page-game-guides__article-subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .page-game-guides__list,
  .page-game-guides__strategy-list {
    margin-left: 20px;
    font-size: 0.95rem;
    padding-right: 15px;
  }

  .page-game-guides__article-figure {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    margin: 20px auto 0;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-game-guides__promo-banner {
    margin-top: 30px;
    width: calc(100% - 30px);
    margin-left: auto;
    margin-right: auto;
  }

  .page-game-guides__promo-overlay {
    padding: 15px;
  }

  .page-game-guides__promo-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .page-game-guides__promo-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  details.page-game-guides__faq-item summary.page-game-guides__faq-question { padding: 15px; }
  .page-game-guides__faq-qtext { font-size: 15px; }
  details.page-game-guides__faq-item .page-game-guides__faq-answer { padding: 0 15px 15px; }

  .page-game-guides__cta-buttons--center {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__game-card,
  .page-game-guides__guide-article,
  .page-game-guides__promo-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-game-guides__game-types-section {
    overflow-x: hidden;
  }
}