@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800&family=Pinyon+Script&display=swap");

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

:root {
  --phone-width: min(100vw, 430px);
  --font-body: "Source Sans 3", sans-serif;
  --font-script: "Pinyon Script", cursive;
  --bg: #fff8f4;
  --paper: #fffdfb;
  --paper-soft: #fff0ea;
  --ink: #4d3130;
  --muted: #80615d;
  --brand: #934847;
  --brand-dark: #743534;
  --line: #f0d5ce;
  --shadow: 0 16px 42px rgba(106, 54, 49, 0.14);
  --radius: 22px;
  --lotus-paper:
    radial-gradient(circle at 6% 12%, rgba(111, 146, 129, 0.2), transparent 18%),
    radial-gradient(circle at 94% 4%, rgba(244, 179, 190, 0.2), transparent 22%),
    radial-gradient(circle at 8% 72%, rgba(180, 219, 184, 0.24), transparent 21%),
    radial-gradient(circle at 95% 70%, rgba(239, 160, 183, 0.16), transparent 18%),
    linear-gradient(180deg, #fffef5 0%, #fbfff4 47%, #f7fbef 100%);
}

html {
  scroll-behavior: smooth;
  background: #251b1a;
}

body {
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  font-family: var(--font-body);
  background: #223022;
  color: var(--ink);
  overflow-x: hidden;
}

html.scroll-locked,
body.scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.scroll-locked {
  position: fixed;
  top: 0;
  left: 50%;
  height: 100svh;
  transform: translateX(-50%);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: env(safe-area-inset-top);
  background: #223022;
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
}

.invite {
  width: 100%;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  padding: 0;
  /* background: linear-gradient(180deg, #f9fbf7 0%, #eef4ec 100%); */
  animation: cardIn 0.8s ease both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes inviteFloat {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -9px;
  }
}

@keyframes musicSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes envelopeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-28px);
  }
}

@keyframes envelopeShadow {

  0%,
  100% {
    opacity: 0.58;
    transform: translateX(-50%) scaleX(1.22) scaleY(1);
    filter: blur(10px);
  }

  50% {
    opacity: 0.28;
    transform: translateX(-50%) scaleX(0.82) scaleY(0.72);
    filter: blur(7px);
  }
}

@keyframes heartRise {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.45) rotate(0deg);
  }

  12% {
    opacity: 1;
    transform: translate(calc(-50% + var(--heart-mid)), -105px) scale(0.9) rotate(calc(var(--heart-rotate) / 2));
  }

  62% {
    opacity: 0.95;
    transform: translate(calc(-50% + var(--heart-wide)), -360px) scale(1.26) rotate(var(--heart-rotate));
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--heart-drift)), -650px) scale(1.42) rotate(calc(var(--heart-rotate) * 1.35));
  }
}

.cover-kicker {
  text-align: center;
  letter-spacing: 9px;
  text-transform: uppercase;
  color: #8e3434;
  font-size: 14px;
  line-height: 1.35;
  padding-left: 9px;
}

.cover-title {
  margin-top: 17px;
  text-align: center;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #8f3c39;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.stamp {
  position: absolute;
  top: 14px;
  right: 8px;
  width: 38px;
  height: 38px;
  border: 3px solid #ee9b9d;
  border-radius: 50%;
  opacity: 0.8;
}

.stamp::before,
.stamp::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #ee9b9d;
  border-radius: 50%;
}

.stamp::after {
  inset: 13px;
  background: #ee9b9d;
}

.couple-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  color: #111;
}

.couple-name {
  font-family: var(--font-script);
  min-width: 0;
  text-align: center;
  font-size: 7vw;
  line-height: 1;
  letter-spacing: 0;
  color: #111;
  transform: scaleX(0.84);
  overflow-wrap: anywhere;
}

.amp {
  display: inline-block;
  margin: 0 0.06em;
  color: #a44d46;
  font-family: var(--font-script);
  font-size: 1.24em;
  line-height: 1;
  transform: translateY(-0.08em) rotate(-8deg);
  transform-origin: center;
}

.double-happiness {
  width: 60px;
  height: 60px;
  margin: 24px auto 0;
  display: grid;
  place-items: center;
  border: 3px dotted #ef8f91;
  border-radius: 50%;
  background: #fff1ed;
  color: #de3833;
  font-size: 24px;
  font-weight: 800;
  box-shadow: inset 0 0 0 3px #ffd8d0;
}

.envelope-stage {
  position: relative;
  width: 100%;
  height: clamp(212px, 57vw, 246px);
  margin: 62px auto 0;
  overflow: visible;
}

.envelope-shadow {
  position: absolute;
  left: 50%;
  bottom: -80px;
  z-index: 0;
  width: 92%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(49, 34, 31, 0.72) 0%, rgba(49, 34, 31, 0.34) 48%, transparent 76%);
  animation: envelopeShadow 2.5s ease-in-out infinite;
  pointer-events: none;
}

.envelope {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px 2px 5px 5px;
  background: #a83c3c;
  box-shadow: 0 12px 18px rgba(73, 42, 37, 0.12);
  overflow: visible;
  animation: envelopeFloat 2.5s ease-in-out infinite;
  cursor: pointer;
  perspective: 900px;
  isolation: isolate;
}

.envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #aa3f3f;
  clip-path: polygon(0 0, 52% 50.8%, 0 100%);
  border-radius: 2px 0 0 5px;
}

.envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #ad4242;
  clip-path: polygon(100% 0, 100% 100%, 48% 50.8%);
  border-radius: 0 2px 5px 0;
}

.couple-photo {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  width: 84%;
  max-width: 340px;
  aspect-ratio: 1.62;
  overflow: hidden;
  border-radius: 8px;
  background: #f7d8d2;
  box-shadow: 0 18px 34px rgba(62, 31, 27, 0.22);
  transform: translate(-50%, 0) scale(0.92);
  opacity: 0.98;
  transition:
    transform 1.55s cubic-bezier(0.18, 0.74, 0.18, 1),
    box-shadow 1.55s ease;
  pointer-events: none;
}

.couple-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.envelope.open .couple-photo {
  transform: translate(-50%, -138px) scale(1);
  box-shadow: 0 24px 44px rgba(62, 31, 27, 0.28);
  transition-delay: 0.72s;
}

.heart-burst {
  position: absolute;
  left: 50%;
  bottom: 124px;
  z-index: 8;
  pointer-events: none;
}

.heart-burst span {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #d30707;
  font-size: 48px;
  line-height: 1;
  opacity: 0;
  text-shadow: 0 7px 18px rgba(126, 24, 46, 0.56);
}

.envelope.open .heart-burst span {
  animation: heartRise 3.4s cubic-bezier(0.18, 0.64, 0.16, 1) both;
  animation-delay: calc(2.28s + var(--heart-delay));
}

.heart-burst span:nth-child(1) {
  --heart-mid: -28px;
  --heart-wide: -126px;
  --heart-drift: -178px;
  --heart-rotate: -34deg;
  --heart-delay: 0s;
}

.heart-burst span:nth-child(2) {
  --heart-mid: 18px;
  --heart-wide: -72px;
  --heart-drift: -112px;
  --heart-rotate: 26deg;
  --heart-delay: 0.22s;
  font-size: 40px;
}

