:root {
  --sky-1: #d9f2ff;
  --sky-2: #a8d8ff;
  --sky-3: #7cb7ff;
  --ink: #1c2b3a;
  --midnight: #0c1a2b;
  --frost: #f7fbff;
  --shadow: 0 28px 70px rgba(12, 26, 43, 0.2);
  --glow: 0 0 140px rgba(124, 183, 255, 0.6);
  --radius: 28px;
  font-size: 16px;
}

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

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.7), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(174, 219, 255, 0.7), transparent 40%),
    radial-gradient(circle at 20% 85%, rgba(124, 183, 255, 0.5), transparent 50%),
    linear-gradient(160deg, #0a1a2b 0%, #2b4f7a 50%, #7bbcff 100%);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.8) 40%, transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255, 255, 255, 0.7) 40%, transparent 60%),
    radial-gradient(2px 2px at 80% 60%, rgba(255, 255, 255, 0.75) 40%, transparent 60%),
    radial-gradient(1px 1px at 35% 70%, rgba(255, 255, 255, 0.6) 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 55% 45%, rgba(255, 255, 255, 0.7) 40%, transparent 60%),
    radial-gradient(1.8px 1.8px at 12% 75%, rgba(255, 255, 255, 0.7) 40%, transparent 60%),
    radial-gradient(1.2px 1.2px at 90% 35%, rgba(255, 255, 255, 0.65) 40%, transparent 60%);
  opacity: 0.7;
  animation: twinkle 6s ease-in-out infinite;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -10% 0 0 0;
  pointer-events: none;
  background-image:
    radial-gradient(120px 60px at 10% 20%, rgba(255, 255, 255, 0.55) 40%, transparent 70%),
    radial-gradient(160px 80px at 30% 25%, rgba(255, 255, 255, 0.5) 35%, transparent 70%),
    radial-gradient(140px 70px at 55% 18%, rgba(255, 255, 255, 0.45) 35%, transparent 70%),
    radial-gradient(180px 90px at 80% 22%, rgba(255, 255, 255, 0.5) 35%, transparent 70%),
    radial-gradient(140px 70px at 25% 75%, rgba(255, 255, 255, 0.35) 35%, transparent 70%),
    radial-gradient(170px 85px at 75% 78%, rgba(255, 255, 255, 0.4) 35%, transparent 70%);
  opacity: 0.7;
  filter: blur(6px);
  animation: drift 28s linear infinite;
  z-index: 0;
}

.page {
  position: relative;
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.aura {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(0px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(124, 183, 255, 0.25));
  top: -80px;
  right: -60px;
  z-index: 0;
  box-shadow: var(--glow);
  animation: float 10s ease-in-out infinite;
}

.aura--two {
  width: 260px;
  height: 260px;
  left: -40px;
  top: 60%;
  animation-delay: -3s;
  opacity: 0.7;
}

.aura--two::after {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
  filter: blur(2px);
}

.card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  background: linear-gradient(160deg, rgba(247, 251, 255, 0.96), rgba(219, 237, 255, 0.92));
  padding: 48px clamp(24px, 6vw, 64px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  display: grid;
  gap: 20px;
  overflow: hidden;
  backdrop-filter: none;
}

.card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius) - 12px);
  border: 1px solid rgba(124, 183, 255, 0.4);
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: -40% 60% auto auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 183, 255, 0.5), transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(28, 43, 58, 0.65);
}

h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #12304a;
}

.subtitle {
  font-size: 1rem;
  color: rgba(18, 48, 74, 0.75);
  max-width: 32ch;
  margin: 0 auto;
  line-height: 1.6;
}

.subtitle::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, rgba(124, 183, 255, 0.9), transparent);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
  position: relative;
}

