.page-faq {
  color: #333333; /* Default text color for light background */
}

.page-faq__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF; /* White text for dark background */
  text-align: center;
  padding-bottom: 60px;
}

.page-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-faq__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title with accent color */
}

.page-faq__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-image {
  margin-bottom: 40px;
  border-radius: 10px;
  overflow: hidden;
}

.page-faq__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-faq__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-faq__button--register:hover {
  background-color: #f0f0f0;
  color: #000000;
}

.page-faq__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__button--login:hover {
  background-color: #e0a53a;
  color: #000000;
}

.page-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #FFFFFF;
}

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

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

.page-faq__accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-faq__accordion-item:last-child {
  border-bottom: none;
}

.page-faq__accordion-header {
  background-color: #f9f9f9;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  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::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-faq__accordion-content {
  padding: 0 20px;
  background-color: #FFFFFF;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq__accordion-content.active {
  max-height: 1000px; /* Adjust as needed for content length */
  padding: 20px;
}

.page-faq__accordion-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.page-faq__accordion-content a {
  color: #FCBC45; /* Link color */
  text-decoration: none;
}

.page-faq__accordion-content a:hover {
  text-decoration: underline;
}

.page-faq__sub-question {
  font-size: 1.15em;
  color: #000000;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-faq__game-list, .page-faq__bonus-list, .page-faq__contact-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-faq__game-list li, .page-faq__bonus-list li, .page-faq__contact-list li {
  margin-bottom: 5px;
}

.page-faq__cta-section {
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  border-radius: 8px;
}

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

.page-faq__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__button--support {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-faq__button--support:hover {
  background-color: #e0a53a;
  color: #000000;
}

.page-faq__image-wrapper {
  margin: 20px 0;
  text-align: center;
}

.page-faq__content-image {
  width: 100%;
  max-width: 800px; /* Max width for content images */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: 2em;
  }

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

  .page-faq__button {
    min-width: unset;
    width: 100%;
  }

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

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

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

  .page-faq__sub-question {
    font-size: 1em;
  }

  .page-faq__content-area, .page-faq__hero-container {
    padding: 20px 15px;
  }

  /* Ensure content images are responsive and don't overflow */
  .page-faq__content-image {
    max-width: 100%;
    height: auto;
  }

  .page-faq__accordion-content img {
    max-width: 100%;
    height: auto;
  }
}