:root {
  --night: #0b1522;
  --night-soft: #101d2b;
  --gold: #b88a3a;
  --gold-light: #d6b168;
  --text: #c19648;
  --muted: rgba(214, 177, 104, 0.76);
  --white: #fff8e8;
  --line: rgba(184, 138, 58, 0.42);
  --field: rgba(9, 18, 30, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--night);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.45;
}

body::before,
body::after,
.sky__layer,
.sky__mist {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -5;
  content: "";
  background:
    radial-gradient(circle at 50% -10%, rgba(45, 65, 88, 0.55), transparent 42%),
    linear-gradient(180deg, #0a1320 0%, #101d2b 48%, #0b1522 100%);
}

body::after {
  z-index: -2;
  content: "";
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.36) 0 1px, transparent 1.8px);
  background-position:
    0 0,
    42px 78px;
  background-size:
    86px 86px,
    142px 142px;
  animation: snowfall 34s linear infinite;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
}

.sky__layer--one {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.3) 0 1px, transparent 2px);
  background-position:
    20px 10px,
    64px 40px;
  background-size:
    120px 120px,
    210px 210px;
  opacity: 0.38;
  animation: snowfall 52s linear infinite;
}

.sky__layer--two {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 1px, transparent 2px);
  background-position:
    12px 84px,
    96px 12px;
  background-size:
    170px 170px,
    260px 260px;
  opacity: 0.42;
  animation: snowfall 76s linear infinite reverse;
}

.sky__mist {
  z-index: -3;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(ellipse at 78% 50%, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.06) 43%, transparent 48%);
  opacity: 0.9;
}

.shooting-stars {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shooting-stars i {
  position: absolute;
  top: var(--top, 18%);
  left: var(--left, 70%);
  width: 150px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 248, 232, 0.95), transparent);
  filter: drop-shadow(0 0 8px rgba(255, 248, 232, 0.8));
  opacity: 0;
  transform: rotate(-28deg) translateX(0);
  animation: shooting-star 7s linear infinite;
  animation-delay: var(--delay, 0s);
}

.shooting-stars i::after {
  position: absolute;
  top: -2px;
  right: 36px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--white);
  box-shadow: 0 0 14px var(--white);
}

.shooting-stars i:nth-child(1) { --top: 12%; --left: 64%; --delay: 0.4s; }
.shooting-stars i:nth-child(2) { --top: 34%; --left: 82%; --delay: 2.8s; width: 110px; }
.shooting-stars i:nth-child(3) { --top: 58%; --left: 56%; --delay: 5.2s; width: 180px; }
.shooting-stars i:nth-child(4) { --top: 78%; --left: 88%; --delay: 8.6s; width: 120px; }

.sky-constellation,
.zodiac,
.crane {
  position: fixed;
  z-index: -1;
  overflow: visible;
  color: var(--gold-light);
  pointer-events: none;
  opacity: 0.24;
}

.sky-constellation path,
.sky-constellation circle,
.zodiac path,
.zodiac circle,
.crane path,
.constellation path,
.constellation circle,
.celestial path,
.celestial circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.sky-constellation circle,
.zodiac circle,
.constellation circle {
  fill: var(--white);
  stroke: var(--gold-light);
  filter: drop-shadow(0 0 9px rgba(255, 248, 232, 0.72));
}

.sky-constellation--left {
  left: 5vw;
  top: 58vh;
  width: min(280px, 34vw);
}

.sky-constellation--right {
  right: 5vw;
  top: 18vh;
  width: min(260px, 30vw);
}

.zodiac--gemini {
  right: 6vw;
  top: 42vh;
  width: min(250px, 30vw);
}

.zodiac--aquarius {
  left: 6vw;
  top: 76vh;
  width: min(290px, 34vw);
}

.crane {
  width: clamp(78px, 11vw, 142px);
  opacity: 0.28;
  filter: drop-shadow(0 0 10px rgba(214, 177, 104, 0.16));
}

.crane path {
  stroke-width: 1.45;
}

.crane--one {
  left: 2vw;
  top: 16vh;
  transform: rotate(-10deg);
}

