:root {
  color-scheme: dark;
  --bg: #081019;
  --bg-soft: #101a25;
  --panel: #14212d;
  --panel-2: #192a38;
  --text: #eef6f8;
  --muted: #a9bbc4;
  --line: rgba(255, 255, 255, .12);
  --teal: #3be2d0;
  --gold: #f3b55c;
  --rose: #e96b72;
  --green: #93d86f;
  --shadow: 0 24px 80px rgba(0, 0, 0, .36);
  --radius: 8px;
  --wrap: min(1160px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(8, 16, 25, .96), rgba(8, 16, 25, 1) 58%),
    repeating-linear-gradient(90deg, rgba(59, 226, 208, .035) 0 1px, transparent 1px 84px);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

strong {
  color: var(--teal);
  font-weight: 900;
  text-shadow: 0 0 18px rgba(59, 226, 208, .16);
}

.text-gold {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(243, 181, 92, .18);
}

.text-rose {
  color: var(--rose);
  text-shadow: 0 0 18px rgba(233, 107, 114, .18);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--teal);
  color: #071016;
  border-radius: var(--radius);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 16, 25, .82);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 5px rgba(59, 226, 208, .08);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: rgba(238, 246, 248, .84);
  font-size: 14px;
  overflow: hidden;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.nav-menu a .icon {
  color: var(--teal);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(59, 226, 208, .18);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  color: var(--text);
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -7px);
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-toggle b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero-bg,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(8, 16, 25, .95) 0%, rgba(8, 16, 25, .76) 38%, rgba(8, 16, 25, .28) 70%),
    linear-gradient(0deg, rgba(8, 16, 25, 1) 0%, rgba(8, 16, 25, .18) 44%),
    url("img/cover.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-grid {
  opacity: .34;
  background-image:
    linear-gradient(rgba(59, 226, 208, .15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 226, 208, .12) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 76%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
  color: transparent;
  background: linear-gradient(135deg, #f5fffb 0%, var(--teal) 48%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 34px rgba(59, 226, 208, .18);
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: 18px;
  color: rgba(238, 246, 248, .86);
}

.hero-actions,
.download-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 48%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, .28);
  transition: left .45s ease;
}

.btn:hover::before,
.btn:focus-visible::before {
  left: 120%;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #051015;
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 12px 34px rgba(59, 226, 208, .22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 16px 44px rgba(59, 226, 208, .34);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .08);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(59, 226, 208, .48);
  background: rgba(59, 226, 208, .12);
}

.btn-secondary {
  color: #111620;
  background: linear-gradient(135deg, var(--gold), #ffd899);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  box-shadow: 0 16px 40px rgba(243, 181, 92, .24);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 18, 28, .72);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.hero-stats div:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 226, 208, .36);
  background: rgba(18, 35, 45, .82);
}

.hero-stats dt {
  color: var(--muted);
  font-size: 12px;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--text);
  font-weight: 800;
}

.quick-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.quick-card,
.feature-block,
.guide-card,
.route-board,
.shot-card,
.faq-list details {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25, 42, 56, .94), rgba(16, 26, 37, .92));
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.quick-card::before,
.feature-block::before,
.guide-card::before,
.route-board::before,
.shot-card::before,
.faq-list details::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(59, 226, 208, .18), transparent 38%, rgba(243, 181, 92, .12));
  opacity: 0;
  transition: opacity .22s ease;
}

.quick-card:hover,
.feature-block:hover,
.guide-card:hover,
.route-board:hover,
.shot-card:hover,
.faq-list details:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 226, 208, .34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46), 0 0 0 1px rgba(59, 226, 208, .08);
}

.quick-card:hover::before,
.feature-block:hover::before,
.guide-card:hover::before,
.route-board:hover::before,
.shot-card:hover::before,
.faq-list details:hover::before {
  opacity: 1;
}

.quick-card {
  padding: 22px;
}

.card-mark,
.guide-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}

.quick-card h2,
.feature-block h3,
.guide-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.quick-card h2 {
  color: var(--teal);
}

.quick-card p,
.feature-block p,
.guide-card p,
.route-board li,
.faq-list p {
  margin-bottom: 0;
}

.section {
  padding: 88px 0;
}

.two-col,
.story-layout,
.updates-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .92fr);
  gap: 42px;
  align-items: center;
}

.story-layout,
.updates-layout {
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1fr);
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.18;
  letter-spacing: 0;
  color: #eafff9;
}

.section h3 {
  letter-spacing: 0;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(238, 246, 248, .9);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.feature-image,
.wide-shot,
.shot-card {
  overflow: hidden;
}

.feature-image img,
.wide-shot img,
.shot-card img {
  width: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.feature-image {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.feature-image:hover {
  transform: translateY(-5px);
  border-color: rgba(243, 181, 92, .34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46);
}

.feature-image:hover img,
.wide-shot:hover img {
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.03);
}

.feature-image img {
  aspect-ratio: 16 / 9;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid,
.guide-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-block,
.guide-card {
  padding: 22px;
}

.feature-block {
  min-height: 216px;
}

.visual-story {
  padding-top: 0;
}

.wide-shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.wide-shot:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 226, 208, .34);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .46);
}