.heart-burst span:nth-child(3) {
  --heart-mid: -8px;
  --heart-wide: 18px;
  --heart-drift: 24px;
  --heart-rotate: -18deg;
  --heart-delay: 0.34s;
  font-size: 54px;
}

.heart-burst span:nth-child(4) {
  --heart-mid: 34px;
  --heart-wide: 98px;
  --heart-drift: 152px;
  --heart-rotate: 38deg;
  --heart-delay: 0.12s;
  font-size: 42px;
}

.heart-burst span:nth-child(5) {
  --heart-mid: -18px;
  --heart-wide: 146px;
  --heart-drift: 208px;
  --heart-rotate: -30deg;
  --heart-delay: 0.28s;
  font-size: 48px;
}

.envelope-flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 54%;
  z-index: 6;
  background: #8f2929;
  clip-path: polygon(-1% 0, 101% 0, 50% 103%);
  transform-origin: 50% 0;
  transition:
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 1.18s,
    z-index 0s linear 1.18s;
  pointer-events: none;
}

.envelope.open .envelope-flap {
  z-index: 1;
  transform: rotateX(172deg);
  transition:
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0s,
    z-index 0s linear 0.62s;
}

.envelope-bottom {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #b44848;
  clip-path: polygon(-1% 101%, 50% 49%, 101% 101%);
  border-radius: 0 0 5px 5px;
  pointer-events: none;
}

.seal {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 224, 167, 0.55), transparent 28%),
    linear-gradient(145deg, #9a6a42, #6f482f);
  border: 2px solid #b98557;
  box-shadow: 0 4px 8px rgba(45, 22, 18, 0.28);
  transition:
    transform 0.5s ease 1.55s,
    opacity 0.42s ease 1.55s;
  pointer-events: none;
}

.envelope.open .seal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
  transition:
    transform 0.5s ease 0s,
    opacity 0.42s ease 0s;
}

.seal::after {
  content: "?";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(244, 198, 133, 0.75);
  font-size: 14px;
}

.open-hint {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: var(--font-script);
  color: #a74b49;
  font-size: 18px;
  line-height: 1;
}

.opening-screen {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: 8px 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(88, 108, 83, 0.76), transparent 46%),
    linear-gradient(180deg, #314431 0%, #223022 100%);
  color: #eef3e9;
}

body.invitation-opened .opening-screen {
  display: none;
}

.opening-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1.4px),
    radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1.4px),
    radial-gradient(circle at 24% 78%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1.4px),
    radial-gradient(circle at 74% 70%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1.4px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(0, 0, 0, 0.09));
  background-size: 120px 120px, 150px 150px, 170px 170px, 140px 140px, auto, auto;
  pointer-events: none;
}

.opening-screen::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -58px;
  z-index: 0;
  width: 280px;
  height: 280px;
  background:
    radial-gradient(circle at 50% 50%, rgba(232, 211, 159, 0.08) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0 7%, transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(144, 165, 136, 0.12) 0 48%, transparent 49%),
    conic-gradient(from 20deg, rgba(255, 255, 255, 0.0) 0 10deg, rgba(255, 255, 255, 0.05) 10deg 12deg, rgba(255, 255, 255, 0.0) 12deg 20deg);
  border-radius: 50%;
  opacity: 0.72;
  pointer-events: none;
}

.falling-happiness {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 800;
  pointer-events: none;
}

.falling-happiness span {
  position: absolute;
  bottom: -12%;
  color: var(--happiness-color, rgba(181, 136, 36, 0.46));
  font-size: var(--happiness-size, 22px);
  line-height: 1;
  opacity: 0;
  text-shadow: 0 0 14px rgba(181, 136, 36, 0.14);
  animation: happinessRise var(--happiness-duration, 22s) cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.falling-happiness span:nth-child(1) {
  left: 6%;
  --happiness-size: 22px;
  --happiness-color: rgba(238, 146, 32, 0.52);
  --happiness-duration: 24s;
  animation-delay: -1.5s;
}

.falling-happiness span:nth-child(2) {
  left: 20%;
  --happiness-size: 15px;
  --happiness-color: rgba(255, 199, 76, 0.42);
  --happiness-duration: 27s;
  animation-delay: -7s;
}

.falling-happiness span:nth-child(3) {
  left: 44%;
  --happiness-size: 28px;
  --happiness-color: rgba(221, 92, 27, 0.46);
  --happiness-duration: 29s;
  animation-delay: -4.4s;
}

.falling-happiness span:nth-child(4) {
  left: 64%;
  --happiness-size: 18px;
  --happiness-color: rgba(255, 180, 50, 0.5);
  --happiness-duration: 23s;
  animation-delay: -9s;
}

.falling-happiness span:nth-child(5) {
  left: 78%;
  --happiness-size: 24px;
  --happiness-color: rgba(235, 111, 26, 0.44);
  --happiness-duration: 26s;
  animation-delay: -5.8s;
}

.falling-happiness span:nth-child(6) {
  left: 91%;
  --happiness-size: 13px;
  --happiness-color: rgba(255, 207, 85, 0.48);
  --happiness-duration: 30s;
  animation-delay: -11s;
}

@keyframes happinessRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 8svh, 0) scale(0.92);
  }

  14% {
    opacity: 0.62;
  }

  50% {
    transform: translate3d(5px, -44svh, 0) scale(1.03);
  }

  84% {
    opacity: 0.56;
  }

  100% {
    opacity: 0;
    transform: translate3d(-4px, -106svh, 0) scale(1.08);
  }
}

.opening-burst-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: visible;
  pointer-events: none;
}

.opening-card {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: calc(100vw - 58px);
  max-width: calc(100vw - 58px);
  min-height: 70dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(215, 223, 213, 0.58);
  background:
    linear-gradient(180deg, rgba(251, 252, 248, 0.78), rgba(249, 251, 246, 0.78)),
    url("assets/images/template/lotus01.webp") center / cover no-repeat,
    linear-gradient(135deg, #fbfcf8 0%, #eef2e9 52%, #f9fbf6 100%);
  box-shadow: 0 18px 44px rgba(6, 13, 6, 0.38);
  isolation: isolate;
}

.opening-emblem {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 4px auto 0;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #53644d;
  color: #eef3e9;
  border: 0;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 43px;
  font-weight: 800;
  line-height: 1;
}

.opening-emblem::before,
.opening-emblem::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(225, 232, 221, 0.82);
  opacity: 0;
  pointer-events: none;
}

.opening-emblem::after {
  inset: -16px;
  border-color: rgba(127, 151, 118, 0.36);
}

body.opening-animating .opening-emblem {
  position: absolute;
  top: 19px;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 4px auto 0;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #53644d;
  color: #eef3e9;
  border: 0;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 43px;
  font-weight: 800;
  line-height: 1;
}

body.opening-animating .opening-emblem::before {
  animation: emblemRing 1.15s ease-out both;
}

body.opening-animating .opening-emblem::after {
  animation: emblemRing 1.15s ease-out 0.12s both;
}

.opening-content {
  position: relative;
  z-index: 3;
  width: 88%;
  max-width: 330px;
  padding-top: 62px;
  text-align: center;
  color: #60705c;
  text-shadow: none;
}