.crane--two {
  left: 5vw;
  top: 44vh;
  transform: scale(0.82) rotate(12deg);
}

.crane--three {
  left: 2vw;
  top: 72vh;
  transform: scale(1.08) rotate(-4deg);
}

.crane--four {
  right: 3vw;
  top: 20vh;
  transform: scaleX(-1) rotate(8deg);
}

.crane--five {
  right: 5vw;
  top: 48vh;
  transform: scaleX(-1) scale(0.86) rotate(-12deg);
}

.crane--six {
  right: 2vw;
  top: 76vh;
  transform: scaleX(-1) scale(1.05) rotate(5deg);
}

.crane--seven {
  left: 50%;
  top: 88vh;
  width: clamp(66px, 9vw, 116px);
  transform: translateX(-50%) rotate(3deg);
  opacity: 0.2;
}

.pulsar {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(360px, 42vw);
  overflow: visible;
  color: var(--gold-light);
  opacity: 0.18;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-8deg);
  filter: drop-shadow(0 0 18px rgba(214, 177, 104, 0.38));
}

.pulsar path,
.pulsar circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.pulsar__core {
  fill: var(--white);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulsar-core 2.8s ease-in-out infinite;
}

.pulsar__ring {
  stroke-width: 1.1;
  stroke-dasharray: 3 12;
  animation: pulsar-ring 4.8s linear infinite;
  transform-origin: center;
}

.pulsar__ring--two {
  animation-duration: 7.2s;
  opacity: 0.7;
}

.pulsar__beam {
  stroke-width: 1.4;
  stroke-dasharray: 42 18;
  opacity: 0.72;
  animation: pulsar-beam 3.6s ease-in-out infinite;
}

.pulsar__beam--three,
.pulsar__beam--four {
  opacity: 0.35;
  animation-delay: 1.4s;
}

.pulsar__spark {
  stroke-width: 1;
  opacity: 0.52;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.contact-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.9;
  text-transform: uppercase;
}

h1 {
  margin: 28px 0 26px;
  font-size: clamp(46px, 8vw, 82px);
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(54px, 8.5vw, 92px);
}

.section {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  padding: clamp(38px, 5.5vw, 72px) 20px;
}

.section__inner {
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.section__inner--center {
  width: min(620px, 100%);
  text-align: center;
}

.section__inner--form {
  width: min(620px, 100%);
  margin: 0 auto;
  text-align: center;
}

.kicker,
.lead,
.timeline p,
.form label,
.form legend,
.footer p {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker {
  margin-bottom: 26px;
}

.lead {
  width: min(380px, 100%);
  margin: 0 auto 48px;
}

.lead--small {
  margin-bottom: 30px;
}

.rule {
  display: block;
  width: 1px;
  height: 84px;
  margin: 0 auto 36px;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 28px;
  color: var(--gold-light);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  border-color: var(--gold-light);
  box-shadow: 0 0 22px rgba(214, 177, 104, 0.18);
  transform: translateY(-2px);
}

.is-disabled {
  cursor: default;
  opacity: 0.58;
  pointer-events: none;
}

.nav {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 4;
  display: flex;
  width: min(760px, calc(100% - 28px));
  max-width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 4vw, 42px);
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
}

.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(184, 138, 58, 0.45);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--gold-light);
  background: rgba(9, 18, 30, 0.78);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.music-toggle__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-light);
}

.music-toggle.is-playing .music-toggle__dot {
  animation: pulse 1.6s infinite;
}

.hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding-top: 96px;
  text-align: center;
}

.hero__inner {
  position: relative;
  width: min(620px, 100%);
  max-width: 100%;
  margin: 0 auto;
}

.hero__photo {
  width: min(330px, 72vw);
  height: min(410px, 88vw);
  margin: 0 auto;
}

