:root {
  --night: #07142f;
  --night-2: #101f48;
  --rose: #c99186;
  --champagne: #f2dfb0;
  --pearl: #fff8ef;
  --lilac: #d7c4ef;
  --gold: #e6c978;
  --ink: #19213c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pearl);
  background: radial-gradient(circle at 20% 10%, rgba(215, 196, 239, .2), transparent 30%), linear-gradient(140deg, #061029, #111b3f 45%, #2a1832);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

a { color: inherit; }
img, video { max-width: 100%; display: block; }
label { width: 100%; font-weight: 600; color: var(--ink); }
.plain-page { background: #081431; color: var(--pearl); }

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(201, 145, 134, .2), transparent 16%),
    radial-gradient(circle at 50% 94%, rgba(157, 64, 204, .46), transparent 29%),
    radial-gradient(circle at 82% 18%, rgba(246, 222, 164, .18), transparent 11%),
    linear-gradient(180deg, #050a2a 0%, #071a55 54%, #35135d 100%);
  transition: opacity .8s ease, visibility .8s ease;
}
.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(230, 201, 120, .16), transparent 28%);
  pointer-events: none;
}
.intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -82px;
  height: 235px;
  background:
    radial-gradient(ellipse at 8% 72%, rgba(25, 19, 78, .96) 0 16%, transparent 17%),
    radial-gradient(ellipse at 24% 62%, rgba(69, 43, 135, .9) 0 20%, transparent 21%),
    radial-gradient(ellipse at 43% 76%, rgba(93, 49, 154, .86) 0 18%, transparent 19%),
    radial-gradient(ellipse at 64% 68%, rgba(60, 36, 126, .9) 0 22%, transparent 23%),
    radial-gradient(ellipse at 83% 72%, rgba(30, 25, 90, .96) 0 20%, transparent 21%),
    radial-gradient(ellipse at 100% 62%, rgba(96, 55, 154, .82) 0 18%, transparent 19%);
  filter: drop-shadow(0 -18px 34px rgba(147, 88, 217, .38));
  pointer-events: none;
}
.intro.hide { opacity: 0; visibility: hidden; }
.intro-stars, .intro-stars::before, .intro-stars::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .96) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(242, 223, 176, .9) 0 1px, transparent 1.5px);
  background-position: 0 0, 42px 36px;
  background-size: 92px 92px, 138px 138px;
  opacity: .34;
  animation: drift 18s linear infinite;
}
.intro-stars::before { transform: scale(1.25); opacity: .14; animation-duration: 27s; background-size: 64px 64px, 126px 126px; }
.intro-stars::after { transform: scale(.75); opacity: .2; animation-duration: 12s; background-size: 46px 46px, 112px 112px; }
.intro-moon {
  position: absolute;
  top: clamp(48px, 9vh, 96px);
  right: clamp(44px, 11vw, 170px);
  width: clamp(92px, 11vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(166, 131, 88, .28) 0 9%, transparent 10%),
    radial-gradient(circle at 63% 55%, rgba(166, 131, 88, .22) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, #fff3c7 0 58%, #ead18e 75%, #b88f57 100%);
  box-shadow: 0 0 38px rgba(242, 223, 176, .82), 0 0 100px rgba(91, 125, 255, .5);
  opacity: .95;
}
.intro-clouds {
  position: absolute;
  bottom: 22px;
  width: 38vw;
  height: 150px;
  opacity: .84;
  pointer-events: none;
  z-index: 1;
}
.intro-clouds-left {
  left: -8vw;
  background:
    radial-gradient(ellipse at 12% 78%, rgba(35, 24, 94, .96) 0 21%, transparent 22%),
    radial-gradient(ellipse at 35% 66%, rgba(76, 48, 142, .88) 0 23%, transparent 24%),
    radial-gradient(ellipse at 62% 82%, rgba(23, 22, 84, .96) 0 23%, transparent 24%);
}
.intro-clouds-right {
  right: -8vw;
  background:
    radial-gradient(ellipse at 20% 82%, rgba(62, 38, 128, .9) 0 22%, transparent 23%),
    radial-gradient(ellipse at 48% 66%, rgba(86, 54, 152, .82) 0 25%, transparent 26%),
    radial-gradient(ellipse at 86% 78%, rgba(26, 23, 86, .95) 0 24%, transparent 25%);
}
.intro-panel { position: relative; z-index: 2; text-align: center; padding: 32px; width: min(650px, 92vw); transform: translateY(18px); }
.intro-panel h1, .hero h1, .section-title h2, .section-title h1, .insta-row h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  letter-spacing: 0;
}
.intro-panel h1 {
  font-size: clamp(72px, 12vw, 138px);
  line-height: .82;
  color: #fff0c4;
  margin: 18px 0 30px;
  text-shadow: 0 0 36px rgba(230, 201, 120, .18), 0 16px 45px rgba(0, 0, 0, .3);
}
.intro-panel p { text-transform: uppercase; letter-spacing: .22em; font-size: 13px; color: #d9c4ee; font-weight: 700; }
.glass-nav {
  background: rgba(7, 20, 47, .72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(242, 223, 176, .18);
}
.navbar-brand { color: var(--champagne); font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; }
.navbar-brand:hover, .nav-link, .nav-link:hover { color: var(--pearl); }
.navbar-toggler { border-color: rgba(255, 248, 239, .35); }
.navbar-toggler-icon { filter: invert(1); }

.section-full { min-height: 100vh; }
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 112px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 17%, rgba(246, 222, 164, .22), transparent 12%),
    radial-gradient(circle at 50% 92%, rgba(157, 64, 204, .38), transparent 26%),
    linear-gradient(180deg, #050a2a 0%, #071c58 52%, #37145f 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(242, 223, 176, .85) 0 1px, transparent 1.5px);
  background-position: 0 0, 42px 36px;
  background-size: 92px 92px, 138px 138px;
  opacity: .32;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -78px;
  height: 230px;
  background:
    radial-gradient(ellipse at 9% 72%, rgba(25, 19, 78, .96) 0 16%, transparent 17%),
    radial-gradient(ellipse at 24% 64%, rgba(55, 34, 118, .94) 0 19%, transparent 20%),
    radial-gradient(ellipse at 43% 76%, rgba(85, 47, 144, .9) 0 18%, transparent 19%),
    radial-gradient(ellipse at 64% 66%, rgba(55, 34, 118, .93) 0 22%, transparent 23%),
    radial-gradient(ellipse at 83% 72%, rgba(30, 25, 90, .96) 0 20%, transparent 21%),
    radial-gradient(ellipse at 100% 63%, rgba(88, 50, 143, .82) 0 17%, transparent 18%);
  filter: drop-shadow(0 -18px 32px rgba(147, 88, 217, .34));
  pointer-events: none;
}
#starsCanvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .75; }
.hero-moon {
  position: absolute;
  top: 88px;
  right: clamp(28px, 4.5vw, 76px);
  width: clamp(96px, 10vw, 138px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(166, 131, 88, .3) 0 9%, transparent 10%),
    radial-gradient(circle at 63% 55%, rgba(166, 131, 88, .24) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, #fff3c7 0 58%, #ead18e 75%, #b88f57 100%);
  box-shadow: 0 0 34px rgba(242, 223, 176, .78), 0 0 90px rgba(91, 125, 255, .48);
  z-index: 1;
}
.hero-clouds {
  position: absolute;
  bottom: 28px;
  width: 34vw;
  height: 150px;
  opacity: .82;
  pointer-events: none;
  z-index: 1;
}
.hero-clouds-left {
  left: -7vw;
  background:
    radial-gradient(ellipse at 12% 78%, rgba(35, 24, 94, .96) 0 21%, transparent 22%),
    radial-gradient(ellipse at 35% 66%, rgba(76, 48, 142, .88) 0 23%, transparent 24%),
    radial-gradient(ellipse at 62% 82%, rgba(23, 22, 84, .96) 0 23%, transparent 24%);
}
.hero-clouds-right {
  right: -6vw;
  background:
    radial-gradient(ellipse at 20% 82%, rgba(62, 38, 128, .9) 0 22%, transparent 23%),
    radial-gradient(ellipse at 48% 66%, rgba(86, 54, 152, .82) 0 25%, transparent 26%),
    radial-gradient(ellipse at 86% 78%, rgba(26, 23, 86, .95) 0 24%, transparent 25%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 470px) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 108px);
  align-items: center;
  z-index: 2;
}
.eyebrow, .section-title span {
  color: var(--champagne);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 700;
}
.soft-band .section-title span, .soft-band .eyebrow {
  color: var(--night);
}
.hero-copy {
  max-width: 650px;
  text-align: center;
  justify-self: center;
  padding-top: 60px;
}
.hero h1 {
  font-size: clamp(74px, 11vw, 138px);
  line-height: .82;
  margin: 12px 0 4px;
  color: #fff7e5;
  text-shadow: 0 12px 42px rgba(0, 0, 0, .28);
}
.hero-script {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: var(--rose);
  text-shadow: 0 0 24px rgba(242, 223, 176, .22);
}
.hero-divider {
  display: block;
  width: min(270px, 70%);
  height: 18px;
  margin: 18px auto 20px;
  background:
    linear-gradient(90deg, transparent, rgba(242, 223, 176, .8), transparent) center / 100% 1px no-repeat,
    radial-gradient(circle, var(--champagne) 0 4px, transparent 5px) center / 18px 18px no-repeat;
}
.lead { font-size: clamp(17px, 1.7vw, 22px); color: #f8e9da; max-width: 600px; margin-inline: auto; }
.date { color: var(--champagne); font-weight: 700; margin-bottom: 28px; letter-spacing: .08em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--champagne), var(--gold)); color: #261d17; border: 0; box-shadow: 0 14px 35px rgba(230, 201, 120, .25); }
.btn-ghost, .btn-link-light {
  border: 1px solid rgba(255, 248, 239, .35);
  color: var(--pearl);
  background: rgba(255, 255, 255, .06);
}
.btn-small { padding: 9px 15px; background: var(--night); color: var(--pearl); border: 0; }
.hero-portrait {
  position: relative;
  width: min(430px, 100%);
  justify-self: center;
  padding: 34px 26px 24px;
}
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5.25;
  padding: 9px;
  border: 2px solid rgba(230, 201, 120, .88);
  border-radius: 48% 48% 8px 8px / 32% 32% 8px 8px;
  background: linear-gradient(180deg, rgba(242, 223, 176, .16), rgba(201, 145, 134, .08));
  box-shadow: inset 0 0 0 1px rgba(242, 223, 176, .45), 0 28px 70px rgba(0, 0, 0, .3);
}
.portrait-frame::before,
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 145, 134, .74);
  border-radius: inherit;
  pointer-events: none;
}
.portrait-frame::after {
  inset: -12px;
  border-color: rgba(230, 201, 120, .52);
  box-shadow: 0 0 32px rgba(230, 201, 120, .2);
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 46% 46% 5px 5px / 30% 30% 5px 5px;
  filter: none;
}
.portrait-crown {
  position: absolute;
  left: 50%;
  top: 0;
  width: 150px;
  height: 58px;
  transform: translateX(-50%);
  z-index: 3;
  background:
    radial-gradient(circle at 50% 10%, transparent 0 10px, rgba(230, 201, 120, .9) 11px 13px, transparent 14px),
    radial-gradient(circle at 26% 54%, transparent 0 13px, rgba(230, 201, 120, .9) 14px 16px, transparent 17px),
    radial-gradient(circle at 74% 54%, transparent 0 13px, rgba(230, 201, 120, .9) 14px 16px, transparent 17px),
    linear-gradient(135deg, transparent 35%, rgba(230, 201, 120, .92) 36% 38%, transparent 39%) left 38px top 16px / 42px 42px no-repeat,
    linear-gradient(45deg, transparent 35%, rgba(230, 201, 120, .92) 36% 38%, transparent 39%) right 38px top 16px / 42px 42px no-repeat;
}
.portrait-crown::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 24px;
  border-top: 2px solid rgba(230, 201, 120, .95);
  border-radius: 50% 50% 0 0;
  box-shadow: 0 -10px 0 -8px rgba(242, 223, 176, .8);
}
.spark-trail {
  position: absolute;
  left: -22px;
  bottom: 72px;
  width: 126%;
  height: 46%;
  border-bottom: 2px solid rgba(230, 201, 120, .55);
  border-radius: 50%;
  transform: rotate(-21deg);
  filter: drop-shadow(0 0 8px rgba(230, 201, 120, .72));
  pointer-events: none;
}
.spark-trail::before,
.spark-trail::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 16px 6px rgba(230, 201, 120, .42);
}
.spark-trail::before { left: 20%; bottom: -4px; }
.spark-trail::after { right: 8%; bottom: -4px; }