.opening-content h1 {
  color: #5d6d59;
  font-family: var(--font-body);
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 900;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0;
}

.opening-content h1 span {
  display: inline-block;
  margin: 0 0 15px;
  color: #5d6d59;
  font-size: 15px;
  line-height: 1;
}

.opening-divider {
  position: relative;
  width: 88px;
  margin: 18px auto 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: #6a7a65;
  font-family: var(--font-body);
  font-size: 13px;
}

.divider-symbol {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.opening-burst-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.opening-burst-layer i {
  position: absolute;
  left: var(--burst-origin-x, 50%);
  top: var(--burst-origin-y, 50%);
  width: 10px;
  height: 10px;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg) scale(0.3);
  color: var(--heart-color, #ff3b3b);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.82), transparent 0 18%, transparent 26%),
    var(--heart-color, #ff3b3b);
  filter:
    drop-shadow(0 0 5px rgba(255, 230, 150, 0.42)) drop-shadow(0 4px 8px rgba(100, 0, 0, 0.25));
}

.opening-burst-layer i::before,
.opening-burst-layer i::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--heart-color, #ff3b3b);
}

.opening-burst-layer i::before {
  left: -5px;
  top: 0;
}

.opening-burst-layer i::after {
  left: 0;
  top: -5px;
}

.opening-burst-layer .burst-spark,
.opening-burst-layer .burst-snow,
.opening-burst-layer .burst-happiness {
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--heart-color, #ffd766);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  text-shadow:
    0 0 5px rgba(255, 235, 160, 0.7),
    0 0 13px rgba(255, 190, 60, 0.36);
}

.opening-burst-layer .burst-spark::before,
.opening-burst-layer .burst-spark::after,
.opening-burst-layer .burst-snow::before,
.opening-burst-layer .burst-snow::after,
.opening-burst-layer .burst-happiness::before,
.opening-burst-layer .burst-happiness::after {
  content: none;
}

.opening-burst-layer .burst-happiness {
  font-size: 15px;
  color: var(--heart-color, #ffca4b);
}

.opening-burst-layer i:nth-child(1) {
  --heart-x: -96px;
  --heart-y: -62px;
  --heart-color: #ff3434;
  --heart-rot: -30deg;
}

.opening-burst-layer i:nth-child(2) {
  --heart-x: -58px;
  --heart-y: -92px;
  --heart-color: #ffca4b;
  --heart-rot: 24deg;
}

.opening-burst-layer i:nth-child(3) {
  --heart-x: 6px;
  --heart-y: -110px;
  --heart-color: #ff6f9b;
  --heart-rot: -18deg;
}

.opening-burst-layer i:nth-child(4) {
  --heart-x: 66px;
  --heart-y: -84px;
  --heart-color: #ef1f2f;
  --heart-rot: 35deg;
}

.opening-burst-layer i:nth-child(5) {
  --heart-x: 102px;
  --heart-y: -36px;
  --heart-color: #ffc64d;
  --heart-rot: -42deg;
}

.opening-burst-layer i:nth-child(6) {
  --heart-x: 92px;
  --heart-y: 42px;
  --heart-color: #ff4f7a;
  --heart-rot: 18deg;
}

.opening-burst-layer i:nth-child(7) {
  --heart-x: 36px;
  --heart-y: 88px;
  --heart-color: #ff2c2c;
  --heart-rot: -24deg;
}

.opening-burst-layer i:nth-child(8) {
  --heart-x: -28px;
  --heart-y: 98px;
  --heart-color: #ffd55d;
  --heart-rot: 40deg;
}

.opening-burst-layer i:nth-child(9) {
  --heart-x: -88px;
  --heart-y: 52px;
  --heart-color: #ff7aa7;
  --heart-rot: -12deg;
}

.opening-burst-layer i:nth-child(10) {
  --heart-x: -114px;
  --heart-y: 4px;
  --heart-color: #e91c28;
  --heart-rot: 30deg;
}

.opening-burst-layer i:nth-child(11) {
  --heart-x: 124px;
  --heart-y: 8px;
  --heart-color: #ffb72f;
  --heart-rot: -32deg;
}

.opening-burst-layer i:nth-child(12) {
  --heart-x: 0;
  --heart-y: -76px;
  --heart-color: #ff3f65;
  --heart-rot: 12deg;
}

.opening-burst-layer i:nth-child(13) {
  --heart-x: -142px;
  --heart-y: -74px;
  --heart-color: #ffcf58;
  --heart-rot: -55deg;
  --heart-size: .75;
}

.opening-burst-layer i:nth-child(14) {
  --heart-x: -126px;
  --heart-y: 88px;
  --heart-color: #ff2d4e;
  --heart-rot: 48deg;
  --heart-size: .9;
}

.opening-burst-layer i:nth-child(15) {
  --heart-x: -74px;
  --heart-y: 128px;
  --heart-color: #ff8ab0;
  --heart-rot: -18deg;
  --heart-size: .7;
}

.opening-burst-layer i:nth-child(16) {
  --heart-x: 74px;
  --heart-y: 126px;
  --heart-color: #ffd766;
  --heart-rot: 22deg;
  --heart-size: .82;
}

.opening-burst-layer i:nth-child(17) {
  --heart-x: 146px;
  --heart-y: 76px;
  --heart-color: #ff425c;
  --heart-rot: -42deg;
  --heart-size: .72;
}

.opening-burst-layer i:nth-child(18) {
  --heart-x: 150px;
  --heart-y: -70px;
  --heart-color: #ffbb38;
  --heart-rot: 38deg;
  --heart-size: .95;
}

.opening-burst-layer i:nth-child(19) {
  --heart-x: 88px;
  --heart-y: -134px;
  --heart-color: #ff6b96;
  --heart-rot: -20deg;
  --heart-size: .68;
}

.opening-burst-layer i:nth-child(20) {
  --heart-x: -82px;
  --heart-y: -138px;
  --heart-color: #e91d28;
  --heart-rot: 28deg;
  --heart-size: .86;
}

.opening-burst-layer i:nth-child(21) {
  --heart-x: -168px;
  --heart-y: -10px;
  --heart-color: #ffc84d;
  --heart-rot: -8deg;
  --heart-size: .62;
}

.opening-burst-layer i:nth-child(22) {
  --heart-x: 170px;
  --heart-y: -2px;
  --heart-color: #ff5d83;
  --heart-rot: 12deg;
  --heart-size: .66;
}

.opening-burst-layer i:nth-child(23) {
  --heart-x: -16px;
  --heart-y: 148px;
  --heart-color: #ff302f;
  --heart-rot: -44deg;
  --heart-size: .76;
}

.opening-burst-layer i:nth-child(24) {
  --heart-x: 18px;
  --heart-y: -154px;
  --heart-color: #ffe070;
  --heart-rot: 50deg;
  --heart-size: .7;
}

.opening-burst-layer i:nth-child(25) {
  --heart-x: -48px;
  --heart-y: -54px;
  --heart-color: #ff739e;
  --heart-rot: 30deg;
  --heart-size: .58;
}

.opening-burst-layer i:nth-child(26) {
  --heart-x: 42px;
  --heart-y: -48px;
  --heart-color: #ffb936;
  --heart-rot: -28deg;
  --heart-size: .58;
}

.opening-burst-layer i:nth-child(27) {
  --heart-x: 54px;
  --heart-y: 58px;
  --heart-color: #ff2645;
  --heart-rot: 44deg;
  --heart-size: .6;
}

.opening-burst-layer i:nth-child(28) {
  --heart-x: -52px;
  --heart-y: 62px;
  --heart-color: #ffd45d;
  --heart-rot: -36deg;
  --heart-size: .6;
}

body.opening-animating .opening-burst-layer i {
  animation: heartBurst 1.55s cubic-bezier(0.12, 0.78, 0.22, 1) both;
  animation-delay: var(--heart-delay, 0s);
}

body.opening-animating .opening-burst-layer i:nth-child(1) {
  --heart-index: 0;
}

body.opening-animating .opening-burst-layer i:nth-child(2) {
  --heart-index: 1;
}

body.opening-animating .opening-burst-layer i:nth-child(3) {
  --heart-index: 2;
}

body.opening-animating .opening-burst-layer i:nth-child(4) {
  --heart-index: 3;
}

body.opening-animating .opening-burst-layer i:nth-child(5) {
  --heart-index: 4;
}

body.opening-animating .opening-burst-layer i:nth-child(6) {
  --heart-index: 5;
}

body.opening-animating .opening-burst-layer i:nth-child(7) {
  --heart-index: 6;
}

body.opening-animating .opening-burst-layer i:nth-child(8) {
  --heart-index: 7;
}

body.opening-animating .opening-burst-layer i:nth-child(9) {
  --heart-index: 8;
}

body.opening-animating .opening-burst-layer i:nth-child(10) {
  --heart-index: 9;
}

body.opening-animating .opening-burst-layer i:nth-child(11) {
  --heart-index: 10;
}

body.opening-animating .opening-burst-layer i:nth-child(12) {
  --heart-index: 11;
}

body.opening-animating .opening-burst-layer i:nth-child(13) {
  --heart-index: 12;
}

body.opening-animating .opening-burst-layer i:nth-child(14) {
  --heart-index: 13;
}

body.opening-animating .opening-burst-layer i:nth-child(15) {
  --heart-index: 14;
}

body.opening-animating .opening-burst-layer i:nth-child(16) {
  --heart-index: 15;
}

body.opening-animating .opening-burst-layer i:nth-child(17) {
  --heart-index: 16;
}

body.opening-animating .opening-burst-layer i:nth-child(18) {
  --heart-index: 17;
}

body.opening-animating .opening-burst-layer i:nth-child(19) {
  --heart-index: 18;
}

body.opening-animating .opening-burst-layer i:nth-child(20) {
  --heart-index: 19;
}

body.opening-animating .opening-burst-layer i:nth-child(21) {
  --heart-index: 20;
}

body.opening-animating .opening-burst-layer i:nth-child(22) {
  --heart-index: 21;
}

body.opening-animating .opening-burst-layer i:nth-child(23) {
  --heart-index: 22;
}

body.opening-animating .opening-burst-layer i:nth-child(24) {
  --heart-index: 23;
}

body.opening-animating .opening-burst-layer i:nth-child(25) {
  --heart-index: 24;
}

body.opening-animating .opening-burst-layer i:nth-child(26) {
  --heart-index: 25;
}

body.opening-animating .opening-burst-layer i:nth-child(27) {
  --heart-index: 26;
}

body.opening-animating .opening-burst-layer i:nth-child(28) {
  --heart-index: 27;
}

.opening-divider::before,
.opening-divider::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(106, 122, 101, 0.72));
}

