.page-faq {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-card: #11271B;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;

  color: var(--text-main); /* Default text color for main content area */
  background-color: #08160F; /* Overall page background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.page-faq__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  margin-top: 100px; /* Push content down from top of hero image */
}

.page-faq__main-title {
  color: var(--text-main);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-faq__intro-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-faq__cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main);
  border: none;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: none;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  margin-left: 15px;
}

.page-faq__btn-secondary:hover {
  background: var(--secondary-color);
  color: #08160F;
}

.page-faq__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: var(--bg-card);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-faq__section-title {
  color: var(--gold-color);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--divider-color);
}

.page-faq__section-title--center {
  text-align: center;
}

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

.page-faq__faq-item {
  background-color: var(--deep-green);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--primary-color);
  color: var(--text-main);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-faq__faq-question:hover {
  background-color: var(--secondary-color);
}

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

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
}

.page-faq__faq-answer {
  padding: 15px 20px;
  background-color: #0A4B2C; /* Slightly darker green */
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.page-faq__faq-answer p,
.page-faq__faq-answer ol,
.page-faq__faq-answer ul {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-faq__faq-answer ol li,
.page-faq__faq-answer ul li {
  margin-bottom: 5px;
}

.page-faq__faq-answer a {
  color: var(--glow-color); /* Bright green for links */
  text-decoration: none;
}

.page-faq__faq-answer a:hover {
  text-decoration: underline;
}

.page-faq__link-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: #08160F;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-faq__link-btn:hover {
  background-color: var(--glow-color);
}

.page-faq__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-faq__image--left {
  float: left;
  width: 40%;
  margin-right: 20px;
}

.page-faq__image--right {
  float: right;
  width: 40%;
  margin-left: 20px;
}

.page-faq__image--full-width {
  clear: both;
  width: 100%;
}

.page-faq__transactions-section .page-faq__faq-list,
.page-faq__games-section .page-faq__faq-list,
.page-faq__security-support-section .page-faq__faq-list {
  overflow: hidden; /* Clear floats */
}

.page-faq__conclusion-section {
  text-align: center;
  padding: 50px 20px;
}

.page-faq__conclusion-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    margin-top: 80px;
  }
  .page-faq__section {
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-faq__hero-content {
    margin-top: 60px;
    padding: 15px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-faq__intro-text,
  .page-faq__conclusion-text {
    font-size: 1rem;
  }
  .page-faq__section-title {
    font-size: 1.7rem;
  }
  .page-faq__faq-question {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
  .page-faq__faq-answer {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
  .page-faq__cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin-left: 0 !important;
  }
  .page-faq__btn-secondary {
    margin-top: 10px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .page-faq__image--left,
  .page-faq__image--right {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-faq__section,
  .page-faq__hero-section,
  .page-faq__transactions-section,
  .page-faq__games-section,
  .page-faq__security-support-section,
  .page-faq__other-issues-section,
  .page-faq__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-faq__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-faq__main-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .page-faq__section-title {
    font-size: 1.5rem;
  }
  .page-faq__faq-question {
    font-size: 0.9rem;
  }
  .page-faq__cta-button {
    width: 100%;
  }
  .page-faq__btn-secondary {
    margin-left: 0;
  }
}

/* Ensure contrast for text on dark backgrounds */
.page-faq p,
.page-faq li,
.page-faq__faq-answer p,
.page-faq__faq-answer ol li,
.page-faq__faq-answer ul li {
  color: var(--text-secondary);
}

/* Ensure button text is visible */
.page-faq__btn-primary {
  color: var(--text-main);
}
.page-faq__btn-secondary {
  color: var(--secondary-color);
}
.page-faq__btn-secondary:hover {
  color: #08160F;
}

/* No filter on images */
.page-faq img {
  filter: none;
}