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

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #08160F;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image bottom, not on top of text */
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-game-guides__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-game-guides__btn-secondary {
  background: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-game-guides__btn-secondary:hover {
  background: #2E7A4E; /* Border */
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

/* Why Choose Section */
.page-game-guides__why-choose {
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-game-guides__card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-game-guides__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-game-guides__card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

/* Popular Guides Section */
.page-game-guides__popular-guides {
  background-color: #08160F;
}

.page-game-guides__game-card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-game-guides__game-card-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin: 20px 20px 10px;
  font-weight: 700;
}

.page-game-guides__game-card-title a {
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
}

.page-game-guides__game-card-title a:hover {
  color: #2AD16F; /* Button gradient start color */
}

.page-game-guides__game-card-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
  padding: 0 20px;
  flex-grow: 1;
}

.page-game-guides__btn-text {
  color: #2AD16F; /* Button gradient start color */
  text-decoration: none;
  font-weight: 600;
  padding: 20px;
  display: block;
  text-align: right;
}

.page-game-guides__btn-text:hover {
  text-decoration: underline;
}

/* Get Started Section */
.page-game-guides__get-started {
  background-color: #0A4B2C;
}

.page-game-guides__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-game-guides__step-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-guides__step-title {
  font-size: 1.3em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: 700;
}

.page-game-guides__step-text {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95em;
}

.page-game-guides__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Learning Tips Section */
.page-game-guides__learning-tips {
  background-color: #08160F;
}

.page-game-guides__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-game-guides__image-right,
.page-game-guides__text-left {
  flex: 1;
  min-width: 300px;
}

.page-game-guides__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

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

.page-game-guides__list-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  font-size: 1.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__list-item strong {
  color: #F2C14E; /* Gold */
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: #0A4B2C;
}

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

.page-game-guides__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-game-guides__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #2AD16F; /* Button gradient start */
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-game-guides__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

.page-game-guides__faq-answer a {
  color: #2AD16F;
  text-decoration: underline;
}

.page-game-guides__faq-answer a:hover {
  color: #F2C14E;
}

/* Final CTA Section */
.page-game-guides__cta-final {
  text-align: center;
  background-color: #08160F;
  padding-bottom: 80px;
}

.page-game-guides__cta-final .page-game-guides__description {
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-content {
    margin-top: -100px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section-title {
    font-size: 2em;
  }

  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }

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

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

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

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

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

  .page-game-guides__image-right,
  .page-game-guides__text-left {
    min-width: unset;
    width: 100%;
  }

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

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__game-card,
  .page-game-guides__step-item,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-game-guides__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-game-guides__section-title {
    font-size: 1.8em;
  }

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

  .page-game-guides__hero-content {
    margin-top: -60px;
  }

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

  .page-game-guides__card,
  .page-game-guides__game-card,
  .page-game-guides__step-item,
  .page-game-guides__list-item,
  .page-game-guides__faq-item {
    padding: 20px;
  }

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

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