.opening-divider::after {
  background: linear-gradient(90deg, rgba(106, 122, 101, 0.72), transparent);
}

.opening-date,
.opening-invite,
.opening-note {
  color: #60705c;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.opening-invite {
  margin-top: 15px;
  font-size: 17px;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 400;
}

.opening-guest {
  width: max-content;
  max-width: 100%;
  margin: 8px auto 12px;
  padding: 7px 15px 8px;
  border-radius: 12px;
  background: rgba(207, 221, 204, 0.9);
  color: #5d6d59;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.opening-note {
  display: block;
  width: calc(100% - 20px);
  max-width: 305px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.opening-button {
  min-width: 134px;
  min-height: 43px;
  margin-top: 18px;
  padding: 9px 24px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #78886f 0%, #5d6f56 100%);
  color: #fff;
  box-shadow: 0 13px 24px rgba(52, 66, 48, 0.28);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
}

.opening-button.open {
  transform: translateY(1px) scale(0.98);
}

.opening-button:active {
  transform: translateY(1px) scale(0.98);
  background: linear-gradient(180deg, #66795d 0%, #55654d 100%);
}

.music:active {
  background: linear-gradient(180deg, #cbd8c4 0%, #b3c5ac 100%);
}

.rsvp-submit:active {
  transform: translateY(1px);
  background: #56684f;
}

.gift-modal-backdrop:active {
  background: rgba(0, 0, 0, 0.46);
}

@keyframes emblemPulse {
  0% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 25px rgba(83, 100, 77, 0.42);
  }

  35% {
    transform: translateX(-50%) scale(1.16);
    box-shadow: 0 0 38px rgba(225, 232, 221, 0.72), 0 0 80px rgba(127, 151, 118, 0.34);
  }

  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 25px rgba(83, 100, 77, 0.42);
  }
}

@keyframes emblemRing {
  0% {
    opacity: 0.85;
    transform: scale(0.55);
  }

  100% {
    opacity: 0;
    transform: scale(2.35);
  }
}

@keyframes heartBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(calc(var(--heart-size, 1) * 0.25));
  }

  12% {
    opacity: 1;
  }

  72% {
    opacity: 0.95;
    transform: translate(calc(-50% + var(--heart-x)), calc(-50% + var(--heart-y))) rotate(calc(45deg + var(--heart-rot))) scale(var(--heart-size, 1));
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--heart-x) * 1.18), calc(-50% + var(--heart-y) * 1.18)) rotate(calc(45deg + var(--heart-rot) * 1.5)) scale(calc(var(--heart-size, 1) * 0.35));
  }
}

body::after {
  --v-a: "\004d\0061";
  --v-b: "\0064\0065\0020";
  --v-c: "\0077\0069\0074\0068\0020";
  --v-d: "\0044\0051\0079\0068";
  content: var(--v-a) var(--v-b) var(--v-c) var(--v-d);
  position: fixed;
  right: 9px;
  bottom: 60px;
  z-index: 40;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #2f2828;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.source-signature {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0.01;
  pointer-events: none;
  user-select: none;
}

button,
.button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #7f9376 0%, #66795d 100%);
  color: white;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(79, 98, 72, 0.22);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:active,
.button:active {
  background: transparent;
}

.button.secondary {
  background: #fffdfb;
  color: #5f7657;
  border: 1px solid var(--line);
  box-shadow: none;
}

.invitation-preview-section {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.2);
}

body:not(.invitation-opened) .invitation-preview-section {
  display: none;
}