.btn {
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-yes {
  background: linear-gradient(130deg, #8fd3ff, #4f9bff);
  color: #062240;
  box-shadow: 0 14px 26px rgba(79, 155, 255, 0.35);
  transform: translate(var(--x, 0px), var(--y, 0px)) scale(var(--scale, 1));
}

.btn-yes:hover,
.btn-yes:focus-visible {
  transform: translate(var(--x, 0px), calc(var(--y, 0px) - 2px))
    scale(calc(var(--scale, 1) * 1.02));
  box-shadow: 0 18px 30px rgba(79, 155, 255, 0.5);
}

.btn-no {
  background: rgba(255, 255, 255, 0.9);
  color: #295377;
  border: 1px dashed rgba(41, 83, 119, 0.4);
  transform: translate(var(--x, 0px), var(--y, 0px)) scale(var(--scale, 1));
}

.btn-no:active {
  transform: translate(var(--x, 0px), var(--y, 0px))
    scale(calc(var(--scale, 1) * 0.98));
}

.btn-no:hover,
.btn-no:focus-visible {
  transform: translate(var(--x, 0px), var(--y, 0px)) scale(var(--scale, 1));
}

.no-message {
  min-height: 1.4em;
  font-weight: 600;
  color: rgba(28, 43, 58, 0.7);
  letter-spacing: 0.02em;
}

.love-note {
  display: none;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 18px 20px;
  margin-top: 10px;
  box-shadow: 0 16px 30px rgba(18, 48, 74, 0.15);
  color: #12304a;
  line-height: 1.5;
}

.love-note.show {
  display: grid;
  gap: 8px;
  justify-items: center;
  animation: fadeInUp 0.5s ease;
}

.video-wrap {
  display: none;
  margin-top: 12px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 30px rgba(18, 48, 74, 0.15);
}

.video-wrap.show {
  display: grid;
  gap: 12px;
  animation: fadeInUp 0.5s ease;
}

.video-title {
  font-weight: 600;
  color: #12304a;
}

video {
  width: min(520px, 100%);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(12, 26, 43, 0.2);
}

.portrait-video {
  width: min(420px, 100%);
  max-height: 78vh;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #0b1017;
}

.note-heart {
  font-size: 1.6rem;
}

.revolve-text {
  font-family: "Dancing Script", "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: none;
  max-width: 48ch;
  margin: 0 auto;
  color: #0f2b4a;
  text-shadow:
    0 2px 6px rgba(255, 255, 255, 0.6),
    0 10px 18px rgba(12, 26, 43, 0.25);
  display: inline;
  white-space: normal;
  overflow: visible;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 75%);
  mask-image: linear-gradient(90deg, #000 0%, #000 60%, transparent 75%);
  -webkit-mask-size: 200% 100%;
  mask-size: 200% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  position: relative;
  animation:
    handwrite 3.6s ease forwards,
    loveGlow 6s ease-in-out infinite 3.6s;
}

.revolve-text::after {
  content: "";
  position: absolute;
  inset: -2px -10%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.85) 40%,
    rgba(255, 255, 255, 0.2) 60%,
    transparent 100%
  );
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-120%);
  animation: shimmerSweep 2.8s ease-in-out infinite 3.6s;
}

.flower-gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.flower-card {
  margin: 0;
  border-radius: 18px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(124, 183, 255, 0.3);
  box-shadow: 0 12px 24px rgba(12, 26, 43, 0.18);
  content-visibility: auto;
  contain-intrinsic-size: 220px 240px;
}

.flower-card img {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.flower-card picture {
  display: block;
}

.wish-box {
  display: grid;
  gap: 12px;
  text-align: left;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 183, 255, 0.35);
  box-shadow: 0 14px 28px rgba(12, 26, 43, 0.16);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.wish-label {
  font-weight: 600;
  color: rgba(18, 48, 74, 0.8);
}

.wish-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(18, 48, 74, 0.2);
  padding: 12px 14px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: #0f2b4a;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2px 8px rgba(12, 26, 43, 0.08);
  resize: vertical;
  min-height: 140px;
}

.wish-input:focus {
  outline: 2px solid rgba(124, 183, 255, 0.6);
  border-color: transparent;
}

.wish-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
}

.wish-box.fly {
  animation: wrapIntoLetter 1.2s ease forwards;
}

.wish-box.fly .wish-label,
.wish-box.fly .wish-input,
.wish-box.fly .btn {
  animation: fadeOutWish 0.4s ease forwards;
}

.wish-reveal {
  min-height: 2.6em;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f2b4a;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.8),
    0 10px 20px rgba(12, 26, 43, 0.35);
  opacity: 0;
  transform: perspective(600px) rotateX(18deg) translateY(10px);
}

