:root {
  --bg: #fff7ea;
  --surface: #fffdf8;
  --surface-soft: #fff7ec;
  --text: #2b1f0f;
  --muted: #6d5a40;
  --line: #f1dcc0;
  --brand: #f1a208;
  --brand-deep: #cc7f00;
  --accent: #f8c860;
  --accent-warm: #ef8b2c;
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 56px rgba(131, 82, 17, 0.16);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lexend", "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: 82px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 245, 228, 0.75));
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.2;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b56b00;
  font-weight: 600;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(32px);
  opacity: 0.55;
}

.blob-a {
  top: -40px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 30% 30%, #ffd582, #f0a620);
}

.blob-b {
  bottom: 20%;
  left: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 40% 40%, #ffc05f, #e68f20);
}

.blob-c {
  top: 48%;
  right: 15%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 60% 20%, #ffe0a4, #f6af46);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(57, 35, 11, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(56, 33, 8, 0.3);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(13, 21, 61, 0.2);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  letter-spacing: 0.03em;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: rgba(244, 248, 255, 0.9);
  font-size: 0.95rem;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.87rem;
}

.hero {
  margin-top: -76px;
  padding-top: 144px;
  background:
    linear-gradient(160deg, #bf7600 0%, #df920d 36%, #f4b13a 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.hero::before {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 215, 130, 0.34), rgba(255, 215, 130, 0));
  top: -180px;
  right: -80px;
}

.hero::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 235, 190, 0.3), rgba(255, 235, 190, 0));
  bottom: -100px;
  left: 10%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  color: #fff;
  padding-bottom: 18px;
}

.hero-copy .eyebrow {
  color: #ffe6b2;
}

.hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.1;
}

.hero-desc {
  margin: 0;
  max-width: 620px;
  color: rgba(243, 245, 255, 0.88);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffe08e, #ffc25c);
  color: #4a2d00;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(185, 115, 0, 0.3);
}