body.invitation-entering .invitation-preview-section {
  animation: invitationSoftEnter 1.55s cubic-bezier(0.16, 0.84, 0.24, 1) both;
  transform-origin: center top;
}

body.invitation-entering .invitation-preview {
  animation: invitationSoftGlow 1.55s ease-out both;
}

@keyframes invitationSoftEnter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.965);
    filter: blur(8px) brightness(1.08);
  }

  58% {
    opacity: 1;
    transform: translateY(-3px) scale(1.006);
    filter: blur(0) brightness(1.04);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes invitationSoftGlow {
  0% {
    box-shadow: 0 0 0 rgba(255, 220, 150, 0), 0 18px 42px rgba(46, 38, 36, 0.18);
  }

  42% {
    box-shadow: 0 0 48px rgba(255, 217, 130, 0.42), 0 18px 42px rgba(46, 38, 36, 0.18);
  }

  100% {
    box-shadow: 0 18px 42px rgba(46, 38, 36, 0.18);
  }
}

.invitation-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: var(--lotus-paper);
  box-shadow: 0 18px 42px rgba(46, 38, 36, 0.18);
}

.wedding-profile-intro {
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #151917;
  text-align: center;
  font-family: var(--font-body);
}

.announcement-cover {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  padding: 118px 24px 110px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 248, 0.16), rgba(255, 255, 248, 0.08)),
    url("assets/images/template/background01.webp") center top / cover no-repeat,
    #fbfcf4;
  isolation: isolate;
}

.announcement-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 47px;
  color: #141615;
}

.announcement-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.announcement-content h2 {
  margin: 0;
  color: #111413;
  font-family: var(--font-script);
  font-size: 30px;
  line-height: 1.1;
}

.announcement-amp {
  display: inline-block;
  margin: 0 0.08em;
  color: #5f7657;
  font-family: var(--font-script);
  font-size: 1.18em;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-0.06em) rotate(-9deg);
  transform-origin: center;
}

.announcement-date {
  margin: 0;
  font-family: var(--font-body);
  font-size: 31px;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1;
}


.family-announcement {
  position: relative;
  width: calc(100% - 44px);
  margin: 30px auto 0;
  padding: 37px 22px 38px;
  min-height: 392px;
  overflow: hidden;
  border: 1.5px solid #65785d;
  border-radius: 56px 56px 44px 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 250, 0.88), rgba(255, 255, 249, 0.8)),
    radial-gradient(circle at 12% 87%, rgba(245, 204, 122, 0.16), transparent 22%),
    radial-gradient(circle at 92% 80%, rgba(245, 204, 122, 0.18), transparent 23%);
  color: #151515;
  isolation: isolate;
}

.family-announcement::before,
.family-announcement::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 130px;
  height: 130px;
  background: url("assets/images/template/lotus02.webp") center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.family-announcement::before {
  left: -17px;
  bottom: -15px;
  transform: rotate(-10deg);
}

.family-announcement::after {
  right: -9px;
  bottom: -8px;
  background-image: url("assets/images/template/lotus03.webp");
  transform: rotate(4deg);
}

.family-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.family-side h3,
.family-side p,
.family-side address,
.family-message,
.family-couple p {
  margin: 0;
}

.family-side h3 {
  margin-bottom: 9px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.family-side p {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.15;
}

.family-side address {
  margin-top: 1px;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  line-height: 1.2;
}

.family-emblem {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 4px auto 0;
  border-radius: 50%;
  background: #53644d;
  color: #eef3e9;
  font-family: var(--font-body);
  font-size: 43px;
  font-weight: 800;
  line-height: 1;
}

.family-message {
  margin-top: 30px;
  color: #555;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.25;
}

.family-couple {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 23px;
  color: #171717;
  font-family: var(--font-script);
  font-size: 35px;
  font-weight: 500;
  line-height: 1.02;
}

.family-couple span {
  display: inline-block;
  margin: 0 0.08em;
  color: #934847;
  font-family: var(--font-script);
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(-0.05em) rotate(-8deg);
  transform-origin: center;
}

.wedding-party-invite {
  position: relative;
  overflow: hidden;
  min-height: 770px;
  margin-top: 28px;
  color: #101211;
  text-align: center;
  isolation: isolate;
}

.wedding-party-invite::before,
.wedding-party-invite::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
}

.wedding-party-invite::before {
  left: -50px;
  bottom: 300px;
  width: 130px;
  height: 130px;
  background-image: url("assets/images/template/lotus05.webp");
  opacity: 0.34;
}

.wedding-party-invite::after {
  right: -55px;
  bottom: 114px;
  width: 250px;
  height: 250px;
  background-image: url("assets/images/template/lotus07.webp");
  opacity: 0.58;
}

.party-hero-photo {
  position: relative;
  z-index: 1;
  height: 292px;
  margin: 0;
  overflow: hidden;
  background: #e9eee8;
}

.party-hero-photo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 118px;
  background: linear-gradient(180deg, rgba(251, 255, 244, 0), #fbfff4 78%);
  pointer-events: none;
}

.party-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.party-invite-content {
  position: relative;
  z-index: 1;
  padding: 0 26px 0;
}

.party-kicker {
  margin: -14px 0 36px;
  color: #6d8066;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.party-event h3 {
  margin: 0 0 16px;
  color: #0d0f0e;
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.party-time,
.party-place {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.party-sub-address {
  color: #676767;
  font-family: var(--font-body);
  font-size: 16px;
  font-style: italic;
  line-height: 1.35;
}

.party-date {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.14em;
}

.party-lunar {
  margin: 0 0 21px;
  color: #676767;
  font-family: var(--font-body);
  font-size: 15px;
  font-style: italic;
  line-height: 1.35;
}



.party-map-block {
  margin-top: 32px;
  padding: 0 26px;
}

.party-map-iframe {
  width: 100%;
  height: 220px;
  border: 2px solid #d4ded0;
  border-radius: 18px;
  overflow: hidden;
  display: block;
}

.wedding-calendar-section {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  isolation: isolate;
}

.wedding-calendar-section::before {
  content: "";
  position: absolute;
  left: -180px;
  bottom: 90px;
  width: 384px;
  height: 216px;
  background-image: url(assets/images/template/lotus09.webp);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  z-index: 10;
  pointer-events: none;
  transform: rotate(18deg);
  transform-origin: bottom left;
}

wedding-calendar.party-calendar {
  position: relative;
  display: block;
  width: min(85%, 360px);
  margin: 10px 0 10px auto;
  z-index: 2;

  --cal-bg: #ffffff;
  --cal-backdrop-filter: none;
  --cal-border: #5d6d59;
  --cal-accent: #5d6d59;
  --cal-grid-color: #676767;
  --cal-shadow: 0 6px 18px rgba(93, 109, 89, 0.06);
}

.wedding-rsvp-section {
  position: relative;
  overflow: hidden;
  padding: 28px 22px 34px;
  isolation: isolate;
}


.rsvp-card {
  position: relative;
  z-index: 1;
  max-width: 378px;
  margin: 0 auto;
  padding: 2px;
  border: 1.5px solid #667a58;
  border-radius: 60px 60px 44px 44px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 18px rgba(97, 117, 84, 0.08);
}

.rsvp-card-inner {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 22px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 10% 14%, rgba(249, 228, 189, 0.28), transparent 16%),
    radial-gradient(circle at 92% 85%, rgba(244, 218, 172, 0.22), transparent 20%),
    #fffefb;
}

.rsvp-card-inner::before,
.rsvp-card-inner::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 94px;
  height: 94px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.22;
  pointer-events: none;
}