.countdown-band {
  padding: 36px 0;
  background: linear-gradient(90deg, rgba(201, 145, 134, .25), rgba(230, 201, 120, .18));
  border-top: 1px solid rgba(242, 223, 176, .18);
  border-bottom: 1px solid rgba(242, 223, 176, .18);
}
.countdown-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.countdown-band p { margin: 0; color: #fff; font-size: 18px; }
.countdown { display: grid; grid-template-columns: repeat(4, 96px); gap: 12px; }
.countdown div, .music-player, .form-shell, .message-grid article, .gift-card, .info-grid article {
  border: 1px solid rgba(242, 223, 176, .22);
  background: rgba(255, 248, 239, .08);
  backdrop-filter: blur(16px);
  border-radius: 8px;
}
.countdown div { text-align: center; padding: 14px 8px; }
.countdown strong { display: block; color: var(--champagne); font-size: 32px; }
.countdown span { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.section-pad { padding: 88px 0; }
.section-pad:not(.soft-band) {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, .78) 0 1.8px, transparent 2.8px),
    radial-gradient(circle at 22% 58%, rgba(255, 255, 255, .58) 0 1.4px, transparent 2.5px),
    radial-gradient(circle at 38% 24%, rgba(242, 223, 176, .68) 0 1.6px, transparent 2.7px),
    radial-gradient(circle at 54% 70%, rgba(255, 255, 255, .72) 0 1.7px, transparent 2.8px),
    radial-gradient(circle at 72% 18%, rgba(215, 196, 239, .68) 0 1.5px, transparent 2.6px),
    radial-gradient(circle at 88% 50%, rgba(255, 255, 255, .66) 0 1.7px, transparent 2.8px),
    radial-gradient(circle at 50% 100%, rgba(137, 61, 194, .76), transparent 36%),
    radial-gradient(circle at 18% 20%, rgba(79, 126, 255, .22), transparent 25%),
    linear-gradient(180deg, #040a35 0%, #151b61 54%, #482181 100%);
}
.section-pad:not(.soft-band)::before {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 1.5px, transparent 2.4px),
    radial-gradient(circle, rgba(242, 223, 176, .9) 0 1.2px, transparent 2.2px),
    radial-gradient(circle, rgba(215, 196, 239, .74) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, .62) 0 2.3px, transparent 3.2px);
  background-position: 0 0, 48px 36px, 18px 76px, 92px 24px;
  background-size: 105px 105px, 154px 154px, 205px 205px, 280px 280px;
  opacity: .72;
  animation: sectionStarDrift 55s linear infinite;
}
.section-pad:not(.soft-band)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -96px;
  height: 210px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 78%, rgba(25, 19, 78, .86) 0 16%, transparent 17%),
    radial-gradient(ellipse at 25% 72%, rgba(69, 43, 135, .68) 0 20%, transparent 21%),
    radial-gradient(ellipse at 48% 86%, rgba(93, 49, 154, .58) 0 18%, transparent 19%),
    radial-gradient(ellipse at 72% 74%, rgba(60, 36, 126, .68) 0 22%, transparent 23%),
    radial-gradient(ellipse at 94% 80%, rgba(96, 55, 154, .62) 0 18%, transparent 19%);
  filter: drop-shadow(0 -18px 34px rgba(147, 88, 217, .38));
  opacity: .72;
}
.section-pad:not(.soft-band) > .container {
  position: relative;
  z-index: 2;
}
.soft-band { background: rgba(255, 248, 239, .92); color: var(--ink); }
.narrow { max-width: 920px; }
.section-title { margin-bottom: 32px; }
.section-title h2, .section-title h1, .insta-row h2 { font-size: clamp(42px, 6vw, 72px); margin: 8px 0; }
.section-title p { color: rgba(25, 33, 60, .74); }

