.page-resources {
  --primary-color: #0A2239;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #1a3a5a;
  --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 .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-resources .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-resources .section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 60px;
  color: #555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources .cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

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

.page-resources .primary-button:hover {
  background-color: transparent;
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

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

.page-resources .secondary-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-resources .small-button {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-resources .large-button {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Hero Banner Section */
.page-resources .hero-banner {
  position: relative;
  width: 100%;
  height: 550px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
}

.page-resources .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 34, 57, 0.8) 0%, rgba(10, 34, 57, 0.6) 50%, rgba(10, 34, 57, 0.8) 100%);
  z-index: 2;
}

.page-resources .hero-content-wrapper {
  position: relative;
  z-index: 3;
  max-width: 900px;
  color: var(--text-light);
}

.page-resources .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources .hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

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

/* Section Games */
.page-resources .section-games {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-resources .game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-resources .game-card .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-resources .game-card .card-title {
  font-size: 1.5em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-resources .game-card .card-title .card-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-resources .game-card .card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources .game-card .card-button:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Section Guide */
.page-resources .section-guide {
  padding: 80px 0;
  background-color: var(--bg-light);
}

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

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

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

.page-resources .guide-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-resources .guide-text {
  color: #666;
  margin-bottom: 25px;
}

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

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

.page-resources .promo-card {
  background-color: var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-resources .promo-card .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources .promo-card .promo-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-resources .promo-card .promo-title .card-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources .promo-card .promo-title .card-link:hover {
  color: var(--text-light);
}

.page-resources .promo-card .promo-text {
  padding: 0 20px 20px;
  color: rgba(255, 255, 255, 0.8);
  flex-grow: 1;
}

/* Section Security Support */
.page-resources .section-security-support {
  padding: 80px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-resources .section-security-support .section-title {
  color: var(--secondary-color);
}

.page-resources .section-security-support .section-description {
  color: rgba(255, 255, 255, 0.9);
}

.page-resources .info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-resources .info-block {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources .info-image {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-resources .info-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources .info-text {
  color: rgba(255, 255, 255, 0.8);
}

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

.page-resources .support-cta p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: var(--text-light);
}

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

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

.page-resources .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.page-resources .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-resources .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-resources .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-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: #fcfcfc;
  color: #555;
}

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

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

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

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

.page-resources .blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-resources .blog-card .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-resources .blog-card .blog-title {
  font-size: 1.5em;
  color: var(--primary-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-resources .blog-card .blog-title .card-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.page-resources .blog-card .blog-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources .blog-card .blog-button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

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

.page-resources .section-conclusion .cta-button {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources .hero-title {
    font-size: 3em;
  }
  .page-resources .hero-description {
    font-size: 1.1em;
  }
  .page-resources .section-title {
    font-size: 2em;
  }
  .page-resources .section-description {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources .hero-banner {
    height: 450px;
    padding: 40px 15px;
  }
  .page-resources .hero-title {
    font-size: 2.5em;
  }
  .page-resources .hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources .hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources .cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-resources .section-intro, .page-resources .section-games, .page-resources .section-guide, .page-resources .section-promotions, .page-resources .section-security-support, .page-resources .section-faq, .page-resources .section-blog, .page-resources .section-conclusion {
    padding: 60px 0;
  }
  .page-resources .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources .section-description {
    margin-bottom: 40px;
  }
  .page-resources .game-categories, .page-resources .guide-steps, .page-resources .promo-grid, .page-resources .info-blocks, .page-resources .blog-posts {
    grid-template-columns: 1fr;
  }
  .page-resources .game-card, .page-resources .guide-item, .page-resources .promo-card, .page-resources .info-block, .page-resources .blog-card {
    margin-bottom: 20px;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-question h3 {
    font-size: 1.1em;
  }
  .page-resources .faq-toggle {
    font-size: 1.5em;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-banner {
    height: 400px;
  }
  .page-resources .hero-title {
    font-size: 2em;
  }
  .page-resources .hero-description {
    font-size: 0.9em;
  }
  .page-resources .cta-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-resources .section-title {
    font-size: 1.5em;
  }
  .page-resources .game-card .card-title, .page-resources .guide-title, .page-resources .promo-card .promo-title, .page-resources .info-title, .page-resources .blog-card .blog-title {
    font-size: 1.3em;
  }
}