.page-faq {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-faq__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-faq__container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-faq__hero-content {
  max-width: 800px;
  margin: 0 auto;
  z-index: 1;
}

.page-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

.page-faq__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button */
  color: #ffffff; /* Ensure contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-faq__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #FFB04D; /* Glow */
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.page-faq__section-intro {
  font-size: 1.05em;
  color: #FFF3E6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.page-faq__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  color: #FFF3E6; /* Text Main */
}

.page-faq__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: #FFF3E6; /* Text Main */
  list-style: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq__faq-item summary:hover {
  background-color: rgba(255, 165, 58, 0.1);
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
}

.page-faq__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6; /* Text Main */
}

.page-faq__faq-answer p {
  margin-bottom: 10px;
}

.page-faq__faq-answer a {
  color: #FFA53A; /* Auxiliary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-faq__faq-answer a:hover {
  color: #FFB04D; /* Glow */
  text-decoration: underline;
}

.page-faq__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-faq__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-faq__cta-section {
  background-color: #17191F; /* Card BG */
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 60px;
}

.page-faq__section-title--cta {
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
}

.page-faq__section-intro--cta {
  color: #FFF3E6; /* Text Main */
  margin-bottom: 40px;
}

.page-faq__btn-primary--cta {
  margin-top: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-faq__section {
    padding: 40px 15px;
  }

  .page-faq__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-faq__btn-primary,
  .page-faq a[class*="button"],
  .page-faq a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-faq__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-faq__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-faq__faq-list {
    gap: 10px;
  }
}

@media (min-width: 769px) {
  .page-faq__general-questions-section .page-faq__container,
  .page-faq__deposit-withdrawal-section .page-faq__container,
  .page-faq__support-section .page-faq__container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }

  .page-faq__general-questions-section .page-faq__faq-list,
  .page-faq__deposit-withdrawal-section .page-faq__faq-list,
  .page-faq__support-section .page-faq__faq-list {
    flex: 2;
  }

  .page-faq__general-questions-section .page-faq__image-wrapper,
  .page-faq__deposit-withdrawal-section .page-faq__image-wrapper,
  .page-faq__support-section .page-faq__image-wrapper {
    flex: 1;
    margin-top: 0;
  }

  .page-faq__general-questions-section .page-faq__section-title,
  .page-faq__deposit-withdrawal-section .page-faq__section-title,
  .page-faq__support-section .page-faq__section-title {
    text-align: left;
  }

  .page-faq__general-questions-section .page-faq__section-intro,
  .page-faq__deposit-withdrawal-section .page-faq__section-intro,
  .page-faq__support-section .page-faq__section-intro {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .page-faq__general-questions-section .page-faq__container {
    flex-direction: row;
  }

  .page-faq__deposit-withdrawal-section .page-faq__container {
    flex-direction: row-reverse;
  }

  .page-faq__support-section .page-faq__container {
    flex-direction: row;
  }
}