.page-game-guides {
  font-family: 'Arial', sans-serif;
  background-color: #140C0C;
  color: #FFF1E8;
  line-height: 1.6;
}

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

.page-game-guides__hero-section {
  position: relative;
  padding-top: 10px; /* Aligns with body padding-top from shared.css */
  background-color: #0d0d0d; /* Dark background for hero section */
  text-align: center;
  overflow: hidden;
}

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

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  text-align: center;
}

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

.page-game-guides__hero-description {
  font-size: 1.1rem;
  color: #FFF1E8;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-card {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C; /* Dark text for contrast on gold gradient */
  border: none;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-game-guides__btn-secondary:hover {
  background: #F3C54D;
  color: #140C0C;
}

.page-game-guides__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-game-guides__intro-section,
.page-game-guides__strategy-section,
.page-game-guides__why-choose-section,
.page-game-guides__cta-section,
.page-game-guides__faq-section {
  padding: 60px 0;
}

.page-game-guides__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #FFF1E8;
}

.page-game-guides__article-body h3 {
  color: #F3C54D;
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__article-body p {
  margin-bottom: 15px;
}

.page-game-guides__article-body a {
  color: #FFB04A;
  text-decoration: none;
}

.page-game-guides__article-body a:hover {
  text-decoration: underline;
}

.page-game-guides__categories-overview {
  padding: 60px 0;
  background-color: #2A1212;
}

.page-game-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-game-guides__card {
  background-color: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__card-title {
  font-size: 1.5rem;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-game-guides__card-description {
  font-size: 0.95rem;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__btn-card {
  margin-top: auto;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  border: none;
  width: auto;
  align-self: center;
  max-width: 100%;
}

.page-game-guides__btn-card:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-game-guides__strategy-subtitle {
  font-size: 1.8rem;
  color: #F3C54D;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-guides__feature-list li {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #FFF1E8;
}

.page-game-guides__feature-list li strong {
  color: #F3C54D;
}

.page-game-guides__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
}

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

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E;
  overflow: hidden;
  background: #2A1212;
}

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;
  color: #FFF1E8;
}

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: #3a1c1c;
}

.page-game-guides__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D;
}

.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D;
  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: #140C0C;
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
}

.page-game-guides__copyright {
  text-align: center;
  font-size: 0.9rem;
  color: #6A1E1E;
  padding: 20px 0;
  margin-top: 40px;
}

/* --- Responsive Styles --- */

/* Mobile Specific Rules (max-width: 768px) */
@media (max-width: 768px) {
  .page-game-guides__container {
    padding: 15px;
  }

  .page-game-guides__hero-image-wrapper {
    height: 300px;
  }

  .page-game-guides__hero-image {
    object-fit: contain !important; /* HERO 主图区域: 移动 object-fit:contain !important */
    aspect-ratio: unset !important;
  }

  .page-game-guides__hero-content {
    padding: 20px 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
    padding-top: 10px; /* 顶距约 10px */
  }

  .page-game-guides__hero-description {
    font-size: 1rem;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column; /* 按钮与按钮容器: 多个按钮横向排列时，允许换行 */
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__btn-card,
  .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;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
    padding-top: 20px;
  }

  .page-game-guides__intro-section,
  .page-game-guides__strategy-section,
  .page-game-guides__why-choose-section,
  .page-game-guides__cta-section,
  .page-game-guides__faq-section {
    padding: 30px 0;
  }

  .page-game-guides__article-body {
    font-size: 1rem;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__article-body h3 {
    font-size: 1.5rem;
  }

  .page-game-guides__grid {
    grid-template-columns: repeat(2, 1fr); /* Sản phẩm hiển thị 2 cột */
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

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

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

  .page-game-guides__card-description {
    font-size: 0.9rem;
  }

  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  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;
  }
}

/* Tablet Specific Rules (max-width: 1024px) - Adjust as needed, often similar to mobile or intermediate */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-game-guides__container {
    padding: 20px 30px;
  }

  .page-game-guides__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-game-guides__hero-image-wrapper {
    height: 400px;
  }

  .page-game-guides__hero-content {
    padding: 30px 20px;
  }

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

  .page-game-guides__section-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
  }

  .page-game-guides__article-body {
    font-size: 1rem;
  }

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

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

  .page-game-guides__feature-list li {
    font-size: 1rem;
  }
}