/* ── FAQ PAGE ──────────────────────────────────────────────────────────────── */

/* ── CATEGORY SECTION ── */
.faq-content {
  min-width: 0;
}

.faq-category {
  animation: legal-fade-up .45s ease both;
}
.faq-category:nth-child(1)  { animation-delay: .00s; }
.faq-category:nth-child(3)  { animation-delay: .06s; }
.faq-category:nth-child(5)  { animation-delay: .12s; }
.faq-category:nth-child(7)  { animation-delay: .18s; }
.faq-category:nth-child(9)  { animation-delay: .24s; }

.faq-category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.faq-category-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
}

/* ── ACCORDION LIST ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── ACCORDION ITEM ── */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.faq-item[open] {
  border-color: rgba(247, 201, 72, .25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}

/* ── QUESTION (summary) ── */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  user-select: none;
  transition: color .15s;
}

/* Remove default marker in WebKit */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-item[open] .faq-question {
  color: var(--yellow);
  border-bottom: 1px solid var(--border);
}

.faq-question:hover {
  color: var(--yellow);
}

/* ── CHEVRON ICON ── */
.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: transform .25s ease, background .15s, border-color .15s, color .15s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: rgba(247,201,72,.1);
  border-color: rgba(247,201,72,.25);
  color: var(--yellow);
}

/* ── ANSWER ── */
.faq-answer {
  padding: 20px 20px 22px;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 12px;
}
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(247,201,72,.3);
  transition: border-color .15s;
}
.faq-answer a:hover { border-color: var(--yellow); }

/* ── DISCORD CTA ── */
.faq-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(88,101,242,.08) 0%, rgba(88,101,242,.04) 100%);
  border: 1px solid rgba(88,101,242,.25);
  border-radius: var(--radius);
  padding: 28px 28px;
  animation: legal-fade-up .45s ease both;
  animation-delay: .28s;
}

.faq-cta-icon {
  font-size: 36px;
  flex-shrink: 0;
  line-height: 1;
}

.faq-cta-body {
  flex: 1;
  min-width: 0;
}

.faq-cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.faq-cta-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .faq-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
