.page-faq {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Minimal top padding, relies on body padding-top for header offset */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 15px;
}

.page-faq__hero-title {
  color: #FFF6D6;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  font-size: clamp(2em, 5vw, 3.2em); /* Using clamp for responsive font size */
}

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

.page-faq__section-title {
  color: #FFD36B;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

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

.page-faq__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.page-faq__faq-item:hover {
  border-color: #FFD36B;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-faq__faq-question {
  color: #FFD36B;
  font-size: 1.4em;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__faq-question::after {
  content: '+';
  font-size: 1.2em;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.page-faq__faq-item.active .page-faq__faq-question::after {
  content: '-';
  transform: rotate(0deg);
}

.page-faq__faq-answer {
  color: #FFF6D6;
  font-size: 1em;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-faq__faq-item.active .page-faq__faq-answer {
  display: block;
  max-height: 500px; /* Adjust as needed for content length */
  padding-top: 10px;
}

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

.page-faq__faq-answer a {
  color: #F2C14E;
  text-decoration: none;
  font-weight: bold;
}

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

.page-faq__button {
  display: inline-block;
  padding: 12px 25px;
  margin-top: 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  cursor: pointer;
  margin-right: 10px;
}

.page-faq__button:last-child {
  margin-right: 0;
}

.page-faq__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-faq__game-showcase-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-faq__cta-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

.page-faq__cta-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-title {
  color: #FFD36B;
  font-size: 2.2em;
  margin-bottom: 20px;
}

.page-faq__cta-description {
  color: #E5E5E5;
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-faq__cta-buttons .page-faq__button {
  margin: 0 10px;
}

.page-faq__button--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
}

.page-faq__button--secondary {
  background: #3A2A12;
  color: #FFF6D6;
  border: 1px solid #F2C14E;
}

.page-faq__button--secondary:hover {
  background: #4a3a22;
  border-color: #FFD36B;
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-faq__hero-title {
    font-size: clamp(1.8em, 7vw, 2.8em);
  }

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

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

  .page-faq__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

  .page-faq__cta-buttons .page-faq__button {
    margin: 0;
  }

  .page-faq__hero-image,
  .page-faq__game-showcase-image {
    max-width: 100%;
    height: auto;
  }

  .page-faq__faq-answer img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-faq__hero-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }

  .page-faq__section-title,
  .page-faq__cta-title {
    font-size: 1.8em;
  }

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

  .page-faq__button {
    padding: 8px 15px;
    font-size: 0.85em;
  }
}