.page-resources {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background #121212, so light text */
  background-color: #121212; /* Matches body background */
}

.page-resources__section {
  padding: 80px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.page-resources__heading {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

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

.page-resources__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
  background-color: #121212;
}

.page-resources__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-resources__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

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

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

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

.page-resources__btn-primary,
.page-resources__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  cursor: pointer;
  border: none;
}

.page-resources__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources__btn-primary:hover {
  background-color: #1a7fb3;
}

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

.page-resources__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources__overview-section {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources__types-section {
  background-color: #121212;
}

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

.page-resources__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent background for dark theme */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #ffffff;
}

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

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

.page-resources__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources__card-title a:hover {
  text-decoration: underline;
}

.page-resources__card-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources__game-guides-section {
  background-color: #0d0d0d;
}

.page-resources__game-guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-resources__game-guide-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  color: #ffffff;
}

.page-resources__game-guide-item .page-resources__btn-secondary {
  margin-top: 15px;
  margin-left: 0;
  margin-right: 10px;
}

.page-resources__why-choose-section {
  background-color: #1a1a1a;
}

.page-resources__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

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

.page-resources__text-content {
  flex: 1;
}

.page-resources__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__video-section {
  background-color: #0d0d0d;
  padding-top: var(--header-offset, 120px);
}

.page-resources__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 40px auto 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-resources__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-resources__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.page-resources__video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Allow click to pass through to the link */
}

.page-resources__video-link:hover .page-resources__video-play-overlay {
  opacity: 0;
}

.page-resources__play-icon {
  width: 60px;
  height: 60px;
  fill: #ffffff;
}

.page-resources__expert-tips-section {
  background-color: #1a1a1a;
}

.page-resources__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-resources__list-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 4px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-resources__faq-section {
  background-color: #0d0d0d;
}

.page-resources__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-resources__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-resources__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #ffffff;
  font-weight: bold;
}

.page-resources__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-resources__faq-item.active .page-resources__faq-toggle {
  transform: rotate(0deg); /*  to "-" is handled by JS textContent change */
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #121212;
  color: #e0e0e0;
}

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

.page-resources__faq-answer p {
  margin: 0 0 10px 0;
  color: #e0e0e0;
}

.page-resources__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-resources__faq-answer a:hover {
  text-decoration: underline;
}

.page-resources__cta-section {
  background-color: #121212;
  padding-bottom: 80px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources__hero-title {
    font-size: 3em;
  }
  .page-resources__heading {
    font-size: 2.2em;
  }
  .page-resources__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-resources__content-wrapper--reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources__hero-section {
    height: 500px;
  }
  .page-resources__hero-title {
    font-size: 2.2em;
  }
  .page-resources__hero-description {
    font-size: 1em;
  }
  .page-resources__heading {
    font-size: 1.8em;
  }
  .page-resources__sub-heading {
    font-size: 1.5em;
  }
  .page-resources__paragraph {
    font-size: 0.95em;
  }
  .page-resources__section {
    padding: 60px 15px;
  }
  .page-resources__grid {
    grid-template-columns: 1fr;
  }
  .page-resources__card {
    padding: 20px;
  }
  .page-resources__card-title {
    font-size: 1.3em;
  }
  .page-resources__game-guide-list {
    grid-template-columns: 1fr;
  }
  .page-resources__game-guide-item {
    padding: 20px;
  }
  .page-resources__list-item {
    font-size: 1em;
  }
  .page-resources__video-wrapper {
    padding-bottom: 75%; /* More suitable for mobile vertical aspect ratio, e.g., 4:3 or 16:9 for wider phones */
  }
  .page-resources__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources__btn-primary,
  .page-resources__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0;
  }
  
  /* Mobile image responsiveness */
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__section,
  .page-resources__card,
  .page-resources__container,
  .page-resources__image-wrapper,
  .page-resources__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Mobile video responsiveness */
  .page-resources video,
  .page-resources__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-resources__hero-section {
    height: 400px;
  }
  .page-resources__hero-title {
    font-size: 1.8em;
  }
  .page-resources__heading {
    font-size: 1.5em;
  }
  .page-resources__hero-description {
    font-size: 0.9em;
  }
  .page-resources__faq-question {
    padding: 15px;
  }
  .page-resources__faq-title {
    font-size: 1.1em;
  }
  .page-resources__faq-answer {
    padding: 15px;
  }
}