.music-player { display: flex; align-items: center; gap: 22px; padding: 24px; }
.play-button {
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--night);
  font-weight: 900;
}
.wave { display: flex; gap: 5px; height: 34px; align-items: end; }
.wave i { width: 8px; background: var(--rose); border-radius: 999px; animation: pulse 1s ease-in-out infinite; }
.wave i:nth-child(2) { height: 28px; animation-delay: .1s; }
.wave i:nth-child(3) { height: 18px; animation-delay: .2s; }
.wave i:nth-child(4) { height: 32px; animation-delay: .3s; }
.wave i:nth-child(5) { height: 22px; animation-delay: .4s; }

.info-grid, .card-grid, .message-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.info-grid article, .gift-card { padding: 24px; color: var(--ink); background: #fffaf2; }
.info-grid b, .gift-card span { color: var(--rose); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.note { margin-top: 26px; color: rgba(25, 33, 60, .74); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gift-card h3 { margin-top: 12px; font-size: 24px; }
.gift-card.chosen { opacity: .65; }
.gift-card small { display: block; margin-top: 12px; color: rgba(25, 33, 60, .65); }
.gift-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.gift-pagination button {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 248, 239, .32);
  border-radius: 999px;
  background: rgba(255, 248, 239, .08);
  color: var(--pearl);
  font-weight: 800;
}
.gift-pagination button.active {
  background: var(--champagne);
  color: var(--night);
}
.gift-choice { margin-top: 16px; }
.gift-choice summary {
  display: inline-flex;
  cursor: pointer;
  list-style: none;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--night);
  color: var(--pearl);
  font-weight: 800;
}
.gift-choice summary::-webkit-details-marker { display: none; }
.gift-choice-form { display: grid; gap: 10px; margin-top: 12px; }
.gift-choice-form .form-control { padding: 10px 12px; }
.gift-choice-form .btn-small { width: fit-content; }
.gift-delivery-note {
  max-width: 760px;
  margin: -8px 0 28px;
  padding: 18px 20px;
  border: 1px solid rgba(230, 201, 120, .38);
  border-radius: 8px;
  background: rgba(255, 250, 242, .72);
  color: var(--ink);
}
.gift-delivery-note b { display: block; margin-bottom: 8px; color: var(--rose); }
.gift-delivery-note p { margin: 0; }
.gift-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  border: 1px solid rgba(25, 33, 60, .08);
}

