.page-resources {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Montserrat', sans-serif; /* Using a modern, bold font for gaming aesthetic */
  line-height: 1.6;
  background-color: #000000; /* Ensure body background is explicitly dark */
}

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

.page-resources__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #0A192F; /* Main brand color for hero background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for title */
  font-weight: bold;
  line-height: 1.2;
}

.page-resources__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-resources__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for button */
  color: #0A192F; /* Dark text for accent button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
  z-index: 0;
}

.page-resources__articles-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Slightly lighter than body for contrast */
}

.page-resources__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__section-description {
  font-size: 1.1em;
  color: #e0e0e0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-resources__article-card {
  background-color: #1a1a1a; /* Dark background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
}

.page-resources__article-image {
  width: 100%;
  height: 225px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
}

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

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
  font-weight: bold;
}

.page-resources__article-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-resources__article-summary {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources__article-button {
  display: inline-block;
  background-color: #0A192F; /* Primary color for button */
  color: #FFD700; /* Accent text for button */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-resources__article-button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-resources__cta-section {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%); /* Gradient background */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-resources__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources__cta-description {
  font-size: 1.2em;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A192F;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.page-resources__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

.page-resources__faq-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-resources__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources__faq-answer {
  font-size: 1em;
  color: #cccccc;
}

.page-resources__faq-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #0A192F;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__faq-button:hover {
  background-color: #FFD700;
  color: #0A192F;
}

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

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

@media (max-width: 768px) {
  .page-resources__hero-section {
    padding-top: var(--header-offset, 100px); /* Adjust for mobile header */
    padding-bottom: 40px;
  }

  .page-resources__hero-container {
    padding: 40px 15px;
  }

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

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

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

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

  .page-resources__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-resources__article-image {
    height: 200px; /* Ensure images are not too small */
  }
  
  .page-resources__article-card {
    margin-bottom: 20px;
  }

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

  .page-resources__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  .page-resources__faq-question {
    font-size: 1.2em;
  }

  /* Critical: Ensure all images within .page-resources are responsive and not too small */
  .page-resources img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

}

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__hero-container,
  .page-resources__container {
    padding: 0 15px;
  }
}