/* 小鹿旅行官网 — 复古手账 / 撕边纸 */
:root {
  --cream: #f7f4ec;
  --desk: #d9cfc0;
  --paper: #f6efe3;
  --paper-deep: #e8dcc8;
  --moss: #1e4d4c;
  --moss-deep: #163b3a;
  --ink: #1a3a38;
  --ink-muted: #5c6b68;
  --rust: #b85a2e;
  --orange: #f0a05a;
  --washi: #c9a66b;
  --highlight: #ffe566;
  --dash: #5c3a2a;
  --font-display: "ZCOOL XiaoWei", "Fraunces", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--desk);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.desk {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(245, 215, 110, 0.18), transparent 45%),
    radial-gradient(ellipse at 90% 30%, rgba(197, 217, 164, 0.25), transparent 40%),
    linear-gradient(180deg, #e5dccb 0%, var(--desk) 40%, #cfc4b2 100%);
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--moss);
}

.brand img {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.nav-links a:hover {
  color: var(--rust);
}

/* Hero — 品牌主导 */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 88px);
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 12px;
}

.brand-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  line-height: 1.05;
  color: var(--moss);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow:
    1px 1px 0 #fff,
    2px 2px 0 rgba(184, 90, 46, 0.35);
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--ink-muted);
  max-width: 22em;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn.primary {
  background: var(--moss);
  color: #fff;
  box-shadow: 0 6px 18px rgba(30, 77, 76, 0.28);
}

.btn.primary:hover {
  background: var(--moss-deep);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(92, 58, 42, 0.25);
  color: var(--ink);
}

/* Hero scrapbook paper */
.hero-visual {
  position: relative;
}

.paper {
  background: linear-gradient(145deg, var(--paper), #f3e8d6 55%, var(--paper-deep));
  padding: 28px 24px 32px;
  box-shadow: 0 14px 40px rgba(60, 40, 20, 0.18);
  position: relative;
}

.torn {
  clip-path: polygon(
    0% 2%,
    3% 0%,
    8% 2.5%,
    14% 0.5%,
    22% 2%,
    30% 0%,
    40% 2.2%,
    52% 0.4%,
    62% 2%,
    72% 0%,
    82% 2.5%,
    90% 0.5%,
    96% 2%,
    100% 0.8%,
    100% 97%,
    96% 100%,
    88% 97.5%,
    78% 100%,
    68% 97.2%,
    55% 99.5%,
    42% 97%,
    30% 100%,
    18% 97.5%,
    8% 99%,
    0% 97%
  );
}

.washi {
  display: inline-block;
  background: rgba(201, 166, 107, 0.88);
  border: 1px solid rgba(184, 90, 46, 0.35);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  transform: rotate(-2deg);
  margin-bottom: 22px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.08);
}

.route {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stop {
  width: 78%;
}

.stop.right {
  align-self: flex-end;
  text-align: right;
}

.stop .no {
  font-weight: 900;
  color: var(--rust);
  font-size: 1.15rem;
  margin-right: 6px;
}

.stop.right .no {
  margin-right: 0;
  margin-left: 6px;
}

.stop strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  text-shadow: 1px 1px 0 #fff, 1.5px 1.5px 0 rgba(184, 90, 46, 0.45);
}

.frame {
  margin-top: 8px;
  background: #fffbf4;
  border: 3px solid var(--rust);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.dash-line {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background-image: radial-gradient(circle, var(--dash) 1.2px, transparent 1.4px);
  background-size: 12px 2px;
  background-repeat: repeat-x;
  background-position: center;
}

.dash-line span {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(92, 58, 42, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dash);
}

.motto {
  margin-top: 22px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(transparent 55%, var(--highlight) 55%);
  display: inline-block;
  width: 100%;
  padding: 4px 0;
}

/* Sections */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--moss);
  margin-bottom: 10px;
}

.section-lead {
  color: var(--ink-muted);
  margin-bottom: 32px;
  max-width: 32em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature {
  background: rgba(246, 239, 227, 0.92);
  padding: 22px 20px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(60, 40, 20, 0.1);
  border: 1px solid rgba(92, 58, 42, 0.08);
  transition: transform 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}

.f-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c, var(--moss));
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature p {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Topics */
.topics {
  padding-top: 12px;
}

.topic-map {
  background: linear-gradient(160deg, #fbf9f3, #eef5e8 50%, #dcecdb);
  padding: 36px 28px 42px;
  box-shadow: 0 12px 36px rgba(60, 40, 20, 0.14);
  position: relative;
  overflow: hidden;
}

.topic-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(142, 197, 232, 0.35), transparent 35%),
    radial-gradient(circle at 30% 70%, rgba(197, 217, 164, 0.45), transparent 40%);
  pointer-events: none;
}

.pill {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--moss);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.bubbles {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: center;
}

.bubbles li {
  background: var(--c);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  animation: float 3.2s ease-in-out infinite;
}

.bubbles li:nth-child(2) {
  animation-delay: 0.3s;
}
.bubbles li:nth-child(3) {
  animation-delay: 0.55s;
}
.bubbles li:nth-child(4) {
  animation-delay: 0.2s;
}
.bubbles li:nth-child(5) {
  animation-delay: 0.7s;
}
.bubbles li:nth-child(6) {
  animation-delay: 0.45s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Download */
.download-card {
  text-align: center;
  background: linear-gradient(160deg, var(--paper), var(--paper-deep));
  padding: 48px 28px;
  box-shadow: 0 12px 36px rgba(60, 40, 20, 0.14);
  max-width: 640px;
  margin: 0 auto;
}

.download-card img {
  margin: 0 auto 16px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.download-card h2 {
  font-family: var(--font-display);
  color: var(--moss);
  margin-bottom: 10px;
}

.download-card p {
  color: var(--ink-muted);
  margin-bottom: 22px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Footer — ICP 必备 */
.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  text-align: center;
  border-top: 1px dashed rgba(92, 58, 42, 0.25);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--moss);
  margin-bottom: 8px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-desc {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-links {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.footer-links a:hover {
  color: var(--rust);
}

.icp {
  margin: 12px 0 8px;
  font-size: 0.88rem;
}

.icp a {
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
}

.icp a:hover {
  color: var(--moss);
  border-bottom-color: var(--moss);
}

.copy {
  font-size: 0.8rem;
  color: rgba(26, 58, 56, 0.45);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 12px;
    gap: 28px;
  }

  .hero-visual {
    order: -1;
  }

  .nav-links {
    gap: 14px;
    font-size: 0.85rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 14px 16px;
  }

  .hero,
  .section,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .stop {
    width: 88%;
  }
}