.form-shell { padding: 28px; background: #fffaf2; color: var(--ink); }
.form-control, .form-select { border-radius: 8px; border-color: rgba(25, 33, 60, .18); padding: 12px; }
.form-message { margin: 14px 0 0; font-weight: 700; color: var(--rose); }
.guest-search {
  position: relative;
}
.guest-search .form-control {
  padding-right: 54px;
}
.guest-search-button {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--night);
  transform: translateY(-50%);
}
.guest-search-button::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 9px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--champagne);
  border-radius: 50%;
}
.guest-search-button::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 22px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: var(--champagne);
  transform: rotate(45deg);
  transform-origin: left center;
}
.guest-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: 260px;
  overflow: auto;
  border: 1px solid rgba(25, 33, 60, .16);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 18px 42px rgba(25, 33, 60, .16);
}
.guest-results.open {
  display: block;
}
.guest-result {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
}
.guest-result:hover,
.guest-result:focus {
  background: rgba(230, 201, 120, .22);
  outline: none;
}
.guest-result-empty {
  padding: 12px 14px;
  color: rgba(25, 33, 60, .68);
}
.child-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}
.child-names-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.filters { display: flex; gap: 10px; margin-bottom: 22px; }
.filters button {
  border: 1px solid rgba(255, 248, 239, .28);
  background: rgba(255, 248, 239, .08);
  color: var(--pearl);
  border-radius: 999px;
  padding: 9px 18px;
}
.filters .active { background: var(--champagne); color: var(--night); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.media-card {
  position: relative;
  min-height: 240px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(7, 20, 47, .74);
  border: 1px solid rgba(242, 223, 176, .18);
}
.media-card img, .media-card video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.media-card video {
  background: #07142f;
  object-fit: contain;
}
.video-open {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(242, 223, 176, .94);
  color: var(--night);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.video-open.is-hidden {
  display: none;
}
.media-card span { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; background: rgba(7, 20, 47, .72); border-radius: 999px; }

.mini-form { display: grid; grid-template-columns: 1fr 2fr auto; gap: 12px; margin-bottom: 28px; }
.message-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.message-grid article { padding: 22px; color: var(--pearl); }
.message-grid .featured { border-color: var(--champagne); box-shadow: 0 18px 50px rgba(230, 201, 120, .16); }

.quiz-question { margin: 22px 0; padding: 18px; border: 1px solid rgba(25, 33, 60, .14); border-radius: 8px; }
.quiz-question legend { font-weight: 800; font-size: 18px; }
.quiz-question label { display: block; margin: 8px 0; font-weight: 500; }
.quiz-option { border-radius: 8px; padding: 8px 10px; transition: background .2s ease, color .2s ease; }
.quiz-option.is-correct { background: #e7f8ed; color: #176336; }
.quiz-option.is-wrong { background: #ffe9e6; color: #9d2d20; }
.ranking { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ranking span { padding: 8px 12px; border-radius: 999px; background: rgba(7, 20, 47, .08); color: var(--ink); }
.insta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.welcome-audio, .whatsapp {
  position: fixed;
  right: 18px;
  z-index: 10;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}
.floating-visible .welcome-audio,
.floating-visible .whatsapp {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.welcome-audio { bottom: 78px; border: 1px solid rgba(255,255,255,.25); color: var(--pearl); background: rgba(7,20,47,.78); }
.whatsapp { bottom: 18px; background: #d8b86b; color: #18110c; }

@keyframes drift { to { transform: translate3d(-80px, 80px, 0); } }
@keyframes sectionStarDrift { to { transform: translate3d(-90px, 80px, 0); } }
@keyframes pulse { 0%, 100% { height: 12px; } 50% { height: 34px; } }

@media (max-width: 991px) {
  .intro-moon { top: 58px; right: 28px; width: 98px; opacity: .74; }
  .intro-clouds { width: 56vw; height: 132px; bottom: 8px; }
  .intro-panel { transform: translateY(0); }
  .hero {
    padding-top: 104px;
  }
  .hero-grid { grid-template-columns: 1fr; padding-top: 24px; gap: 22px; }
  .hero-copy { padding-top: 12px; }
  .hero-portrait { max-width: 430px; margin: 0 auto; }
  .hero-moon { top: 86px; right: 20px; width: 92px; opacity: .66; }
  .countdown-band .container, .insta-row { align-items: flex-start; flex-direction: column; }
  .info-grid, .card-grid, .gallery-grid, .message-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-form { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section-pad { padding: 64px 0; }
  .intro-panel { padding: 24px 16px; }
  .intro-panel h1 { font-size: clamp(68px, 22vw, 92px); }
  .intro-panel p { font-size: 11px; letter-spacing: .16em; }
  .intro-moon { width: 72px; top: 38px; right: 18px; }
  .intro-clouds { width: 70vw; height: 112px; }
  .hero { min-height: auto; padding: 92px 0 52px; }
  .hero::after { height: 180px; bottom: -70px; }
  .hero-moon { width: 72px; top: 82px; right: 14px; }
  .hero-clouds { width: 58vw; height: 120px; bottom: 8px; }
  .hero-portrait { width: min(330px, 94vw); padding: 28px 18px 18px; }
  .portrait-crown { width: 120px; height: 48px; }
  .spark-trail { left: -10px; width: 108%; bottom: 54px; }
  .hero h1 { font-size: clamp(62px, 18vw, 86px); }
  .hero-script { font-size: clamp(32px, 10vw, 48px); }
  .section-title h2,
  .section-title h1,
  .insta-row h2 {
    font-size: clamp(40px, 13vw, 56px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }
  .lead { font-size: 16px; }
  .hero-actions, .music-player { align-items: stretch; flex-direction: column; }
  .countdown { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .info-grid, .card-grid, .gallery-grid, .message-grid { grid-template-columns: 1fr; }
  .child-names-grid { grid-template-columns: 1fr; }
  .welcome-audio, .whatsapp { left: 14px; right: 14px; text-align: center; }
}