.primary-btn.small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.link-btn {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats article {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 14px;
  backdrop-filter: blur(5px);
}

.hero-stats strong {
  display: block;
  font-size: 1.1rem;
}

.hero-stats span {
  font-size: 0.84rem;
  color: rgba(244, 246, 255, 0.84);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 34px 0;
}

.phone-shell {
  width: 310px;
  border-radius: 42px;
  padding: 16px;
  background: linear-gradient(185deg, #4b3219, #2d1c0e);
  box-shadow: 0 34px 70px rgba(56, 34, 11, 0.45);
}

.notch {
  width: 104px;
  height: 18px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: #25170b;
}

.phone-content {
  background: linear-gradient(180deg, #fffaf0, #ffeccf);
  border-radius: 28px;
  padding: 20px;
  min-height: 420px;
}

.mini-title {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: #7f5a26;
}

.mini-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 20px rgba(118, 79, 20, 0.12);
  margin-bottom: 10px;
}

.mini-card p {
  margin: 0 0 2px;
  font-size: 0.94rem;
  font-weight: 600;
}

.mini-card span {
  font-size: 0.78rem;
  color: #8d734f;
}

.mini-card.active {
  background: linear-gradient(120deg, #e79408, #f8bc54);
}

.mini-card.active p,
.mini-card.active span {
  color: #fff;
}

.orbit {
  position: absolute;
  inset: auto;
  width: 410px;
  height: 410px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  animation: spin 24s linear infinite;
}

.orbit span {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: #9b5e00;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(82, 49, 13, 0.22);
}

.orbit span:nth-child(1) {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit span:nth-child(2) {
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
}

.orbit span:nth-child(3) {
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
}

.orbit span:nth-child(4) {
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
}

.feature-lead,
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-lead {
  padding: 30px;
}

.feature-lead h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.feature-lead p {
  margin: 0;
  color: var(--muted);
}

.progress-line {
  margin-top: 24px;
  height: 10px;
  border-radius: 999px;
  background: #f7e8cf;
}

.progress-line span {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.legend {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #8d734f;
  font-size: 0.82rem;
}

.feature-cards {
  display: grid;
  gap: 12px;
}

.feature-card {
  padding: 22px;
}

.feature-card h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

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

.community-wheel {
  position: relative;
  margin: 0 auto;
  width: min(620px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 169, 25, 0.18) 0%, rgba(242, 169, 25, 0.05) 48%, rgba(242, 169, 25, 0) 70%);
}

.core-node {
  position: absolute;
  inset: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(160deg, #d58804, #f0bb59);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(112, 74, 17, 0.33);
}

.node {
  position: absolute;
  padding: 10px 16px;
  background: #fff;
  color: #6c542f;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  box-shadow: 0 8px 20px rgba(102, 66, 16, 0.12);
}

.n1 { top: 8%; left: 48%; }
.n2 { top: 20%; right: 10%; }
.n3 { top: 45%; right: 2%; }
.n4 { bottom: 18%; right: 14%; }
.n5 { bottom: 8%; left: 45%; }
.n6 { bottom: 20%; left: 10%; }
.n7 { top: 45%; left: 2%; }
.n8 { top: 20%; left: 10%; }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.split-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 300px;
}

.split-gradient {
  padding: 34px;
  color: #fff;
  background: linear-gradient(140deg, #c67d00, #da910f 40%, #f1b44d 100%);
}

.split-gradient h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.split-gradient p {
  margin: 0 0 26px;
  color: rgba(255, 245, 222, 0.92);
}

.split-photo img {
  height: 100%;
}

.moment-grid,
.creator-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.moment-card,
.creator-card {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.moment-card:hover,
.creator-card:hover {
  transform: translateY(-6px);
}

.phone-feature {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 34px;
  align-items: center;
}

.phone-copy h2 {
  margin: 10px 0;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
}

.phone-copy p {
  margin: 0 0 24px;
  color: var(--muted);
}

.phone-copy code {
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.86em;
  color: #8c4f00;
  background: #ffe8c2;
  border-radius: 8px;
  padding: 1px 6px;
}

.mockup {
  display: grid;
  place-items: center;
}

.entry-qrcode-card {
  width: min(330px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 20px 42px rgba(29, 39, 105, 0.14);
}

.entry-qrcode {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid #f0dfc5;
  background: #fff;
}

.entry-tip {
  margin: 12px 0 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.entry-meta {
  display: grid;
  gap: 6px;
}

.entry-meta p {
  margin: 0;
  display: grid;
  gap: 4px;
}

.entry-meta strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9f7d4f;
}

.entry-meta span {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6a4c22;
  word-break: break-all;
}

.dark-gallery {
  background: linear-gradient(180deg, #2f1e0f, #3d2814);
}

.dark-gallery .section-head h2,
.dark-gallery .section-head .eyebrow {
  color: #fff6e5;
}

.dark-gallery .section-head .eyebrow {
  color: #ffe1a0;
}

.cta-band {
  background: linear-gradient(145deg, #cf8400, #e89d24 70%, #f5c468);
  color: #fff;
}

.cta-wrap {
  text-align: center;
}

.cta-wrap .eyebrow {
  color: #ffe8bf;
}

.cta-wrap h2 {
  margin: 10px 0 22px;
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
}

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(131, 82, 17, 0.12);
}

.news-card img {
  height: 182px;
}

.news-card h3 {
  margin: 16px 16px 10px;
  font-size: 1.08rem;
}

.news-card p {
  margin: 0 16px 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  background: #2b1b0f;
  color: rgba(255, 237, 209, 0.88);
  padding: 54px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.footer-brand {
  color: #fff;
}

.footer-grid p {
  margin: 12px 0 0;
  color: rgba(255, 229, 191, 0.78);
  max-width: 340px;
}

.footer-grid h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 230, 196, 0.82);
  font-size: 0.93rem;
}

.foot-note {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 221, 170, 0.22);
  padding-top: 14px;
}

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

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1050px) {
  .hero-grid,
  .feature-layout,
  .split-grid,
  .phone-feature {
    grid-template-columns: 1fr;
  }

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

  .moment-grid,
  .creator-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .container {
    width: min(1160px, calc(100% - 28px));
  }

  .section {
    padding: 64px 0;
  }

  .site-header {
    background: rgba(57, 35, 11, 0.88);
    backdrop-filter: blur(8px);
  }

  .main-nav {
    display: none;
  }

  .ghost-btn {
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .link-btn {
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    width: min(300px, 100%);
  }

  .orbit {
    width: 330px;
    height: 330px;
  }

  .community-wheel {
    height: 420px;
    width: 100%;
    aspect-ratio: auto;
  }

  .core-node {
    width: 140px;
    height: 140px;
  }

  .node {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .moment-grid,
  .creator-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
