.page-resources-game-strategy {
  color: #ffffff; /* Body background is dark, so text should be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with shared.css body background */
}

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

.page-resources-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.8), rgba(0, 0, 0, 0.8));
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  color: #ffffff;
}

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

.page-resources-game-strategy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.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.5);
}

.page-resources-game-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-game-strategy__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-game-strategy__btn-primary,
.page-resources-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile */
  white-space: normal; /* For mobile button text */
  word-wrap: break-word; /* For mobile button text */
}

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

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

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

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

.page-resources-game-strategy__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources-game-strategy__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-resources-game-strategy__introduction-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-game-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-resources-game-strategy__strategies-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-resources-game-strategy__strategy-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.page-resources-game-strategy__strategy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-game-strategy__card-image {
  width: 100%;
  height: 250px; /* Fixed height for cards */
  object-fit: cover;
  display: block;
}

.page-resources-game-strategy__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  padding: 20px 20px 10px;
}

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

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

.page-resources-game-strategy__card-description {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-resources-game-strategy__card-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  margin: 0 20px 20px;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.page-resources-game-strategy__card-link:hover {
  background-color: #1e87c0;
}

.page-resources-game-strategy__responsible-gaming-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-game-strategy__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-resources-game-strategy__text-content {
  flex: 1;
}

.page-resources-game-strategy__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-game-strategy__responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block; /* Ensure it behaves as a block element */
}

.page-resources-game-strategy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-game-strategy__list-item {
  margin-bottom: 10px;
}

.page-resources-game-strategy__why-choose-section {
  padding: 60px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-resources-game-strategy__feature-item {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

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

.page-resources-game-strategy__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-game-strategy__cta-section {
  text-align: center;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* For mobile responsiveness */
}

.page-resources-game-strategy__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-resources-game-strategy__faq-item {
  background-color: #0a0a0a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-resources-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-game-strategy__faq-question:hover {
  background-color: #26A9E0;
}

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

.page-resources-game-strategy__faq-toggle {
  font-size: 1.5em;
  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(45deg);
  color: #ffffff;
}

.page-resources-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px;
}

.page-resources-game-strategy__faq-answer .page-resources-game-strategy__paragraph {
  margin-bottom: 15px;
}

.page-resources-game-strategy__faq-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  margin-top: 10px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-game-strategy__faq-button:hover {
  background-color: #d46c06;
}

/* 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;
  }
  .page-resources-game-strategy__content-wrapper {
    flex-direction: column;
  }
  .page-resources-game-strategy__text-content, .page-resources-game-strategy__image-wrapper {
    flex: none;
    width: 100%;
  }
}

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

  .page-resources-game-strategy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header 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-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-game-strategy__btn-primary,
  .page-resources-game-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-game-strategy__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-game-strategy__introduction-section,
  .page-resources-game-strategy__strategies-section,
  .page-resources-game-strategy__responsible-gaming-section,
  .page-resources-game-strategy__why-choose-section,
  .page-resources-game-strategy__faq-section {
    padding: 40px 0;
  }

  .page-resources-game-strategy__container {
    padding: 0 15px;
  }

  .page-resources-game-strategy__strategy-grid,
  .page-resources-game-strategy__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-resources-game-strategy__strategy-card,
  .page-resources-game-strategy__feature-item,
  .page-resources-game-strategy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-game-strategy__cta-section {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-game-strategy__faq-question {
    padding: 15px;
  }

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

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

  .page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all containers with images/videos/buttons are constrained */
  .page-resources-game-strategy__image-wrapper,
  .page-resources-game-strategy__video-section,
  .page-resources-game-strategy__video-container,
  .page-resources-game-strategy__video-wrapper,
  .page-resources-game-strategy__cta-buttons,
  .page-resources-game-strategy__button-group,
  .page-resources-game-strategy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}