/* style/faq.css */

/* Base styles for page-faq */
.page-faq {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-faq__hero-section {
  padding-top: 10px; /* Small top padding, relying on shared body padding-top */
  padding-bottom: 60px;
  background-color: #0A0A0A;
  color: #FFF6D6;
}

.page-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 40px 20px;
}

.page-faq__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: left;
}

.page-faq__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B;
}

.page-faq__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-faq__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-faq__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

.page-faq__hero-side-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

/* Content Area */
.page-faq__content-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD36B;
}

.page-faq__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
}

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

.page-faq__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: #FFF6D6;
}

.page-faq__faq-item[open] {
  background-color: #1a1a1a;
  border-color: #F2C14E;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFD36B;
  cursor: pointer;
  list-style: none;
  padding-right: 25px; /* Space for the toggle icon */
  position: relative;
}

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

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

.page-faq__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: #F2C14E;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: translateY(-50%) rotate(45deg); /* Change + to X or - */
}

.page-faq__faq-answer {
  padding-top: 15px;
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-faq__faq-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.2);
}

/* CTA Buttons */
.page-faq__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  background: linear-gradient(180deg, #FFD86A 0%, #F2C14E 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

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

.page-faq__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  border-color: #FFD36B;
}

/* Bottom CTA Section */
.page-faq__cta-bottom-section {
  background-color: #111111;
  padding: 60px 0;
  text-align: center;
}

.page-faq__cta-bottom-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-faq__cta-bottom-content {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-faq__cta-bottom-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-faq__cta-bottom-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-faq__cta-bottom-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-faq__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.3);
}

/* --- Responsive Styles --- */

/* Tablet and Mobile (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-faq__hero-container,
  .page-faq__cta-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .page-faq__hero-content,
  .page-faq__hero-image,
  .page-faq__cta-bottom-content,
  .page-faq__cta-bottom-image {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-faq__hero-cta-buttons {
    justify-content: center;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* HERO Section */
  .page-faq__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-faq__hero-container {
    padding: 20px 15px;
    gap: 20px;
  }

  .page-faq__hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-faq__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-faq__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* CTA Button specific mobile styles */
  .page-faq__cta-button {
    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;
    text-align: center;
  }

  /* Content Area */
  .page-faq__content-area {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .page-faq__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  /* FAQ Section */
  .page-faq__faq-item {
    padding: 15px;
  }

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

  .page-faq__faq-answer {
    font-size: 0.95rem;
  }

  /* Images in content */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Bottom CTA Section */
  .page-faq__cta-bottom-section {
    padding: 40px 0;
  }

  .page-faq__cta-bottom-title {
    font-size: 1.8rem;
  }

  .page-faq__cta-bottom-description {
    font-size: 1rem;
  }

  .page-faq__cta-bottom-content,
  .page-faq__cta-bottom-image {
    padding: 0 15px;
    box-sizing: border-box;
  }
}

/* No module1 icon-box-media, game-tabs, promo, guide, trust, blog sections on this page */
/* Therefore, no specific 768px media queries for those */