.page-game-strategies {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --card-bg-light: #ffffff;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
  
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--light-text-color); /* Default to light text for dark body background */
}

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

.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
  min-height: 600px;
}

.page-game-strategies__dark-bg {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.page-game-strategies__light-bg {
  background-color: var(--card-bg-light);
  color: var(--dark-text-color);
}

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

.page-game-strategies__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.page-game-strategies__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-game-strategies__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--light-text-color);
  line-height: 1.2;
}

.page-game-strategies__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

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

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-game-strategies__btn-primary {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
  border: 2px solid var(--secondary-color);
}

.page-game-strategies__btn-primary:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
}

.page-game-strategies__btn-secondary {
  background-color: transparent;
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.page-game-strategies__btn-secondary:hover {
  background-color: var(--light-text-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.page-game-strategies__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-strategies__introduction-section,
.page-game-strategies__why-strategy-section,
.page-game-strategies__advanced-strategies-section,
.page-game-strategies__faq-section {
  padding: 60px 0;
}

.page-game-strategies__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-game-strategies__text-link {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-game-strategies__text-link:hover {
  color: var(--secondary-color);
}

.page-game-strategies__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-game-strategies__content-grid--reversed {
  flex-direction: row-reverse;
}

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

.page-game-strategies__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-game-strategies__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-game-strategies__sub-section-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-game-strategies__basic-strategies-section,
.page-game-strategies__optimization-tips-section,
.page-game-strategies__conclusion-section,
.page-game-strategies__video-section {
  padding: 60px 0;
}

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

.page-game-strategies__card {
  background-color: var(--card-bg-dark);
  color: var(--light-text-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-strategies__card:hover {
  transform: translateY(-5px);
}

.page-game-strategies__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-game-strategies__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-game-strategies__card-text {
  font-size: 1em;
  line-height: 1.6;
  flex-grow: 1;
}

.page-game-strategies__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategies__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
}

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

.page-game-strategies__faq-item {
  background-color: var(--card-bg-dark);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--light-text-color);
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-strategies__faq-question:hover {
  background-color: lighten(var(--primary-color), 10%);
}

.page-game-strategies__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: var(--light-text-color);
}

.page-game-strategies__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-game-strategies__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--card-bg-dark);
  color: var(--light-text-color);
}

.page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

.page-game-strategies__faq-answer .page-game-strategies__text-block {
  margin-bottom: 0;
}

.page-game-strategies__faq-image-wrapper {
  margin-top: 40px;
}

.page-game-strategies__conclusion-cta {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-strategies__hero-title {
    font-size: 2.8em;
  }
  .page-game-strategies__section-title {
    font-size: 2em;
  }
  .page-game-strategies__content-grid {
    flex-direction: column;
  }
  .page-game-strategies__content-grid--reversed {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-game-strategies__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }
  .page-game-strategies__hero-title {
    font-size: 2.2em;
  }
  .page-game-strategies__hero-description {
    font-size: 1em;
  }
  .page-game-strategies__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-strategies__btn-primary,
  .page-game-strategies__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-strategies__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-strategies__introduction-section,
  .page-game-strategies__why-strategy-section,
  .page-game-strategies__advanced-strategies-section,
  .page-game-strategies__optimization-tips-section,
  .page-game-strategies__conclusion-section,
  .page-game-strategies__video-section,
  .page-game-strategies__faq-section {
    padding: 40px 0;
  }
  .page-game-strategies__container {
    padding: 0 15px;
  }
  .page-game-strategies__text-block {
    font-size: 1em;
  }
  .page-game-strategies__sub-section-title {
    font-size: 1.5em;
  }
  .page-game-strategies__strategy-grid,
  .page-game-strategies__tips-grid {
    grid-template-columns: 1fr;
  }
  .page-game-strategies__card {
    padding: 20px;
  }
  .page-game-strategies__card-image {
    min-width: 200px !important;
    min-height: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }
  
  .page-game-strategies img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies__section,
  .page-game-strategies__card,
  .page-game-strategies__container,
  .page-game-strategies__video-section,
  .page-game-strategies__video-container,
  .page-game-strategies__video-wrapper,
  .page-game-strategies__hero-cta-buttons,
  .page-game-strategies__button-group,
  .page-game-strategies__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-strategies video,
  .page-game-strategies__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies__video-wrapper {
    padding-bottom: 56.25% !important;
    height: 0 !important;
  }
  .page-game-strategies__faq-question {
    padding: 15px 20px;
  }
  .page-game-strategies__faq-answer {
    padding: 0 20px;
  }
  .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    padding: 15px 20px;
  }
  .page-game-strategies__faq-title {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-game-strategies__hero-title {
    font-size: 1.8em;
  }
  .page-game-strategies__section-title {
    font-size: 1.5em;
  }
  .page-game-strategies__sub-section-title {
    font-size: 1.3em;
  }
}