/* style/game-guides.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */

.page-game-guides {
  background-color: #08160F; /* Màu nền chính của trang */
  color: #F2FFF6; /* Màu chữ chính */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng cách nhỏ từ đầu trang */
  background-color: #08160F;
  text-align: center;
}

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

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

.page-game-guides__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E; /* Màu Gold */
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.page-game-guides__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Màu Text Secondary */
  margin-bottom: 30px;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Màu nút */
  color: #F2FFF6; /* Màu chữ nút */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-game-guides__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background-color: #0A4B2C; /* Màu Deep Green */
  text-align: center;
}

.page-game-guides__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  margin-top: 30px;
}

.page-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-game-guides__video-caption {
  font-size: 0.95rem;
  color: #A7D9B8;
  margin-top: 20px;
}

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

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: #F2C14E; /* Màu Gold */
  margin-bottom: 30px;
  text-align: center;
}

.page-game-guides__introduction p {
  font-size: 1rem;
  color: #F2FFF6; /* Màu Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-game-guides__card {
  background-color: #11271B; /* Màu Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Màu Border */
  color: #F2FFF6; /* Màu Text Main */
}

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

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

.page-game-guides__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #F2C14E; /* Màu Gold */
  padding: 15px;
  margin-bottom: 5px;
}

.page-game-guides__card-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-game-guides__card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__card-description {
  font-size: 0.95rem;
  color: #A7D9B8; /* Màu Text Secondary */
  padding: 0 15px 15px;
}

.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 15px 15px;
  background: #11271B;
  color: #2AD16F; /* Màu nút */
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  border: 2px solid #2AD16F;
  transition: background 0.3s ease, color 0.3s ease;
}

.page-game-guides__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
}

.page-game-guides__benefits {
  background-color: #0A4B2C; /* Màu Deep Green */
  padding: 60px 20px;
}

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

.page-game-guides__benefit-item {
  text-align: center;
  background-color: #11271B;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E;
}

.page-game-guides__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-game-guides__benefit-title {
  font-size: 1.25rem;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-game-guides__benefit-description {
  font-size: 0.95rem;
  color: #A7D9B8;
}

.page-game-guides__cta {
  padding: 60px 20px;
  text-align: center;
  background-color: #08160F;
}

.page-game-guides__cta p {
  font-size: 1.1rem;
  color: #F2FFF6;
  margin-bottom: 40px;
}

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

.page-game-guides__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-game-guides__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__faq-section {
  padding: 60px 20px;
  background-color: #0A4B2C;
}

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

.page-game-guides__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  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.1rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #57E38D; /* Màu Glow */
  margin-left: 15px;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  content: "−";
}

.page-game-guides__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95rem;
  color: #A7D9B8;
  border-top: 1px solid #1E3A2A; /* Màu Divider */
  background-color: #0A4B2C;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-game-guides__section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
  }
  .page-game-guides__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section,
  .page-game-guides__video-section,
  .page-game-guides__content-area,
  .page-game-guides__benefits,
  .page-game-guides__cta,
  .page-game-guides__faq-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .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__hero-image-wrapper,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper,
  .page-game-guides__benefits-grid,
  .page-game-guides__cta-buttons,
  .page-game-guides__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .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;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .page-game-guides__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

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

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

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

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-game-guides__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-game-guides__cta-button,
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
}