.letter-fly {
  display: grid;
  place-items: center;
  min-height: 120px;
  opacity: 0;
  transform: translateY(16px);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.letter-fly.show {
  animation: letterLift 1.6s ease-out forwards;
}

.letter-envelope {
  position: relative;
  width: 140px;
  height: 90px;
  background: linear-gradient(140deg, #f7fbff, #cfe9ff);
  border-radius: 10px;
  border: 1px solid rgba(124, 183, 255, 0.4);
  box-shadow: 0 12px 24px rgba(12, 26, 43, 0.2);
  overflow: hidden;
}

.letter-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 60%;
  background: linear-gradient(160deg, #ffffff, #b8ddff);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top;
  animation: flapOpen 1.6s ease-out forwards;
}

.letter-paper {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 8%;
  height: 70%;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(124, 183, 255, 0.3);
  animation: paperRise 1.6s ease-out forwards;
}

.letter-fly.show .letter-flap,
.letter-fly.show .letter-paper {
  animation-play-state: running;
}

.letter-flap,
.letter-paper {
  animation-play-state: paused;
}

.wish-reveal.show {
  animation: wish3d 2.6s ease-out forwards, wishPulse 3.8s ease-in-out infinite 2.6s;
}

@keyframes wish3d {
  0% {
    opacity: 0;
    transform: perspective(600px) rotateX(18deg) translateY(12px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0) scale(1);
  }
}

@keyframes wishPulse {
  0%,
  100% {
    text-shadow:
      0 2px 0 rgba(255, 255, 255, 0.8),
      0 10px 20px rgba(12, 26, 43, 0.35);
  }
  50% {
    text-shadow:
      0 2px 0 rgba(255, 255, 255, 0.9),
      0 14px 26px rgba(124, 183, 255, 0.45);
  }
}

@keyframes letterLift {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.9);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(-30px) scale(1.05);
  }
}

@keyframes wrapIntoLetter {
  0% {
    transform: scale(1);
    opacity: 1;
    border-radius: 18px;
  }
  60% {
    transform: scale(0.9);
    opacity: 0.85;
    border-radius: 26px;
  }
  100% {
    transform: scale(0.6);
    opacity: 0;
    border-radius: 40px;
  }
}

@keyframes fadeOutWish {
  to {
    opacity: 0;
  }
}

@keyframes flapOpen {
  0% {
    transform: rotateX(0deg);
  }
  55% {
    transform: rotateX(-120deg);
  }
  100% {
    transform: rotateX(-140deg);
  }
}

@keyframes paperRise {
  0% {
    transform: translateY(20%);
  }
  100% {
    transform: translateY(-18%);
  }
}

.vintage-text {
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #12304a;
  text-shadow: 0 6px 16px rgba(12, 26, 43, 0.2);
  margin: 0 auto;
  max-width: 50ch;
}

.handwrite-text {
  position: relative;
  display: inline-block;
  white-space: normal;
  overflow: visible;
  letter-spacing: 0.02em;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 75%);
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 75%);
  -webkit-mask-size: 200% 100%;
  mask-size: 200% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: handwriteReveal 4.2s ease infinite;
}

@keyframes handwriteReveal {
  0% {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  70%,
  100% {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
  }
}

.footer {
  font-size: 0.9rem;
  color: rgba(18, 48, 74, 0.7);
}

.celebration {
  position: relative;
}

.card-celebration {
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.9), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(124, 183, 255, 0.35), transparent 55%),
    linear-gradient(160deg, rgba(247, 251, 255, 0.98), rgba(214, 234, 255, 0.92));
  box-shadow:
    0 26px 70px rgba(12, 26, 43, 0.28),
    inset 0 0 0 1px rgba(124, 183, 255, 0.35);
}

.card-celebration h1 {
  color: #0b2b4f;
  letter-spacing: 0.02em;
}

.celebration-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.badge {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f2b4a;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px rgba(12, 26, 43, 0.16);
  border: 1px solid rgba(124, 183, 255, 0.35);
}

.celebration-note {
  font-size: 1.05rem;
  color: rgba(18, 48, 74, 0.85);
}

.baby-page {
  position: relative;
}

.baby-card {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(124, 183, 255, 0.35), transparent 50%),
    linear-gradient(160deg, rgba(246, 243, 255, 0.98), rgba(210, 224, 255, 0.95));
  box-shadow:
    0 28px 70px rgba(12, 26, 43, 0.28),
    inset 0 0 0 1px rgba(124, 183, 255, 0.28);
}

.baby-card h1 {
  font-family: "Playfair Display", serif;
  color: #0b2b4f;
}

.baby-message {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  line-height: 1.8;
  color: rgba(12, 26, 43, 0.8);
  background: rgba(255, 255, 255, 0.7);
  padding: 18px 20px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(124, 183, 255, 0.25);
}

.baby-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(160, 205, 255, 0.2));
  top: -100px;
  left: -80px;
  filter: blur(4px);
  opacity: 0.9;
  animation: float 10s ease-in-out infinite;
}

.baby-orbit {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed rgba(124, 183, 255, 0.35);
  bottom: -60px;
  right: -20px;
  animation: orbit 16s linear infinite;
}

.thanks-page {
  position: relative;
}

