/* style/game-strategies.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này KHÔNG được viết lại biến đó */

.page-game-strategies {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #000 (dark), so use light text */
  background-color: transparent; /* Main content background is transparent, relying on body's background */
}

.page-game-strategies__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than pure black for sections */
  color: #ffffff;
}

.page-game-strategies__light-bg {
  background-color: #1a1a1a; /* Lighter dark background for contrast sections */
  color: #f0f0f0;
}

.page-game-strategies__text-dark {
  color: #f0f0f0; /* Ensure text is visible on light-dark sections */
}

.page-game-strategies__section {
  padding: 60px 20px;
  text-align: center;
  padding-top: 10px; /* Small top padding for sections, body handles header offset */
}

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

.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding: 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-game-strategies__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.page-game-strategies__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-game-strategies__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  padding: 20px;
}

.page-game-strategies__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-strategies__intro-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-strategies__cta-buttons--center {
  margin-top: 30px;
}

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-game-strategies__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-game-strategies__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-game-strategies__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-strategies__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: #26A9E0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-game-strategies__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategies__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.page-game-strategies__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-game-strategies__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Minimum size */
}

.page-game-strategies__text-content {
  flex: 1;
}

.page-game-strategies__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-game-strategies__strategy-list,
.page-game-strategies__data-analysis-list,
.page-game-strategies__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-strategies__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategies__list-item p {
  margin-bottom: 0;
}

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

.page-game-strategies__card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #f0f0f0; /* Light text for dark card background */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-strategies__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Minimum size */
}

.page-game-strategies__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-game-strategies__card-text {
  font-size: 1rem;
}

.page-game-strategies__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategies__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-strategies__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #26A9E0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-game-strategies__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-game-strategies__faq-answer {
  padding: 20px 25px;
  font-size: 1.1rem;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.02);
}

/* Responsive styles */
@media (max-width: 992px) {
  .page-game-strategies__image-text-block {
    flex-direction: column;
    text-align: center;
  }

  .page-game-strategies__image-text-block--reverse {
    flex-direction: column;
  }

  .page-game-strategies__content-image {
    max-width: 80%;
  }

  .page-game-strategies__hero-content {
    padding: 15px;
  }

  .page-game-strategies__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-game-strategies__intro-text {
    font-size: 1rem;
  }

  .page-game-strategies__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-game-strategies__sub-title {
    font-size: 1.5rem;
  }

  .page-game-strategies__text-block {
    font-size: 1rem;
  }

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

  .page-game-strategies__card {
    align-items: center;
  }

  .page-game-strategies__card-title {
    text-align: center;
  }

  .page-game-strategies__card-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  /* Mobile specific overrides with !important */
  .page-game-strategies__section {
    padding: 40px 15px !important;
    padding-top: 10px !important;
  }
  
  .page-game-strategies__hero-section {
    min-height: 450px;
    padding: 15px !important;
    padding-top: 10px !important;
  }

  .page-game-strategies__hero-image-wrapper {
    height: 100%;
  }

  .page-game-strategies__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }

  .page-game-strategies__intro-text {
    font-size: 0.95rem !important;
  }

  .page-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-game-strategies__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategies__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive */
  .page-game-strategies__image-text-block,
  .page-game-strategies__card,
  .page-game-strategies__list-item,
  .page-game-strategies__faq-item,
  .page-game-strategies__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-game-strategies__list-item,
  .page-game-strategies__faq-item {
    padding: 15px !important;
  }

  .page-game-strategies__faq-item summary {
    font-size: 1.1rem !important;
    padding: 15px 20px !important;
  }

  .page-game-strategies__faq-answer {
    font-size: 1rem !important;
    padding: 15px 20px !important;
  }

  .page-game-strategies__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    margin-bottom: 25px !important;
  }

  .page-game-strategies__sub-title {
    font-size: 1.3rem !important;
  }

  .page-game-strategies__text-block {
    font-size: 0.95rem !important;
  }
}