.page-resources {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--dark-bg); /* Inherit from shared */
}

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

.page-resources__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  min-height: 600px;
  background-color: rgba(204, 51, 51, 0.8); /* Primary color with transparency */
  overflow: hidden;
}

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

.page-resources__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.5); /* Darken video for text readability */
}

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

.page-resources__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.page-resources__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

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

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

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

.page-resources__btn-secondary:hover {
  background-color: #FFD700;
  color: #333333;
}

.page-resources__security-trust-section,
.page-resources__promotions-guide-section,
.page-resources__game-strategy-section,
.page-resources__faq-section,
.page-resources__cta-final-section {
  padding: 80px 0;
  background-color: var(--dark-bg);
}

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

.page-resources__security-card,
.page-resources__strategy-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 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources__security-card:hover,
.page-resources__strategy-card:hover {
  transform: translateY(-10px);
}

.page-resources__security-card-image,
.page-resources__strategy-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-resources__promo-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
}

.page-resources__promo-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__promo-text {
  flex: 2;
  min-width: 300px;
}

.page-resources__promo-text p {
  color: #f0f0f0;
  margin-bottom: 15px;
}

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

.page-resources__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  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 25px;
  cursor: pointer;
  background-color: #CC3333; /* Primary color for question */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-resources__faq-question:hover {
  background-color: #b32d2d;
}

.page-resources__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-resources__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
  color: #f0f0f0;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-resources__cta-box {
  background-color: rgba(255, 215, 0, 0.1); /* Auxiliary color with transparency */
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-box p {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-resources__cta-final-section {
  text-align: center;
  padding: 100px 0;
  background-color: #CC3333; /* Primary brand color for final CTA */
}

.page-resources__cta-final-section .page-resources__section-title {
  color: #FFD700;
}

.page-resources__cta-final-section .page-resources__section-intro {
  color: #ffffff;
  margin-bottom: 40px;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 2.8em;
  }
  .page-resources__section-title {
    font-size: 2em;
  }
  .page-resources__promo-content {
    flex-direction: column;
  }
  .page-resources__promo-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-resources__security-grid,
  .page-resources__strategy-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__security-card,
  .page-resources__strategy-card,
  .page-resources__promo-image,
  .page-resources__promo-text,
  .page-resources__cta-box,
  .page-resources__faq-item,
  .page-resources__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources__section-title {
    font-size: 1.8em;
  }
  .page-resources__sub-title {
    font-size: 1.5em;
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Images and Videos responsive */
  .page-resources img,
  .page-resources video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__hero-video {
    filter: brightness(0.6) !important; /* Slightly brighter for mobile */
  }
  .page-resources__hero-video-wrapper {
    overflow: hidden !important;
  }
  .page-resources__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}