:root {
  --blue: #1f9bff;
  --blue-dark: #0871c9;
  --blue-soft: #dff2ff;
  --yellow: #ffd84d;
  --yellow-soft: #fff2bd;
  --ink: #21324a;
  --muted: #62748f;
  --white: #ffffff;
  --line: #d9eaf8;
  --green: #63c96d;
  --coral: #ff7f72;
  --shadow: 0 16px 36px rgba(24, 113, 191, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 216, 77, 0.35) 0 130px, transparent 131px),
    radial-gradient(circle at 88% 8%, rgba(31, 155, 255, 0.16) 0 180px, transparent 181px),
    linear-gradient(180deg, #f5fbff 0%, #ffffff 44%, #f7fbff 100%);
  min-height: 100vh;
}

button {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 30px 0 54px;
}

.hero {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 32px;
  padding: 42px 54px;
  border: 3px solid #ffffff;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(31, 155, 255, 0.96), rgba(90, 194, 255, 0.92)),
    var(--blue);
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 40px -60px auto;
  width: 420px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.24);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.school-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  color: #073c68;
  background: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  font-weight: 800;
}

.badge-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(76px, 9vw, 132px);
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 8px 0 rgba(8, 113, 201, 0.28);
  letter-spacing: 0;
}

.hero-art,
.panda-hero,
.panda-head,
.experience-illustration,
.tile-icon {
  position: relative;
}

.sun-doodle {
  position: absolute;
  top: 26px;
  right: 310px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 14px rgba(255, 216, 77, 0.25);
}

.cloud {
  position: absolute;
  width: 118px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  width: 48px;
  height: 48px;
  left: 22px;
  top: -22px;
}

.cloud::after {
  width: 64px;
  height: 64px;
  right: 18px;
  top: -34px;
}

.cloud-a {
  top: 50px;
  right: 78px;
}

.cloud-b {
  bottom: 44px;
  left: 36px;
  transform: scale(0.72);
  opacity: 0.75;
}

.panda-hero {
  z-index: 2;
  width: 260px;
  height: 230px;
  justify-self: center;
  align-self: end;
}

.panda-head {
  position: absolute;
  left: 28px;
  bottom: 8px;
  width: 205px;
  height: 174px;
  border: 7px solid #172033;
  border-radius: 48% 48% 42% 42%;
  background: #ffffff;
  box-shadow: 0 13px 0 rgba(7, 55, 94, 0.16);
}

.panda-ear {
  position: absolute;
  top: 24px;
  width: 74px;
  height: 74px;
  border: 7px solid #172033;
  border-radius: 50%;
  background: #172033;
}

.panda-ear.left {
  left: 18px;
}

.panda-ear.right {
  right: 18px;
}

.panda-eye {
  position: absolute;
  top: 56px;
  width: 54px;
  height: 66px;
  border-radius: 50%;
  background: #172033;
  transform: rotate(18deg);
}

.panda-eye::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.panda-eye.left {
  left: 34px;
}

.panda-eye.right {
  right: 34px;
  transform: rotate(-18deg);
}

.panda-nose {
  position: absolute;
  left: 50%;
  top: 106px;
  width: 24px;
  height: 17px;
  border-radius: 50%;
  background: #172033;
  transform: translateX(-50%);
}

.panda-cheek {
  position: absolute;
  bottom: 32px;
  width: 24px;
  height: 14px;
  border-radius: 999px;
  background: #ffb6b2;
}

.panda-cheek.left {
  left: 30px;
}

.panda-cheek.right {
  right: 30px;
}

.bamboo {
  position: absolute;
  right: 5px;
  bottom: 0;
  display: flex;
  gap: 6px;
  transform: rotate(9deg);
}

.bamboo span {
  width: 12px;
  height: 120px;
  border: 3px solid #177244;
  border-radius: 999px;
  background: repeating-linear-gradient(180deg, #8ee986 0 23px, #4fbd58 24px 30px);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
  margin-top: 22px;
}

.section-card,
.hobby-tile,
.experience-tile,
.mini-card,
.recipe-card {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.section-card {
  padding: 26px;
  box-shadow: 0 10px 26px rgba(42, 127, 195, 0.08);
}

.section-card,
.hobby-tile,
.experience-tile,
.recipe-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.section-card:hover,
.hobby-tile:hover,
.experience-tile:hover,
.recipe-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 155, 255, 0.52);
  box-shadow: 0 18px 38px rgba(33, 128, 207, 0.17);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 28px;
  line-height: 1.15;
}

.cartoon-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 2px solid #ffffff;
  border-radius: 16px;
  background: var(--yellow);
  box-shadow: 0 5px 0 rgba(255, 188, 45, 0.65);
  font-size: 24px;
}

.info-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
}

.mini-card {
  min-height: 112px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, var(--blue-soft));
}

.mini-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.mini-card strong {
  display: block;
  color: var(--blue-dark);
  font-size: 21px;
  line-height: 1.28;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag-row span {
  padding: 9px 13px;
  border: 2px solid rgba(255, 216, 77, 0.78);
  border-radius: 999px;
  background: #fff9dd;
  color: #745608;
  font-size: 15px;
  font-weight: 800;
}

.honor-card {
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.34), rgba(255, 255, 255, 0.9) 52%),
    #ffffff;
}

.honor-spotlight {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 150px;
}

.trophy-doodle {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 3px solid #f2b900;
  border-radius: 28px;
  background: #fff4b8;
  font-size: 50px;
  transform: rotate(-5deg);
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
}

.honor-spotlight h3,
.experience-tile h3,
.hobby-tile h3 {
  font-size: 22px;
  line-height: 1.2;
}

