﻿:root {
  --bg-1: #fef4f8;
  --bg-2: #f1f7ff;
  --bg-3: #fff7e9;
  --accent: #ff7aa2;
  --accent-2: #6bc9ff;
  --text: #2f2a3b;
  --muted: #6b657a;
  --card: rgba(255, 255, 255, 0.78);
  --shadow: 0 18px 40px rgba(36, 28, 58, 0.12);
  --radius: 22px;
}

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

body {
  min-height: 100vh;
  font-family: "KaiTi", "STKaiti", "FangSong", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, var(--bg-1), transparent 50%),
    radial-gradient(circle at 20% 40%, rgba(255, 199, 222, 0.5), transparent 55%),
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  padding: 0 6vw 6vw;
  overflow-x: hidden;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.7;
  animation: float 10s ease-in-out infinite;
}

.orb-1 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 170, 205, 0.6), rgba(255, 170, 205, 0));
  top: -80px;
  right: 10%;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(107, 201, 255, 0.5), rgba(107, 201, 255, 0));
  bottom: -100px;
  left: -60px;
  animation-delay: -2s;
}

.orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 223, 160, 0.55), rgba(255, 223, 160, 0));
  top: 35%;
  left: 60%;
  animation-delay: -4s;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 36px 0;
}

.logo {
  font-size: 24px;
  letter-spacing: 2px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 40px 0 60px;
}

.hero-text h1 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.2;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 122, 162, 0.2);
  color: var(--muted);
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
}

.actions {
  display: flex;
  gap: 16px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 122, 162, 0.3);
}

.btn.ghost {
  border: 1px solid rgba(47, 42, 59, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
}

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

.stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stats div {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 110px;
  text-align: center;
}

.stats span {
  font-size: 20px;
  font-weight: 700;
  display: block;
}

.stats small {
  color: var(--muted);
}

.hero-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 122, 162, 0.4), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 20px;
  position: relative;
}

.avatar-face {
  width: 100%;
  height: 100%;
  border-radius: 40% 40% 50% 50%;
  background: linear-gradient(150deg, #ffe6f0, #fff6f9);
  box-shadow: inset 0 -10px 20px rgba(255, 122, 162, 0.2);
}

.avatar-hair {
  position: absolute;
  top: -14px;
  left: 10px;
  width: 120px;
  height: 80px;
  border-radius: 60% 60% 40% 40%;
  background: linear-gradient(130deg, #2e2a3b, #5b4c72);
}

.avatar-star {
  position: absolute;
  right: -6px;
  top: 10px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #ffe189, #ffb86b);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 78% 91%, 50% 70%, 22% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 4px 12px rgba(255, 186, 107, 0.5);
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.card-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(107, 201, 255, 0.4);
  font-size: 14px;
}

section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.about-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin-bottom: 10px;
}

.about-card p {
  color: var(--muted);
}

.features {
  position: relative;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-item {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}

.feature-item span {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--accent);
}

.feature-item h3 {
  margin: 12px 0 8px;
}

.feature-item p {
  color: var(--muted);
}

.poem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.poem-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 160px;
}

.poem-card p {
  font-size: 18px;
  line-height: 1.6;
}

.poem-card span {
  color: var(--muted);
  font-size: 14px;
  align-self: flex-end;
}

.site-footer {
  text-align: center;
  padding: 40px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.9s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.15s;
}

.reveal.delay-2 {
  animation-delay: 0.3s;
}

.reveal.delay-3 {
  animation-delay: 0.45s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  body {
    padding: 0 5vw 10vw;
  }

  .hero {
    padding-top: 20px;
  }

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

  .stats {
    justify-content: center;
  }
}
