.page-game-guides {
  font-family: 'Arial', sans-serif;
  background-color: #0D0E12; /* Nền tối */
  color: #FFF3E6; /* Chữ sáng */
  line-height: 1.6;
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin-bottom: 40px;
  overflow: hidden;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 700px; /* Giới hạn chiều cao cho hero image */
}

.page-game-guides__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 90%;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #FFF3E6;
}

.page-game-guides__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D; /* Glow color for title */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.7);
}

.page-game-guides__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  color: #FFF3E6;
}

.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: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: none;
  box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
  transform: translateY(-2px);
}

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

.page-game-guides__btn-secondary:hover {
  background-color: #FFA53A;
  color: #0D0E12;
  transform: translateY(-2px);
}

.page-game-guides__btn-large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

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

.page-game-guides__guide-overview {
  padding-top: 10px; /* Small top padding for first content section */
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #FFB04D;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.5);
}

.page-game-guides__sub-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #FFA53A;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-guides__section-description,
.page-game-guides__text-content {
  font-size: 1.1rem;
  color: #FFF3E6;
  margin-bottom: 25px;
  text-align: justify;
}

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

.page-game-guides__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF3E6;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 180px;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 165, 58, 0.2);
}

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

.page-game-guides__card-text {
  font-size: 0.95rem;
  color: #FFF3E6;
}

.page-game-guides__list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.page-game-guides__list li {
  background-color: rgba(255, 165, 58, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFA53A;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #FFF3E6;
}

.page-game-guides__list li strong {
  color: #FFB04D;
}

.page-game-guides__list-ordered {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 25px;
}

.page-game-guides__list-ordered li {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: #FFF3E6;
}

.page-game-guides__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  min-width: 200px; /* Ensure minimum size */
}

.page-game-guides__faq-section {
  background-color: #17191F;
  border-top: 1px solid #A84F0C;
}

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

.page-game-guides__faq-item {
  background-color: rgba(255, 165, 58, 0.05);
  border: 1px solid #A84F0C;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFB04D;
  cursor: pointer;
  list-style: none; /* For details tag */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-game-guides__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFA53A;
}

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

.page-game-guides__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05rem;
  color: #FFF3E6;
  text-align: justify;
}

.page-game-guides__call-to-action {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(90deg, #D96800 0%, #FF8C1A 100%);
  border-radius: 15px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.5);
}

.page-game-guides__call-to-action .page-game-guides__section-title {
  color: #FFF3E6;
  text-shadow: none;
}

.page-game-guides__call-to-action .page-game-guides__section-description {
  color: #FFF3E6;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    padding: 20px;
  }

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

  .page-game-guides__hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  }

  .page-game-guides__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-game-guides__hero-content {
    width: 95%;
    padding: 15px;
  }

  .page-game-guides__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .page-game-guides__hero-description {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    margin-bottom: 20px;
  }

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

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

  .page-game-guides__btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

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

  .page-game-guides__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 15px;
  }

  .page-game-guides__sub-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-top: 30px;
  }

  .page-game-guides__section-description,
  .page-game-guides__text-content,
  .page-game-guides__list li,
  .page-game-guides__list-ordered li,
  .page-game-guides__faq-answer p {
    font-size: 0.95rem;
  }

  .page-game-guides__card-grid {
    grid-template-columns: 1fr;
  }

  .page-game-guides__card {
    padding: 20px;
    min-height: auto;
  }

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

  .page-game-guides__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 20px auto;
  }

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

  .page-game-guides__faq-toggle {
    font-size: 1.5rem;
  }

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

  .page-game-guides__call-to-action {
    padding: 60px 20px;
    margin: 30px 15px;
  }
  
  .page-game-guides__hero-section {
    padding-top: 0 !important;
  }
  
  .page-game-guides__guide-overview {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-content {
    padding: 10px;
  }

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

  .page-game-guides__hero-description {
    font-size: clamp(0.8rem, 3vw, 0.9rem);
  }

  .page-game-guides__cta-buttons {
    gap: 10px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .page-game-guides__btn-large {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-game-guides__section-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .page-game-guides__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .page-game-guides__faq-question {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

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