.wide-shot img {
  aspect-ratio: 16 / 9;
}

.route-board {
  margin-top: 16px;
  padding: 24px;
}

.route-board ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.shot-card {
  margin: 0;
}

.shot-card img {
  aspect-ratio: 16 / 9;
}

.shot-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.updates-section {
  background:
    linear-gradient(180deg, rgba(25, 42, 56, .35), transparent),
    linear-gradient(90deg, rgba(233, 107, 114, .08), rgba(59, 226, 208, .06));
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 18px 18px 18px 24px;
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, .06);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.timeline li:hover {
  transform: translateX(6px);
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, .1);
}

.timeline time {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-weight: 900;
}

.timeline p {
  margin: 0;
}

.download-band {
  padding: 54px 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(59, 226, 208, .15), rgba(243, 181, 92, .12)),
    #0d1721;
}

.download-inner {
  justify-content: space-between;
}

.download-inner h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3.2vw, 36px);
  color: #fff4d8;
}

.download-inner p {
  max-width: 660px;
  margin-bottom: 0;
}

.floating-download {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(59, 226, 208, .45);
  border-radius: var(--radius);
  color: #061015;
  font-weight: 900;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 16px 44px rgba(59, 226, 208, .26), 0 0 0 1px rgba(255, 255, 255, .12);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.floating-download::before {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 46%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, .32);
  transition: left .45s ease;
}

.floating-download .icon,
.floating-download span {
  position: relative;
}

.floating-download .icon {
  width: 18px;
  height: 18px;
}

.floating-download:hover,
.floating-download:focus-visible {
  transform: translateY(-4px);
  filter: saturate(1.06);
  box-shadow: 0 20px 58px rgba(59, 226, 208, .34), 0 0 0 1px rgba(255, 255, 255, .18);
}

.floating-download:hover::before,
.floating-download:focus-visible::before {
  left: 120%;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list details[open] {
  border-color: rgba(243, 181, 92, .3);
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  transition: color .2s ease;
}

.faq-list details:hover summary,
.faq-list summary:focus-visible {
  color: var(--gold);
}

.faq-list summary::marker {
  color: var(--teal);
}

.faq-list p {
  margin-top: 10px;
}

.friend-links {
  padding: 48px 0;
  border-top: 1px solid rgba(59, 226, 208, .18);
  background:
    linear-gradient(135deg, rgba(59, 226, 208, .16), rgba(243, 181, 92, .08)),
    linear-gradient(180deg, #0b1721, #081019);
}

.friend-links-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.friend-links h2 {
  margin: 0;
  color: #eafff9;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  letter-spacing: 0;
}

.friend-link-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.friend-link-list a {
  position: relative;
  z-index: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: rgba(238, 246, 248, .9);
  background: rgba(8, 16, 25, .56);
  box-shadow: inset 0 0 0 1px rgba(59, 226, 208, .06);
  overflow: hidden;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}

.friend-link-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 226, 208, .18), rgba(243, 181, 92, .12));
  opacity: 0;
  transition: opacity .2s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(59, 226, 208, .48);
  color: var(--text);
  background: rgba(14, 30, 40, .78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28), 0 0 0 1px rgba(59, 226, 208, .12);
}

.friend-link-list a:hover::before,
.friend-link-list a:focus-visible::before {
  opacity: 1;
}

.friend-link-list a::before {
  z-index: -1;
}

.site-footer {
  padding: 34px 0;
  background: #050a10;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-inner img {
  border-radius: 50%;
}

.footer-inner p {
  max-width: 520px;
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 74px 18px auto;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 16, 25, .96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 12px;
  }

  .quick-panel,
  .feature-grid,
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .story-layout,
  .updates-layout {
    grid-template-columns: 1fr;
  }

  .story-copy {
    order: -1;
  }
}

@media (max-width: 680px) {
  :root {
    --wrap: min(100% - 24px, 1160px);
  }

  .hero {
    min-height: 88svh;
    padding-top: 112px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(8, 16, 25, .48), rgba(8, 16, 25, .92) 56%, rgba(8, 16, 25, 1) 100%),
      url("img/cover.jpg") center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .download-inner {
    align-items: stretch;
  }

  .btn,
  .hero-actions .btn,
  .download-inner .btn {
    width: 100%;
  }

  .floating-download {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 50px;
  }

  .hero-stats,
  .quick-panel,
  .feature-grid,
  .guide-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .feature-block {
    min-height: auto;
  }

  .download-inner,
  .footer-inner,
  .footer-inner > div {
    display: grid;
  }

  .friend-links {
    padding: 38px 0;
  }

  .friend-link-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .friend-link-list a {
    width: 100%;
  }
}