.thanks-card {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(124, 183, 255, 0.35), transparent 50%),
    linear-gradient(160deg, rgba(246, 243, 255, 0.98), rgba(205, 226, 255, 0.95));
  box-shadow:
    0 28px 70px rgba(12, 26, 43, 0.28),
    inset 0 0 0 1px rgba(124, 183, 255, 0.28);
}

.thanks-title {
  font-family: "Playfair Display", serif;
  color: #0b2b4f;
  letter-spacing: 0.04em;
}

.thanks-message {
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  line-height: 1.8;
  color: rgba(12, 26, 43, 0.85);
  background: rgba(255, 255, 255, 0.75);
  padding: 20px 22px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(124, 183, 255, 0.25);
  transform: perspective(700px) rotateX(14deg) scale(0.96);
  opacity: 0;
  animation: thanksPop 2.4s ease-out forwards;
}

@keyframes thanksPop {
  0% {
    opacity: 0;
    transform: perspective(700px) rotateX(14deg) translateY(18px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: perspective(700px) rotateX(0deg) translateY(0) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: perspective(700px) rotateX(0deg) translateY(0) scale(1);
  }
}

@keyframes orbit {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.sparkle-layer {
  position: absolute;
  inset: -10% 0 0 0;
  pointer-events: none;
  background-image:
    radial-gradient(3px 3px at 15% 25%, rgba(255, 255, 255, 0.9) 40%, transparent 60%),
    radial-gradient(2px 2px at 40% 20%, rgba(255, 255, 255, 0.8) 40%, transparent 60%),
    radial-gradient(2.5px 2.5px at 70% 30%, rgba(255, 255, 255, 0.85) 40%, transparent 60%),
    radial-gradient(1.5px 1.5px at 85% 45%, rgba(255, 255, 255, 0.7) 40%, transparent 60%),
    radial-gradient(2px 2px at 20% 70%, rgba(255, 255, 255, 0.8) 40%, transparent 60%),
    radial-gradient(2.5px 2.5px at 65% 80%, rgba(255, 255, 255, 0.85) 40%, transparent 60%);
  opacity: 0.8;
  animation: shimmerDust 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes shimmerDust {
  0%,
  100% {
    opacity: 0.6;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(16px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes handwrite {
  0% {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
  }
  100% {
    -webkit-mask-position: 0% 0;
    mask-position: 0% 0;
  }
}

@keyframes loveGlow {
  0%,
  100% {
    filter: drop-shadow(0 6px 12px rgba(124, 183, 255, 0.2));
  }
  50% {
    filter: drop-shadow(0 10px 20px rgba(124, 183, 255, 0.45));
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-120%);
  }
  60%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes drift {
  0% {
    transform: translateX(-4%);
  }
  50% {
    transform: translateX(4%);
  }
  100% {
    transform: translateX(-4%);
  }
}

@media (max-width: 600px) {
  body::before,
  body::after,
  .aura,
  .sparkle-layer,
  .baby-glow,
  .baby-orbit {
    display: none;
  }

  .card {
    padding: 28px 18px 32px;
    gap: 16px;
    backdrop-filter: none;
    box-shadow: 0 12px 28px rgba(12, 26, 43, 0.18);
  }

  .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 16px 22px;
  }

  h1 {
    font-size: clamp(2.1rem, 8vw, 2.7rem);
  }

  .subtitle {
    font-size: 0.98rem;
  }

  .love-note,
  .video-wrap {
    padding: 16px;
  }

  video {
    width: 100%;
  }

  .portrait-video {
    width: min(360px, 100%);
    max-height: 68vh;
  }

  .flower-card img {
    height: 150px;
  }

  .flower-card {
    box-shadow: 0 8px 16px rgba(12, 26, 43, 0.12);
  }

  .revolve-text {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
  }

  .wish-box {
    padding: 14px;
  }

  .wish-input {
    min-height: 120px;
  }

  .wish-reveal {
    font-size: 1rem;
    letter-spacing: 0.05em;
  }

  .baby-message,
  .thanks-message {
    padding: 16px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .thanks-title {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .celebration-badges {
    gap: 8px;
  }

  .badge {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
}

@media (max-width: 1024px) {
  body::before,
  body::after,
  .aura,
  .sparkle-layer,
  .baby-glow,
  .baby-orbit,
  .card::after,
  .revolve-text::after {
    display: none !important;
  }

  .card,
  .card-celebration,
  .baby-card,
  .thanks-card {
    box-shadow: 0 10px 24px rgba(12, 26, 43, 0.15);
  }

  .wish-reveal.show,
  .handwrite-text,
  .thanks-message {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .handwrite-text,
  .revolve-text {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
