.page-resources {
  font-family: 'Arial', sans-serif;
  color: #e5d4b3; /* Light text for dark background */
  background-color: #1A2B4C; /* Main dark background */
}

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

.page-resources__hero {
  background: linear-gradient(135deg, #1A2B4C 0%, #3a4c70 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #e5d4b3;
  position: relative;
  overflow: hidden;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #F0B90B; /* Auxiliary color for emphasis */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: #ffffff;
}

.page-resources__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
}

.page-resources__btn--primary {
  background-color: #F0B90B; /* Auxiliary color */
  color: #1A2B4C; /* Dark text on light button */
  border: 2px solid #F0B90B;
}

.page-resources__btn--primary:hover {
  background-color: #e0a80a;
  border-color: #e0a80a;
  transform: translateY(-2px);
}

.page-resources__btn--secondary {
  background-color: transparent;
  color: #F0B90B; /* Auxiliary color */
  border: 2px solid #F0B90B;
}

.page-resources__btn--secondary:hover {
  background-color: #F0B90B;
  color: #1A2B4C; /* Dark text on light button */
  transform: translateY(-2px);
}

.page-resources__btn--tertiary {
  background-color: #3a4c70;
  color: #e5d4b3;
  border: 2px solid #3a4c70;
}

.page-resources__btn--tertiary:hover {
  background-color: #5f6b82;
  border-color: #5f6b82;
  transform: translateY(-2px);
}

.page-resources__section {
  padding: 80px 0;
  text-align: center;
}

.page-resources__section:nth-of-type(even) {
  background-color: #15223a; /* Slightly lighter dark background */
}

.page-resources__section-title {
  font-size: 2.8em;
  color: #F0B90B; /* Auxiliary color */
  margin-bottom: 25px;
  font-weight: bold;
}

.page-resources__section-description {
  font-size: 1.15em;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.page-resources__introduction {
  text-align: left;
}

.page-resources__intro-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-resources__text-content {
  flex: 1;
}

.page-resources__text-content p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e5d4b3;
}

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

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

.page-resources__categories {
  background-color: #1A2B4C;
}

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

.page-resources__category-item {
  background-color: #213554; /* Darker shade of main color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-resources__category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.page-resources__category-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #F0B90B);
}

.page-resources__category-title {
  font-size: 1.6em;
  color: #F0B90B; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-resources__category-item p {
  font-size: 1em;
  color: #e5d4b3;
  line-height: 1.6;
}

.page-resources__detail-list {
  background-color: #15223a;
}

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

.page-resources__article-card {
  background-color: #213554;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-resources__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-resources__article-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.page-resources__article-title a {
  color: #F0B90B; /* Auxiliary color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #ffffff;
}

.page-resources__article-description {
  font-size: 0.95em;
  color: #e5d4b3;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-resources__cta {
  background: linear-gradient(90deg, #1A2B4C, #F0B90B); /* Gradient for CTA */
  color: #1A2B4C;
  padding: 60px 0;
}

.page-resources__cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.page-resources__cta-text {
  text-align: left;
  flex: 2;
}

.page-resources__cta-title {
  font-size: 2.5em;
  color: #1A2B4C;
  margin-bottom: 15px;
}

.page-resources__cta-description {
  font-size: 1.1em;
  color: #3a4c70;
  line-height: 1.6;
}

.page-resources__cta-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-resources__cta-buttons .page-resources__btn {
  width: 100%;
  text-align: center;
}

.page-resources__responsible-gaming {
  background-color: #1A2B4C;
  color: #e5d4b3;
}

.page-resources__responsible-gaming p {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-resources__faq {
  background-color: #15223a;
  text-align: left;
}

.page-resources__faq-item {
  margin-bottom: 30px;
  border-bottom: 1px solid #3a4c70;
  padding-bottom: 20px;
}

.page-resources__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-resources__faq-question {
  font-size: 1.5em;
  color: #F0B90B; /* Auxiliary color */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-resources__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-resources__faq-answer {
  font-size: 1.05em;
  color: #e5d4b3;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-resources__faq-answer.active {
  max-height: 200px; /* Adjust based on max content */
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }

  .page-resources__hero-subtitle {
    font-size: 1.1em;
  }

  .page-resources__section-title {
    font-size: 2.2em;
  }

  .page-resources__intro-content {
    flex-direction: column;
  }

  .page-resources__image-wrapper {
    margin-top: 40px;
  }

  .page-resources__cta-content {
    flex-direction: column;
    text-align: center;
  }

  .page-resources__cta-text {
    text-align: center;
  }

  .page-resources__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources__hero {
    padding: 80px 0;
  }

  .page-resources__hero-title {
    font-size: 2.2em;
  }

  .page-resources__hero-subtitle {
    font-size: 1em;
  }

  .page-resources__section {
    padding: 60px 0;
  }

  .page-resources__section-title {
    font-size: 1.8em;
  }

  .page-resources__section-description {
    font-size: 1em;
  }

  .page-resources__category-grid,
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }

  .page-resources__cta-title {
    font-size: 1.8em;
  }

  .page-resources__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
}