@charset "UTF-8";
@import url("common.css");

/* ===== 内页通用 Hero ===== */
.page-hero-sm {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1rem 4rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(127, 29, 29, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, #0f0f0f 0%, var(--jx-bg) 100%);
  border-bottom: 1px solid var(--jx-border);
  overflow: hidden;
}

.page-hero-sm::before {
  content: "";
  position: absolute;
  top: 30%;
  left: -15%;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.5), transparent);
  transform: rotate(-18deg);
}

.page-hero-sm h1 {
  font-family: "Ma Shan Zheng", "KaiTi", "STKaiti", cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow: 0 4px 20px rgba(127, 29, 29, 0.5);
}

.page-hero-sm p {
  color: var(--jx-muted);
  margin-top: 0.75rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 攻略折叠 FAQ ===== */
.guide-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.guide-sidebar {
  display: none;
}

.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--jx-card);
  border: 1px solid var(--jx-border);
  border-radius: 0.85rem;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.accordion-item.open {
  border-color: rgba(251, 191, 36, 0.3);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion-header i {
  color: var(--jx-accent);
  margin-right: 0.5rem;
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--jx-muted);
  flex-shrink: 0;
}

.accordion-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.accordion-body-inner {
  padding: 0 1.25rem 1.25rem;
  color: var(--jx-muted);
  line-height: 1.9;
}

.accordion-body-inner h4 {
  color: var(--jx-accent);
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.accordion-body-inner ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.accordion-body-inner li {
  margin-bottom: 0.4rem;
  list-style-type: disc;
}

.accordion-body-inner li::marker {
  color: var(--jx-secondary);
}

/* ===== 攻略小卡片 ===== */
.tip-card {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(127, 29, 29, 0.08));
  border: 1px solid var(--jx-border);
  border-left: 4px solid var(--jx-secondary);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.tip-card h4 {
  color: var(--jx-secondary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tip-card p {
  color: var(--jx-muted);
  font-size: 0.95rem;
}

/* ===== 响应式 md:768px ===== */
@media (min-width: 768px) {
  .guide-layout {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }

  .guide-sidebar {
    display: block;
  }

  .guide-sidebar .sticky {
    position: sticky;
    top: 6rem;
  }

  .guide-sidebar a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: var(--jx-muted);
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .guide-sidebar a:hover,
  .guide-sidebar a.active {
    background: rgba(127, 29, 29, 0.15);
    color: var(--jx-accent);
  }
}
