:root {
  --bg: #fffaf2;
  --bg-soft: #fff2de;
  --card: rgba(255, 250, 242, 0.78);
  --card-border: rgba(194, 157, 73, 0.28);
  --text: #6a5b48;
  --muted: #8a785e;
  --gold: #bf8f1d;
  --gold-bright: #e5bf5d;
  --peach: #f3b49f;
  --rose: #ef9daf;
  --sky: #8cc8e8;
  --mint: #96d9bf;
  --shadow: 0 30px 70px rgba(198, 164, 92, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 36%),
    radial-gradient(circle at 20% 20%, rgba(250, 223, 172, 0.55), transparent 30%),
    radial-gradient(circle at 80% 15%, rgba(255, 209, 201, 0.4), transparent 26%),
    radial-gradient(circle at 85% 80%, rgba(155, 217, 191, 0.36), transparent 25%),
    linear-gradient(135deg, #fffdf8 0%, #fff6e8 45%, #fff8ef 100%);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  isolation: isolate;
}

.glow {
  position: absolute;
  z-index: -2;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.75;
}

.glow--left {
  left: -6rem;
  top: 10%;
  background: radial-gradient(circle, rgba(255, 219, 141, 0.56) 0%, transparent 70%);
  animation: drift 13s ease-in-out infinite;
}

.glow--right {
  right: -8rem;
  bottom: 0;
  background: radial-gradient(circle, rgba(255, 188, 206, 0.42) 0%, transparent 68%);
  animation: drift 16s ease-in-out infinite reverse;
}

.hero {
  position: relative;
  width: min(760px, 100%);
  padding: 48px 42px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 247, 233, 0.88)),
    rgba(255, 255, 255, 0.6);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  border: 1px solid rgba(255, 226, 165, 0.65);
  pointer-events: none;
}

.hero__eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--gold);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.3rem);
  line-height: 0.96;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 30px rgba(191, 143, 29, 0.18);
}

.hero__lead {
  width: min(34rem, 100%);
  margin: 22px auto 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
}

.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 225, 150, 0.8));
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  opacity: 0.76;
  filter: drop-shadow(0 0 8px rgba(255, 211, 106, 0.45));
  animation: glitter 3.4s ease-in-out infinite;
}

.spark--1 {
  top: 14%;
  left: 20%;
}

.spark--2 {
  top: 22%;
  right: 18%;
  animation-delay: 0.6s;
}

.spark--3 {
  top: 62%;
  left: 14%;
  animation-delay: 1.2s;
}

.spark--4 {
  bottom: 16%;
  right: 12%;
  animation-delay: 1.8s;
}

.spark--5 {
  top: 12%;
  right: 32%;
  animation-delay: 0.9s;
}

.spark--6 {
  bottom: 22%;
  left: 28%;
  animation-delay: 2.3s;
}

.spark--7 {
  top: 30%;
  left: 10%;
  animation-delay: 2.7s;
}

.spark--8 {
  right: 8%;
  top: 50%;
  animation-delay: 1.5s;
}

.balloons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.balloon {
  position: absolute;
  width: 90px;
  height: 116px;
  border-radius: 50% 50% 46% 46%;
  box-shadow:
    inset -10px -14px 18px rgba(0, 0, 0, 0.08),
    inset 10px 14px 18px rgba(255, 255, 255, 0.22),
    0 18px 28px rgba(141, 118, 82, 0.18);
  transform-origin: center bottom;
  animation: float 8s ease-in-out infinite;
}

.balloon::before {
  content: "";
  position: absolute;
  left: 18%;
  top: 18%;
  width: 22%;
  height: 30%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transform: rotate(18deg);
}

.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 2px);
  width: 2px;
  height: 96px;
  background: linear-gradient(180deg, rgba(186, 155, 101, 0.8), rgba(186, 155, 101, 0));
  transform: translateX(-50%);
}

.balloon--lg {
  width: 124px;
  height: 154px;
}

.balloon--md {
  width: 102px;
  height: 128px;
}

.balloon--sm {
  width: 78px;
  height: 102px;
}

.balloon--gold {
  background: radial-gradient(circle at 30% 24%, #fff1b8 0%, var(--gold-bright) 38%, #d9a82e 100%);
}

.balloon--peach {
  background: radial-gradient(circle at 30% 24%, #ffe6dc 0%, var(--peach) 42%, #df8f72 100%);
}

.balloon--rose {
  background: radial-gradient(circle at 30% 24%, #ffdce4 0%, var(--rose) 44%, #d46b84 100%);
}

.balloon--sky {
  background: radial-gradient(circle at 30% 24%, #e4f6ff 0%, var(--sky) 44%, #59a9d3 100%);
}

.balloon--mint {
  background: radial-gradient(circle at 30% 24%, #e7fff5 0%, var(--mint) 44%, #68ba9c 100%);
}

.balloon--1 {
  top: 8%;
  left: 9%;
  animation-duration: 8.8s;
}

.balloon--2 {
  top: 14%;
  right: 12%;
  animation-duration: 7.7s;
  animation-delay: 0.8s;
}

.balloon--3 {
  left: 17%;
  bottom: 15%;
  animation-duration: 9.3s;
  animation-delay: 0.4s;
}

.balloon--4 {
  right: 18%;
  bottom: 10%;
  animation-duration: 8.2s;
  animation-delay: 1.6s;
}

.balloon--5 {
  top: 28%;
  left: 3%;
  animation-duration: 7.1s;
  animation-delay: 1.9s;
}

.balloon--6 {
  top: 5%;
  right: 26%;
  animation-duration: 9.1s;
  animation-delay: 0.2s;
}

.balloon--7 {
  right: 4%;
  bottom: 28%;
  animation-duration: 6.9s;
  animation-delay: 2.1s;
}

.balloon--8 {
  left: 28%;
  top: 2%;
  animation-duration: 8.4s;
  animation-delay: 1.1s;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, -22px, 0) rotate(2deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, -12px, 0) scale(1.06);
  }
}

@keyframes glitter {
  0%,
  100% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0.32;
  }
  50% {
    transform: scale(1.25) rotate(18deg);
    opacity: 0.95;
  }
}

@media (max-width: 900px) {
  .scene {
    padding: 22px;
  }

  .hero {
    padding: 38px 26px;
  }

  .balloon--5,
  .balloon--7 {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    overflow-y: auto;
  }

  .scene {
    min-height: 100svh;
    padding: 18px;
  }

  .hero {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .hero__eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
  }

  .hero__lead {
    margin-top: 18px;
    line-height: 1.55;
  }

  .balloon--1 {
    left: -4%;
    top: 10%;
  }

  .balloon--2 {
    right: -4%;
    top: 18%;
  }

  .balloon--3 {
    left: 3%;
    bottom: 6%;
  }

  .balloon--4 {
    right: 0;
    bottom: 4%;
  }

  .balloon--6,
  .balloon--8 {
    display: none;
  }
}

@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;
  }
}
