:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f4f4;
  --background-dark: #222222;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

.page-resources__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources__section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-resources h1 {
  font-size: 3.2em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-resources h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-resources h3 {
  font-size: 1.8em;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-resources p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-resources__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.page-resources__cta-button:hover {
  background: var(--primary-color);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Banner Section */
.page-resources__hero-banner {
  position: relative;
  width: 100%;
  background-color: var(--background-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  color: var(--text-light);
  padding: 80px 0;
}

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

.page-resources__banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-resources__banner-content h1 {
  color: var(--primary-color);
  font-size: 3.8em;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-resources__banner-content p {
  font-size: 1.3em;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Why Us Section */
.page-resources__why-us .page-resources__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__feature-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-resources__feature-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources__feature-item h3 {
  color: var(--secondary-color);
}

/* Game Guides Section */
.page-resources__game-guides .page-resources__guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: var(--text-dark);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-resources__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-resources__card-content {
  padding: 25px;
  text-align: left;
  flex-grow: 1;
}

.page-resources__card-content h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-resources__card-content p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.page-resources__read-more {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources__read-more:hover {
  color: var(--secondary-color);
}

/* Promotions Section */
.page-resources__promotions .page-resources__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources__promotions .page-resources__promo-list li {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-size: 1.05em;
}

.page-resources__promotions .page-resources__promo-list li strong {
  color: var(--secondary-color);
}

/* Security & Support Section */
.page-resources__security-support .page-resources__security-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources__security-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__security-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-resources__security-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources__security-item h3 {
  color: var(--secondary-color);
}

/* FAQ Section */
.page-resources__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

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

.faq-question:hover {
  background: var(--background-light);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0 0 15px 0;
  font-size: 1em;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

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

.page-resources__article-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: var(--text-dark);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__article-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-resources__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-resources__article-content {
  padding: 25px;
  text-align: left;
  flex-grow: 1;
}

.page-resources__article-content h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 1.3em;
}

.page-resources__article-content p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.page-resources__article-content span {
  display: block;
  font-size: 0.9em;
  color: #777;
}

.page-resources__article-content time {
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.8em;
  }
  .page-resources h2 {
    font-size: 2em;
  }
  .page-resources h3 {
    font-size: 1.5em;
  }
  .page-resources__hero-banner {
    min-height: 400px;
    padding: 60px 0;
  }
  .page-resources__banner-content h1 {
    font-size: 3em;
  }
  .page-resources__banner-content p {
    font-size: 1.1em;
  }
  .page-resources__section {
    padding: 40px 0;
  }
  .page-resources__guide-cards,
  .page-resources__security-items,
  .page-resources__article-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.05em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .page-resources h1 {
    font-size: 2.2em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.3em;
  }
  .page-resources__hero-banner {
    min-height: 350px;
    padding: 40px 0;
  }
  .page-resources__banner-content h1 {
    font-size: 2.5em;
  }
  .page-resources__banner-content p {
    font-size: 1em;
  }
  .page-resources__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources__features,
  .page-resources__guide-cards,
  .page-resources__security-items,
  .page-resources__article-grid {
    grid-template-columns: 1fr;
  }
  .page-resources__feature-item,
  .page-resources__card,
  .page-resources__security-item,
  .page-resources__article-card {
    margin-bottom: 20px;
  }
  .page-resources__promo-list li {
    padding: 15px;
    font-size: 1em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
}