:root {
  --bg: #241b17;
  --paper: #afa695;
  --ink: #241b17;
  --muted: #4b3626;
  --gold: #886f5b;
  --gold-2: #4b3626;
  --card: rgba(253, 252, 250, 0.96);
  --accent: #a7987d;
  --radius: 8px;
  /* Radio más pequeño para un look más formal */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --container: min(520px, 100%);
  --cardWidth: 380px;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(36, 27, 23, 0.7), rgba(36, 27, 23, 0.3) 45%, rgba(36, 27, 23, 0.8)),
    url("../img/img01.jpg") center / cover no-repeat;
  pointer-events: none;
}

.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.phone {
  width: var(--container);
  min-height: 100vh;
  position: relative;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-content: center;
  padding: 86px 22px 110px;
  text-align: center;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
}

.hero .line {
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
  margin: 0 auto 18px;
}

.hero .line--bottom {
  margin-top: 18px;
}

.names {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
  line-height: 0.94;
}

.names .first,
.names .second {
  display: block;
  font-size: clamp(54px, 12vw, 78px);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.names .amp {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  margin: 18px auto 14px;
  font-family: var(--font-serif);
  font-style: italic;
}

.subtitle {
  font-family: var(--font-serif);
  font-size: clamp(28px, 7vw, 42px);
  margin: 20px 0 12px;
  font-weight: 400;
  letter-spacing: 1px;
}

.tagline {
  margin: 0;
  font-size: 16px;
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
}

.scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.scroll svg {
  width: 18px;
  height: 18px;
  animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

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

  50% {
    transform: translateY(4px);
  }
}

.screen {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: transparent;
}

.panel {
  width: 100%;
  max-width: var(--cardWidth);
  margin: 0 auto;
  padding: 40px 30px;
  background: var(--card);
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(167, 152, 125, 0.2);
  overflow: hidden;
}

.floral {
  --h: 70px;
  padding-top: calc(26px + var(--h));
  padding-bottom: calc(26px + var(--h));
}

.floral::before,
.floral::after {
  display: none;
}

.floral::before {
  top: 0;
}

.floral::after {
  bottom: 0;
  transform: rotate(180deg);
}

.countdown {
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
}

.countdown h2 {
  font-family: var(--font-serif);
  margin: 0;
  color: var(--muted);
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.timebox {
  width: 100%;
  max-width: 320px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
}

.timebox .cell {
  width: 100%;
  padding: 10px 8px;
}

.timebox .cell+.cell {
  border-left: 1px solid rgba(199, 171, 120, 0.35);
}

.timebox .value {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  color: var(--ink);
}

.timebox .label {
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 1px;
}

.heart {
  width: 44px;
  height: 44px;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 5px;
}

.heart svg {
  width: 100%;
  height: 100%;
}

.footer-note {
  font-family: var(--font-serif);
  font-size: 16px;
  font-style: italic;
  color: var(--gold);
  margin-top: 10px;
  line-height: 1.4;
}

.card {
  width: 100%;
  max-width: var(--cardWidth);
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 40px 30px;
  display: grid;
  gap: 20px;
  text-align: center;
  border: 1px solid rgba(167, 152, 125, 0.2);
  backdrop-filter: blur(10px);
}

.card .icon {
  margin: 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--accent);
}

.card .icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0;
}

.cardLine {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto;
}

.month,
.year {
  font-family: var(--font-serif);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin: 0;
}

.dateRow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 6px 0 2px;
}

.dateRow .side {
  font-size: 13px;
  letter-spacing: 1.2px;
  color: rgba(20, 20, 20, 0.52);
  text-transform: uppercase;
}

.dateRow .side b {
  font-weight: 600;
}

.dateRow .num {
  font-family: var(--font-serif);
  font-size: 54px;
  color: var(--ink);
  line-height: 1;
}

.place {
  margin: 6px 0 2px;
  font-size: 18px;
  color: rgba(20, 20, 20, 0.72);
  font-weight: 600;
}

