:root {
  --ink: #10211d;
  --muted: #64716d;
  --paper: #f8f2e8;
  --panel: rgba(255, 252, 244, 0.86);
  --line: rgba(16, 33, 29, 0.12);
  --green: #1b7f5f;
  --amber: #e2a53a;
  --coral: #e85d45;
  --shadow: 0 24px 70px rgba(23, 44, 39, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "LXGW WenKai", "Microsoft YaHei", "Noto Serif SC", serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 93, 69, 0.2), transparent 28rem),
    radial-gradient(circle at 84% 10%, rgba(27, 127, 95, 0.22), transparent 26rem),
    linear-gradient(135deg, #fbf0dc 0%, #edf6ec 52%, #f9efe7 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 33, 29, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 29, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  content: "";
  background: conic-gradient(from 140deg, var(--green), var(--amber), var(--coral), var(--green));
  opacity: 0.2;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.2rem, 11vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.pig-widget {
  position: relative;
  z-index: 1;
  min-height: 290px;
  padding: 26px;
  border: 1px solid rgba(232, 93, 69, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 224, 228, 0.95), transparent 8rem),
    linear-gradient(160deg, rgba(255, 252, 244, 0.78), rgba(255, 229, 220, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 48px rgba(232, 93, 69, 0.12);
}

.love-text {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin: 0 auto;
  padding: 9px 16px;
  border-radius: 999px;
  color: #8f2f32;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: #fff6f2;
  box-shadow: 0 12px 30px rgba(143, 47, 50, 0.14);
  animation: love-bob 2.6s ease-in-out infinite;
}

.heart-field span {
  position: absolute;
  left: 50%;
  bottom: 108px;
  width: 18px;
  height: 18px;
  background: var(--coral);
  transform: rotate(45deg);
  opacity: 0;
  animation: float-heart 3.8s ease-in-out infinite;
}

.heart-field span::before,
.heart-field span::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
  background: var(--coral);
}

.heart-field span::before {
  left: -9px;
}

.heart-field span::after {
  top: -9px;
}

.heart-field span:nth-child(2) {
  left: 28%;
  animation-delay: 0.8s;
  transform: rotate(45deg) scale(0.78);
}

.heart-field span:nth-child(3) {
  left: 72%;
  animation-delay: 1.6s;
  transform: rotate(45deg) scale(0.9);
}

.pig-track {
  position: absolute;
  right: 24px;
  bottom: 28px;
  left: 24px;
  height: 168px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(27, 127, 95, 0.14), transparent 48%);
}

.pig {
  position: absolute;
  bottom: 18px;
  width: 116px;
  height: 94px;
  animation: pig-family-bob 4.4s ease-in-out infinite;
}

.pig-dad {
  left: 4px;
  width: 112px;
  height: 92px;
}

.pig-child {
  left: calc(50% - 44px);
  bottom: 36px;
  width: 88px;
  height: 72px;
  transform: scale(0.9);
  animation: pig-child-hop 3.2s ease-in-out infinite;
}

.pig-mom {
  right: 4px;
  width: 112px;
  height: 92px;
  animation-delay: 0.24s;
}

.pig-shadow {
  position: absolute;
  right: 12px;
  bottom: -12px;
  left: 12px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 33, 29, 0.14);
  filter: blur(2px);
}

.pig-face {
  position: absolute;
  inset: 10px 6px 14px;
  border: 3px solid #8f2f32;
  border-radius: 48% 52% 46% 54%;
  background: #ffb8c3;
  box-shadow: inset 10px -12px 0 rgba(255, 136, 154, 0.34);
}

.pig-child .pig-face {
  inset: 9px 7px 12px;
  border-width: 3px;
  border-radius: 50% 50% 47% 53%;
  box-shadow: inset 7px -8px 0 rgba(255, 136, 154, 0.28);
}

.pig-ear {
  position: absolute;
  top: 4px;
  z-index: -1;
  width: 34px;
  height: 38px;
  border: 3px solid #8f2f32;
  border-radius: 60% 40% 60% 40%;
  background: #ffa9b8;
}

.pig-ear.left {
  left: 12px;
  transform: rotate(-22deg);
}

.pig-ear.right {
  right: 12px;
  transform: rotate(22deg);
}

.pig-child .pig-ear {
  top: 8px;
  width: 26px;
  height: 28px;
}

.pig-child .pig-ear.left {
  left: 11px;
}

.pig-child .pig-ear.right {
  right: 11px;
}

.pig-hair {
  position: absolute;
  top: 0;
  left: 50%;
  width: 26px;
  height: 24px;
  border-top: 4px solid #8f2f32;
  border-radius: 50%;
  transform: translateX(-50%) rotate(-14deg);
}

