.page-resources {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background is white */
  line-height: 1.6;
}

.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Adjust for fixed header */
  background: linear-gradient(135deg, #26A9E0, #1a8cc4); /* Gradient with brand color */
  color: #ffffff;
  overflow: hidden;
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

.page-resources__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-resources__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

.page-resources__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #ffffff;
}

.page-resources__btn-secondary:hover {
  background-color: #f0f8ff;
  border-color: #f0f8ff;
}

.page-resources__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
}

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

.page-resources__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-resources__dark-section .page-resources__section-title {
  color: #ffffff;
}

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

.page-resources__dark-section .page-resources__text-block {
  color: #f0f8ff;
}

.page-resources__features-grid,
.page-resources__resource-cards,
.page-resources__game-guides-grid,
.page-resources__promo-vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__feature-item,
.page-resources__card,
.page-resources__game-guide-item,
.page-resources__promo-item {
  background-color: #ffffff;
  border-radius: 10px;
  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;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none; /* For card links */
}

.page-resources__dark-section .page-resources__feature-item,
.page-resources__dark-section .page-resources__card,
.page-resources__dark-section .page-resources__game-guide-item,
.page-resources__dark-section .page-resources__promo-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark section */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__feature-item:hover,
.page-resources__card:hover,
.page-resources__game-guide-item:hover,
.page-resources__promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__dark-section .page-resources__feature-item:hover,
.page-resources__dark-section .page-resources__card:hover,
.page-resources__dark-section .page-resources__game-guide-item:hover,
.page-resources__dark-section .page-resources__promo-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__feature-icon,
.page-resources__card-image,
.page-resources__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure it behaves as a block element */
}

.page-resources__feature-title,
.page-resources__card-title,
.page-resources__game-guide-title,
.page-resources__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #26A9E0;
}

.page-resources__dark-section .page-resources__feature-title,
.page-resources__dark-section .page-resources__card-title,
.page-resources__dark-section .page-resources__game-guide-title,
.page-resources__dark-section .page-resources__promo-title {
  color: #ffffff;
}

.page-resources__game-guide-title a,
.page-resources__promo-title a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none;
}

.page-resources__game-guide-title a:hover,
.page-resources__promo-title a:hover {
  text-decoration: underline;
}

.page-resources__feature-description,
.page-resources__card-description,
.page-resources__game-guide-description,
.page-resources__promo-description {
  font-size: 1em;
  color: #555555;
  flex-grow: 1; /* Allow description to take available space */
}

.page-resources__dark-section .page-resources__feature-description,
.page-resources__dark-section .page-resources__card-description,
.page-resources__dark-section .page-resources__game-guide-description,
.page-resources__dark-section .page-resources__promo-description {
  color: #f0f8ff;
}

/* FAQ Section */
.page-resources__faq-list {
  margin-top: 40px;
}

.page-resources__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-resources__dark-section .page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}