.btn {
  background: var(--muted);
  color: #fff;
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--muted);
}

.btn:hover {
  background: transparent;
  color: var(--muted);
}

.btn:active {
  transform: translateY(1px);
}

.musicQuestion {
  margin: 2px 6px 0;
  color: rgba(20, 20, 20, 0.62);
  font-size: 14px;
  line-height: 1.35;
}

.gallery {
  background: transparent;
  padding: 22px 16px;
}

.galleryCard {
  width: 100%;
  max-width: var(--cardWidth);
  margin: 0 auto;
  border-radius: var(--radius);
  background: rgba(251, 250, 248, 0.96);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 18px 14px 18px;
}

.galleryHeader {
  text-align: center;
  padding: 12px 10px 18px;
}

.galleryHeader h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  color: var(--gold-2);
  line-height: 1.05;
}

.galleryHeader p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.camera {
  width: 44px;
  height: 44px;
  margin: 14px auto 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: rgba(199, 171, 120, 0.9);
  border: 1px solid rgba(199, 171, 120, 0.35);
  background: rgba(199, 171, 120, 0.08);
}

.camera svg {
  width: 22px;
  height: 22px;
}

.strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.photo {
  scroll-snap-align: center;
  background: #fff;
  padding: 12px 12px 42px 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  height: 320px;
  width: auto;
  aspect-ratio: 3/4;
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s ease;
}

.photo:nth-child(odd) {
  --rot: -1.5deg;
}

.photo:nth-child(even) {
  --rot: 1.5deg;
}

.photo:hover {
  --rot: 0deg;
  z-index: 5;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  filter: sepia(0.1) contrast(1.05);
}

.photo::after {
  content: "";
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 2px;
}

.spacer {
  height: 2px;
  background: rgba(199, 171, 120, 0.18);
  width: 72%;
  margin: 18px auto 0;
  border-radius: 999px;
}

.toTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.toTop svg {
  width: 18px;
  height: 18px;
}

