.page-faq {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy-color); /* Body background from shared.css */
}

.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 40px;
  background-color: #08162B; /* Deep Navy */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

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

.page-faq__hero-content {
  max-width: 800px;
  padding: 20px;
  background: rgba(16, 35, 63, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: -80px; /* Overlap slightly for visual effect, but not over image */
  position: relative;
  z-index: 1;
}

.page-faq__main-title {
  color: #F2C14E; /* Gold */
  font-size: clamp(2em, 4vw, 3em);
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-faq__intro-text {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-faq__section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__section-title {
  color: #F2C14E; /* Gold */
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-faq__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #1D5FD1; /* Auxiliary color */
  margin: 15px auto 0;
  border-radius: 2px;
}

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

.page-faq__faq-item {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background-color: #113B7A; /* Main color when open */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}

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

.page-faq__faq-qtext {
  flex-grow: 1;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.7;
}

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

.page-faq__faq-answer p:last-child {
  margin-bottom: 0;
}

.page-faq__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

.page-faq__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-faq__inline-link {
  color: #4FA8FF; /* Glow */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
  color: #F2C14E; /* Gold */
}

.page-faq__cta-section {
  padding: 80px 0;
  background-color: #113B7A; /* Main color */
  text-align: center;
}

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

.page-faq__cta-title {
  color: #F3F8FF; /* Text Main */
  font-size: 2.5em;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  color: #AFC4E8; /* Text Secondary */
  font-size: 1.1em;
  margin-bottom: 40px;
}

.page-faq__cta-button--secondary {
  background: #F2C14E; /* Gold */
  color: #08162B; /* Deep Navy */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-button--secondary:hover {
  background: #FFD700; /* Brighter Gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    margin-top: -60px;
  }

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

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

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

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

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

  .page-faq__hero-section {
    padding-bottom: 20px;
  }

  .page-faq__hero-content {
    padding: 15px;
    margin-top: -40px; /* Adjust overlap for smaller screens */
    width: calc(100% - 30px); /* Ensure padding doesn't cause overflow */
  }

  .page-faq__main-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 10px;
  }

  .page-faq__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-faq__cta-button {
    padding: 10px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-faq__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-faq__faq-toggle {
    font-size: 1.2em;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }

  .page-faq__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-faq__cta-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-faq__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* No game/gameshow/blog-masonry/blog-slider for FAQ page, so no specific media queries for them */
  /* Generic image and container rules */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button and button container rules */
  .page-faq__cta-button,
  .page-faq__btn-primary,
  .page-faq__btn-secondary,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-faq__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}