/* Shared shop FAQ (gift accounts + item shop) */

.ft-shop-faq {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.ft-shop-faq__head {
  margin-bottom: 1rem;
  text-align: center;
}

.ft-shop-faq__title {
  margin: 0;
  color: #fafafa;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 800;
}

.ft-shop-faq__sub {
  margin: 0.35rem 0 0;
  color: var(--ft-ga-muted, #a1a1aa);
  font-size: 0.82rem;
  font-weight: 600;
}

.ft-shop-faq__list {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .ft-shop-faq__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

.ft-shop-faq__col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

@media (min-width: 900px) {
  .ft-shop-faq__col {
    gap: 0.85rem;
  }
}

.ft-shop-faq__col > .ft-landing-faq__item {
  margin: 0;
}

.ft-shop-faq .ft-landing-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  background: rgba(24, 24, 27, 0.55);
  overflow: hidden;
}

.ft-shop-faq .ft-landing-faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.125rem;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: right;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
}

.ft-shop-faq .ft-landing-faq__question {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
  text-align: right;
}

.ft-shop-faq .ft-landing-faq__q-icon {
  flex-shrink: 0;
  color: var(--ft-brand-soft, var(--ft-brand, #facc15));
  margin-top: 0.1rem;
}

.ft-shop-faq .ft-landing-faq__q-icon.ft-icon,
.ft-shop-faq .ft-landing-faq__icon.ft-icon {
  display: block;
}

.ft-shop-faq .ft-landing-faq__icon {
  flex: 0 0 auto;
  color: #71717a;
  transition: transform 0.25s ease;
}

.ft-shop-faq__col .ft-landing-faq__trigger:hover .ft-landing-faq__icon {
  color: #d4d4d8;
}

.ft-shop-faq .ft-landing-faq__panel[hidden] {
  display: none !important;
}

/* FAQ modal / mobile sheet */
.ft-ga-faq-modal.ft-ga-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

@media (min-width: 640px) {
  .ft-ga-faq-modal.ft-ga-profile-modal {
    align-items: center;
    padding: 1.25rem;
  }
}

.ft-ga-faq-modal.ft-ga-profile-modal[hidden] {
  display: none !important;
}

.ft-ga-faq-modal .ft-ga-profile-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ft-ga-faq-modal.is-open .ft-ga-profile-modal__backdrop {
  opacity: 1;
}

.ft-ga-faq-modal .ft-ga-profile-modal__panel {
  position: relative;
  z-index: 1;
  width: min(36rem, 100%);
  max-height: min(34rem, 88vh);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 1.25rem 1.25rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 12% 0%, rgb(var(--ft-brand-rgb) / 0.18), transparent 42%),
    linear-gradient(165deg, #27272a, #18181b);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(1rem);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .ft-ga-faq-modal .ft-ga-profile-modal__panel {
    border-radius: 1.25rem;
    transform: translateY(0.5rem) scale(0.98);
  }
}

.ft-ga-faq-modal.is-open .ft-ga-profile-modal__panel {
  opacity: 1;
  transform: none;
}

.ft-ga-faq-modal .ft-ga-profile-modal__handle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: -0.15rem 0 0.15rem;
  pointer-events: none;
}

.ft-ga-faq-modal .ft-ga-profile-modal__handle span {
  width: 2.35rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
}

@media (min-width: 640px) {
  .ft-ga-faq-modal .ft-ga-profile-modal__handle {
    display: none;
  }
}

.ft-ga-faq-modal .ft-ga-profile-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.ft-ga-faq-modal .ft-ga-profile-modal__title {
  margin: 0;
  color: #fafafa;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}

.ft-ga-faq-modal .ft-ga-profile-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  cursor: pointer;
}

.ft-ga-faq-modal .ft-ga-profile-modal__close svg {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
}

.ft-ga-faq-modal .ft-ga-profile-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.ft-ga-faq-modal__count {
  display: inline-flex;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgb(var(--ft-brand-rgb) / 0.14);
  color: var(--ft-brand-soft, rgb(var(--ft-brand-rgb)));
  font-size: 0.7rem;
  font-weight: 800;
}

.ft-ga-faq-modal__answer {
  min-height: 6rem;
  overflow-y: auto;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.25);
  color: #d4d4d8;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.9;
  text-align: justify;
}

.ft-ga-faq-modal__cta {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid rgb(var(--ft-brand-rgb) / 0.5);
  background: rgb(var(--ft-brand-rgb) / 0.16);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.ft-ga-faq-modal__cta:hover {
  background: rgb(var(--ft-brand-rgb) / 0.26);
  transform: translateY(-1px);
}

.ft-ga-faq-modal__cta[hidden] {
  display: none;
}

.ft-ga-faq-modal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.ft-ga-faq-modal__nav-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.ft-ga-faq-modal__cta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 481px) {
  .ft-ga-faq-modal__cta {
    flex: 0 1 auto;
  }
}

@media (max-width: 480px) {
  .ft-ga-faq-modal__nav-btn span {
    display: none;
  }

  .ft-ga-faq-modal__nav-btn {
    padding: 0 0.7rem;
  }
}

.ft-ga-faq-modal__nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.ft-ga-faq-modal__nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Item shop helper links (after FAQ) */
.ft-item-shop-after {
  margin-top: 0.5rem;
}

.ft-item-shop-help {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.ft-item-shop-help__head {
  margin-bottom: 1rem;
  text-align: center;
}

.ft-item-shop-help__title {
  margin: 0;
  color: #fafafa;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 800;
}

.ft-item-shop-help__sub {
  margin: 0.4rem auto 0;
  max-width: 34rem;
  color: #a1a1aa;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.75;
}

.ft-item-shop-help__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 760px) {
  .ft-item-shop-help__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ft-item-shop-help__card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  padding: 1.15rem 1.2rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(39, 39, 42, 0.55), rgba(24, 24, 27, 0.55));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.ft-item-shop-help__card:hover {
  border-color: rgb(var(--ft-brand-rgb) / 0.35);
  background: linear-gradient(160deg, rgba(39, 39, 42, 0.72), rgba(24, 24, 27, 0.72));
  transform: translateY(-2px);
}

.ft-item-shop-help__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  background: rgb(var(--ft-brand-rgb) / 0.12);
  color: rgb(var(--ft-brand-rgb));
}

.ft-item-shop-help__icon.is-green {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.ft-item-shop-help__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  flex: 1 1 auto;
}

.ft-item-shop-help__card-title {
  color: #fafafa;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.ft-item-shop-help__card-text {
  color: #a1a1aa;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.75;
}

.ft-item-shop-help__go {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  color: #71717a;
  transition: color 0.15s ease, transform 0.15s ease;
}

.ft-item-shop-help__card:hover .ft-item-shop-help__go {
  color: #e4e4e7;
  transform: translateX(-2px);
}
