.page-resources-game-strategy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-resources-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  min-height: 600px;
  overflow: hidden;
}

.page-resources-game-strategy__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
  color: #ffffff;
  margin-bottom: 40px;
}

.page-resources-game-strategy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
}

.page-resources-game-strategy__hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-resources-game-strategy__hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-game-strategy__section {
  padding: 80px 20px;
  text-align: center;
}

.page-resources-game-strategy__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-resources-game-strategy__light-bg {
  background-color: #f5f5f5;
  color: #333333;
}

.page-resources-game-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: inherit;
}

.page-resources-game-strategy__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-resources-game-strategy__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-game-strategy__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-game-strategy__card--dark {
  background: #1a1a1a; /* Darker background for cards in dark sections */
  color: #ffffff;
}

.page-resources-game-strategy__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

.page-resources-game-strategy__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-resources-game-strategy__card-text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-game-strategy__card-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-game-strategy__card-link:hover {
  color: #3bbfef;
}

.page-resources-game-strategy__card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources-game-strategy__card li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-resources-game-strategy__card li a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-game-strategy__card li a:hover {
  text-decoration: underline;
}

.page-resources-game-strategy__btn-primary,
.page-resources-game-strategy__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

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

.page-resources-game-strategy__btn-primary:hover {
  background-color: #3bbfef;
  border-color: #3bbfef;
}

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

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

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

.page-resources-game-strategy__cta-buttons--center {
  margin-top: 50px;
}

.page-resources-game-strategy__btn-primary--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-resources-game-strategy__advanced-tips .page-resources-game-strategy__content-area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-game-strategy__tip-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-resources-game-strategy__tip-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-resources-game-strategy__tip-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
}

.page-resources-game-strategy__faq-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Darker background for FAQ */
  color: #ffffff;
}

.page-resources-game-strategy__faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-game-strategy__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-game-strategy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-game-strategy__faq-title {
  font-size: 1.3em;
  color: #ffffff;
  margin: 0;
}

.page-resources-game-strategy__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-toggle {
  transform: rotate(0deg); /* '−' will not rotate */
}

.page-resources-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  color: #f0f0f0;
}

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

.page-resources-game-strategy__faq-answer p {
  margin: 0;
  line-height: 1.7;
}

.page-resources-game-strategy__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources-game-strategy__faq-answer a:hover {
  text-decoration: underline;
}

.page-resources-game-strategy__cta-section {
  padding: 80px 20px;
  background: linear-gradient(45deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
}

.page-resources-game-strategy__cta-section .page-resources-game-strategy__section-title,
.page-resources-game-strategy__cta-section .page-resources-game-strategy__section-description {
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-game-strategy__hero-title {
    font-size: 2.8em;
  }
  .page-resources-game-strategy__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-game-strategy {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-game-strategy__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }

  .page-resources-game-strategy__hero-title {
    font-size: 2.2em;
  }

  .page-resources-game-strategy__hero-description {
    font-size: 1em;
  }

  .page-resources-game-strategy__hero-video-wrapper {
    margin-top: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-game-strategy__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-game-strategy__section {
    padding: 50px 15px;
  }

  .page-resources-game-strategy__section-title {
    font-size: 1.8em;
  }

  .page-resources-game-strategy__section-description {
    margin-bottom: 30px;
  }

  .page-resources-game-strategy__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-game-strategy__card,
  .page-resources-game-strategy__tip-item,
  .page-resources-game-strategy__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-game-strategy__card-image,
  .page-resources-game-strategy__tip-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-game-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-resources-game-strategy__btn-primary,
  .page-resources-game-strategy__btn-secondary,
  .page-resources-game-strategy a[class*="button"],
  .page-resources-game-strategy 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-resources-game-strategy__faq-question {
    padding: 15px 20px;
  }

  .page-resources-game-strategy__faq-title {
    font-size: 1.1em;
  }

  .page-resources-game-strategy__faq-answer {
    padding: 0 20px;
  }

  .page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-game-strategy__hero-title {
    font-size: 1.8em;
  }
  .page-resources-game-strategy__section-title {
    font-size: 1.5em;
  }
  .page-resources-game-strategy__card-title {
    font-size: 1.4em;
  }
  .page-resources-game-strategy__tip-title {
    font-size: 1.5em;
  }
}