.page-resources {
  background-color: #0a0a0a; /* Dark body background */
  color: #ffffff; /* Light text for readability */
  font-family: Arial, sans-serif;
  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; /* Adjust for header offset on desktop */
  padding-top: var(--header-offset, 120px);
  background-color: #007bff; /* Primary brand color for hero */
  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: #ffc107; /* Auxiliary color for title emphasis */
}

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

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

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

.page-resources__btn-primary {
  background-color: #ffc107; /* Auxiliary color for primary action */
  color: #000000;
  border: 2px solid #ffc107;
}

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

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

.page-resources__btn-secondary:hover {
  background-color: #ffffff;
  color: #007bff;
}

.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.15; /* Subtle overlay */
}

.page-resources__content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  color: #ffffff;
}

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

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

.page-resources__guide-steps, .page-resources__security-features, .page-resources__promotion-cards, .page-resources__vip-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__guide-item, .page-resources__feature-item, .page-resources__card, .page-resources__vip-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources__guide-item:hover, .page-resources__feature-item:hover, .page-resources__card:hover, .page-resources__vip-card:hover {
  transform: translateY(-10px);
  background-color: rgba(0, 123, 255, 0.2); /* Hover with primary color tint */
}

.page-resources__guide-image, .page-resources__feature-image, .page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-resources__guide-heading, .page-resources__feature-heading, .page-resources__card-title, .page-resources__vip-heading {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__note, .page-resources__vip-note, .page-resources__responsible-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-resources__note a, .page-resources__vip-note a, .page-resources__responsible-text a, .page-resources__btn-link {
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
}

.page-resources__note a:hover, .page-resources__vip-note a:hover, .page-resources__responsible-text a:hover, .page-resources__btn-link:hover {
  text-decoration: underline;
}

.page-resources__btn-link {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #ffffff;
  border-radius: 5px;
  font-size: 0.9em;
}

.page-resources__btn-link:hover {
  background-color: #0056b3;
}

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

.page-resources__cta-buttons--center {
  justify-content: center;
}

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

.page-resources__tool-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__tool-heading {
  font-size: 1.5em;
  color: #ffc107;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: rgba(0, 123, 255, 0.15); /* Primary color tint for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: rgba(0, 123, 255, 0.3); /* Darker tint on hover */
}

.page-resources__faq-heading {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.page-resources__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffc107;
  transition: transform 0.3s ease;
}

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

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 30px;
}

.page-resources__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-resources__cta-banner {
  background-color: #007bff; /* Primary brand color */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

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

.page-resources__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

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

@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.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary, .page-resources__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__content-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-resources__guide-steps, .page-resources__security-features, .page-resources__promotion-cards, .page-resources__vip-tiers, .page-resources__responsible-tools {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources__guide-item, .page-resources__feature-item, .page-resources__card, .page-resources__vip-card, .page-resources__tool-item {
    padding: 20px;
  }

  .page-resources__guide-image, .page-resources__feature-image, .page-resources__card-image {
    height: 180px;
    min-width: 200px !important;
    min-height: 180px !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-resources__cta-banner {
    padding: 50px 15px;
  }
  .page-resources__cta-title {
    font-size: 1.8em;
  }
  .page-resources__cta-description {
    font-size: 0.95em;
  }

  .page-resources__faq-question {
    padding: 15px 20px;
  }
  .page-resources__faq-heading {
    font-size: 1.1em;
  }
  .page-resources__faq-toggle {
    font-size: 1.5em;
  }
  .page-resources__faq-answer {
    padding: 0 20px;
  }
  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px;
  }

  .page-resources img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__guide-item,
  .page-resources__feature-item,
  .page-resources__tool-item,
  .page-resources__vip-card,
  .page-resources__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources__hero-section .page-resources__hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-resources__cta-buttons .page-resources__btn-primary,
  .page-resources__cta-buttons .page-resources__btn-secondary {
    width: 100%;
  }
}