.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #017439;
  color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-resources__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for H1 as per brand guide */
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-resources__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
}

.page-resources__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-resources__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
}

.page-resources__dark-bg .page-resources__section-title {
  color: #FFFFFF;
}

.page-resources__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources__dark-bg .page-resources__text-block {
  color: #f0f0f0;
}

.page-resources__text-link {
  color: #017439;
  text-decoration: underline;
}

.page-resources__dark-bg .page-resources__text-link {
  color: #FFFF00;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background-color: #C30808; /* Custom for registration/login */
  color: #FFFF00; /* Custom for registration/login text */
  border: 2px solid #C30808;
  margin-right: 15px;
}

.page-resources__btn-primary:hover {
  background-color: #E60000;
  border-color: #E60000;
}

.page-resources__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources__btn-secondary:hover {
  background-color: #F0F0F0;
  color: #017439;
}

.page-resources__btn-link {
  display: inline-block;
  margin-top: 15px;
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-resources__btn-link:hover {
  color: #005f2e;
}

.page-resources__introduction-section,
.page-resources__games-section,
.page-resources__strategies-section,
.page-resources__faq-section {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources__guide-section,
.page-resources__promotions-section,
.page-resources__safety-section,
.page-resources__cta-section {
  background-color: #017439;
  color: #FFFFFF;
}

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

.page-resources__grid-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__ordered-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources__ordered-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-resources__game-category {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-resources__game-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources__game-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources__game-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

.page-resources__promo-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources__promo-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

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

.page-resources__strategy-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-resources__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-resources__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources__safety-features {
  list-style-type: check;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources__safety-features li {
  margin-bottom: 10px;
  line-height: 1.6;
}

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

.page-resources__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
}

.page-resources__faq-question:hover {
  background-color: #f0f0f0;
}

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

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

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important;
  padding: 15px 25px;
}

.page-resources__faq-answer p {
  margin-bottom: 15px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__hero-image-wrapper {
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-resources__hero-title {
    font-size: 2.5em;
  }
  .page-resources__hero-description {
    font-size: 1.1em;
  }
  .page-resources__container {
    padding: 30px 15px;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources__image-grid,
  .page-resources__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-resources img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__game-category,
  .page-resources__strategy-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources__faq-answer {
    padding: 0 20px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__section-title {
    font-size: 1.5em;
  }
  .page-resources__text-block {
    font-size: 0.95em;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
}