.rsvp-card-inner::before {
  top: 6px;
  left: -8px;
  background-image: url("assets/images/template/lotus02.webp");
}

.rsvp-card-inner::after {
  right: -5px;
  bottom: 4px;
  background-image: url("assets/images/template/lotus03.webp");
}

.rsvp-card-inner > * {
  position: relative;
  z-index: 1;
}

.rsvp-card h2 {
  margin: 0 0 18px;
  color: #667a58;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: center;
}

.rsvp-form {
  display: grid;
  gap: 14px;
}

.rsvp-field {
  display: grid;
  gap: 8px;
}

.rsvp-field > span,
.rsvp-radio-group > legend {
  color: #1e2230;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.3;
}

.rsvp-field > span {
  font-weight: 400;
}

.rsvp-radio-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.rsvp-radio-group > legend {
  padding: 0;
  margin-bottom: 2px;
}

.rsvp-radio {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #233045;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.35;
}

.rsvp-radio input {
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: #4c97f5;
}

.rsvp-text-field input,
.rsvp-select-wrap select {
  width: 100%;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #dde0e6;
  border-radius: 6px;
  background: #fff;
  color: #2f3747;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.2;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rsvp-text-field input::placeholder {
  color: #8790a1;
}

.rsvp-text-field input:focus,
.rsvp-select-wrap select:focus {
  border-color: #8fa07c;
  box-shadow: 0 0 0 3px rgba(111, 128, 96, 0.12);
}

.rsvp-select-wrap {
  position: relative;
}

.rsvp-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #70798a;
  border-bottom: 2px solid #70798a;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.rsvp-select-wrap select {
  appearance: none;
  padding-right: 42px;
}

.rsvp-submit {
  width: min(100%, 258px);
  min-height: 39px;
  margin: 4px auto 0;
  border: 0;
  border-radius: 5px;
  background: #5f6f49;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 10px 18px rgba(65, 77, 50, 0.12);
}

.rsvp-submit:active {
  transform: translateY(1px);
}


.preview-top {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 18px 66px 18px 24px;
  background: linear-gradient(180deg, #fffdfb, #f3f7f2);
}

.preview-top::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 17px;
  width: 72%;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(57, 49, 46, 0.33), rgba(57, 49, 46, 0.12) 54%, transparent 78%);
  filter: blur(7px);
  transform: translateX(-50%);
}

.preview-open-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-script);
  color: #a74b49;
  font-size: 18px;
  line-height: 1;
  text-shadow: 0 1px 0 #fff;
}

.preview-disc {
  position: absolute;
  right: 8px;
  top: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #ef9da1;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.6), 0 8px 18px rgba(158, 63, 70, 0.2);
  font-size: 18px;
}

.preview-photo {
  position: relative;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 286px 26px 28px;
  background:
    linear-gradient(180deg, rgba(255, 228, 222, 0.08), rgba(255, 228, 222, 0.14)),
    url("assets/images/couple03.webp") center top / cover;
}

.preview-countdown {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  width: calc(100% - 44px);
  max-width: 286px;
  margin: 0 auto -32px;
}

.preview-countdown .timebox {
  min-height: 58px;
  padding: 9px 6px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #a93d3c;
  box-shadow: 0 8px 18px rgba(79, 34, 32, 0.2);
}

.preview-countdown .timebox strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
}

.preview-countdown .timebox span {
  margin-top: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: lowercase;
}

.preview-message {
  position: relative;
  z-index: 1;
  padding: 60px 28px 26px;
  text-align: center;
  background: rgba(246, 250, 246, 0.55);
  backdrop-filter: blur(2px);
}

.preview-message h2 {
  margin-bottom: 20px;
  color: #8f3c39;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 12px;
  padding-left: 12px;
  text-align: center;
}

.preview-message p {
  color: #9a4c48;
  font-size: 12px;
  line-height: 1.65;
}

.reveal-up {
  opacity: 0;
  transform: translateY(var(--reveal-distance, 80px));
  will-change: transform, opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(var(--reveal-distance, 80px));
  will-change: transform, opacity;
}

.reveal-right {
  opacity: 0;
  transform: translateX(calc(var(--reveal-distance, 80px) * -1));
  will-change: transform, opacity;
}

.reveal-up.is-visible {
  animation: revealUp var(--reveal-duration, 2s) cubic-bezier(0.16, 0.84, 0.24, 1) var(--reveal-delay, 0s) forwards;
}

.reveal-left.is-visible {
  animation: revealLeft var(--reveal-duration, 2s) cubic-bezier(0.16, 0.84, 0.24, 1) var(--reveal-delay, 0s) forwards;
}

