:root {
  --yellow: #ffe66d;
  --orange: #ff9f43;
  --pink: #ff6b81;
  --blue: #48dbfb;
  --green: #1dd1a1;
  --purple: #a29bfe;
  --dark: #2d3436;
  --light: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--dark);
  background: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* 飘浮装饰 */
.floating-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.floating-shapes span {
  position: absolute;
  font-size: 2rem;
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.floating-shapes span:nth-child(1) { top: 8%; left: 5%; animation-delay: 0s; }
.floating-shapes span:nth-child(2) { top: 20%; right: 8%; animation-delay: 1s; }
.floating-shapes span:nth-child(3) { top: 55%; left: 10%; animation-delay: 2s; }
.floating-shapes span:nth-child(4) { top: 70%; right: 12%; animation-delay: 3s; }
.floating-shapes span:nth-child(5) { top: 35%; left: 3%; animation-delay: 4s; }
.floating-shapes span:nth-child(6) { top: 15%; left: 45%; animation-delay: 5s; }
.floating-shapes span:nth-child(7) { top: 80%; left: 35%; animation-delay: 6s; }
.floating-shapes span:nth-child(8) { top: 45%; right: 5%; animation-delay: 7s; }
.floating-shapes span:nth-child(9) { top: 60%; right: 40%; animation-delay: 1.5s; }
.floating-shapes span:nth-child(10) { top: 5%; right: 25%; animation-delay: 2.5s; }

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

/* 头部 */
.hero {
  position: relative;
  z-index: 1;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.hero-card {
  background: var(--light);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  max-width: 600px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 3.5rem;
  box-shadow: 0 10px 25px rgba(255, 159, 67, 0.35);
}

h1 {
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.name {
  color: var(--pink);
  position: relative;
}

.name::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--yellow);
  border-radius: 4px;
  z-index: -1;
}

.age {
  font-size: 1.3rem;
  color: #636e72;
  margin-bottom: 1rem;
}

.motto {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--pink);
  font-weight: 700;
  background: linear-gradient(120deg, #ffeaa7 0%, #ffeaa7 100%);
  background-repeat: no-repeat;
  background-size: 100% 40%;
  background-position: 0 88%;
  padding: 0 6px;
  border-radius: 6px;
}

.fun-btn {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: white;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 107, 129, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fun-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(255, 107, 129, 0.45);
}

.fun-btn:active {
  transform: translateY(0) scale(0.98);
}

/* 主体内容 */
main {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

/* 技能卡片 */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.skill-card {
  background: var(--light);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.skill-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
}

.business .icon { background: linear-gradient(135deg, #ffeaa7, #fdcb6e); }
.games .icon { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.delta .icon { background: linear-gradient(135deg, #2d3436, #00b894); color: white; }

.skill-card h3 {
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.skill-card p {
  color: #555;
  line-height: 1.7;
}

/* 目标 */
.mission-box {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  font-size: 1.2rem;
  line-height: 2;
  box-shadow: 0 15px 40px rgba(72, 219, 251, 0.3);
}

.mission-box strong {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
}

/* 关于我 */
.fact-list {
  list-style: none;
  background: var(--light);
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.fact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed #dfe6e9;
  font-size: 1.1rem;
}

.fact-list li:last-child {
  border-bottom: none;
}

.fact-list span {
  font-size: 1.6rem;
}

/* 创作故事横幅 */
.story-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(118, 75, 162, 0.3);
}

.story-content {
  max-width: 760px;
  margin: 0 auto;
}

.story-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.story-banner h2 {
  color: white;
  margin-bottom: 1rem;
}

.story-banner p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.story-banner strong {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
}

.story-sub {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 1rem;
}

/* 项目展示 */
.projects h2 {
  margin-bottom: 1.5rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  display: block;
  background: var(--light);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 2px solid transparent;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.project-card.calendar { border-color: #74b9ff; }
.project-card.health { border-color: #1dd1a1; }
.project-card.tea { border-color: #b8892a; }
.project-card.english { border-color: #ff9f43; }

.project-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
}

.calendar .project-icon { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.health .project-icon { background: linear-gradient(135deg, #55efc4, #00b894); }
.tea .project-icon { background: linear-gradient(135deg, #ffeaa7, #b8892a); }
.english .project-icon { background: linear-gradient(135deg, #ffecd2, #fcb69f); }

.project-card h3 {
  font-family: "ZCOOL KuaiLe", cursive;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.project-card p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.project-link {
  display: inline-block;
  font-weight: 700;
  color: var(--pink);
  transition: transform 0.2s;
}

.project-card:hover .project-link {
  transform: translateX(4px);
}

/* 页脚 */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  color: #636e72;
  font-size: 0.95rem;
}

/* 礼花 */
.confetti {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 100;
  animation: confetti-fall 1.2s ease-out forwards;
}

@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* 响应式 */
@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  .hero-card { padding: 2rem 1.5rem; }
  .skill-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .story-banner { padding: 1.5rem; }
  .story-banner p { font-size: 1rem; }
}