.pig-bow {
  position: absolute;
  top: -2px;
  right: 22px;
  z-index: 2;
  width: 28px;
  height: 18px;
}

.pig-bow::before,
.pig-bow::after {
  position: absolute;
  top: 2px;
  width: 15px;
  height: 14px;
  border: 2px solid #8f2f32;
  border-radius: 60% 35% 60% 35%;
  content: "";
  background: #e85d45;
}

.pig-bow::before {
  left: 0;
  transform: rotate(24deg);
}

.pig-bow::after {
  right: 0;
  transform: rotate(-24deg);
}

.pig-eye {
  position: absolute;
  top: 26px;
  width: 10px;
  height: 13px;
  border-radius: 50%;
  background: #3d2020;
  animation: pig-blink 4.6s infinite;
}

.pig-eye.left {
  left: 28px;
}

.pig-eye.right {
  right: 28px;
}

.pig-child .pig-eye {
  top: 22px;
  width: 8px;
  height: 10px;
}

.pig-child .pig-eye.left {
  left: 24px;
}

.pig-child .pig-eye.right {
  right: 24px;
}

.pig-eye.wink {
  height: 4px;
  margin-top: 5px;
  border-radius: 999px;
  animation: none;
}

.pig-nose {
  position: absolute;
  top: 43px;
  left: 50%;
  width: 38px;
  height: 26px;
  border: 3px solid #8f2f32;
  border-radius: 45%;
  background: #ffd2d8;
  transform: translateX(-50%);
}

.pig-child .pig-nose {
  top: 36px;
  width: 30px;
  height: 20px;
  border-width: 3px;
}

.pig-nose i {
  position: absolute;
  top: 8px;
  width: 6px;
  height: 8px;
  border-radius: 50%;
  background: #8f2f32;
}

.pig-nose i:first-child {
  left: 9px;
}

.pig-nose i:last-child {
  right: 9px;
}

.pig-child .pig-nose i {
  top: 6px;
  width: 5px;
  height: 6px;
}

.pig-child .pig-nose i:first-child {
  left: 7px;
}

.pig-child .pig-nose i:last-child {
  right: 7px;
}

.pig-smile {
  position: absolute;
  right: 32px;
  bottom: 10px;
  left: 32px;
  height: 12px;
  border-bottom: 3px solid #8f2f32;
  border-radius: 50%;
}

.pig-child .pig-smile {
  right: 26px;
  bottom: 7px;
  left: 26px;
  height: 9px;
}

.pig-leg {
  position: absolute;
  bottom: 4px;
  width: 18px;
  height: 22px;
  border-radius: 999px;
  background: #8f2f32;
  animation: pig-legs 0.44s ease-in-out infinite alternate;
}

.pig-leg.left {
  left: 30px;
}

.pig-leg.right {
  right: 30px;
  animation-delay: 0.22s;
}

.pig-child .pig-leg {
  bottom: 5px;
  width: 14px;
  height: 17px;
}

.pig-child .pig-leg.left {
  left: 26px;
}

.pig-child .pig-leg.right {
  right: 26px;
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.primary {
  color: #fff9ef;
  background: var(--green);
}

.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff9ef;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 252, 244, 0.78);
  box-shadow: 0 12px 42px rgba(23, 44, 39, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(27, 127, 95, 0.42);
  box-shadow: 0 22px 58px rgba(23, 44, 39, 0.16);
}

.tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff9ef;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--coral);
}

.card h2 {
  margin: 22px 0 12px;
  font-size: 1.55rem;
}

.card p {
  min-height: 72px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.card strong {
  display: inline-flex;
  margin-top: 22px;
  color: var(--green);
}

.status {
  margin-top: 24px;
  padding: 28px;
  border: 1px dashed rgba(27, 127, 95, 0.34);
  border-radius: 28px;
  background: rgba(237, 246, 236, 0.72);
}

.status h2 {
  margin: 0 0 10px;
}

.status p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 1120px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .page {
    padding-top: 24px;
  }

  .pig-widget {
    min-height: 240px;
  }
}

@keyframes love-bob {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes float-heart {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) rotate(45deg) scale(0.5);
  }
  20% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -132px) rotate(45deg) scale(1.08);
  }
}

@keyframes pig-family-bob {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

@keyframes pig-child-hop {
  0%, 100% {
    transform: translateY(0) scale(0.9);
  }
  50% {
    transform: translateY(-14px) scale(0.93);
  }
}

@keyframes pig-blink {
  0%, 44%, 48%, 100% {
    transform: scaleY(1);
  }
  46% {
    transform: scaleY(0.12);
  }
}

@keyframes pig-legs {
  from {
    transform: rotate(-10deg);
  }
  to {
    transform: rotate(12deg) translateY(2px);
  }
}
