.page-faq {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Body background is dark #121212, so use light text */
  background-color: transparent; /* inherited from body */
}

.page-faq__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  background: linear-gradient(135deg, #0A246A 0%, #06173d 100%);
  color: #ffffff;
  overflow: hidden;
}

.page-faq__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:hero_main:1920x1080:sv388,svdaga,faq,hero,platform,cockfighting,casino,sports]');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  z-index: 1;
}

.page-faq__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #E0B11E;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-faq__description {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__btn-tertiary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-faq__btn-primary {
  background-color: #E0B11E;
  color: #0A246A;
  border: 2px solid #E0B11E;
}

.page-faq__btn-primary:hover {
  background-color: #ffc107;
  border-color: #ffc107;
}

.page-faq__btn-secondary {
  background-color: transparent;
  color: #E0B11E;
  border: 2px solid #E0B11E;
}

.page-faq__btn-secondary:hover {
  background-color: #E0B11E;
  color: #0A246A;
}

.page-faq__btn-tertiary {
  background-color: #0A246A;
  color: #ffffff;
  border: 2px solid #0A246A;
}

.page-faq__btn-tertiary:hover {
  background-color: #06173d;
  border-color: #06173d;
}

.page-faq__content-area {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  color: #ffffff;
}

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

.page-faq__faq-list {
  margin-top: 30px;
}

.page-faq__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.page-faq__faq-heading {
  font-size: 1.2em;
  margin: 0;
  color: #E0B11E;
}

.page-faq__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffffff;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-faq__faq-answer ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-faq__faq-answer li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-faq__faq-answer a {
  color: #E0B11E;
  text-decoration: underline;
}

.page-faq__faq-answer img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px;
}

.page-faq__call-to-action {
  text-align: center;
  margin-top: 60px;
  padding: 40px 20px;
  background-color: rgba(10, 36, 106, 0.8); /* Using brand primary with opacity */
  border-radius: 10px;
  border: 1px solid rgba(224, 177, 30, 0.5);
}

.page-faq__call-to-action .page-faq__section-title {
  color: #E0B11E;
  margin-bottom: 20px;
}

.page-faq__call-to-action p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-faq__call-to-action p a {
  color: #E0B11E;
  text-decoration: underline;
}

.page-faq__cta-buttons--bottom {
  gap: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile */
  }

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

  .page-faq__description {
    font-size: 1em;
  }

  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .page-faq__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-faq__content-area {
    padding: 40px 15px;
  }

  .page-faq__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-faq__faq-question {
    padding: 15px;
  }

  .page-faq__faq-heading {
    font-size: 1.1em;
  }

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

  .page-faq__faq-item.active .page-faq__faq-answer {
    padding: 15px;
  }

  .page-faq__faq-answer img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    min-width: 200px !important; /* Ensure min size on mobile */
    min-height: 200px !important;
  }

  .page-faq__container,
  .page-faq__call-to-action,
  .page-faq__faq-list,
  .page-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-faq__call-to-action {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: 1.8em;
  }

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