.page-resources {
  color: #333333; /* Dark text on light body background */
}

.page-resources__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
}

.page-resources__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-resources__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-resources__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-resources__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-resources__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-resources__hero-button--register:hover {
  background-color: #e0e0e0;
  color: #000000;
}

.page-resources__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources__hero-button--login:hover {
  background-color: #e6a73c;
  color: #000000;
}

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

.page-resources__articles-section,
.page-resources__deep-dive-section,
.page-resources__gaming-ecosystem-section,
.page-resources__faq-section,
.page-resources__cta-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-resources__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-resources__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
  color: #555555;
}

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

.page-resources__article-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
}

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

.page-resources__article-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources__article-title a {
  color: #000000;
  text-decoration: none;
}

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

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

.page-resources__article-link {
  display: inline-block;
  margin-top: auto;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__article-link:hover {
  color: #e6a73c;
}

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

.page-resources__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources__feature-icon {
  width: 250px;
  height: 167px;
  object-fit: cover;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-resources__feature-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-resources__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-resources__gaming-ecosystem-section {
  background-color: #f5f5f5;
}

.page-resources__content-block {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.page-resources__content-block:last-child {
  margin-bottom: 0;
}

.page-resources__content-block--reversed {
  flex-direction: row-reverse;
}

.page-resources__content-block--reversed .page-resources__content-image {
  margin-left: 0;
  margin-right: 20px;
}

.page-resources__content-heading {
  font-size: 2.2em;
  color: #000000;
  margin-bottom: 20px;
}

.page-resources__content-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  flex: 1;
}

.page-resources__content-image {
  width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.page-resources__content-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 25px;
  transition: background-color 0.3s ease;
}

.page-resources__content-button:hover {
  background-color: #e6a73c;
}

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

.page-resources__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.page-resources__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
}

.page-resources__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

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

.page-resources__faq-button:hover {
  background-color: #e6a73c;
}

.page-resources__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 100px 20px;
}

.page-resources__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-resources__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-resources__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 10px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-resources__cta-button:hover {
  background-color: #e6a73c;
}

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

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

  .page-resources__content-block {
    flex-direction: column;
    text-align: center;
  }

  .page-resources__content-block--reversed {
    flex-direction: column;
  }

  .page-resources__content-image {
    width: 80%;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-resources__hero-container {
    padding: 60px 15px;
  }

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

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

  .page-resources__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__hero-button {
    width: 100%;
    max-width: 280px;
  }

  .page-resources__articles-section,
  .page-resources__deep-dive-section,
  .page-resources__gaming-ecosystem-section,
  .page-resources__faq-section,
  .page-resources__cta-section {
    padding: 60px 0;
  }

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

  .page-resources__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-resources__article-image,
  .page-resources__feature-icon,
  .page-resources__content-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and not smaller than 200px actual size */
  }

  .page-resources__article-title {
    font-size: 1.3em;
  }

  .page-resources__feature-heading {
    font-size: 1.5em;
  }

  .page-resources__content-heading {
    font-size: 1.8em;
  }

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

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

@media (max-width: 480px) {
  .page-resources__hero-title {
    font-size: 1.8em;
  }

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

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

  .page-resources__content-heading {
    font-size: 1.5em;
  }

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