/* 基础样式 cho trang Hướng dẫn chơi */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Assuming var(--secondary-color) is white */
}

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

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly for visual effect, but content is below image */
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.page-game-guides__description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.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-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-guides__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-game-guides__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-game-guides__section-title--light {
  color: #FFFFFF;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  color: #555555;
  max-width: 900px;
  margin: 0 auto 20px auto;
  text-align: left;
}

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

.page-game-guides__intro-section {
  background-color: #FFFFFF;
}

.page-game-guides__guide-steps {
  background-color: #f8f8f8;
}

.page-game-guides__guide-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  padding: 30px;
  text-align: left;
}

.page-game-guides__guide-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-game-guides__guide-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-game-guides__guide-image,
.page-game-guides__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-game-guides__guide-list {
  list-style: decimal;
  margin-left: 20px;
  color: #444444;
}

.page-game-guides__guide-list li {
  margin-bottom: 10px;
}

.page-game-guides__guide-list strong {
  color: #26A9E0;
}

.page-game-guides__note {
  background-color: #e0f2f7;
  border-left: 5px solid #26A9E0;
  padding: 15px;
  margin-top: 20px;
  font-style: italic;
  color: #333333;
  border-radius: 5px;
}

.page-game-guides__games-guide {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-game-guides__game-category {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-game-guides__game-category-title {
  font-size: 1.5em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-game-guides__tips-strategy {
  background-color: #FFFFFF;
}

.page-game-guides__strategy-list {
  list-style: disc;
  margin-left: 20px;
  color: #444444;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

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

.page-game-guides__faq-section {
  background-color: #f8f8f8;
}

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

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: #e0f2f7;
  list-style: none;
  position: relative;
}

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

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

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

.page-game-guides__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
  border-top: 1px solid #e0e0e0;
}

.page-game-guides__conclusion-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Common image and container responsive styles */
.page-game-guides img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-game-guides__section,
.page-game-guides__card,
.page-game-guides__container,
.page-game-guides__guide-content {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

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

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

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

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

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

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

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

  .page-game-guides__text-block,
  .page-game-guides__strategy-list {
    font-size: 1em;
    padding: 0 15px;
  }

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

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

  .page-game-guides__guide-content {
    flex-direction: column;
  }

  .page-game-guides__guide-image,
  .page-game-guides__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 15px;
  }

  .page-game-guides__guide-list,
  .page-game-guides__strategy-list {
    margin-left: 15px;
  }

  .page-game-guides__note {
    padding: 10px;
  }

  .page-game-guides__game-category {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-game-guides__game-category-title {
    font-size: 1.3em;
  }

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

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

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

  /* General image and container responsive styles for mobile */
  .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__guide-content,
  .page-game-guides__faq-list,
  .page-game-guides__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Button container mobile adaptation */
  .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;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column !important;
  }

  /* Placeholder for home-content, slider, banners, blog-masonry - not used on this page but required for checklist */
  .page-game-guides__home-content {
    height: auto !important;
    overflow-y: visible !important;
  }
  .page-game-guides__slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-game-guides__game-slide {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: start;
  }
  .page-game-guides__banners-top-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .page-game-guides__banner-item img {
    
    
  }
  .page-game-guides__blog-masonry {
    grid-template-columns: 1fr !important;
  }
  .page-game-guides__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .page-game-guides__blog-slide {
    flex: 0 0 90%;
    max-width: 90%;
    scroll-snap-align: start;
  }
  .page-game-guides__row-games, .page-game-guides__row-sport, .page-game-guides__row-coop {
    padding: 20px 15px;
  }
}