.page-resources {
  padding-top: 120px; /* Adjust for fixed header */
  color: #f0f0f0; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-resources__section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--primary-color, #FFD700);
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 40px;
}

.page-resources__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 50px;
  color: #cccccc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__dark-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-resources__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

/* Hero Section */
.page-resources__hero-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color, #8B0000) 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color, #FFD700);
}

.page-resources__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_geometric, dark_red_gold, subtle_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-resources__hero-section .page-resources__container {
  position: relative;
  z-index: 1;
}

.page-resources__main-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary-color, #FFD700);
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources__hero-description {
  font-size: 20px;
  color: #e0e0e0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-resources__btn-primary {
  background: var(--primary-color, #FFD700);
  color: #1a1a1a;
  border: 2px solid var(--primary-color, #FFD700);
}

.page-resources__btn-primary:hover {
  background: #e6c200;
  color: #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.page-resources__btn-secondary {
  background: var(--secondary-color, #8B0000);
  color: #ffffff;
  border: 2px solid var(--secondary-color, #8B0000);
}

.page-resources__btn-secondary:hover {
  background: #6a0000;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* About Section */
.page-resources__about-section {
  padding: 80px 0;
}

.page-resources__about-section .page-resources__section-title {
  color: var(--secondary-color, #8B0000);
}

.page-resources__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-resources__about-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  height: auto;
}

.page-resources__about-text {
  flex: 1;
  min-width: 400px;
}

.page-resources__about-text p {
  font-size: 17px;
  margin-bottom: 20px;
  color: #444444;
}

.page-resources__about-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-resources__about-list li {
  font-size: 17px;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-resources__about-list li strong {
  color: var(--secondary-color, #8B0000);
}

.page-resources__about-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary-color, #FFD700);
  font-weight: bold;
}

/* Guides Section */
.page-resources__guides-section {
  padding: 80px 0;
}

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

.page-resources__card {
  background: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

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

.page-resources__guide-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px;
  color: var(--primary-color, #FFD700);
}

.page-resources__guide-title a {
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__guide-title a:hover {
  color: #e6c200;
}

.page-resources__guide-excerpt {
  font-size: 16px;
  color: #cccccc;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-resources__guide-link {
  display: inline-block;
  margin: 0 20px 20px;
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__guide-link:hover {
  color: #e6c200;
}

/* Games Showcase Section */
.page-resources__games-showcase {
  padding: 80px 0;
}

.page-resources__games-showcase .page-resources__section-title {
  color: var(--secondary-color, #8B0000);
}

.page-resources__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-resources__game-item {
  background: #ffffff;
  color: #333333;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-resources__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-resources__game-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color, #8B0000);
  margin-bottom: 10px;
}

.page-resources__game-desc {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-resources__game-button {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-resources__faq-section {
  padding: 80px 0;
}

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

.page-resources__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color, #8B0000);
  border: 1px solid var(--secondary-color, #8B0000);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-resources__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-resources__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color, #FFD700);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-resources__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
  background: #2a2a2a;
}

.page-resources__faq-item.active .page-resources__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* News & Articles Section */
.page-resources__news-articles {
  padding: 80px 0;
}

.page-resources__news-articles .page-resources__section-title {
  color: var(--secondary-color, #8B0000);
}

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

.page-resources__article-card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
}

.page-resources__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

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

.page-resources__article-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary-color, #8B0000);
  margin-bottom: 10px;
}

.page-resources__article-title a {
  color: var(--secondary-color, #8B0000);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
  color: #a00000;
}

.page-resources__article-excerpt {
  font-size: 16px;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources__article-date {
  font-size: 14px;
  color: #888888;
  margin-bottom: 15px;
}

.page-resources__article-readmore {
  display: inline-block;
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources__article-readmore:hover {
  color: #e6c200;
}

.page-resources__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-resources__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Commitment Section */
.page-resources__commitment-section {
  padding: 80px 0;
  text-align: center;
}

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

.page-resources__commitment-item {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__commitment-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources__commitment-item h3 {
  font-size: 24px;
  color: var(--primary-color, #FFD700);
  margin-bottom: 15px;
}

.page-resources__commitment-item p {
  font-size: 16px;
  color: #cccccc;
}

.page-resources__cta-bottom {
  margin-top: 60px;
  padding: 30px;
  background: var(--secondary-color, #8B0000);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__cta-bottom p {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources__main-title {
    font-size: 42px;
  }
  .page-resources__hero-description {
    font-size: 18px;
  }
  .page-resources__about-image {
    max-width: 100%;
  }
}

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

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

  .page-resources__section-title {
    font-size: 30px;
    padding-top: 30px;
  }

  .page-resources__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-resources__main-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .page-resources__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources__about-section,
  .page-resources__guides-section,
  .page-resources__games-showcase,
  .page-resources__faq-section,
  .page-resources__news-articles,
  .page-resources__commitment-section {
    padding: 60px 0;
  }

  .page-resources__content-wrapper {
    flex-direction: column;
  }

  .page-resources__about-image {
    min-width: 100%;
    max-width: 100%;
  }

  .page-resources__about-text {
    min-width: 100%;
  }

  .page-resources__about-text p, .page-resources__about-list li {
    font-size: 15px;
  }

  .page-resources__guide-card, .page-resources__game-item, .page-resources__article-card, .page-resources__commitment-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources__game-image, .page-resources__article-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources__faq-question {
    padding: 15px 20px;
  }

  .page-resources__faq-question h3 {
    font-size: 16px;
  }

  .page-resources__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

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

  .page-resources__view-all-button-wrapper {
    margin-top: 30px;
  }

  .page-resources__view-all-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  .page-resources__commitment-icon {
    width: 80px;
    height: 80px;
  }

  .page-resources__commitment-item h3 {
    font-size: 20px;
  }

  .page-resources__cta-bottom p {
    font-size: 18px;
  }

  .page-resources__cta-bottom .page-resources__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-resources__main-title {
    font-size: 30px;
  }
  .page-resources__hero-description {
    font-size: 15px;
  }
  .page-resources__section-title {
    font-size: 26px;
  }
  .page-resources__guide-title, .page-resources__game-name, .page-resources__article-title {
    font-size: 20px;
  }
  .page-resources__faq-question h3 {
    font-size: 15px;
  }
  .page-resources__faq-toggle {
    font-size: 22px;
  }
  .page-resources__cta-button, .page-resources__view-all-button, .page-resources__cta-bottom .page-resources__btn-primary {
    padding: 10px 15px;
    font-size: 15px;
  }
}