@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Noto+Serif+SC:wght@500;700&family=Outfit:wght@400;500;700&family=ZCOOL+XiaoWei&display=swap");

:root {
  --bg: #fff6ea;
  --ink: #1f2a32;
  --muted: #5b6670;
  --primary: #ff6b47;
  --primary-soft: #ffd7ca;
  --accent: #2aa684;
  --line: rgba(38, 57, 68, 0.2);
  --panel: rgba(255, 255, 255, 0.72);
  --shadow: 0 14px 36px rgba(38, 45, 52, 0.15);
  --max: 1120px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-body-en: "Outfit", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body-zh: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display-en: "ZCOOL XiaoWei", "Outfit", serif;
  --font-display-zh: "Noto Serif SC", "Songti SC", "STSong", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body-en);
  color: var(--ink);
  background: linear-gradient(180deg, #fff6ea 0%, #ffedd8 50%, #ffe5de 100%);
  line-height: 1.6;
  min-height: 100vh;
}

html[lang="zh-CN"] body {
  font-family: var(--font-body-zh);
}

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

h1,
h2,
h3,
.brand-text {
  font-family: var(--font-display-en);
}

.eyebrow,
button,
.btn {
  font-family: var(--font-display-en);
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .brand-text {
  font-family: var(--font-display-zh);
}

html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] button,
html[lang="zh-CN"] .btn {
  font-family: var(--font-body-zh);
}

main,
.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

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

.shape {
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.5;
}

.shape-a {
  width: 360px;
  height: 360px;
  left: -90px;
  top: -20px;
  background: radial-gradient(circle, rgba(255, 107, 71, 0.7), rgba(255, 107, 71, 0));
}

.shape-b {
  width: 440px;
  height: 440px;
  right: -140px;
  top: 160px;
  background: radial-gradient(circle, rgba(42, 166, 132, 0.58), rgba(42, 166, 132, 0));
}

.shape-c {
  width: 320px;
  height: 320px;
  left: 34%;
  bottom: -130px;
  background: radial-gradient(circle, rgba(255, 174, 112, 0.5), rgba(255, 174, 112, 0));
}

.site-header {
  position: sticky;
  top: 12px;
  margin-top: 0.9rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #ff9c7f);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-text {
  font-size: 1.12rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: #3d4a56;
  font-size: 0.92rem;
}

.site-nav a.nav-devlog {
  padding: 0.25rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 71, 0.28);
  background: linear-gradient(90deg, rgba(255, 107, 71, 0.14), rgba(255, 255, 255, 0.86));
  color: #8f3f27;
  font-weight: 600;
}

.site-nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 700;
}

.site-nav a.nav-devlog[aria-current="page"] {
  border-color: transparent;
  background: linear-gradient(90deg, var(--primary), #ff9b78);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 71, 0.25);
}

.site-nav a.nav-devlog:hover {
  color: #7c3420;
  border-color: rgba(255, 107, 71, 0.45);
  background: linear-gradient(90deg, rgba(255, 107, 71, 0.2), rgba(255, 255, 255, 0.9));
}

.site-nav a:hover {
  color: #111922;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang-toggle,
.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0.38rem 0.82rem;
  cursor: pointer;
}

.menu-toggle {
  display: none;
}

section {
  margin-top: 4.8rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a24d30;
}

html[lang="zh-CN"] .eyebrow {
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.1;
}

.lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 54ch;
}

.hero-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.56rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), #ff956f);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: #23313c;
}

.hero-stats {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.hero-stats li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.8rem;
  box-shadow: var(--shadow);
}

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

