:root {
  --bg-top: #210f2e;
  --bg-mid: #49295b;
  --bg-bottom: #ffcad4;
  --peach: #ffd7b8;
  --rose: #ff6f91;
  --rose-deep: #d63c69;
  --gold: #ffd76a;
  --cream: #fff7ef;
  --leaf: #3c9157;
  --leaf-dark: #2d6d41;
  --ink: #fff8fe;
  --panel: rgba(255, 255, 255, 0.15);
  --panel-border: rgba(255, 255, 255, 0.28);
  --shadow: rgba(41, 11, 44, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 233, 200, 0.35), transparent 32%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 42%, var(--bg-bottom) 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px),
    radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0 1.5px, transparent 1.5px);
  pointer-events: none;
  opacity: 0.7;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 64px;
  position: relative;
  z-index: 2;
}

.sky-glow {
  position: fixed;
  width: 24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.55;
  pointer-events: none;
}

.sky-glow-left {
  top: 10%;
  left: -8rem;
  background: rgba(255, 184, 140, 0.35);
  animation: driftGlow 8s ease-in-out infinite alternate;
}

.sky-glow-right {
  right: -7rem;
  top: 22%;
  background: rgba(255, 139, 185, 0.35);
  animation: driftGlow 11s ease-in-out infinite alternate-reverse;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  position: relative;
}

.hero-copy {
  padding: 32px 0;
  animation: fadeRise 1.2s ease;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 18px 0 18px;
  font-family: "Brush Script MT", "Snell Roundhand", cursive;
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.95;
  font-weight: 400;
  text-shadow: 0 14px 36px rgba(44, 11, 51, 0.28);
}

.hero-copy h1 span {
  color: var(--gold);
  display: inline-block;
  transform: translateY(-10px);
}

