.page-resources {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #002244;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-resources h1, .page-resources h2, .page-resources h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
}

.page-resources h1 {
  font-size: 2.8em;
  color: var(--text-light);
}

.page-resources h2 {
  font-size: 2.2em;
  margin-top: 50px;
}

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

.page-resources p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources a:hover {
  color: var(--secondary-color);
}

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-resources .btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources .btn-small:hover {
  background: #004488;
  transform: translateY(-1px);
}

/* Banner Section */
.page-resources .banner-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
  background-color: var(--primary-color);
}

.page-resources .banner-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources .banner-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
  object-fit: cover;
}

.page-resources .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: 0 20px;
}

.page-resources .banner-content h1 {
  font-size: 3.5em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-resources .banner-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-resources .banner-content a {
  color: var(--secondary-color);
}

.page-resources .banner-content a:hover {
  color: var(--text-light);
}

/* Intro Section */
.page-resources .intro-section {
  background-color: var(--bg-light);
  padding: 60px 0;
  text-align: center;
}

.page-resources .intro-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
  color: var(--text-dark);
}

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

.page-resources .feature-cards .card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .feature-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-resources .feature-cards .card-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources .feature-cards .card h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources .feature-cards .card p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* Guide Section */
.page-resources .guide-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-resources .guide-section > p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

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

.page-resources .guide-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .guide-card:hover {
  transform: translateY(-5px);
}

.page-resources .guide-card .guide-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources .guide-card h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources .guide-card h3 a {
  color: var(--primary-color);
}

.page-resources .guide-card p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
  flex-grow: 1;
}

/* Games Section */
.page-resources .games-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
  color: var(--text-light);
  text-align: center;
}

.page-resources .games-section h2 {
  color: var(--secondary-color);
}

.page-resources .games-section p {
  color: var(--text-light);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources .game-card {
  background: #004488;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources .game-card:hover {
  transform: translateY(-5px);
  background: #0055aa;
}

.page-resources .game-card .game-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources .game-card h3 {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources .game-card h3 a {
  color: var(--secondary-color);
}

.page-resources .game-card p {
  font-size: 1em;
  color: var(--text-light);
  text-align: left;
  flex-grow: 1;
}

.page-resources .game-card a {
  color: var(--secondary-color);
}

.page-resources .game-card a:hover {
  color: var(--text-light);
}

/* Promotions Section */
.page-resources .promotions-section {
  background-color: var(--bg-light);
  padding: 60px 0;
  text-align: center;
}

.page-resources .promotions-section > p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

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

.page-resources .promo-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.page-resources .promo-item .promo-icon {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid var(--secondary-color);
}

.page-resources .promo-item h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-resources .promo-item h3 a {
  color: var(--primary-color);
}

.page-resources .promo-item p {
  font-size: 1em;
  color: var(--text-dark);
  margin-bottom: 0;
}

.page-resources .promo-cta {
  margin-top: 50px;
  font-size: 1.2em;
}

/* Support Section */
.page-resources .support-section {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-resources .support-section > p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

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

.page-resources .feature-box {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-resources .feature-box h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  text-align: left;
}

.page-resources .feature-box p {
  font-size: 1em;
  color: var(--text-dark);
  text-align: left;
  margin-bottom: 15px;
}

/* FAQ Section */
.page-resources .faq-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
}

.page-resources .faq-section h2 {
  color: var(--secondary-color);
}

.page-resources .faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-resources .faq-item {
  margin-bottom: 15px;
  border: 1px solid #004488;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #004488;
  color: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-resources .faq-question:hover {
  background: #0055aa;
}

.page-resources .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
  text-align: left;
}

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

.page-resources .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--text-light);
}

.page-resources .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #003a73;
  color: var(--text-light);
  padding: 0 20px;
}

.page-resources .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
}

.page-resources .faq-answer p {
  margin: 0;
  text-align: left;
  font-size: 1em;
  color: var(--text-light);
}

.page-resources .faq-answer a {
  color: var(--secondary-color);
}

.page-resources .faq-answer a:hover {
  color: var(--text-light);
}

/* Blog Section */
.page-resources .blog-section {
  background-color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-resources .blog-section > p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-dark);
}

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

.page-resources .blog-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-resources .blog-card:hover {
  transform: translateY(-5px);
}

.page-resources .blog-card .blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-resources .blog-card h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin: 20px 20px 10px 20px;
  text-align: left;
}

.page-resources .blog-card h3 a {
  color: var(--primary-color);
}

.page-resources .blog-card p {
  font-size: 1em;
  color: var(--text-dark);
  margin: 0 20px 20px 20px;
  text-align: left;
}

.page-resources .blog-card .btn-small {
  margin: 0 20px 20px 20px;
}

/* Call to Action Section */
.page-resources .call-to-action-section {
  background-color: var(--primary-color);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-resources .call-to-action-section h2 {
  color: var(--secondary-color);
  font-size: 2.5em;
}

.page-resources .call-to-action-section p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 20px auto 30px auto;
  color: var(--text-light);
}

.page-resources .call-to-action-section a {
  color: var(--secondary-color);
}

.page-resources .call-to-action-section a:hover {
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.5em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.4em;
  }
  .page-resources .banner-content h1 {
    font-size: 2.8em;
  }
  .page-resources .banner-content p {
    font-size: 1.1em;
  }
  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-resources .feature-cards, .page-resources .guide-items, .page-resources .game-categories, .page-resources .promo-list, .page-resources .support-features, .page-resources .blog-posts {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-resources .container {
    padding: 0 15px;
  }
  .page-resources h1 {
    font-size: 2em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources h3 {
    font-size: 1.2em;
  }
  .page-resources p {
    font-size: 1em;
  }
  .page-resources .banner-section {
    padding: 60px 0;
  }
  .page-resources .banner-content h1 {
    font-size: 2.2em;
  }
  .page-resources .banner-content p {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 10px 25px;
    font-size: 1em;
  }
  .page-resources .feature-cards, .page-resources .guide-items, .page-resources .game-categories, .page-resources .promo-list, .page-resources .support-features, .page-resources .blog-posts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1em;
  }
  .page-resources .faq-toggle {
    font-size: 20px;
  }
  .page-resources .call-to-action-section h2 {
    font-size: 2em;
  }
  .page-resources .call-to-action-section p {
    font-size: 1em;
  }
}