.page-faq {
  position: relative;
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--surface) 32%, var(--primary-dark) 100%);
  overflow-x: hidden;
}

.page-faq::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 93, 34, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 93, 34, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.page-faq > * {
  position: relative;
  z-index: 1;
}

.faq-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 2px solid rgba(244, 93, 34, 0.3);
  background:
    radial-gradient(circle at 78% 20%, rgba(229, 168, 3, 0.14), transparent 42%),
    radial-gradient(circle at 18% 130%, rgba(244, 93, 34, 0.1), transparent 40%);
}

.faq-hero .breadcrumb {
  margin-bottom: 1.5rem;
}

.faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.faq-kicker::before,
.faq-kicker::after {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold));
}

.faq-kicker::after {
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.faq-hero h1 {
  font-family: var(--display-font), var(--heading-font);
  font-size: clamp(1.7rem, 4.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.16;
  color: var(--text-primary);
  max-width: 860px;
  letter-spacing: 0.01em;
  margin-bottom: 0.85rem;
}

.faq-intro {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-sidebar-title {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(176, 196, 222, 0.18);
}

.faq-index {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.faq-index-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
  font-size: 0.94rem;
  font-weight: 500;
}

.faq-index-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(229, 168, 3, 0.1);
  color: var(--accent-gold);
  font-family: var(--display-font);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.28s ease, color 0.28s ease;
}

.faq-index-item:hover {
  color: var(--text-primary);
  background: rgba(23, 50, 77, 0.6);
  border-color: rgba(244, 93, 34, 0.18);
}

.faq-index-item:hover .faq-index-num {
  background: rgba(244, 93, 34, 0.18);
  color: var(--accent);
}

.faq-sidebar-cta {
  margin-top: 0.35rem;
  padding: 1.15rem 1.05rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(23, 50, 77, 0.6), rgba(15, 33, 55, 0.85));
  border: 1px solid rgba(244, 93, 34, 0.2);
}

.faq-sidebar-cta-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.94rem;
  margin-bottom: 0.35rem;
}

.faq-sidebar-cta p:not(.faq-sidebar-cta-title) {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 0.95rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.faq-overview {
  margin: 0 0 0.35rem;
  padding: 0.25rem 0;
}

.faq-overview-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 93, 34, 0.18);
  box-shadow: var(--shadow-md);
}

.faq-overview-caption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-align: center;
}

.faq-section {
  scroll-margin-top: calc(var(--header-h) + 2rem);
}

.faq-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(176, 196, 222, 0.14);
}

.faq-section-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  font-family: var(--display-font);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(229, 168, 3, 0.08);
  border: 1px solid rgba(229, 168, 3, 0.3);
}

.faq-section-title-wrap {
  flex: 1;
  min-width: 0;
}

.faq-section-title-wrap h2 {
  font-size: 1.26rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.faq-section-desc {
  font-size: 0.89rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-section--nav .faq-section-index {
  color: #ff9d66;
  border-color: rgba(244, 93, 34, 0.4);
  background: rgba(244, 93, 34, 0.12);
}

.faq-section--live .faq-section-index {
  color: #8ad0ff;
  border-color: rgba(138, 208, 255, 0.35);
  background: rgba(138, 208, 255, 0.08);
}

.faq-section--history .faq-section-index {
  color: #f0c347;
  border-color: rgba(229, 168, 3, 0.4);
  background: rgba(229, 168, 3, 0.1);
}

.faq-section--lineup .faq-section-index {
  color: #7bdfae;
  border-color: rgba(61, 214, 140, 0.35);
  background: rgba(61, 214, 140, 0.1);
}

.faq-section--device .faq-section-index {
  color: #b7a5fa;
  border-color: rgba(167, 139, 250, 0.35);
  background: rgba(167, 139, 250, 0.1);
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: rgba(15, 33, 55, 0.72);
  border: 1px solid rgba(176, 196, 222, 0.12);
  border-left-width: 3px;
  border-left-color: rgba(176, 196, 222, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.faq-item[open] {
  background: rgba(16, 42, 67, 0.8);
  border-left-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(244, 93, 34, 0.12);
  color: #ff9d66;
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.faq-q-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(176, 196, 222, 0.25);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-q-toggle::before {
  content: "+";
}

.faq-item[open] .faq-q-toggle::before {
  content: "−";
}

.faq-item[open] .faq-q-toggle {
  background: rgba(244, 93, 34, 0.16);
  border-color: rgba(244, 93, 34, 0.4);
  color: var(--accent);
}

.faq-a {
  padding: 0.2rem 1.25rem 1.25rem 3.8rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.72;
}

.faq-a p + p {
  margin-top: 0.7rem;
}

.faq-a a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-steps {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.faq-steps li::marker {
  color: var(--accent-gold);
  font-weight: 700;
}

.faq-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem 1rem 3.8rem;
}

.faq-feedback-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.faq-feedback-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff9d66;
  background: rgba(244, 93, 34, 0.1);
  border: 1px solid rgba(244, 93, 34, 0.32);
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.faq-feedback-btn:hover {
  background: rgba(244, 93, 34, 0.22);
  transform: translateY(-1px);
}

.faq-feedback-link {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-decoration: none;
  border-bottom: 1px dashed rgba(229, 168, 3, 0.6);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.faq-feedback-link:hover {
  color: #f0c347;
  border-bottom-color: #f0c347;
}

.faq-support {
  border-top: 2px solid rgba(244, 93, 34, 0.24);
  background:
    radial-gradient(circle at 70% 20%, rgba(244, 93, 34, 0.1), transparent 42%),
    linear-gradient(180deg, var(--primary-dark), var(--surface));
  padding: 2.75rem 0;
}

.faq-support-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.4rem;
  background: rgba(16, 42, 67, 0.72);
  border: 1px solid rgba(176, 196, 222, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}

.faq-support-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(229, 168, 3, 0.2);
}

.faq-support-kicker {
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.faq-support-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0.45rem 0 0.6rem;
}

.faq-support-body > p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0.95rem;
}

.faq-support-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.faq-support-mail {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(244, 93, 34, 0.35);
  padding-bottom: 2px;
}

.faq-support-phone {
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--display-font);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.faq-support-note {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

@media (max-width: 480px) {
  .faq-section-index {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .faq-section-title-wrap h2 {
    font-size: 1.1rem;
  }

  .faq-q {
    padding: 0.9rem 1rem;
    gap: 0.6rem;
  }

  .faq-q-text {
    font-size: 0.93rem;
  }

  .faq-a {
    padding: 0.2rem 1rem 1.1rem;
  }

  .faq-feedback {
    padding: 0.65rem 1rem 0.95rem;
  }

  .faq-feedback-link {
    margin-left: 0;
    width: 100%;
  }

  .faq-hero h1 {
    font-size: 1.55rem;
  }
}

@media (min-width: 768px) {
  .faq-hero {
    padding: 3rem 0 2.4rem;
  }

  .faq-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2.4rem;
    padding-top: 2.6rem;
  }

  .faq-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 3rem);
  }

  .faq-index {
    overflow-y: auto;
  }

  .faq-overview {
    text-align: center;
  }

  .faq-overview-img {
    max-width: 780px;
    margin-inline: auto;
  }

  .faq-support {
    padding: 3.25rem 0;
  }
}

@media (min-width: 1024px) {
  .faq-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 2.75rem;
  }

  .faq-support-card {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2.1rem;
  }
}
