.page-faq {
  color: #333333; /* Dark text on light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #f8f8f8;
  gap: 40px;
}

.page-faq__hero-content {
  max-width: 800px;
}

.page-faq__hero-title {
  font-size: 2.8em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

.page-faq__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-faq__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-faq__hero-button--register {
  background-color: #000000;
  color: #FFFFFF;
}

.page-faq__hero-button--register:hover {
  background-color: #333333;
}

.page-faq__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-faq__hero-button--login:hover {
  background-color: #e0a53b;
}

.page-faq__hero-image-wrapper {
  max-width: 900px;
  width: 100%;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-faq__accordion-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-faq__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq__accordion-header {
  width: 100%;
  background-color: #f9f9f9;
  padding: 20px 25px;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
  background-color: #f0f0f0;
}

.page-faq__accordion-header[aria-expanded="true"] {
  background-color: #e0e0e0;
}

.page-faq__accordion-title {
  font-size: 1.3em;
  color: #000000;
  margin: 0;
  flex-grow: 1;
}

.page-faq__accordion-icon {
  font-size: 1.8em;
  color: #000000;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header[aria-expanded="true"] .page-faq__accordion-icon {
  transform: rotate(45deg);
}

.page-faq__accordion-content {
  padding: 20px 25px;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
  color: #444444;
}

.page-faq__accordion-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px 0;
  border-radius: 8px;
  min-width: 200px; /* Ensure content images are not too small */
  min-height: 200px;
}

.page-faq__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
  color: #e0a53b;
  text-decoration: underline;
}

.page-faq__game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.page-faq__game-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-faq__game-link:hover {
  background-color: #333333;
}

.page-faq__cta-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-faq__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-faq__hero-section {
    flex-direction: column;
  }

  .page-faq__hero-title {
    font-size: 2.2em;
  }

  .page-faq__section-title {
    font-size: 2em;
  }

  .page-faq__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 40px 15px;
  }

  .page-faq__hero-title {
    font-size: 1.8em;
  }

  .page-faq__hero-description {
    font-size: 1em;
  }

  .page-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__hero-button {
    width: 100%;
  }

  .page-faq__accordion-section {
    padding: 60px 15px;
  }

  .page-faq__section-title {
    font-size: 1.8em;
  }

  .page-faq__section-subtitle {
    font-size: 0.95em;
  }

  .page-faq__accordion-title {
    font-size: 1.1em;
  }

  .page-faq__accordion-header {
    padding: 15px 20px;
  }

  .page-faq__accordion-content {
    padding: 15px 20px;
  }

  .page-faq__cta-section {
    padding: 60px 15px;
  }

  .page-faq__cta-title {
    font-size: 1.8em;
  }

  .page-faq__cta-description {
    font-size: 1em;
  }

  .page-faq__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  
  /* Ensure content images do not overflow on mobile */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
}