/* 首页 · 艺术主视觉 + 清晰顺序 + 精致文旅出行卡 */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h) - env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #102B21;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero {
    min-height: clamp(600px, 88vh, 820px);
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media picture,
.hero-media img,
.hero-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  pointer-events: none;
}

.hero-media video {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-media.motion-visible video {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 20, 0.42) 0%,
    rgba(10, 26, 20, 0.06) 36%,
    rgba(10, 26, 20, 0.86) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 24px) 0 22px;
}

.hero-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(16, 44, 34, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 224, 168, 0.4);
  color: #F6DCAA;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

/* 艺术化景区主标题 */
.hero-title-art {
  margin-top: 14px;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-title-art h1 {
  font-family: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", SimSun, serif;
  font-size: clamp(38px, 10.6vw, 66px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.1em;
  color: #FFFDF8;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 232, 185, 0.35);
}

.hero-title-art h1 span {
  display: inline-block;
  margin: 0 2px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: 1.12em;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #FFF1C9 0%, #F0B856 58%, #CE8726 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.hero-chop {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  padding: 4px 0;
  border: 1.5px solid rgba(235, 118, 98, 0.9);
  border-radius: 4px;
  background: rgba(168, 48, 36, 0.72);
  color: #FFF4E4;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  writing-mode: vertical-rl;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 标题下方兴安林海鎏金艺术装饰线 */
.hero-ornament {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
}

.hero-ornament::before,
.hero-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(246, 220, 170, 0) 0%, rgba(246, 220, 170, 0.72) 50%, rgba(246, 220, 170, 0) 100%);
}

.hero-ornament span {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #F4D79E;
  white-space: nowrap;
}

.hero-sub {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-scroll {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}

.hero-scroll .icon {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(4px); }
}

/* 首页紧接首屏的第一块：一分钟读懂 303 */
.origin-sec {
  padding-top: 16px;
}

.story-card {
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #FFFFFF 0%, #FFFBF4 100%);
  box-shadow: var(--shadow);
}

.story-body {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.story-body b {
  color: var(--ink);
}

.story-badges {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 680px) {
  .story-badges {
    grid-template-columns: repeat(4, 1fr);
  }
}

.story-badges > div {
  padding: 12px;
  border-radius: var(--radius);
}

.sb-red { background: var(--stamp-soft); }
.sb-pine { background: var(--pine-soft); }
.sb-amber { background: var(--amber-soft); }
.sb-ice { background: var(--ice-soft); }

.story-badges dt {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.sb-red dt { color: #B94B3E; }
.sb-pine dt { color: var(--pine); }
.sb-amber dt { color: #B86D0B; }
.sb-ice dt { color: var(--ice); }

.story-badges dd {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-2);
}

.story-foot {
  margin-top: 16px;
}

.story-foot .btn {
  width: 100%;
}

/* 板块标题行 */
.sec-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.sec-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pine);
  white-space: nowrap;
  padding-bottom: 4px;
}

.sec-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.reel-arrows {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 768px) {
  .reel-arrows {
    display: inline-flex;
  }
}

.reel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--paper-3);
  background: #fff;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(18, 42, 32, 0.06);
  transition: background-color 0.2s, border-color 0.2s, transform 0.16s;
}

.reel-arrow:hover {
  background: var(--pine-soft);
  border-color: rgba(22, 91, 67, 0.25);
}

.reel-arrow:active {
  transform: scale(0.94);
}

.reel-arrow .icon {
  width: 16px;
  height: 16px;
}

/* 横向自动平滑滚动旅游大片流 */
.reel-track {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px var(--edge) 12px;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.reel-track.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.reel-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 1080px) {
  .reel-track {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 2px;
    gap: 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 22px), transparent 100%);
  }
}

.reel-card {
  flex: none;
  width: 72vw;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #14362B;
  box-shadow: var(--shadow-lg);
  -webkit-user-drag: none;
}

@media (min-width: 768px) {
  .reel-card {
    width: 276px;
    max-width: none;
  }
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.35s ease;
}

.reel-card:hover img {
  transform: scale(1.04);
}

.reel-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 15px;
  background: linear-gradient(
    180deg,
    rgba(10, 26, 20, 0) 35%,
    rgba(10, 26, 20, 0.55) 68%,
    rgba(10, 26, 20, 0.9) 100%
  );
  color: #fff;
}

.reel-tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 7px;
}

.reel-tag.is-ice { background: var(--ice); }
.reel-tag.is-pine { background: var(--pine); }
.reel-tag.is-red { background: #B94B3E; }
.reel-tag.is-amber { background: #D48418; }

.reel-mask h3 {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
}

.reel-mask p {
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

/* 全屏手绘路线图入口卡片 */
.map-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.map-card-pic {
  position: relative;
  aspect-ratio: 16 / 8;
  background: #D6B27C;
  overflow: hidden;
}

.map-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-pill {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(22, 91, 67, 0.9);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
}

.map-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.map-card-bar h3 {
  font-size: 16.5px;
  color: var(--ink);
}

.map-card-bar p {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.go-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pine-soft);
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* 门楼昼夜切换 */
.gate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gate-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--paper-2);
  border-radius: 999px;
}

.gate-switch button {
  padding: 6px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.gate-switch button.is-active {
  background: #fff;
  color: var(--pine);
  box-shadow: 0 2px 8px rgba(18, 42, 32, 0.1);
}

/* 老纪录片导引条 */
.doc-callout {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.doc-callout img {
  width: 96px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.doc-callout strong {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink);
}

.doc-callout p {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.45;
}

/* ============ 全新设计的精致「出行导览卡」（告别绿胶囊和灰盒子） ============ */
.travel-pass {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.tp-head {
  position: relative;
  padding: 20px 18px 18px;
  background: linear-gradient(135deg, #185B43 0%, #103F2F 100%);
  color: #fff;
}

.tp-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #F4D79E;
}

.tp-head h2 {
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.tp-addr-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.tp-addr-row span {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
}

.tp-copy-btn {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.tp-list {
  padding: 6px 18px 0;
}

.tp-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.tp-row:last-child {
  border-bottom: 0;
}

.tp-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tp-ico .icon {
  width: 18px;
  height: 18px;
}

.tp-row strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.tp-row p {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

.tp-amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 4px 18px 0;
  padding: 12px 0;
  border-top: 1px dashed var(--paper-3);
  border-bottom: 1px dashed var(--paper-3);
  text-align: center;
}

.tp-amenities span {
  font-size: 11.5px;
  color: var(--ink-2);
  font-weight: 600;
}

.tp-actions {
  padding: 16px 18px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .tp-actions {
    grid-template-columns: 1fr 1fr;
  }
}

.tp-actions .btn {
  width: 100%;
  min-width: 0;
  padding: 0 14px;
  font-size: 14px;
}