.hero__intro {
  width: min(430px, 100%);
  margin: -8px auto 36px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-slot {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(184, 138, 58, 0.34);
  color: rgba(214, 177, 104, 0.58);
  background:
    linear-gradient(135deg, rgba(184, 138, 58, 0.13), transparent),
    repeating-linear-gradient(45deg, rgba(255, 248, 232, 0.1) 0 1px, transparent 1px 16px),
    rgba(5, 11, 20, 0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.photo-slot img,
.footer__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-slot img {
  object-position: center;
  filter: saturate(0.86) contrast(1.04) brightness(0.86);
}

.hero__text {
  width: min(300px, 100%);
  margin: 0 auto 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-link {
  display: inline-grid;
  width: 56px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}

.symbol,
.celestial,
.constellation {
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(214, 177, 104, 0.3);
}

.celestial {
  position: absolute;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(214, 177, 104, 0.22));
}

.celestial--sun {
  top: 318px;
  left: -132px;
  width: clamp(128px, 18vw, 190px);
}

.celestial--sun circle:first-child {
  stroke-dasharray: 3 8;
}

.celestial--sun .sketch {
  opacity: 0.72;
}

.celestial--hand {
  top: 34px;
  right: -168px;
  width: clamp(126px, 17vw, 190px);
}

.celestial--hand .spark {
  fill: rgba(214, 177, 104, 0.12);
}

.celestial--eclipse {
  position: relative;
  display: block;
  width: 170px;
  margin: 42px auto 0;
}

.celestial--eclipse circle:nth-child(2) {
  fill: rgba(11, 21, 34, 0.62);
}

.celestial--eclipse path {
  opacity: 0.52;
}

.celestial--crescent {
  position: relative;
  display: block;
  width: 106px;
  margin: -18px auto 30px;
}

.celestial--crescent path:first-child {
  fill: rgba(214, 177, 104, 0.12);
}

.celestial--cupid {
  position: relative;
  display: block;
  width: min(240px, 58vw);
  margin: -18px auto 18px;
}

.celestial--eye {
  position: relative;
  display: block;
  width: min(220px, 58vw);
  margin: 22px auto 48px;
}

.celestial--eye circle:nth-of-type(1) {
  fill: rgba(214, 177, 104, 0.11);
}

.celestial--timer-moon {
  position: relative;
  display: block;
  width: 96px;
  margin: 0 auto 30px;
}

.celestial--timer-moon path {
  fill: rgba(214, 177, 104, 0.12);
}

.celestial--timer-moon circle {
  fill: var(--gold-light);
  filter: drop-shadow(0 0 8px rgba(214, 177, 104, 0.7));
}

.constellation {
  position: absolute;
  pointer-events: none;
}

.constellation--hero {
  right: 8%;
  bottom: 8%;
  width: 260px;
  opacity: 0.82;
}

.date-stack {
  display: grid;
  gap: 18px;
  justify-items: center;
  margin: 28px 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(58px, 9vw, 82px);
  line-height: 0.8;
}

.date-stack b {
  width: 1px;
  height: 24px;
  background: var(--gold);
}

.month {
  margin-bottom: 30px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 600;
  text-transform: uppercase;
}

.calendar {
  display: grid;
  width: min(330px, 100%);
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 12px;
  margin: 0 auto;
  font-size: 13px;
  text-align: center;
}

.calendar span {
  color: rgba(214, 177, 104, 0.58);
  font-weight: 700;
}

.calendar em {
  position: relative;
  min-height: 18px;
  font-style: normal;
}

.calendar .is-selected {
  color: var(--night);
  font-weight: 800;
}

.calendar .is-selected::before {
  position: absolute;
  inset: -5px 0 auto 50%;
  z-index: -1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  content: "";
  background: var(--gold-light);
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(214, 177, 104, 0.46);
}

.moon-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
  color: var(--gold-light);
  font-size: 28px;
}

.place__photo {
  width: min(640px, 92vw);
  height: min(440px, 62vw);
  margin: 0 auto 32px;
  overflow: hidden;
  border: 1px solid rgba(184, 138, 58, 0.42);
  background: rgba(5, 11, 20, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 248, 232, 0.04) inset,
    0 26px 70px rgba(0, 0, 0, 0.22);
}

.place__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.86);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 5vw, 64px);
  text-align: center;
}

.timeline article {
  min-width: 0;
}

.timeline time {
  display: block;
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 58px);
  line-height: 1;
}

.timeline p {
  margin-bottom: 0;
}

.palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(620px, 100%);
  margin: -4px auto 42px;
}

.palette span {
  width: clamp(34px, 6vw, 52px);
  height: clamp(34px, 6vw, 52px);
  border: 1px solid rgba(214, 177, 104, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 42%),
    var(--swatch);
  box-shadow:
    0 0 0 1px rgba(5, 11, 20, 0.34) inset,
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.dress-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 34px);
  width: min(840px, 100%);
  margin: 0 auto;
}

.dress-examples figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 138, 58, 0.4);
  background: rgba(5, 11, 20, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 248, 232, 0.04) inset,
    0 24px 68px rgba(0, 0, 0, 0.24);
}

.dress-examples__wide {
  grid-column: 1 / -1;
}

.dress-examples img {
  display: block;
  width: 100%;
  height: min(430px, 52vw);
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.03) brightness(0.82);
}

.dress-examples__wide img {
  height: auto;
}

.lottery-rule {
  position: relative;
  width: min(620px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(184, 138, 58, 0.44);
  padding: clamp(28px, 5vw, 48px) clamp(22px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(184, 138, 58, 0.12), transparent 48%),
    rgba(5, 11, 20, 0.52);
  box-shadow:
    0 0 0 1px rgba(255, 248, 232, 0.04) inset,
    0 28px 80px rgba(0, 0, 0, 0.22);
}

.lottery-rule::before,
.lottery-rule::after {
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(184, 138, 58, 0.44);
  border-radius: 50%;
  content: "";
  background: var(--night);
  transform: translateY(-50%);
}

.lottery-rule::before {
  left: -15px;
}

.lottery-rule::after {
  right: -15px;
}

.lottery-rule .kicker {
  margin-bottom: 18px;
  color: var(--gold-light);
}

.lottery-rule h2 {
  max-width: 100%;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 8vw, 64px);
  line-height: 0.96;
  text-transform: uppercase;
}

.lottery-rule p {
  margin: 0 auto 18px;
  color: var(--gold-light);
  font-size: clamp(16px, 3.2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.55;
  text-transform: uppercase;
}

.lottery-rule__ratio {
  width: fit-content;
  max-width: 100%;
  border-top: 1px solid rgba(184, 138, 58, 0.34);
  border-bottom: 1px solid rgba(184, 138, 58, 0.34);
  padding: 12px 0;
}

.lottery-rule span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timer {
  display: grid;
  width: min(420px, 100%);
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 auto 72px;
}

.timer strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 7vw, 62px);
  line-height: 1;
}

.timer span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.constellation--heart {
  position: relative;
  width: min(720px, 100%);
  height: auto;
  margin: 0 auto;
  opacity: 0.78;
}

.contact-name {
  margin: 34px 0 28px;
  font-size: clamp(38px, 6vw, 58px);
}

.contact-name span {
  font-size: 0.72em;
  white-space: nowrap;
}

.form {
  display: grid;
  gap: 24px;
  width: min(520px, 100%);
  margin: 34px auto 0;
  text-align: left;
}

.form label,
.form fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  border: 0;
  padding: 0;
}

.form > label,
.check-list {
  padding-inline: clamp(0px, 3vw, 18px);
}

.form input[type="text"],
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--gold-light);
  background: var(--field);
  font: inherit;
}

.form textarea {
  resize: vertical;
}

.form ::placeholder {
  color: rgba(214, 177, 104, 0.48);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(214, 177, 104, 0.28);
  outline-offset: 2px;
}

.choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  color: var(--gold-light);
}

.choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(9, 18, 30, 0.62);
  accent-color: var(--gold);
}

.choice input[type="radio"] {
  border-radius: 50%;
}

.choice input:checked {
  border-color: var(--gold-light);
  background:
    radial-gradient(circle, var(--gold-light) 0 38%, transparent 42%),
    rgba(9, 18, 30, 0.62);
  box-shadow: 0 0 12px rgba(214, 177, 104, 0.24);
}

.choice input[type="checkbox"]:checked {
  background:
    linear-gradient(135deg, transparent 0 40%, var(--gold-light) 41% 56%, transparent 57%),
    linear-gradient(45deg, transparent 0 45%, var(--gold-light) 46% 60%, transparent 61%),
    rgba(9, 18, 30, 0.62);
}

