:root {
  --peach: #FF8C5A;
  --coral: #FFB38A;
  --cream: #FFF8F0;
  --pink: #FFD6E0;
  --purple: #E8D9FF;
  --text-dark: #5A3E36;
  --text-light: #9A7B70;
  --white: #FFFFFF;
  --radius-card: 20px;
  --radius-btn: 30px;
  --shadow-soft: 0 8px 24px rgba(255, 140, 90, 0.08);
  --shadow-hover: 0 16px 32px rgba(255, 140, 90, 0.15);
}

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* 装饰元素 */
.decor-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

/* 导航 */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 140, 90, 0.1);
  transition: all 0.3s ease;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--peach);
  letter-spacing: 1px;
}
.brand img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: none;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--peach);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-nav {
  background: linear-gradient(135deg, var(--peach), var(--coral));
  color: var(--white);
  padding: 8px 24px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 140, 90, 0.25);
  transition: transform 0.2s;
}
.btn-nav:hover {
  transform: translateY(-2px);
}

/* 首屏 Hero */
.hero {
  position: relative;
  padding: 60px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,140,90,0.1) 0%, rgba(232,217,255,0.2) 50%, rgba(255,248,240,0) 100%);
  z-index: -1;
}
.hero-text {
  flex: 1;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  background: var(--pink);
  color: var(--text-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.hero h1 span {
  color: var(--peach);
}
.hero p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--peach), var(--coral));
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 140, 90, 0.3);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 140, 90, 0.4);
}
.btn-secondary {
  background: var(--white);
  color: var(--peach);
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--coral);
  transition: all 0.3s;
}
.btn-secondary:hover {
  background: var(--peach);
  color: var(--white);
}
.hero-stats {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dot {
  width: 4px;
  height: 4px;
  background: var(--coral);
  border-radius: 50%;
}

/* 轮播图 */
.hero-visual {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: var(--white);
}
.carousel-item {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.05);
}
.carousel-item.active {
  opacity: 1;
  transform: scale(1);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  padding: 40px 20px 20px;
  color: var(--white);
}
.carousel-caption h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.carousel-caption p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0;
}
.carousel-dots {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}
.dot-item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s;
}
.dot-item.active {
  background: var(--pink);
  width: 24px;
  border-radius: 5px;
}

/* 通用区块 */
section {
  padding: 80px 24px;
  position: relative;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 30px;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.section-header p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* 三分钟上手 */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 140, 90, 0.1);
  transition: transform 0.3s;
}
.step-card:hover {
  transform: translateY(-4px);
}
.step-num {
  display: inline-block;
  background: var(--purple);
  color: #7a5c99;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.step-card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}
.q-bubble {
  background: var(--cream);
  border-radius: 16px;
  padding: 16px;
  font-size: 14px;
  color: var(--text-dark);
  border-left: 4px solid var(--peach);
}
.q-bubble strong {
  color: var(--peach);
}

/* 今日更新 */
.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.update-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.update-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s;
}
.update-card:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--peach);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}
.card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-info h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}
.card-quote {
  font-size: 14px;
  color: var(--peach);
  font-weight: 600;
  margin-bottom: 16px;
  font-style: italic;
}
.btn-read {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  background: rgba(255, 140, 90, 0.1);
  color: var(--peach);
  padding: 10px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-read:hover {
  background: var(--peach);
  color: var(--white);
}

/* 心情选漫 */
.mood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.mood-tag {
  background: var(--white);
  border: 1px solid var(--pink);
  color: var(--text-dark);
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(255, 214, 224, 0.3);
}
.mood-tag:hover, .mood-tag.active {
  background: linear-gradient(135deg, var(--pink), var(--coral));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}
.mood-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.mood-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.mood-card img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 12px;
  margin-bottom: 16px;
}
.mood-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.mood-card p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* 榜单 & 书单 */
.rank-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.rank-list {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.rank-title {
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream);
}
.rank-item:last-child {
  border-bottom: none;
}
.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.rank-num.top {
  background: linear-gradient(135deg, var(--peach), var(--coral));
  color: var(--white);
}
.rank-item img {
  width: 48px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}
.rank-info {
  flex: 1;
  min-width: 0;
}
.rank-info h5 {
  font-size: 15px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-info p {
  font-size: 12px;
  color: var(--text-light);
}

/* 截图墙 / 日历 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.faq-item h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item h4::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--pink);
  color: var(--white);
  border-radius: 50%;
  font-size: 13px;
}
.faq-item p {
  font-size: 14px;
  color: var(--text-light);
  padding-left: 32px;
}

/* 底部 CTA */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--cream), var(--pink) 150%);
  border-radius: var(--radius-card);
  padding: 60px 24px;
}
.cta-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 32px;
}
.cta-btn {
  font-size: 18px;
  padding: 16px 48px;
}

/* 页脚 */
footer {
  background: var(--white);
  padding: 40px 24px 24px;
  border-top: 1px solid rgba(255, 140, 90, 0.1);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--peach);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand img {
  height: 28px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-light);
}
.footer-links a:hover {
  color: var(--peach);
}
.footer-bottom {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.footer-bottom a {
  color: var(--text-light);
}
.footer-bottom a:hover {
  text-decoration: underline;
}
time {
  font-size: 12px;
  color: var(--text-light);
  opacity: 0.7;
}

/* 断点 768px */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    padding: 80px 24px 100px;
  }
  .hero-text {
    flex: 1.2;
  }
  .hero-visual {
    flex: 1;
    max-width: none;
  }
  .hero h1 {
    font-size: 48px;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rank-layout {
    grid-template-columns: repeat(3, 1fr);
  }
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nav-links {
    display: flex;
  }
}

/* 断点 1024px */
@media (min-width: 1024px) {
  .nav-inner {
    padding: 0 40px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .section-header h2 {
    font-size: 36px;
  }
  .hero {
    padding: 100px 40px 120px;
  }
  section {
    padding: 100px 40px;
  }
}