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

:root {
  --pg66-primary-color: #26A9E0;
  --pg66-secondary-color: #FFFFFF;
  --pg66-dark-bg-color: #000000;
  --pg66-light-text-color: #ffffff;
  --pg66-dark-text-color: #333333;
  --pg66-login-color: #EA7C07;
}

.page-game-guides {
  color: var(--pg66-light-text-color); /* Mặc định cho nền tối của body */
  background-color: var(--pg66-dark-bg-color);
}

.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  color: var(--pg66-light-text-color);
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

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

.page-game-guides__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--pg66-secondary-color);
}

.page-game-guides__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--pg66-secondary-color);
}

.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 {
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-game-guides__btn-primary {
  background-color: var(--pg66-primary-color);
  color: var(--pg66-secondary-color);
  border: 2px solid var(--pg66-primary-color);
}

.page-game-guides__btn-primary:hover {
  background-color: darken(var(--pg66-primary-color), 10%);
  border-color: darken(var(--pg66-primary-color), 10%);
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: var(--pg66-primary-color);
  border: 2px solid var(--pg66-primary-color);
}

.page-game-guides__btn-secondary:hover {
  background-color: var(--pg66-primary-color);
  color: var(--pg66-secondary-color);
}

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

.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.8em, 3.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--pg66-primary-color);
}

.page-game-guides__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--pg66-primary-color);
}

.page-game-guides__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--pg66-dark-text-color);
}

.page-game-guides__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--pg66-dark-text-color);
}

.page-game-guides__list-item {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--pg66-dark-text-color);
}

.page-game-guides__overview-section {
  background-color: var(--pg66-secondary-color);
  color: var(--pg66-dark-text-color);
}

.page-game-guides__overview-section .page-game-guides__section-title,
.page-game-guides__overview-section .page-game-guides__sub-title {
  color: var(--pg66-primary-color);
}

.page-game-guides__game-types {
  background-color: var(--pg66-dark-bg-color);
  color: var(--pg66-light-text-color);
}

.page-game-guides__game-types .page-game-guides__section-title,
.page-game-guides__game-types .page-game-guides__sub-title {
  color: var(--pg66-primary-color);
}

.page-game-guides__game-types .page-game-guides__paragraph {
  color: var(--pg66-secondary-color);
}

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

.page-game-guides__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--pg66-secondary-color);
}

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

.page-game-guides__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-guides__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--pg66-primary-color);
}

.page-game-guides__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
  color: var(--pg66-secondary-color);
}

.page-game-guides__card-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--pg66-secondary-color);
}

.page-game-guides__card-list .page-game-guides__list-item {
  font-size: 0.9em;
  color: var(--pg66-secondary-color);
}

.page-game-guides__btn-read-more {
  display: inline-block;
  padding: 8px 20px;
  background-color: var(--pg66-primary-color);
  color: var(--pg66-secondary-color);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-game-guides__btn-read-more:hover {
  background-color: darken(var(--pg66-primary-color), 10%);
}

.page-game-guides__tips-strategies {
  background-color: var(--pg66-secondary-color);
  color: var(--pg66-dark-text-color);
}

.page-game-guides__tips-strategies .page-game-guides__section-title,
.page-game-guides__tips-strategies .page-game-guides__sub-title {
  color: var(--pg66-primary-color);
}

.page-game-guides__tips-strategies .page-game-guides__paragraph {
  color: var(--pg66-dark-text-color);
}

.page-game-guides__why-choose {
  background-color: var(--pg66-dark-bg-color);
  color: var(--pg66-light-text-color);
}

.page-game-guides__why-choose .page-game-guides__section-title,
.page-game-guides__why-choose .page-game-guides__sub-title {
  color: var(--pg66-primary-color);
}

.page-game-guides__why-choose .page-game-guides__paragraph {
  color: var(--pg66-secondary-color);
}

.page-game-guides__faq-section {
  background-color: var(--pg66-secondary-color);
  color: var(--pg66-dark-text-color);
}

.page-game-guides__faq-section .page-game-guides__section-title {
  color: var(--pg66-primary-color);
}

.page-game-guides__faq-list {
  margin-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.page-game-guides__faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
  color: var(--pg66-dark-text-color);
}

.page-game-guides__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--pg66-primary-color);
  padding-right: 10px;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-game-guides__faq-answer {
  padding-top: 10px;
  padding-left: 10px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--pg66-dark-text-color);
}

.page-game-guides__faq-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
}

.page-game-guides__faq-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-game-guides__faq-cta .page-game-guides__paragraph {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: var(--pg66-dark-text-color);
}

.page-game-guides__cta-bottom {
  background-color: var(--pg66-dark-bg-color);
  color: var(--pg66-light-text-color);
  text-align: center;
}

.page-game-guides__cta-bottom .page-game-guides__section-title {
  color: var(--pg66-primary-color);
}

.page-game-guides__cta-bottom .page-game-guides__paragraph {
  color: var(--pg66-secondary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-image-wrapper {
    max-height: 500px;
  }
  .page-game-guides__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-game-guides__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-game-guides__hero-image-wrapper {
    max-height: 400px;
    margin-bottom: 15px;
  }
  .page-game-guides__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-game-guides__intro-text {
    font-size: 1em;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
  }
  .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;
    overflow: hidden !important;
  }
  .page-game-guides__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
    margin-bottom: 30px;
  }
  .page-game-guides__sub-title {
    font-size: clamp(1.2em, 4vw, 1.8em);
    margin-top: 25px;
  }
  .page-game-guides__paragraph,
  .page-game-guides__list-item,
  .page-game-guides__card-text {
    font-size: 0.95em;
  }
  .page-game-guides__guide-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-game-guides__card {
    padding: 20px;
  }
  .page-game-guides__card-image {
    height: auto;
    min-height: 200px;
  }
  .page-game-guides__faq-item summary {
    font-size: 1em;
    padding-right: 0;
  }
  .page-game-guides__faq-answer {
    padding-left: 0;
  }
  .page-game-guides__faq-cta {
    padding: 20px;
  }
  .page-game-guides__faq-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-guides__video-section {
    padding-top: 10px !important;
  }
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !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;
    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__cta-buttons {
    flex-direction: column;
  }
}