.page-resources {
  --primary-color: #3366FF; /* Deep Blue */
  --secondary-color: #FFCC00; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #2a2a2a;
  --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);
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-resources h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

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

.page-resources p {
  margin-bottom: 15px;
  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 .btn,
.page-resources .cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-resources .btn:hover,
.page-resources .cta-button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* General Hero Section for Resources Page */
.page-resources .hero-section-general {
  background: linear-gradient(135deg, var(--primary-color) 0%, #003399 100%);
  padding: 80px 0;
  color: var(--text-light);
  text-align: center;
}

.page-resources .hero-section-general .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources .hero-content-general {
  max-width: 800px;
  margin-bottom: 40px;
}

.page-resources .hero-content-general h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
}

.page-resources .hero-content-general p {
  font-size: 1.2em;
  opacity: 0.9;
  margin-bottom: 30px;
}

.page-resources .hero-image-general img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 400px;
  min-height: 200px;
  object-fit: cover;
}

/* Section Styling */
.page-resources .introduction-section,
.page-resources .guides-section,
.page-resources .game-types-section,
.page-resources .promotions-section,
.page-resources .safety-support-section,
.page-resources .faq-section,
.page-resources .latest-blog-section,
.page-resources .final-cta-section {
  padding: 60px 0;
}

.page-resources .introduction-section {
  background-color: var(--background-light);
}

.page-resources .guides-section {
  background-color: #ffffff;
}

.page-resources .game-types-section {
  background-color: var(--background-light);
}

.page-resources .promotions-section {
  background-color: #ffffff;
}

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

.page-resources .final-cta-section {
  background: linear-gradient(90deg, #003399 0%, var(--primary-color) 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 0;
}

.page-resources .final-cta-section h2 {
  color: var(--text-light);
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-resources .final-cta-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

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

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

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

.page-resources .guide-item img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 250px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-resources .guide-item p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555;
}

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

.page-resources .game-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  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 25px rgba(0, 0, 0, 0.15);
}

.page-resources .game-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 250px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-resources .game-card p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555;
}

/* Promotions List */
.page-resources .promotions-section ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources .promotions-section ul li {
  background: var(--background-light);
  border-left: 5px solid var(--secondary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources .promotions-section ul li strong {
  color: var(--primary-color);
}

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

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

.page-resources .safety-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources .safety-item img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  min-width: 250px;
  min-height: 200px;
  object-fit: cover;
}

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

.page-resources .safety-item p {
  font-size: 1em;
  margin-bottom: 20px;
  color: #555;
}

/* FAQ Section */
.page-resources .faq-list {
  margin-top: 40px;
}

.page-resources .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-resources .faq-question:hover {
  background: var(--background-light);
  border-color: var(--primary-color);
}

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

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

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

.page-resources .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--background-light);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

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

.page-resources .faq-answer p {
  margin: 0;
  color: #555;
  font-size: 1em;
}

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

.page-resources .blog-post-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources .blog-post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  min-width: 250px;
  min-height: 200px;
}

.page-resources .blog-post-card h3 {
  font-size: 1.4em;
  padding: 15px 20px 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-resources .blog-post-card p {
  font-size: 0.95em;
  padding: 0 20px 15px;
  color: #555;
}

.page-resources .blog-post-card .btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
  box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources .hero-content-general h1 {
    font-size: 2.8em;
  }
  .page-resources h2 {
    font-size: 2em;
  }
  .page-resources h3 {
    font-size: 1.5em;
  }
  .page-resources .hero-image-general img {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-resources .hero-section-general {
    padding: 60px 0;
  }
  .page-resources .hero-content-general h1 {
    font-size: 2.2em;
  }
  .page-resources .hero-content-general p {
    font-size: 1em;
  }
  .page-resources .cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-resources h2 {
    font-size: 1.8em;
  }
  .page-resources h3 {
    font-size: 1.3em;
  }
  .page-resources .guide-grid,
  .page-resources .game-grid,
  .page-resources .safety-grid,
  .page-resources .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .page-resources .guide-item,
  .page-resources .game-card,
  .page-resources .safety-item,
  .page-resources .blog-post-card {
    padding: 20px;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-toggle {
    font-size: 20px;
  }
  .page-resources .faq-answer {
    padding: 15px 20px;
  }
  .page-resources .final-cta-section h2 {
    font-size: 2em;
  }
  .page-resources .final-cta-section p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-content-general h1 {
    font-size: 1.8em;
  }
  .page-resources h2 {
    font-size: 1.6em;
  }
  .page-resources h3 {
    font-size: 1.2em;
  }
  .page-resources .hero-image-general img {
    min-width: 200px;
  }
}