.page-resources {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure body background is respected */
}

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

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

.page-resources__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-resources__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

.page-resources__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 31, 63, 0.7); /* Dark blue overlay */
  z-index: 2;
}

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

.page-resources__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources__btn-primary,
.page-resources__btn-secondary,
.page-resources__btn-tertiary,
.page-resources__read-more {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources__btn-primary {
  background-color: #FFD700;
  color: #001f3f;
  border: 2px solid #FFD700;
}

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

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

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

.page-resources__btn-tertiary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-resources__btn-tertiary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.page-resources__read-more {
  background-color: transparent;
  color: #FFD700;
  border: none;
  text-decoration: underline;
  padding: 5px 0;
}

.page-resources__read-more:hover {
  color: #e6c200;
}

.page-resources__introduction-section,
.page-resources__strategy-articles,
.page-resources__conclusion-section {
  padding: 80px 0;
  background-color: #0d0d00; /* Slightly lighter dark for contrast */
}

.page-resources__game-guides,
.page-resources__updates-section,
.page-resources__safety-section {
  padding: 80px 0;
}

.page-resources__dark-bg {
  background-color: #001f3f;
  color: #ffffff;
}

.page-resources__medium-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-resources__card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

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

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

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

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

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

.page-resources__article-card {
  background-color: rgba(0, 31, 63, 0.8);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-resources__article-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-resources__article-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

.page-resources__update-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__update-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-resources__update-title {
  font-size: 1.4em;
  color: #FFD700;
  margin: 20px 20px 10px;
  font-weight: bold;
}

.page-resources__update-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources__update-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-resources__update-text {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.6;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__video-section {
  padding: 80px 0;
  background-color: #000000;
  text-align: center;
}

.page-resources__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin-top: 30px;
  border-radius: 10px;
}

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

.page-resources__video-cta {
    margin-top: 30px;
}

.page-resources__support-faq {
  padding: 80px 0;
  background-color: #0d0d00;
}

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

.page-resources__faq-item {
  background-color: rgba(0, 31, 63, 0.8);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #001f3f;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.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(0deg); /* Explicitly set for '-' */
}

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(0, 31, 63, 0.6);
}

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

.page-resources__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

.page-resources__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources__faq-answer a:hover {
  color: #e6c200;
}

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

.page-resources__safety-section {
  padding: 80px 0;
}

.page-resources__grid--two-cols {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-bottom: 60px;
}

.page-resources__grid--two-cols:last-of-type {
  margin-bottom: 0;
}

.page-resources__grid--reversed {
  direction: rtl; /* For content and image order */
}

.page-resources__grid--reversed > * {
  direction: ltr; /* Reset direction for child elements */
}

.page-resources__safety-content {
  padding: 20px;
}

.page-resources__safety-subtitle {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources__safety-image-wrapper {
  text-align: center;
  padding: 20px;
}

.page-resources__safety-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Conclusion Section */
.page-resources__conclusion-section {
  text-align: center;
}

.page-resources__conclusion-section .page-resources__btn-primary {
  margin-top: 30px;
  font-size: 1.2em;
  padding: 15px 30px;
}

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

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

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

  .page-resources__grid--two-cols {
    grid-template-columns: 1fr;
  }

  .page-resources__grid--reversed {
    direction: ltr; /* Reset for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-resources {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources__container {
    padding: 0 15px;
  }

  .page-resources__hero-section {
    height: 60vh;
  }

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

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

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

  .page-resources__introduction-section,
  .page-resources__game-guides,
  .page-resources__strategy-articles,
  .page-resources__updates-section,
  .page-resources__video-section,
  .page-resources__support-faq,
  .page-resources__safety-section,
  .page-resources__conclusion-section {
    padding: 50px 0;
  }

  .page-resources__grid,
  .page-resources__article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources__card,
  .page-resources__article-card,
  .page-resources__update-card {
    margin: 0 10px;
  }

  .page-resources__card-image,
  .page-resources__update-image {
    height: 150px;
  }

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

  .page-resources__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources__faq-answer {
    padding: 0 20px;
  }

  .page-resources__faq-item.active .page-resources__faq-answer {
    padding: 15px 20px;
  }

  .page-resources__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources__btn-primary,
  .page-resources__btn-secondary,
  .page-resources__btn-tertiary,
  .page-resources__read-more,
  .page-resources a[class*="button"],
  .page-resources a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources__cta-buttons,
  .page-resources__button-group,
  .page-resources__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-resources__video,
  .page-resources__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources__section,
  .page-resources__card,
  .page-resources__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

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

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

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

  .page-resources__safety-subtitle {
    font-size: 1.6em;
  }
}