.reveal-right.is-visible {
  animation: revealRight var(--reveal-duration, 2s) cubic-bezier(0.16, 0.84, 0.24, 1) var(--reveal-delay, 0s) forwards;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(var(--reveal-distance, 80px));
  }

  55% {
    opacity: 0.72;
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealLeft {
  from {
    opacity: 0;
    transform: translateX(var(--reveal-distance, 80px));
  }

  55% {
    opacity: 0.72;
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  from {
    opacity: 0;
    transform: translateX(calc(var(--reveal-distance, 80px) * -1));
  }

  55% {
    opacity: 0.72;
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 380px) {
  .profile-pattern.top {
    height: 74px;
  }

  .profile-title-band {
    height: 62px;
  }

  .profile-pattern.portraits {
    height: 154px;
    gap: 16px;
    padding: 0 22px;
  }


  .profile-info-band {
    gap: 16px;
    padding: 9px 18px 34px;
  }
.profile-column h3 {
    font-size: 20px;
  }

  .profile-parents,
  .profile-parents strong {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .preview-photo {
    min-height: 590px;
    padding: 286px 18px 28px;
  }

  .preview-countdown {
    gap: 9px;
    width: 100%;
    max-width: 276px;
  }

  .preview-countdown .timebox {
    min-height: 56px;
    padding: 8px 5px;
  }

  .preview-message {
    padding: 76px 18px 24px;
  }

  .preview-message h2 {
    margin-bottom: 22px;
    font-size: 23px;
    letter-spacing: 9px;
    padding-left: 9px;
  }
}

@media (max-width: 360px) {
  .preview-photo {
    padding-top: 278px;
  }

  .preview-countdown {
    gap: 7px;
    width: 100%;
    max-width: 260px;
  }

  .preview-countdown .timebox strong {
    font-size: 14px;
  }

  .preview-countdown .timebox span {
    font-size: 11px;
  }

  .preview-message {
    padding-top: 76px;
  }

  .preview-message h2 {
    font-size: 18px;
    letter-spacing: 7px;
    padding-left: 7px;
  }
}



.wedding-gift-section {
  overflow: hidden;
  padding: 0;
  text-align: center;
}

.gift-preview-main.gift-trigger-card {
  position: relative;
  background: inherit;
  box-shadow: none;
  display: flex;
  min-height: 292px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 28px 24px 30px;
}

.gift-preview-main.gift-trigger-card h2 {
  position: static;
  margin: 0;
  color: #5d6d59;
  font-family: var(--font-body);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-shadow: none;
}

.wedding-happiness-trigger {
  display: grid;
  transform-origin: center;
  animation: happinessPulseShake 2.8s ease-in-out infinite;
  width: 178px;
  min-width: 0;
  min-height: 0;
  place-items: center;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}

@keyframes happinessPulseShake {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  28% {
    transform: scale(1.16) rotate(0deg);
  }

  34% {
    transform: scale(1.16) rotate(-3deg);
  }

  40% {
    transform: scale(1.16) rotate(3deg);
  }

  46% {
    transform: scale(1.16) rotate(-3deg);
  }

  52% {
    transform: scale(1.16) rotate(3deg);
  }

  58% {
    transform: scale(1.16) rotate(-2deg);
  }

  64% {
    transform: scale(1.1) rotate(0deg);
  }
}
.wedding-happiness-trigger img {
  display: block;
  width: 100%;
  height: auto;
}

.wedding-album-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 430 / 620;
  overflow: hidden;
  isolation: isolate;
}

.wedding-album-collage::after {
  content: "";
  position: absolute;
  right: -10.2%;
  top: 10.6%;
  z-index: 0;
  width: 37.2%;
  height: 30.6%;
  background: url("assets/images/template/lotus07.webp") center / contain no-repeat;
  opacity: 0.58;
  pointer-events: none;
}

.album-collage-title {
  position: absolute;
  top: 2.9%;
  left: 49.8%;
  z-index: 2;
  display: grid;
  justify-items: start;
  color: #111;
  line-height: 1;
}

.album-collage-title span {
  font-family: var(--font-script);
  font-size: clamp(30px, 10.2vw, 44px);
  font-weight: 400;
  line-height: 0.95;
}

.album-collage-title strong {
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: clamp(14px, 4.65vw, 20px);
  font-weight: 400;
  line-height: 1;
}

.album-collage-photo {
  position: absolute;
  z-index: 1;
  display: block;
  object-fit: cover;
  box-shadow: none;
}

.album-collage-photo.photo-1 {
  top: 3.2%;
  left: 14%;
  width: 23.7%;
  height: 22.3%;
}

.album-collage-photo.photo-2 {
  top: 18.1%;
  left: 27.4%;
  z-index: 3;
  width: 47.9%;
  height: 40.6%;
}

.album-collage-photo.photo-3 {
  top: 40.3%;
  left: 6%;
  width: 17.7%;
  height: 18.4%;
}

.album-collage-photo.photo-4 {
  top: 40.3%;
  right: 6%;
  width: 17.7%;
  height: 18.4%;
}

.album-collage-photo.photo-5 {
  top: 61%;
  left: 20%;
  width: 28.8%;
  height: 27.1%;
}

.album-collage-photo.photo-6 {
  top: 61%;
  right: 14.4%;
  width: 28.8%;
  height: 27.1%;
}
.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  width: 100%;
  padding: 18px 14px max(18px, env(safe-area-inset-bottom));
}

.gift-modal[hidden] {
  display: none;
}

.gift-modal-backdrop {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.46);
  box-shadow: none;
}

.gift-modal-card {
  position: relative;
  z-index: 1;
  width: min(360px, calc(100vw - 28px));
  max-width: calc(var(--phone-width) - 28px);
  padding: 28px 18px 22px;
  border-radius: 22px;
  background: #fff;
  color: #050505;
  text-align: center;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
}

.gift-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  min-height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d7d7d7;
  box-shadow: none;
  font-size: 42px;
  font-weight: 300;
  line-height: 34px;
  appearance: none;
}

.gift-modal-close:active,
.gift-modal-close:focus,
.gift-modal-close:hover {
  background: transparent;
  color: #c9c9c9;
  box-shadow: none;
  outline: none;
  transform: none;
}

