.page-resources {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2463;
  --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, .page-resources h4, .page-resources h5, .page-resources h6 {
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.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;
  position: relative;
}

.page-resources h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-resources p {
  margin-bottom: 15px;
}

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

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

/* Hero Section */
.page-resources .hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a70 100%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-resources .hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

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

.page-resources .cta-button:hover {
  background: #f0c23a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: var(--primary-color);
}

.page-resources .cta-center {
  text-align: center;
  margin-top: 40px;
}

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

.page-resources .intro-section p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1em;
  color: #555;
}

/* Guides Section */
.page-resources .guides-section {
  padding: 60px 0;
  background: #ffffff;
}

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

.page-resources .guide-card {
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources .guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.page-resources .guide-card h3 {
  padding: 20px 20px 10px;
  margin-bottom: 0;
  font-size: 1.5em;
}

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

.page-resources .guide-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
  color: #666;
}

.page-resources .card-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 0 0 10px 10px;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-resources .card-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Games Overview Section */
.page-resources .games-overview-section {
  background: linear-gradient(135deg, #f0f4f8, #e0e6eb);
  padding: 60px 0;
}

.page-resources .games-overview-section > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #555;
}

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

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

.page-resources .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.page-resources .feature-image {
  width: 100%;
  max-width: 300px; /* Adjust as needed */
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-resources .feature-item h3 {
  font-size: 1.6em;
  margin-bottom: 10px;
}

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

.page-resources .feature-item p {
  color: #666;
}

/* Promotions Section */
.page-resources .promotions-section {
  padding: 60px 0;
  background: #ffffff;
}

.page-resources .promotions-section > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #555;
}

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

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

.page-resources .promo-list li a {
  font-weight: bold;
}

/* Security and Support Section */
.page-resources .security-support-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a70 100%);
  color: var(--text-light);
}

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

.page-resources .security-support-section > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #e0e0e0;
}

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

.page-resources .security-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-resources .security-item h3 {
  color: var(--secondary-color);
  font-size: 1.7em;
  margin-bottom: 15px;
}

.page-resources .security-item p {
  color: #f0f0f0;
}

.page-resources .security-item a {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-resources .faq-list {
  max-width: 800px;
  margin: 0 auto;
  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: #ffffff;
  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: #f5f5f5;
  border-color: var(--primary-color);
}

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

.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: #fdfdfd;
  border-radius: 0 0 8px 8px;
  border: 1px solid var(--border-color);
  border-top: none;
}

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

.page-resources .faq-answer p {
  margin-bottom: 0;
  color: #444;
}

/* Blog Preview Section */
.page-resources .blog-preview-section {
  padding: 60px 0;
  background: #ffffff;
}

.page-resources .blog-preview-section > p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  font-size: 1.1em;
  color: #555;
}

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

.page-resources .blog-card {
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-resources .blog-card h3 {
  padding: 20px 20px 10px;
  margin-bottom: 0;
  font-size: 1.5em;
}

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

.page-resources .blog-card p {
  padding: 0 20px 20px;
  flex-grow: 1;
  color: #666;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources h1 {
    font-size: 2.8em;
  }

  .page-resources h2 {
    font-size: 2em;
  }

  .page-resources .guide-grid, .page-resources .game-features, .page-resources .security-features, .page-resources .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-resources .card-image, .page-resources .feature-image {
    height: 180px;
  }

  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources .hero-section {
    padding: 60px 0;
  }

  .page-resources h1 {
    font-size: 2.2em;
  }

  .page-resources h2 {
    font-size: 1.8em;
  }

  .page-resources h3 {
    font-size: 1.4em;
  }

  .page-resources .container {
    padding: 0 15px;
  }

  .page-resources .guide-grid, .page-resources .game-features, .page-resources .security-features, .page-resources .blog-grid {
    grid-template-columns: 1fr;
    gap: 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-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources h1 {
    font-size: 1.8em;
  }

  .page-resources h2 {
    font-size: 1.5em;
  }

  .page-resources .hero-content p {
    font-size: 1em;
  }

  .page-resources .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .page-resources .card-image, .page-resources .feature-image {
    height: 150px;
  }
}