.lede {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255, 249, 253, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.love-button {
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 800;
  color: #571330;
  background: linear-gradient(135deg, #ffe892, #ff9fbc 60%, #ffd8de);
  box-shadow: 0 12px 30px rgba(85, 22, 53, 0.25);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.love-button:hover,
.love-button:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 36px rgba(85, 22, 53, 0.32);
}

.micro-copy {
  margin: 0;
  color: rgba(255, 246, 250, 0.8);
  font-size: 0.95rem;
}

.hero-stage {
  min-height: 660px;
  position: relative;
  animation: fadeRise 1.3s ease 0.15s both;
}

.moon {
  position: absolute;
  top: 3%;
  right: 15%;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffbe6, #ffe3a2 60%, rgba(255, 232, 182, 0.2));
  box-shadow:
    0 0 40px rgba(255, 239, 183, 0.45),
    0 0 80px rgba(255, 236, 163, 0.24);
}

.couple-orbit {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  animation: floatRing 5s ease-in-out infinite;
}

.heart-core,
.mini-heart,
.heart-particle {
  position: absolute;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #ff9fbd, #ff4f84);
  transform: rotate(-45deg);
}

.heart-core::before,
.heart-core::after,
.mini-heart::before,
.mini-heart::after,
.heart-particle::before,
.heart-particle::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: inherit;
}

.heart-core::before,
.mini-heart::before,
.heart-particle::before {
  top: -23px;
  left: 0;
}

.heart-core::after,
.mini-heart::after,
.heart-particle::after {
  left: 23px;
  top: 0;
}

.heart-core {
  left: 50%;
  top: 50%;
  width: 84px;
  height: 84px;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 15px 35px rgba(165, 29, 91, 0.28);
  animation: pulseHeart 2.6s ease-in-out infinite;
}

.heart-core::before,
.heart-core::after {
  width: 84px;
  height: 84px;
}

.heart-core::before {
  top: -42px;
}

.heart-core::after {
  left: 42px;
}

.mini-heart {
  width: 28px;
  height: 28px;
  animation: orbitSpark 3.2s ease-in-out infinite;
}

.mini-heart::before,
.mini-heart::after {
  width: 28px;
  height: 28px;
}

.mini-heart::before {
  top: -14px;
}

.mini-heart::after {
  left: 14px;
}

.mini-heart-left {
  left: 18%;
  top: 24%;
  background: linear-gradient(145deg, #ffd36f, #ff9a76);
}

.mini-heart-right {
  right: 18%;
  bottom: 22%;
  background: linear-gradient(145deg, #fdb7ff, #ff749b);
  animation-delay: 0.7s;
}

.flower {
  position: absolute;
  width: 140px;
  aspect-ratio: 1;
  animation: sway 4s ease-in-out infinite;
}

.flower .petal {
  position: absolute;
  width: 54px;
  height: 72px;
  border-radius: 54px 54px 8px 8px;
  background: linear-gradient(180deg, #ffe8f0, #ff8ab1);
  transform-origin: center bottom;
  box-shadow: inset 0 -12px 10px rgba(240, 87, 141, 0.18);
}

.flower .p1 {
  left: 42px;
  top: 0;
}

.flower .p2 {
  left: 0;
  top: 36px;
  transform: rotate(-90deg);
}

.flower .p3 {
  right: 0;
  top: 36px;
  transform: rotate(90deg);
}

.flower .p4 {
  left: 42px;
  bottom: 0;
  transform: rotate(180deg);
}

.flower .center {
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe99a, #ffc64a 65%, #ffb12e);
  box-shadow: 0 0 18px rgba(255, 213, 94, 0.5);
}

.flower::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -78px;
  width: 7px;
  height: 92px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--leaf), var(--leaf-dark));
}

.flower-one {
  left: 8%;
  bottom: 6%;
}

.flower-two {
  right: 6%;
  bottom: 4%;
  animation-delay: 1s;
}

.flower-three {
  left: 46%;
  bottom: -1%;
  transform: scale(0.8);
  animation-delay: 0.45s;
}

.ladybug {
  position: absolute;
  width: 34px;
  height: 26px;
  border-radius: 50% 50% 40% 40%;
  background:
    radial-gradient(circle at 35% 50%, transparent 0 3px, #1a1518 3px 4px, transparent 4px),
    radial-gradient(circle at 72% 50%, transparent 0 3px, #1a1518 3px 4px, transparent 4px),
    linear-gradient(90deg, #f84545 0 48%, #1d1618 48% 52%, #f84545 52% 100%);
  box-shadow: 0 8px 16px rgba(21, 8, 14, 0.2);
}

.ladybug::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 9px;
  width: 16px;
  height: 12px;
  border-radius: 50% 50% 45% 45%;
  background: #111;
}

.ladybug-one {
  left: 24%;
  bottom: 10%;
  animation: bugWalk 9s linear infinite;
}

.ladybug-two {
  right: 20%;
  bottom: 14%;
  animation: bugWalk 8s linear infinite reverse;
}

.butterfly {
  position: absolute;
  width: 70px;
  height: 50px;
  animation: butterflyFlight 8s ease-in-out infinite;
}

.butterfly span {
  position: absolute;
  width: 28px;
  height: 22px;
  border-radius: 90% 20% 80% 30%;
  background: linear-gradient(145deg, rgba(255, 246, 173, 0.95), rgba(255, 136, 192, 0.88));
  transform-origin: center right;
  animation: flutter 0.55s ease-in-out infinite alternate;
}

.butterfly span:nth-child(1) {
  left: 8px;
  top: 2px;
  transform: rotate(-26deg);
}

.butterfly span:nth-child(2) {
  left: 8px;
  top: 24px;
  transform: rotate(24deg);
}

.butterfly span:nth-child(3) {
  right: 8px;
  top: 2px;
  transform: scaleX(-1) rotate(-26deg);
}

.butterfly span:nth-child(4) {
  right: 8px;
  top: 24px;
  transform: scaleX(-1) rotate(24deg);
}

.butterfly::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 4px;
  height: 38px;
  border-radius: 999px;
  background: rgba(87, 31, 59, 0.85);
}

.butterfly-one {
  top: 18%;
  left: 8%;
}

.butterfly-two {
  top: 24%;
  right: 12%;
  animation-delay: 1.8s;
}

.story-card,
.blessing-grid {
  position: relative;
  z-index: 2;
}

.glass-panel {
  position: relative;
  margin-top: 16px;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, var(--panel), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px var(--shadow);
}

.glass-panel h2 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.glass-panel > p {
  max-width: 48rem;
  font-size: 1.08rem;
  line-height: 1.9;
  color: rgba(255, 250, 252, 0.92);
}

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

.milestones article,
.wish-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.milestones span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 243, 199, 0.8);
}

