.page-resources {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  --card-background: #ffffff;
  --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-title,
.page-resources-subtitle {
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-resources-title {
  font-size: 2.8em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-subtitle {
  font-size: 2.2em;
  color: var(--secondary-color);
}

.page-resources p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-resources-cta-group {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-resources-button {
  display: inline-block;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-button.primary-button {
  background: var(--primary-color);
  color: var(--text-dark);
  border: 2px solid var(--primary-color);
}

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

.page-resources-button.secondary-button {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--secondary-color);
}

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

/* Sections */
.page-resources section {
  padding: 60px 0;
}

.page-resources .introduction-section {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1));
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-resources .guides-section,
.page-resources .games-section,
.page-resources .promotions-section,
.page-resources .security-support-section,
.page-resources .latest-news-section {
  background-color: var(--background-light);
}

.page-resources .security-support-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources .security-support-section .page-resources-subtitle {
  color: var(--primary-color);
}

.page-resources .security-support-section p {
  color: var(--text-light);
}

.page-resources .contact-cta-section {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  color: var(--text-light);
}

.page-resources .contact-cta-section .page-resources-subtitle {
  color: var(--text-light);
}

.page-resources .contact-cta-section p {
  color: var(--text-light);
}

.page-resources .contact-cta-section .page-resources-button.primary-button {
  background: var(--text-light);
  color: var(--secondary-color);
  border: 2px solid var(--text-light);
}

.page-resources .contact-cta-section .page-resources-button.primary-button:hover {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-resources .contact-cta-section .page-resources-button.secondary-button {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources .contact-cta-section .page-resources-button.secondary-button:hover {
  background: var(--text-light);
  color: var(--secondary-color);
}

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

/* Cards */
.page-resources-card,
.page-resources-category-item,
.page-resources-info-card,
.page-resources-news-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.page-resources-card:hover,
.page-resources-category-item:hover,
.page-resources-info-card:hover,
.page-resources-news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-resources-card-image,
.page-resources-category-image,
.page-resources-info-image,
.page-resources-news-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-color);
}

.page-resources-info-card .page-resources-info-image {
  height: 200px;
}

.page-resources-card-title,
.page-resources-category-title,
.page-resources-news-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  min-height: 60px;
}

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

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

.page-resources-card p,
.page-resources-category-item p,
.page-resources-news-card p {
  font-size: 1em;
  color: #666;
  padding: 0 15px;
  text-align: left;
}

.page-resources-info-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-resources-info-card p {
  color: var(--text-light);
  text-align: left;
  padding: 0 15px;
}

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

.page-resources-card-link:hover {
  background: darken(var(--primary-color), 10%);
}

.page-resources-news-excerpt {
  min-height: 70px;
}

/* Promo List */
.page-resources-promo-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
}

.page-resources-promo-list li {
  background: var(--card-background);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  text-align: left;
  border-left: 5px solid var(--primary-color);
}

.page-resources-promo-list li strong {
  color: var(--secondary-color);
}

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

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

.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-background);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  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);
  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: #fdfdfd;
  color: var(--text-dark);
}

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

.faq-answer p {
  text-align: left;
  margin-bottom: 0;
  font-size: 1em;
  color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-title {
    font-size: 2.5em;
  }
  .page-resources-subtitle {
    font-size: 2em;
  }
  .page-resources-grid,
  .page-resources-category-list,
  .page-resources-info-grid,
  .page-resources-news-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources-title {
    font-size: 2em;
  }
  .page-resources-subtitle {
    font-size: 1.8em;
  }
  .page-resources p {
    font-size: 1em;
  }
  .page-resources-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-resources-grid,
  .page-resources-category-list,
  .page-resources-info-grid,
  .page-resources-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-card-image,
  .page-resources-category-image,
  .page-resources-info-image,
  .page-resources-news-image {
    height: 200px;
  }
  .page-resources-info-card .page-resources-info-image {
    height: 150px;
  }
  .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: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-title {
    font-size: 1.8em;
  }
  .page-resources-subtitle {
    font-size: 1.6em;
  }
  .page-resources-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-resources-promo-list li {
    padding: 15px;
    font-size: 0.95em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 1.3em;
  }
}