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

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

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-game-guides__hero-content-wrapper {
  max-width: 900px;
  padding: 0 20px;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.2;
}

.page-game-guides__intro-text {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #f0f8ff;
}

.page-game-guides__section {
  padding: 60px 0;
}

.page-game-guides__section--intro {
  background-color: #F4F7FB;
}

.page-game-guides__section--registration,
.page-game-guides__section--card-games,
.page-game-guides__section--no-hu,
.page-game-guides__section--ban-ca {
  background-color: #ffffff; /* Card BG */
}

.page-game-guides__section--sports,
.page-game-guides__section--tai-xiu,
.page-game-guides__section--da-ga,
.page-game-guides__section--promotions {
  background-color: #F4F7FB;
}

.page-game-guides__section--faq,
.page-game-guides__section--conclusion {
  background-color: #ffffff;
}

.page-game-guides__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
}

.page-game-guides__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
  color: #2F6BFF; /* Primary Color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__paragraph {
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-game-guides__paragraph a {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-game-guides__content-block {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.page-game-guides__content-block--reverse {
  flex-direction: row-reverse;
}

.page-game-guides__content-image {
  flex: 0 0 50%;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-game-guides__text-content {
  flex: 1;
}

.page-game-guides__ordered-list,
.page-game-guides__unordered-list {
  margin-bottom: 15px;
  padding-left: 25px;
  color: #1F2D3D;
}

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

.page-game-guides__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure button adapts */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-game-guides__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF; /* Primary Color */
  border: 2px solid #2F6BFF; /* Border */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-game-guides__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #2F6BFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 30px;
}

.page-game-guides__faq-item {
  background-color: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none;
}

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

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

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

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

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #1F2D3D;
  border-top: 1px solid #D6E2FF;
}

/* --- General responsive styles (for non-homepage elements) --- */
/* This page is not homepage, so no game/gameshow/blog-masonry specific rules */

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

  .page-game-guides__hero-section {
    padding-bottom: 30px;
    padding-top: 10px; /* Still 10px, relying on body for shared-header offset */
  }

  .page-game-guides__main-title {
    font-size: 2em;
  }

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

  .page-game-guides__section {
    padding: 30px 0;
  }

  .page-game-guides__container {
    padding: 0 15px;
  }

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

  .page-game-guides__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides__content-block {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .page-game-guides__content-block--reverse {
    flex-direction: column;
  }

  .page-game-guides__content-image {
    flex: 0 0 100%;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* General image and container responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

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

  /* Button responsiveness */
  .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__button-group {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-game-guides__faq-answer {
    padding: 10px 20px 20px;
  }
}