.toTop.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.navBtn {
  position: fixed;
  left: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.navBtn svg {
  width: 18px;
  height: 18px;
}

.navBtn--up {
  top: 16px;
  transform: translateX(-50%) translateY(-10px);
}

.navBtn--down {
  bottom: 16px;
}

.navBtn.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.navBtn--up.is-visible {
  transform: translateX(-50%) translateY(0);
}

.carousel {
  position: relative;
}

.carouselBtn {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease;
  z-index: 2;
}

.carouselBtn svg {
  width: 18px;
  height: 18px;
}

.carouselBtn[aria-disabled="true"] {
  opacity: 0;
  pointer-events: none;
}

.carouselBtn--prev {
  left: -12px;
}

.carouselBtn--next {
  right: -12px;
}

@media (max-width: 520px) {
  .carouselBtn--prev {
    left: 4px;
  }

  .carouselBtn--next {
    right: 4px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lightbox[hidden] {
  display: none !important;
}

.lightboxBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.lightboxImgContainer {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.lightboxImg {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  transform-origin: center center;
  transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightboxImg:active {
  cursor: grabbing;
}

.lightboxClose {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.lightboxClose svg {
  width: 18px;
  height: 18px;
}

.songModal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 16px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.songModal[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.songModal:not([hidden]) {
  display: grid !important;
  opacity: 1;
  visibility: visible;
}

.songBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.songCard {
  position: relative;
  width: 100%;
  max-width: var(--cardWidth);
  background: #fdfcf9;
  border-radius: var(--radius);
  padding: 44px 22px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid #e8e1d5;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.songModal:not([hidden]) .songCard {
  transform: translateY(0);
}

.songCard::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 16px;
  border: 2px solid rgba(199, 171, 120, 0.55);
  pointer-events: none;
}

.songIcon {
  position: absolute;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(251, 250, 248, 0.98);
  border: 1px solid rgba(199, 171, 120, 0.3);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  display: grid;
  place-items: center;
  color: rgba(199, 171, 120, 0.95);
}

.songIcon svg {
  width: 34px;
  height: 34px;
}

.songClose {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 0;
  color: rgba(20, 20, 20, 0.65);
  background: rgba(199, 171, 120, 0.22);
}

.songClose svg {
  width: 18px;
  height: 18px;
}

.songTitle {
  margin: 0;
  text-align: center;
  font-family: "Playfair Display", serif;
  color: rgba(199, 171, 120, 0.95);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.songForm {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  padding: 0 10px 10px;
}

.songField {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(199, 171, 120, 0.35);
  background: transparent;
  padding: 12px 6px;
  font-size: 14px;
  outline: none;
  color: rgba(20, 20, 20, 0.8);
}

.songField::placeholder {
  color: rgba(20, 20, 20, 0.35);
}

.songSubmit {
  margin: 10px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(199, 171, 120, 0.95);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
  min-width: 210px;
  border: 0;
  cursor: pointer;
}

.songStatus {
  margin: 10px 0 0;
  text-align: center;
  color: rgba(20, 20, 20, 0.6);
  font-size: 13px;
  min-height: 18px;
}

.dressModal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 16px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dressModal[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.dressModal:not([hidden]) {
  display: grid !important;
  opacity: 1;
  visibility: visible;
}

.dressBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.dressCard {
  position: relative;
  width: auto;
  max-width: 90vw;
  background: transparent;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dressModal:not([hidden]) .dressCard {
  transform: translateY(0);
}

.dressClose {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(36, 27, 23, 0.6);
  color: #fff;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.dressClose svg {
  width: 16px;
  height: 16px;
}

.dressIcon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: -76px auto 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #c7ab78;
  flex-shrink: 0;
}

.dressIcon svg {
  width: 32px;
  height: 32px;
}

.dressTitle {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: #c7ab78;
  margin: 0 0 4px;
  flex-shrink: 0;
}

.dressSubtitle {
  font-size: 16px;
  color: #888;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.dressImageContainer {
  display: block;
  width: 100%;
  height: auto;
}

.dressImg {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dressImg:hover {
  transform: scale(1.02);
}

.dressInspiration {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.dressLink {
  color: #007bff;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 600;
}

.tipsModal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 16px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tipsModal[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.tipsModal:not([hidden]) {
  display: grid !important;
  opacity: 1;
  visibility: visible;
}

.tipsBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.tipsCard {
  position: relative;
  width: 100%;
  max-width: var(--cardWidth);
  max-height: 85vh;
  background: #fdfcf9;
  border-radius: var(--radius);
  padding: 44px 22px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid #e8e1d5;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
}

.tipsModal:not([hidden]) .tipsCard {
  transform: translateY(0);
}

.tipsClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #c7ab78;
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.9;
}

.tipsClose svg {
  width: 16px;
  height: 16px;
}

.tipsIcon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: -76px auto 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #c7ab78;
}

.tipsIcon svg {
  width: 32px;
  height: 32px;
}

.tipsTitle {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--gold-2);
  margin: 0 0 4px;
}

.tipsList {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}

.tipsList li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--gold-2);
  line-height: 1.4;
  font-weight: 400;
  opacity: 0.9;
}

.tipsList li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-2);
  font-weight: bold;
}

.giftsModal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 16px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.giftsModal[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.giftsModal:not([hidden]) {
  display: grid !important;
  opacity: 1;
  visibility: visible;
}

.giftsBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.giftsCard {
  position: relative;
  width: 100%;
  max-width: var(--cardWidth);
  max-height: 85vh;
  background: #fdfcf9;
  border-radius: var(--radius);
  padding: 44px 22px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid #e8e1d5;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
}

.giftsModal:not([hidden]) .giftsCard {
  transform: translateY(0);
}

.giftsClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #c7ab78;
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.9;
}

.giftsClose svg {
  width: 16px;
  height: 16px;
}

.giftsIcon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: -76px auto 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #c7ab78;
}

.giftsIcon svg {
  width: 32px;
  height: 32px;
}

.giftsTitle {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--gold-2);
  margin: 0 0 4px;
}

.giftsContent {
  margin-top: 16px;
  font-size: 15px;
  color: var(--gold-2);
  line-height: 1.4;
  text-align: left;
}

.giftsContent p {
  margin-bottom: 12px;
}

.giftOption {
  margin-top: 16px;
  position: relative;
  padding-left: 18px;
}

.giftOption::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold-2);
  font-weight: bold;
}