.choice span {
  overflow-wrap: anywhere;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.form .button {
  justify-self: center;
  margin-top: 8px;
}

.form__status {
  min-height: 22px;
  margin: 0;
  text-align: center;
}

.footer {
  display: grid;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  justify-items: center;
  padding: 100px 20px 0;
  text-align: center;
}

.footer a {
  margin-bottom: 34px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 8vw, 66px);
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__gallery {
  display: grid;
  width: min(860px, 100%);
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  align-items: stretch;
  gap: clamp(12px, 3vw, 22px);
  margin-top: 8px;
}

.footer__photo {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(184, 138, 58, 0.34);
  background: rgba(5, 11, 20, 0.6);
  box-shadow:
    0 0 0 1px rgba(255, 248, 232, 0.04) inset,
    0 26px 70px rgba(0, 0, 0, 0.24);
}

.footer__photo img {
  filter: saturate(0.84) contrast(1.05) brightness(0.82);
}

.footer__photo--wide img {
  object-position: center;
}

@keyframes snowfall {
  from {
    background-position:
      0 0,
      42px 78px;
  }
  to {
    background-position:
      0 900px,
      42px 1178px;
  }
}

@keyframes shooting-star {
  0% {
    opacity: 0;
    transform: rotate(-28deg) translateX(0);
  }
  6% {
    opacity: 1;
  }
  18% {
    opacity: 0;
    transform: rotate(-28deg) translateX(-46vw);
  }
  100% {
    opacity: 0;
    transform: rotate(-28deg) translateX(-46vw);
  }
}

@keyframes pulsar-core {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.82);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes pulsar-ring {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulsar-beam {
  0%,
  100% {
    opacity: 0.38;
    stroke-dashoffset: 0;
  }
  50% {
    opacity: 0.9;
    stroke-dashoffset: -34;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(214, 177, 104, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(214, 177, 104, 0);
  }
}

@media (max-width: 860px) {
  .nav {
    top: 14px;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .symbol--sun {
    opacity: 0.72;
  }

  .celestial--sun {
    top: 292px;
    left: -72px;
    opacity: 0.74;
  }

  .celestial--hand {
    right: -108px;
    opacity: 0.78;
  }

  .constellation--hero {
    right: -90px;
    bottom: 2%;
    transform: scale(0.72);
  }

  .timeline,
  .dress-examples,
  .footer__gallery {
    grid-template-columns: 1fr;
  }

  .footer__photo {
    min-height: 0;
    height: min(420px, 92vw);
  }

  .footer__photo--wide {
    height: min(300px, 68vw);
  }

  .dress-examples img {
    height: auto;
  }

  .sky-constellation--left,
  .zodiac--aquarius {
    left: -80px;
    width: 210px;
  }

  .sky-constellation--right,
  .zodiac--gemini {
    right: -80px;
    width: 200px;
  }

  .pulsar {
    width: 300px;
    opacity: 0.13;
  }
}

@media (max-width: 560px) {
  .section {
    padding-inline: 16px;
  }

  .nav {
    width: calc(100% - 20px);
    justify-content: center;
    gap: 8px 12px;
    font-size: 9px;
  }

  h2 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .lottery-rule {
    padding-inline: 30px;
  }

  .lottery-rule h2 {
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .lottery-rule p,
  .lottery-rule span {
    letter-spacing: 0.08em;
  }

  .hero__photo {
    width: min(290px, 74vw);
    height: min(360px, 92vw);
  }

  .timer {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar {
    gap: 8px;
  }

  .music-toggle span:last-child {
    display: none;
  }

  .music-toggle {
    width: 44px;
    justify-content: center;
    padding: 0;
  }

  .celestial--sun {
    left: -64px;
    width: 132px;
  }

  .celestial--hand {
    top: 62px;
    right: -86px;
    width: 124px;
  }

  .shooting-stars i {
    width: 96px;
  }

  .form {
    width: 100%;
  }

  .choice {
    width: 100%;
  }
}

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