.page-resources {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A2E; /* Dark Blue/Purple */
  --text-light: #ffffff;
  --text-dark: #1A1A2E;
  --background-light: #f4f7f6;
  --background-dark: #121212;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --hover-color: #f0c000;
}

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

.page-resources section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-resources section:nth-of-type(even) {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-resources section:nth-of-type(even) .page-resources section-heading,
.page-resources section:nth-of-type(even) .page-resources description-text,
.page-resources section:nth-of-type(even) p,
.page-resources section:nth-of-type(even) h3 {
  color: var(--text-light);
}

.page-resources section:nth-of-type(even) a {
  color: var(--primary-color);
}

.page-resources section:nth-of-type(even) a:hover {
  color: var(--hover-color);
}

.page-resources .main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources .section-heading {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-resources .section:nth-of-type(even) .section-heading {
  color: var(--primary-color);
}

.page-resources .description-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.page-resources .cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 35px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .cta-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources .image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-resources .section-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Game Guides Grid */
.page-resources .guide-grid,
.page-resources .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources .guide-card,
.page-resources .news-card {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

.page-resources .guide-card:hover,
.page-resources .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources .guide-card .card-image,
.page-resources .news-card .card-image {
  width: 100%;
  height: 220px; /* Ensure sufficient height for content images */
  object-fit: cover;
}

.page-resources .guide-card .card-title,
.page-resources .news-card .card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  padding: 15px 20px 10px;
  margin-bottom: 0;
}

.page-resources .guide-card .card-title a,
.page-resources .news-card .card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources .guide-card .card-title a:hover,
.page-resources .news-card .card-title a:hover {
  color: var(--primary-color);
}

.page-resources .guide-card p,
.page-resources .news-card p {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px;
  flex-grow: 1;
  color: #333;
}

.page-resources .guide-card .card-link,
.page-resources .news-card .card-link {
  display: inline-block;
  margin: 20px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-resources .guide-card .card-link:hover,
.page-resources .news-card .card-link:hover {
  background-color: var(--hover-color);
  color: var(--secondary-color);
}

/* Strategies & Tips Section */
.page-resources .strategies-tips-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-resources .strategies-tips-section .section-heading {
  color: var(--primary-color);
}

.page-resources .strategy-item {
  display: flex;
  align-items: center;
  background-color: #2a2a40; /* Slightly lighter dark background */
  border-radius: 12px;
  margin-bottom: 25px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-resources .strategy-item:hover {
  transform: translateY(-5px);
}

.page-resources .strategy-image {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 30px;
  flex-shrink: 0;
}

.page-resources .strategy-content h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-resources .strategy-content p {
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--text-light);
}

.page-resources .strategy-content p a {
  color: var(--primary-color);
}

.page-resources .strategy-content p a:hover {
  color: var(--hover-color);
}

/* FAQ Section */
.page-resources .faq-section {
  background-color: var(--background-light);
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--card-background);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--card-background);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #fcfcfc;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed to fit content */
  padding: 15px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #444;
}

.faq-answer p a {
  color: var(--secondary-color);
  text-decoration: none;
}

.faq-answer p a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-resources .conclusion-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
}

.page-resources .conclusion-section .section-heading {
  color: var(--primary-color);
}

.page-resources .conclusion-section p {
  font-size: 1.15em;
  line-height: 1.8;
  margin-bottom: 40px;
}

.page-resources .conclusion-section p a {
  color: var(--primary-color);
}

.page-resources .conclusion-section p a:hover {
  color: var(--hover-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources .main-title {
    font-size: 2.8em;
  }
  .page-resources .section-heading {
    font-size: 2em;
  }
  .page-resources .strategy-item {
    flex-direction: column;
    text-align: center;
  }
  .page-resources .strategy-image {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .main-title {
    font-size: 2.2em;
  }
  .page-resources .section-heading {
    font-size: 1.8em;
  }
  .page-resources .description-text,
  .page-resources .conclusion-section p {
    font-size: 1em;
  }
  .page-resources .guide-grid,
  .page-resources .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources .guide-card .card-image,
  .page-resources .news-card .card-image {
    height: 180px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources .main-title {
    font-size: 1.8em;
  }
  .page-resources .section-heading {
    font-size: 1.5em;
  }
  .page-resources .cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources .guide-card .card-title,
  .page-resources .news-card .card-title {
    font-size: 1.3em;
  }
  .page-resources .strategy-content h3 {
    font-size: 1.5em;
  }
}