.page-resources {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2239;
  --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: 20px;
}

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

.page-resources-section:nth-of-type(even) {
  background-color: #ffffff;
}

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

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

.page-resources h2 {
  font-size: 2.2em;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-resources ul,
.page-resources ol {
  margin-bottom: 15px;
  padding-left: 25px;
  font-size: 1.05em;
}

.page-resources ul li,
.page-resources ol li {
  margin-bottom: 8px;
}

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

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

.page-resources-cta-button,
.page-resources-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-resources-cta-button:hover,
.page-resources-button:hover {
  background-color: #e0bb00;
  transform: translateY(-2px);
}

.page-resources-text-center {
  text-align: center;
}

/* Hero Section */
.page-resources-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  overflow: hidden;
}

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

.page-resources-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

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

/* Steps Layout */
.page-resources-steps {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-step-item {
  flex: 1;
  min-width: 280px;
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.page-resources-step-item h3 {
  color: var(--secondary-color);
  font-size: 1.4em;
  margin-top: 0;
  text-align: left;
}

.page-resources-image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Game Categories */
.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-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources-game-card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 15px;
  text-align: center;
}

.page-resources-game-icon {
  width: 250px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 5px;
}

/* Promotions List */
.page-resources-promo-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 20px;
}

.page-resources-promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

/* Contact List */
.page-resources-contact-list {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}

.page-resources-contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-resources-contact-list li strong {
  color: var(--primary-color);
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #ffffff;
  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(--primary-color);
  text-align: left;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-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;
  background-color: #fdfdfd;
  padding: 0 20px;
}

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

.faq-item.active .faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.4em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.4em;
  }
  .page-resources p {
    font-size: 1em;
  }
  .page-resources-game-categories {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-resources-game-icon {
    width: 200px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-resources-section {
    padding: 40px 0;
  }
  .page-resources-hero-image {
    max-height: 350px;
  }
  .page-resources h1 {
    font-size: 2em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources-steps {
    flex-direction: column;
  }
  .page-resources-step-item {
    min-width: unset;
    width: 100%;
  }
  .page-resources-game-categories {
    grid-template-columns: 1fr;
  }
  .page-resources-game-icon {
    width: 220px;
    height: 130px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.4em;
  }
  .page-resources-cta-button,
  .page-resources-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}