.hero-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-visual img,
.daily-image {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section-head h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.story-grid,
.experience-grid,
.devlog-grid,
.phase-band,
.offers,
.voice-list {
  display: grid;
  gap: 0.9rem;
}

.story-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.devlog-grid-four {
  grid-template-columns: repeat(4, 1fr);
}

.devlog-grid-three,
.phase-band {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.feature-card,
.daily-panel,
.voice-box,
.waitlist-inner {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card,
.feature-card {
  padding: 1rem;
}

.card h3,
.feature-card h3 {
  margin: 0;
}

.card p,
.feature-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.daily-layout {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.daily-panel {
  padding: 1rem;
}

.time-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.time-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #364652;
  padding: 0.35rem 0.82rem;
  cursor: pointer;
}

.time-tab.is-active {
  background: linear-gradient(90deg, #ff7d56, #ffb089);
  color: #fff;
  border-color: transparent;
}

.daily-content {
  margin-top: 1rem;
}

.daily-content .mini {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: #9a5a42;
}

.daily-content h3 {
  margin: 0.35rem 0 0;
}

.daily-content p {
  margin: 0.52rem 0 0;
  color: var(--muted);
}

.voice-box {
  margin-top: 1rem;
  padding: 1.2rem;
}

.quote {
  margin: 0;
  font-size: clamp(1.12rem, 2.4vw, 1.45rem);
}

.author {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.waitlist-inner {
  padding: 1.6rem;
  background: linear-gradient(120deg, rgba(255, 107, 71, 0.12), rgba(42, 166, 132, 0.14));
}

.devlog-grid,
.phase-band {
  margin-top: 1rem;
}

.phase-chip,
.timeline-meta {
  color: #a24d30;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[lang="zh-CN"] .phase-chip,
html[lang="zh-CN"] .timeline-meta {
  letter-spacing: 0.02em;
}

.phase-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 71, 0.2);
  background: rgba(255, 107, 71, 0.1);
}

.launch-shell {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.launch-shell > div,
.launch-aside,
.release-intro,
.timeline-body,
.spotlight-shell,
.phase-step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.launch-shell > div,
.launch-aside,
.release-intro,
.timeline-body,
.spotlight-shell,
.phase-step,
.next-shell {
  padding: 1.15rem 1.2rem;
}

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

.launch-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.launch-points li {
  display: grid;
  gap: 0.18rem;
  padding: 0.8rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(38, 57, 68, 0.12);
  background: rgba(255, 255, 255, 0.48);
}

.launch-points span {
  color: var(--muted);
  font-size: 0.92rem;
}

.launch-shell .btn {
  margin-top: 1rem;
}

.spotlight-shell {
  margin-top: 1rem;
}

.launch-aside {
  background: linear-gradient(140deg, rgba(255, 107, 71, 0.11), rgba(255, 255, 255, 0.84));
}

.release-intro {
  background: linear-gradient(135deg, rgba(255, 107, 71, 0.1), rgba(255, 255, 255, 0.82));
}

.spotlight-shell {
  padding: 1.35rem;
  background: linear-gradient(125deg, rgba(255, 107, 71, 0.1), rgba(255, 255, 255, 0.78));
}

.launch-aside h3,
.release-intro h3,
.spotlight-shell h3,
.phase-step h3 {
  margin: 0.35rem 0 0;
}

.launch-aside p:last-child,
.release-intro p:last-child,
.spotlight-shell p:last-child,
.phase-step p:last-child {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.release-shell {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 1rem;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 1.05rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 107, 71, 0.22), rgba(42, 166, 132, 0.28));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
}

.timeline-marker {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #ff9a78);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 20px rgba(255, 107, 71, 0.2);
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
}

.timeline-meta {
  margin: 0;
}

.timeline-body h3 {
  margin: 0.32rem 0 0;
}

.timeline-body p:last-child {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.phase-step {
  margin-top: 1rem;
  padding: 1.1rem;
}

.phase-kicker {
  margin: 0;
  color: #a24d30;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-shell {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(42, 166, 132, 0.14), rgba(255, 255, 255, 0.82));
  box-shadow: var(--shadow);
}

.next-shell h3 {
  margin: 0.35rem 0 0;
}

.next-shell p:last-child {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.waitlist-inner h2 {
  margin: 0;
}

.waitlist-inner p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.waitlist-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.waitlist-form input {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.64rem 0.9rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.92);
}

.waitlist-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: linear-gradient(90deg, var(--accent), #50c5a5);
  color: #fff;
  cursor: pointer;
}

.form-note {
  margin-top: 0.65rem;
  min-height: 1.4rem;
  color: #355866;
  font-size: 0.9rem;
}

.site-footer {
  margin: 3rem auto 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #5d6872;
  font-size: 0.88rem;
}

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

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

@media (max-width: 980px) {
  .hero,
  .daily-layout,
  .story-grid,
  .experience-grid,
  .launch-shell,
  .devlog-grid-four,
  .devlog-grid-three,
  .phase-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.45rem);
    width: min(220px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.2s ease;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  section {
    margin-top: 4rem;
  }
}
