.page-faq {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-faq__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.page-faq__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 40px;
}

.page-faq__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-faq__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__hero-button {
  display: inline-block;
  background-color: #DC143C; /* Action button color */
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.page-faq__hero-button:hover {
  background-color: #b00f2e;
  transform: translateY(-3px);
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-faq__accordion-section {
  padding: 60px 20px;
  background-color: #0A0A0A;
}

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

.page-faq__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.page-faq__accordion-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__accordion-header {
  width: 100%;
  padding: 20px 30px;
  text-align: left;
  background-color: rgba(255, 215, 0, 0.15);
  color: #FFD700;
  font-size: 1.4em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-faq__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-faq__accordion-header.active {
  background-color: rgba(255, 215, 0, 0.25);
  color: #FFFFFF;
}

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

.page-faq__accordion-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
  font-size: 1.1em;
  line-height: 1.7;
}

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

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

.page-faq__accordion-content a {
  color: #1E90FF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq__accordion-content a:hover {
  color: #62b1ff;
  text-decoration: underline;
}

.page-faq__content-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-faq__login-button, .page-faq__download-button, .page-faq__promo-button {
  display: inline-block;
  background-color: #1E90FF;
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.page-faq__login-button:hover, .page-faq__download-button:hover, .page-faq__promo-button:hover {
  background-color: #0077e6;
}

.page-faq__contact-section {
  padding: 80px 20px;
  text-align: center;
  background-color: rgba(30, 144, 255, 0.1);
  border-top: 2px solid rgba(30, 144, 255, 0.3);
}

.page-faq__contact-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.page-faq__contact-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.page-faq__contact-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.page-faq__contact-button--support {
  background-color: #1E90FF;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(30, 144, 255, 0.4);
}

.page-faq__contact-button--support:hover {
  background-color: #0077e6;
  transform: translateY(-3px);
}

.page-faq__contact-button--register {
  background-color: #DC143C;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(220, 20, 60, 0.4);
}

.page-faq__contact-button--register:hover {
  background-color: #b00f2e;
  transform: translateY(-3px);
}

.page-faq__contact-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-top: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-faq__hero-title {
    font-size: 3em;
  }
  .page-faq__section-title {
    font-size: 2.5em;
  }
  .page-faq__contact-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
  }
  .page-faq__hero-title {
    font-size: 2.5em;
  }
  .page-faq__hero-description {
    font-size: 1em;
  }
  .page-faq__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-faq__accordion-section {
    padding: 40px 15px;
  }
  .page-faq__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-faq__accordion-header {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-faq__accordion-content.open {
    padding: 15px 20px;
  }
  .page-faq__accordion-content p {
    font-size: 0.95em;
  }
  .page-faq__contact-section {
    padding: 60px 15px;
  }
  .page-faq__contact-title {
    font-size: 2em;
  }
  .page-faq__contact-description {
    font-size: 1em;
  }
  .page-faq__contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__contact-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-faq__hero-image-wrapper, .page-faq__contact-image, .page-faq__content-image {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all images within .page-faq do not overflow */
  .page-faq img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: 2em;
  }
  .page-faq__section-title {
    font-size: 1.8em;
  }
  .page-faq__contact-title {
    font-size: 1.8em;
  }
  .page-faq__accordion-header {
    font-size: 1em;
  }
  .page-faq__hero-button, .page-faq__contact-button {
    font-size: 0.95em;
    padding: 10px 20px;
  }
}