.page-resources {
  --primary-color: #FFD700;
  --secondary-color: #000080;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #000080;
  --accent-color: #e0b000; /* Slightly darker gold for hover/active */
  --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 {
  padding: 60px 0;
}

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

.page-resources .section-title {
  font-size: 3em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources .section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

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

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

.page-resources .button-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 1px solid var(--secondary-color);
}

.page-resources .button-small:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Hero Banner */
.page-resources .hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--bg-dark);
}

.page-resources .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources .hero-image {
  width: 100%;
  height: 500px; /* Adjusted for better visual impact */
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
}

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

.page-resources .hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-resources .hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

/* Guide Section */
.page-resources .guide-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.page-resources .guide-item:last-child {
  margin-bottom: 0;
}

.page-resources .guide-item.reverse {
  flex-direction: row-reverse;
}

.page-resources .guide-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  height: 350px;
  object-fit: cover;
}

.page-resources .guide-text {
  flex: 1;
  max-width: 50%;
}

.page-resources .guide-heading {
  font-size: 2.2em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources .guide-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-resources .guide-text ol, .page-resources .guide-text ul {
  margin-left: 25px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-dark);
}

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

.page-resources .sub-heading {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 10px;
}

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

.page-resources .game-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

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

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

.page-resources .card-text {
  font-size: 1em;
  color: var(--text-dark);
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

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

.page-resources .offer-item {
  background: #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;
}

.page-resources .offer-item:hover {
  transform: translateY(-5px);
}

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

.page-resources .offer-item p {
  font-size: 1.05em;
  color: var(--text-dark);
}

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

.page-resources .support-item {
  background: #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;
}

.page-resources .support-item:hover {
  transform: translateY(-5px);
}

.page-resources .support-icon {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-resources .support-item p {
  font-size: 1.05em;
  color: var(--text-dark);
  margin-bottom: 20px;
}

/* FAQ Section */
.page-resources .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.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: var(--bg-light);
}

.page-resources .faq-heading {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--bg-light);
  color: var(--text-dark);
}

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

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

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

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

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

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

.page-resources .blog-card .page-resources.card-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin: 20px 20px 10px 20px;
  text-align: left;
}

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

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

.page-resources .blog-card .page-resources.card-text {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 20px 15px 20px;
  text-align: left;
  flex-grow: 1;
}

.page-resources .blog-date {
  font-size: 0.85em;
  color: #777;
  padding: 0 20px 20px 20px;
  display: block;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources .hero-title {
    font-size: 3em;
  }
  .page-resources .hero-description {
    font-size: 1.1em;
  }
  .page-resources .guide-item {
    flex-direction: column;
    text-align: center;
  }
  .page-resources .guide-item.reverse {
    flex-direction: column;
  }
  .page-resources .guide-image {
    max-width: 80%;
    margin-bottom: 30px;
  }
  .page-resources .guide-text {
    max-width: 100%;
  }
  .page-resources .guide-text ol, .page-resources .guide-text ul {
    text-align: left;
    margin-left: 0;
    padding-left: 25px;
  }
  .page-resources .faq-question {
    padding: 15px 20px;
  }
  .page-resources .faq-heading {
    font-size: 1.2em;
  }
  .faq-toggle {
    font-size: 1.8em;
  }
  .page-resources .faq-answer {
    padding: 0 20px;
  }
  .page-resources .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 768px) {
  .page-resources section {
    padding: 40px 0;
  }
  .page-resources .hero-banner {
    padding: 60px 15px;
  }
  .page-resources .hero-title {
    font-size: 2.5em;
  }
  .page-resources .hero-description {
    font-size: 1em;
  }
  .page-resources .hero-image {
    height: 300px;
    margin-bottom: 30px;
  }
  .page-resources .section-title {
    font-size: 2.2em;
  }
  .page-resources .section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-resources .cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-resources .guide-image {
    max-width: 100%;
    height: 250px;
  }
  .page-resources .guide-heading {
    font-size: 1.8em;
  }
  .page-resources .sub-heading {
    font-size: 1.3em;
  }
  .page-resources .game-grid, .page-resources .offer-list, .page-resources .support-grid, .page-resources .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources .card-title {
    font-size: 1.5em;
  }
  .page-resources .offer-heading, .page-resources .support-heading {
    font-size: 1.6em;
  }
  .page-resources .support-icon {
    width: 100px;
    height: 100px;
  }
  .page-resources .blog-card .page-resources.card-title {
    font-size: 1.4em;
  }
  .page-resources .blog-card .page-resources.card-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .page-resources .hero-title {
    font-size: 2em;
  }
  .page-resources .hero-description {
    font-size: 0.9em;
  }
  .page-resources .hero-image {
    height: 200px;
  }
  .page-resources .section-title {
    font-size: 1.8em;
  }
  .page-resources .cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-resources .guide-heading {
    font-size: 1.5em;
  }
  .page-resources .card-title {
    font-size: 1.3em;
  }
  .page-resources .offer-heading, .page-resources .support-heading {
    font-size: 1.4em;
  }
  .page-resources .faq-heading {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 1.5em;
  }
  .page-resources .blog-card .page-resources.card-title {
    font-size: 1.2em;
  }
  .page-resources .blog-card .page-resources.card-image {
    height: 150px;
  }
}