.optionTitle {
  font-weight: bold;
  margin-bottom: 2px;
}

.optionDetail {
  font-size: 14px;
  opacity: 0.8;
}

.rsvpModal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 16px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rsvpModal[hidden] {
  display: none !important;
  opacity: 0;
  visibility: hidden;
}

.rsvpModal:not([hidden]) {
  display: grid !important;
  opacity: 1;
  visibility: visible;
}

.rsvpBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.rsvpCard {
  position: relative;
  width: 100%;
  max-width: var(--cardWidth);
  max-height: 85vh;
  background: #fdfcf9;
  border-radius: var(--radius);
  padding: 44px 22px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid #e8e1d5;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow-y: auto;
}

.rsvpModal:not([hidden]) .rsvpCard {
  transform: translateY(0);
}

.rsvpClose {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #c7ab78;
  border: 0;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0.9;
}

.rsvpIcon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: -76px auto 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: var(--gold-2);
}

.rsvpIcon svg {
  width: 32px;
  height: 32px;
}

.rsvpTitle {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--gold-2);
  margin: 0 0 4px;
}

.rsvpSubtitle {
  font-size: 16px;
  color: #888;
  margin: 16px 0 24px;
}

.rsvpRadioGroup {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.rsvpRadio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--gold-2);
}

.rsvpRadio input {
  display: none;
}

.radioCustom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold-2);
  border-radius: 50%;
  position: relative;
}

.rsvpRadio input:checked+.radioCustom::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--gold-2);
  border-radius: 50%;
}

.rsvpInputGroup {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.rsvpInput {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e8e1d5;
  font-size: 14px;
  color: #555;
  transition: border-color 0.3s ease;
  outline: none;
}

.rsvpInput:focus {
  border-bottom-color: var(--gold-2);
}

.rsvpSubmit {
  width: 100%;
  margin-bottom: 8px;
}

.rsvpStatus {
  font-size: 12px;
  color: var(--gold-2);
  min-height: 18px;
}

@media (max-width: 360px) {
  .strip {
    grid-auto-columns: 88%;
  }

  .panel {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 768px) {
  :root {
    --container: min(620px, 100%);
    --cardWidth: 420px;
  }
}

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

  .scroll svg {
    animation: none;
  }
}

.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.8s ease;
  overflow: hidden;
}

.welcome-overlay.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.welcome-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.05);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  filter: blur(8px);
  opacity: 1;
  z-index: 1;
}

.welcome-overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) 45%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

.welcome-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.welcome-image {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  height: auto;
  max-height: 40vh;
  object-fit: contain;
}

.welcome-text {
  position: absolute;
  top: calc(45% + 110px);
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 32px);
  text-align: center;
  line-height: 1.3;
  margin: 0;
  width: 90%;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 1px;
  z-index: 3;
}

@media (max-height: 600px) {
  .welcome-text {
    top: calc(45% + 90px);
    font-size: 16px;
  }
}

.welcome-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  animation: bounce 1.5s ease-in-out infinite;
  transition: transform 0.3s ease, opacity 0.3s ease;
  margin-top: auto;
  position: relative;
  z-index: 4;
}

.welcome-btn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.welcome-btn svg {
  width: 40px;
  height: 40px;
}