.gift-modal-title {
  margin: 0 34px 20px;
  color: #050505;
  font-family: var(--font-script);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.gift-qr-panel {
  display: grid;
  justify-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.gift-qr-panel img {
  width: min(230px, calc(100vw - 120px));
  height: min(230px, calc(100vw - 120px));
  padding: 11px;
  border: 13px solid #9f2430;
  border-radius: 0;
  background: #fff;
  object-fit: contain;
}

.gift-qr-panel strong {
  max-width: 100%;
  margin-top: 18px;
  overflow-wrap: break-word;
  color: #050505;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  text-wrap: balance;
}

.gift-qr-panel span {
  display: block;
  color: #050505;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.gift-account-name {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.15;
}

.gift-account-number {
  margin-top: 7px;
  font-size: 17px;
  letter-spacing: 0.4px;
}

.gift-copy-status {
  min-height: 18px;
  margin: 12px 0 0;
  color: #9f2430;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

html.modal-locked,
body.modal-locked {
  overflow: hidden;
}
.gift-preview-card {
  overflow: hidden;
  background: transparent;
  text-align: center;
}

.wedding-welcome-section {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  text-align: center;
}

.wedding-welcome-section h2 {
  margin: 0;
  color: #5d6d59;
  font-family: var(--font-body);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.wedding-welcome-section p {
  position: relative;
  z-index: 1;
  margin: 38px 0 0;
  color: #5d6d59;
  font-family: var(--font-script);
  font-size: 35px;
  font-weight: 400;
  line-height: 1.05;
}

.wedding-welcome-names {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.34em;
  flex-wrap: wrap;
}

.wedding-welcome-names span {
  display: inline-block;
}

.wedding-welcome-amp {
  display: inline-block;
  margin: 0 0.08em;
  font-family: var(--font-script);
  font-size: 1.18em;
  line-height: 1;
  transform: translateY(-0.08em) rotate(-8deg);
  transform-origin: center;
}

.wedding-welcome-section img {
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: 0;
  width: 100%;
  max-width: 430px;
  transform: translateX(-50%);
  pointer-events: none;
}

@media (max-width: 380px) {
  .wedding-welcome-section {
    min-height: 390px;
    padding-top: 38px;
  }

  .wedding-welcome-section h2 {
    font-size: 20px;
  }

  .wedding-welcome-section p {
    margin-top: 34px;
    font-size: 31px;
  }
}


.gift-pattern-strip {
  height: 76px;
  background:
    linear-gradient(180deg, rgba(248, 253, 242, 0.88), rgba(229, 242, 224, 0.86)),
    radial-gradient(circle at 14% 0%, rgba(151, 190, 162, 0.28), transparent 30%),
    radial-gradient(circle at 88% 100%, rgba(243, 174, 190, 0.2), transparent 28%);
}

.gift-pattern-strip.top {
  background-position: center 20%;
}

.gift-pattern-strip.bottom {
  background-position: center 52%;
}

.gift-preview-main {
  position: relative;
  display: grid;
  min-height: 310px;
  place-items: center;
  padding: 28px 24px 34px;
  background: var(--lotus-paper);
}

.gift-preview-main h2 {
  position: absolute;
  top: 31px;
  left: 0;
  right: 0;
  margin: 0;
  color: rgba(74, 73, 71, 0.86);
  font-family: var(--font-script);
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}

.wedding-certificates {
  position: relative;
  width: 136px;
  height: 120px;
  margin-top: 50px;
  animation: certificatePulse 1.45s ease-in-out infinite;
  transform-origin: center;
}


@keyframes certificatePulse {

  0%,
  100% {
    transform: scale(0.92) rotate(0deg);
  }

  30% {
    transform: scale(1.2) rotate(0deg);
  }

  36% {
    transform: scale(1.22) rotate(-5deg) translateX(-4px);
  }

  42% {
    transform: scale(1.24) rotate(5deg) translateX(4px);
  }

  48% {
    transform: scale(1.22) rotate(-4deg) translateX(-3px);
  }

  54% {
    transform: scale(1.2) rotate(4deg) translateX(3px);
  }

  62% {
    transform: scale(1.12) rotate(0deg);
  }
}

.certificate {
  position: absolute;
  top: 10px;
  display: grid;
  width: 55px;
  height: 94px;
  place-items: center;
  padding: 10px 0;
  border-radius: 2px;
  color: #f7d33a;
  background: linear-gradient(145deg, #f0441f 0%, #c82718 66%, #9c160f 100%);
  box-shadow: 0 8px 14px rgba(90, 23, 17, 0.28);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.certificate.left {
  left: 18px;
  transform: rotate(-11deg);
}

.certificate.right {
  right: 17px;
  transform: rotate(13deg);
}

.wedding-certificates.is-clickable {
  cursor: pointer;
}

.gift-preview-main.show-qr .wedding-certificates {
  display: none;
}

.gift-inline-qr[hidden] {
  display: none;
}

.gift-inline-qr {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 330px);
  gap: 28px;
  margin-top: 58px;
}

.gift-inline-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 84px;
}

.gift-inline-card:nth-child(2) {
  grid-template-columns: minmax(0, 1fr) 78px;
  margin-top: 2px;
}

.gift-inline-card:nth-child(2) .gift-inline-portrait {
  order: 2;
}

.gift-inline-card:nth-child(2) .gift-inline-panel {
  order: 1;
  grid-template-columns: 68px minmax(0, 1fr);
}

.gift-inline-card:nth-child(2) .gift-inline-code {
  order: -1;
}

.gift-inline-portrait {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  padding: 5px;
  border: 6px dashed rgba(178, 73, 76, 0.28);
  background: rgba(255, 246, 244, 0.78);
  object-position: center 5%;
}

.gift-inline-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  align-items: center;
  gap: 9px;
  min-height: 76px;
  padding: 9px 10px 9px 17px;
  border-radius: 20px;
  background: rgba(246, 239, 237, 0.9);
  box-shadow: 0 10px 24px rgba(55, 25, 21, 0.16);
  text-align: center;
}

.gift-inline-info {
  min-width: 0;
  color: #4f3633;
  line-height: 1.25;
}

.gift-inline-info strong,
.gift-inline-info span,
.gift-inline-info small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gift-inline-info strong {
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 500;
}

.gift-inline-info span {
  font-size: 13px;
}

.gift-inline-info small {
  margin-top: 5px;
  font-size: 9px;
  opacity: 0.78;
}

.gift-inline-code {
  width: 66px;
  height: 66px;
  padding: 5px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 14px, #111 14px 18px, transparent 18px 24px, #111 24px 28px, transparent 28px),
    linear-gradient(#111 8px, transparent 8px 12px, #111 12px 16px, transparent 16px 22px, #111 22px 26px, transparent 26px),
    repeating-linear-gradient(45deg, transparent 0 5px, rgba(0, 0, 0, 0.9) 5px 8px, transparent 8px 12px),
    #fff;
  background-clip: content-box, content-box, content-box, border-box;
  box-shadow: inset 0 0 0 1px rgba(90, 43, 39, 0.08);
}

.gift-inline-code.alt {
  background:
    linear-gradient(90deg, #111 8px, transparent 8px 13px, #111 13px 17px, transparent 17px 23px, #111 23px 30px, transparent 30px),
    linear-gradient(#111 10px, transparent 10px 15px, #111 15px 19px, transparent 19px 25px, #111 25px 29px, transparent 29px),
    repeating-linear-gradient(-45deg, transparent 0 4px, rgba(0, 0, 0, 0.9) 4px 7px, transparent 7px 11px),
    #fff;
  background-clip: content-box, content-box, content-box, border-box;
}



@media (max-width: 380px) {
  .wedding-rsvp-section {
    padding: 24px 18px 30px;
  }

  .rsvp-card {
    border-radius: 54px 54px 38px 38px;
  }

  .rsvp-card-inner {
    padding: 22px 18px 18px;
  }

  .rsvp-card h2 {
    font-size: 17px;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
  }

  .rsvp-field > span,
  .rsvp-radio-group > legend,
  .rsvp-radio {
    font-size: 14px;
  }

  .rsvp-form {
    gap: 12px;
  }

  .rsvp-submit {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .wedding-gift-section {
    padding: 0;
  }

  .gift-preview-main.gift-trigger-card {
    min-height: 268px;
    gap: 24px;
    padding: 28px 16px 28px;
  }

  .gift-preview-main.gift-trigger-card h2 {
    font-size: 24px;
    letter-spacing: 0.04em;
  }

  .wedding-happiness-trigger {
    width: 174px;
  }

  .gift-modal {
    padding: 14px 10px max(14px, env(safe-area-inset-bottom));
  }

  .gift-modal-card {
    width: calc(100vw - 20px);
    padding: 24px 14px 18px;
  }

  .gift-modal-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .gift-qr-panel img {
    width: min(214px, calc(100vw - 98px));
    height: min(214px, calc(100vw - 98px));
    border-width: 11px;
  }
}
.music {
  position: fixed;
  right: 8px;
  top: max(5px, env(safe-area-inset-top));
  z-index: 30;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  border: 3px solid #5f7657;
  background: linear-gradient(180deg, #dcead7 0%, #c4d8be 100%);
  color: #3f5a38;
  font-size: 17px;
  box-shadow: none;
  transform-origin: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.music::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #5f7657;
  border-radius: 50%;
}

.music.playing {
  animation: musicSpin 3s linear infinite;
}

body.invitation-opened .music {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (min-width: 431px) {
  .invitation-preview-section {
    border-inline: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (min-width: 521px) {

  html,
  body {
    background: #ecf0ec;
  }

  .hero {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.18);
  }

  .opening-screen {
    width: 100%;
    max-width: 100%;
    min-height: 100svh;
  }

  .opening-card {
    width: calc(100% - 58px);
    max-width: 365px;
    min-height: min(70svh, 560px);
  }

  .music {
    right: max(8px, calc((100vw - 430px) / 2 + 8px));
  }

  body::after {
    right: max(9px, calc((100vw - 430px) / 2 + 9px));
  }
}

@media (max-width: 360px) {
  .hero {
    padding-inline: 0;
  }

  .invite {
    padding: 0;
    border-radius: 0;
  }

  .invitation-preview {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  h1 {
    font-size: 45px;
  }

  .section-title {
    font-size: 30px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


