/* style/game-strategy-guides.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại ở đây */

:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-game-strategy-guides {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-game-strategy-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body đã có padding-top, đây chỉ là khoảng cách nhỏ */
  text-align: center;
  overflow: hidden;
}

.page-game-strategy-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Giới hạn chiều cao hình ảnh hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-strategy-guides__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(0.7); /* Làm mờ hình ảnh để text dễ đọc hơn */
}

.page-game-strategy-guides__hero-content {
  position: relative; /* Thay đổi vị trí để không chồng lên ảnh mà nằm dưới */
  margin-top: 40px; /* Khoảng cách từ ảnh */
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-game-strategy-guides__main-title {
  font-size: clamp(2em, 3.5vw, 3.2em);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-game-strategy-guides__intro-text {
  font-size: clamp(1em, 1.2vw, 1.2em);
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

.page-game-strategy-guides__btn-primary,
.page-game-strategy-guides__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-game-strategy-guides__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main-color);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-game-strategy-guides__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  transform: translateY(-2px);
}

.page-game-strategy-guides__btn-secondary {
  background-color: transparent;
  color: var(--gold-color);
  border: 2px solid var(--gold-color);
  margin-left: 15px;
}

.page-game-strategy-guides__btn-secondary:hover {
  background-color: var(--gold-color);
  color: var(--page-bg-color);
  transform: translateY(-2px);
}

.page-game-strategy-guides__section {
  padding: 60px 0;
  border-top: 1px solid var(--divider-color);
}

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

.page-game-strategy-guides__section-title {
  font-size: clamp(1.8em, 2.5vw, 2.5em);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-game-strategy-guides__sub-title {
  font-size: clamp(1.4em, 1.8vw, 1.8em);
  color: var(--glow-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid var(--gold-color);
  padding-left: 15px;
}

.page-game-strategy-guides__paragraph {
  font-size: 1.1em;
  color: var(--text-main-color);
  margin-bottom: 15px;
}

.page-game-strategy-guides__list {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-game-strategy-guides__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-secondary-color);
}

.page-game-strategy-guides__list-item::before {
  content: '⚡'; /* Biểu tượng tùy chỉnh */
  position: absolute;
  left: 0;
  color: var(--glow-color);
  font-size: 1.2em;
  line-height: 1;
}

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

.page-game-strategy-guides__game-card {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategy-guides__game-title {
  font-size: clamp(1.5em, 2vw, 2.2em);
  color: var(--gold-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-game-strategy-guides__game-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-strategy-guides__cta-block {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: var(--deep-green-color);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-game-strategy-guides__cta-block .page-game-strategy-guides__paragraph {
  font-size: 1.2em;
  color: var(--text-main-color);
  margin-bottom: 25px;
}

.page-game-strategy-guides__faq-section {
  background-color: var(--page-bg-color);
}

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

.page-game-strategy-guides__faq-item {
  background-color: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-strategy-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-main-color);
  background-color: var(--card-bg-color);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-game-strategy-guides__faq-question:hover {
  background-color: var(--deep-green-color);
}

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

.page-game-strategy-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-strategy-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-game-strategy-guides__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-game-strategy-guides__faq-item[open] .page-game-strategy-guides__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding-top: 15px;
}

.page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
  max-height: 500px !important; /* For JS fallback */
  padding-top: 15px !important;
}

.page-game-strategy-guides__conclusion-cta {
  text-align: center;
  padding-bottom: 80px;
}

.page-game-strategy-guides__conclusion-cta .page-game-strategy-guides__section-title {
  margin-bottom: 30px;
}

.page-game-strategy-guides__conclusion-cta .page-game-strategy-guides__paragraph {
  font-size: 1.15em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-strategy-guides__hero-content {
    padding: 0 30px;
  }
  .page-game-strategy-guides__container {
    padding: 0 30px;
  }
  .page-game-strategy-guides__btn-secondary {
    margin-left: 10px;
  }
}

@media (max-width: 768px) {
  .page-game-strategy-guides__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-game-strategy-guides__hero-content {
    margin-top: 20px;
  }
  .page-game-strategy-guides__main-title {
    font-size: 2em;
  }
  .page-game-strategy-guides__intro-text {
    font-size: 1em;
  }
  .page-game-strategy-guides__section {
    padding: 40px 0;
  }
  .page-game-strategy-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-strategy-guides__sub-title {
    font-size: 1.3em;
  }
  .page-game-strategy-guides__paragraph,
  .page-game-strategy-guides__list-item {
    font-size: 1em;
  }
  .page-game-strategy-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-game-strategy-guides__btn-primary,
  .page-game-strategy-guides__btn-secondary {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 20px;
  }

  /* Mobile image responsiveness */
  .page-game-strategy-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategy-guides__hero-image-wrapper,
  .page-game-strategy-guides__section,
  .page-game-strategy-guides__container,
  .page-game-strategy-guides__game-card,
  .page-game-strategy-guides__cta-block,
  .page-game-strategy-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-game-strategy-guides__hero-section {
    padding-top: 10px !important; /* body đã承担 --header-offset，此处禁止 var(--header-offset) */
  }

  .page-game-strategy-guides__faq-question {
    font-size: 1em;
  }
  .page-game-strategy-guides__faq-toggle {
    font-size: 1.2em;
  }
}

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