.milestones strong {
  display: block;
  margin-top: 12px;
  font-size: 1.35rem;
}

.milestones p,
.wish-card p {
  margin: 10px 0 0;
  line-height: 1.75;
  color: rgba(255, 248, 251, 0.86);
}

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

.wish-card {
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease;
}

.wish-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 238, 180, 0.38), transparent 70%);
  pointer-events: none;
}

.wish-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 233, 172, 0.44);
}

.wish-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 241, 198, 0.18);
  color: #fff1b0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.wish-card h3 {
  margin: 18px 0 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.petal-layer,
.heart-layer,
.firefly-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-petal,
.firefly,
.heart-particle {
  position: absolute;
}

.floating-petal {
  width: 16px;
  height: 24px;
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(180deg, rgba(255, 235, 244, 0.96), rgba(255, 120, 163, 0.82));
  opacity: 0.9;
}

.firefly {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff2a9;
  box-shadow: 0 0 12px rgba(255, 240, 173, 0.95);
  animation: blink 1.6s ease-in-out infinite alternate;
}

.heart-particle {
  width: 24px;
  height: 24px;
  opacity: 0.88;
}

.heart-particle::before,
.heart-particle::after {
  width: 24px;
  height: 24px;
}

.heart-particle::before {
  top: -12px;
}

.heart-particle::after {
  left: 12px;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(28px, -18px, 0) scale(1.12);
  }
}

@keyframes pulseHeart {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-45deg) scale(1.08);
  }
}

@keyframes orbitSpark {
  0%,
  100% {
    transform: rotate(-45deg) scale(1);
  }
  50% {
    transform: rotate(-45deg) scale(1.18);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(3deg) translateY(-10px);
  }
}

@keyframes floatRing {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-14px);
  }
}

@keyframes butterflyFlight {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(36px, -18px, 0) rotate(4deg);
  }
  50% {
    transform: translate3d(8px, -40px, 0) rotate(-3deg);
  }
  75% {
    transform: translate3d(-24px, -10px, 0) rotate(2deg);
  }
}

@keyframes flutter {
  from {
    transform: scale(1) rotate(-24deg);
  }
  to {
    transform: scale(1.08) rotate(-36deg);
  }
}

@keyframes bugWalk {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(26px) rotate(5deg);
  }
  50% {
    transform: translateX(58px) rotate(-4deg);
  }
  75% {
    transform: translateX(24px) rotate(6deg);
  }
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes blink {
  from {
    opacity: 0.3;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes floatDown {
  from {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
  }
  to {
    transform: translate3d(var(--drift), 112vh, 0) rotate(var(--spin));
  }
}

@keyframes floatUp {
  from {
    transform: translate3d(0, 0, 0) rotate(-45deg) scale(var(--scale));
    opacity: 0.96;
  }
  to {
    transform: translate3d(var(--x), calc(-1 * var(--y)), 0) rotate(-45deg) scale(calc(var(--scale) + 0.35));
    opacity: 0;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 24px;
  }

  .hero-copy {
    text-align: center;
  }

  .lede,
  .micro-copy {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stage {
    min-height: 540px;
  }

  .milestones,
  .blessing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  .hero-copy h1 {
    font-size: clamp(3.2rem, 18vw, 5.6rem);
  }

  .hero-stage {
    min-height: 430px;
  }

  .couple-orbit {
    width: 220px;
    height: 220px;
  }

  .heart-core {
    width: 68px;
    height: 68px;
  }

  .heart-core::before,
  .heart-core::after {
    width: 68px;
    height: 68px;
  }

  .heart-core::before {
    top: -34px;
  }

  .heart-core::after {
    left: 34px;
  }

  .flower {
    width: 110px;
  }

  .flower::after {
    bottom: -60px;
    height: 72px;
  }

  .glass-panel {
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