.honor-spotlight p:not(.eyebrow),
.experience-tile p,
.hobby-tile p,
.recipe-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hobbies-card,
.experience-card {
  margin-top: 22px;
}

.hobby-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.hobby-tile {
  min-height: 230px;
  padding: 18px;
  background: #ffffff;
}

.hobby-tile h3 {
  margin-top: 14px;
  margin-bottom: 8px;
}

.hobby-tile p {
  font-size: 15px;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 40px;
}

.hobby-tile:nth-child(even) .tile-icon {
  background: var(--yellow-soft);
}

.table-tennis .bat {
  position: absolute;
  left: 21px;
  top: 23px;
  width: 30px;
  height: 38px;
  border-radius: 50%;
  background: var(--coral);
  border: 4px solid #26374f;
  transform: rotate(-25deg);
}

.table-tennis .bat::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 25px;
  left: 20px;
  top: 29px;
  border-radius: 999px;
  background: #26374f;
  transform: rotate(-8deg);
}

.table-tennis .ball {
  position: absolute;
  right: 15px;
  top: 18px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--blue-dark);
}

.recipe-card {
  margin-top: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #fff8d6);
}

.recipe-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.breakfast-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--yellow);
  font-size: 31px;
}

.recipe-toggle strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
}

.recipe-toggle small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.toggle-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-size: 28px;
  font-weight: 900;
  transition: transform 200ms ease;
}

.recipe-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 16px;
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  opacity: 0;
  transition: max-height 260ms ease, padding 260ms ease, opacity 180ms ease;
}

.recipe-card.is-open .recipe-content {
  max-height: 280px;
  padding: 0 18px 20px;
  opacity: 1;
}

.recipe-card.is-open .toggle-mark {
  transform: rotate(45deg);
}

.recipe-placeholder {
  margin-top: 8px;
  padding: 12px 14px;
  border: 2px dashed rgba(31, 155, 255, 0.46);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.plate-doodle {
  position: relative;
  width: 148px;
  height: 110px;
  justify-self: center;
}

.plate-doodle::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 126px;
  height: 62px;
  border: 6px solid var(--blue-dark);
  border-radius: 50%;
  background: #ffffff;
}

.noodle {
  position: absolute;
  left: 36px;
  bottom: 40px;
  width: 75px;
  height: 29px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 48%, #ff6d5e 0 6px, transparent 7px),
    repeating-linear-gradient(8deg, #ffd84d 0 5px, #ffc23c 6px 9px);
}

.fork {
  position: absolute;
  right: 0;
  bottom: 28px;
  width: 52px;
  height: 8px;
  border-radius: 999px;
  background: #8aa0b8;
  transform: rotate(-28deg);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.experience-tile {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 172px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff, #f3fbff);
}

.experience-tile h3 {
  margin-bottom: 8px;
}

.experience-illustration {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  background: var(--blue-soft);
}

.experience-tile:nth-child(2) .experience-illustration {
  background: #fff0b4;
}

.mic-head {
  position: absolute;
  left: 36px;
  top: 20px;
  width: 40px;
  height: 56px;
  border: 5px solid #20334b;
  border-radius: 999px;
  background: var(--blue);
}

.mic-stick {
  position: absolute;
  left: 53px;
  top: 70px;
  width: 7px;
  height: 30px;
  border-radius: 999px;
  background: #20334b;
}

.speech {
  position: absolute;
  right: 8px;
  top: 14px;
  padding: 5px 8px;
  border-radius: 12px 12px 12px 2px;
  background: var(--yellow);
  font-size: 14px;
  font-weight: 900;
}

.rocket-body {
  position: absolute;
  left: 44px;
  top: 18px;
  width: 30px;
  height: 68px;
  border: 4px solid #20334b;
  border-radius: 50% 50% 12px 12px;
  background: #ffffff;
  transform: rotate(18deg);
}

.rocket-body::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 24px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: #ffffff;
}

.rocket-flame {
  position: absolute;
  left: 38px;
  top: 76px;
  width: 22px;
  height: 34px;
  border-radius: 50% 50% 50% 4px;
  background: var(--coral);
  transform: rotate(18deg);
}

.star {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--blue);
  clip-path: polygon(50% 0, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0 50%, 38% 35%);
}

.star.one {
  left: 20px;
  top: 28px;
}

.star.two {
  right: 20px;
  bottom: 22px;
  background: var(--coral);
}

.reveal-card {
  opacity: 0;
  transform: translateY(22px);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.reveal-card.is-visible:hover {
  transform: translateY(-6px);
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 270px;
    padding: 36px;
  }

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

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 32px, 680px);
  }

  .hero,
  .section-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .panda-hero {
    height: 210px;
  }

  .info-grid,
  .recipe-content {
    grid-template-columns: 1fr;
  }

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

  .plate-doodle {
    display: none;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 22px, 460px);
    padding-top: 14px;
  }

  .hero,
  .section-card {
    padding: 20px;
    border-radius: 24px;
  }

  .school-badge {
    font-size: 14px;
  }

  .panda-hero {
    transform: scale(0.82);
    transform-origin: center bottom;
    margin-top: -20px;
  }

  .hobby-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-tile {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .experience-illustration {
    width: 86px;
    height: 86px;
    border-radius: 22px;
    transform: scale(0.86);
    transform-origin: left center;
  }

  .recipe-toggle {
    grid-template-columns: 48px minmax(0, 1fr) 36px;
    gap: 10px;
    padding: 14px;
  }

  .breakfast-icon {
    width: 48px;
    height: 48px;
  }

  .recipe-toggle strong {
    font-size: 19px;
  }
}
