.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff;
}

.page-game-strategies__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-strategies__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  position: relative;
  overflow: hidden;
}

.page-game-strategies__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-game-strategies__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-game-strategies__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-game-strategies__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-game-strategies__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.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;
  opacity: 0.3; /* Subtle overlay */
}

.page-game-strategies__section {
  padding: 60px 20px;
  text-align: center;
}

.page-game-strategies__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-game-strategies__section-title {
  font-size: 2.2em;
  margin-bottom: 30px;
  color: inherit;
}

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

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

.page-game-strategies__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-game-strategies__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-game-strategies__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
  min-height: 2em; /* Ensure consistent title height */
}

.page-game-strategies__card-text {
  font-size: 1em;
  color: #555555;
  text-align: left;
  flex-grow: 1;
}

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

.page-game-strategies__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding-bottom: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-game-strategies__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.page-game-strategies__game-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: 20px;
}

.page-game-strategies__game-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
  padding: 0 20px;
}

.page-game-strategies__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-strategies__game-card-title a:hover {
  color: #1a7aab;
  text-decoration: underline;
}

.page-game-strategies__game-card-text {
  font-size: 1em;
  color: #555555;
  text-align: left;
  padding: 0 20px;
  flex-grow: 1;
}

.page-game-strategies__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-strategies__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  text-align: left;
  color: #ffffff;
  font-size: 1.1em;
}

.page-game-strategies__list-icon {
  font-size: 1.8em;
  margin-right: 15px;
  color: #ffffff;
  flex-shrink: 0;
}

.page-game-strategies__list-text {
  color: #ffffff;
  line-height: 1.7;
}

.page-game-strategies__list-text a {
  color: #ffffff;
  text-decoration: underline;
}

.page-game-strategies__list-text a:hover {
  color: #f0f0f0;
}

.page-game-strategies__responsible-gaming-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-game-strategies__content-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-strategies__responsible-gaming-content .page-game-strategies__text-block {
  width: 50%;
  color: #333333;
}

.page-game-strategies__responsible-gaming-content .page-game-strategies__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-game-strategies__responsible-gaming-content .page-game-strategies__text-block a:hover {
  color: #1a7aab;
}

.page-game-strategies__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-game-strategies__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-game-strategies__faq-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-strategies__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-game-strategies__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-game-strategies__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.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;
  color: #f0f0f0;
}

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

.page-game-strategies__faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-game-strategies__cta-section {
  padding: 80px 20px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-strategies__main-title {
    font-size: 2.5em;
  }
  .page-game-strategies__hero-description {
    font-size: 1.1em;
  }
  .page-game-strategies__section-title {
    font-size: 2em;
  }
  .page-game-strategies__content-image {
    width: 45%;
  }
  .page-game-strategies__responsible-gaming-content .page-game-strategies__text-block {
    width: 55%;
  }
}

@media (max-width: 768px) {
  .page-game-strategies__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-strategies__main-title {
    font-size: 2em;
  }
  .page-game-strategies__hero-description {
    font-size: 1em;
  }
  .page-game-strategies__section {
    padding: 40px 15px;
  }
  .page-game-strategies__section-title {
    font-size: 1.8em;
  }
  .page-game-strategies__text-block {
    font-size: 0.95em;
  }
  .page-game-strategies__card-grid,
  .page-game-strategies__game-strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-strategies__card-image,
  .page-game-strategies__game-card-image {
    height: 200px;
  }
  .page-game-strategies__responsible-gaming-content {
    flex-direction: column;
  }
  .page-game-strategies__content-image,
  .page-game-strategies__responsible-gaming-content .page-game-strategies__text-block {
    width: 100%;
  }
  .page-game-strategies__list-item {
    font-size: 1em;
  }
  .page-game-strategies__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-game-strategies__faq-answer {
    padding: 0 20px;
  }
  .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  
  /* Mobile image and video responsiveness */
  .page-game-strategies img,
  .page-game-strategies video {
    max-width: 100% !important;
    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__game-card,
  .page-game-strategies__faq-item,
  .page-game-strategies__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-strategies__hero-section .page-game-strategies__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-game-strategies__faq-list {
    padding-left: 0;
    padding-right: 0;
  }
}