:root {
  --bg: #fcf4f7;
  --ink: #382534;
  --accent: #a24f70;
  --accent-soft: #f2dbe5;
  --card: rgba(255, 250, 252, 0.92);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(162, 79, 112, 0.12), transparent 28%), linear-gradient(180deg, #fff9fb 0%, var(--bg) 100%);
}

.romantic-hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.romantic-hero::before,
.romantic-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.44;
}

.romantic-hero::before {
  top: 12%;
  left: 8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 226, 238, 0.3) 0%, rgba(255, 226, 238, 0) 72%);
  animation: romantic-haze-drift 12s ease-in-out infinite;
}

.romantic-hero::after {
  right: 8%;
  bottom: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(214, 148, 179, 0.2) 0%, rgba(214, 148, 179, 0) 74%);
  animation: romantic-haze-drift 15s ease-in-out infinite reverse;
}

.romantic-slides, .hero__slide, .romantic-overlay, .hero__hearts { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.05s ease; background: #35242b; overflow: hidden; }
.hero__slide::before { content: ""; position: absolute; inset: -4%; background-image: var(--slide-image); background-size: cover; background-position: center; transform: scale(1.11); filter: blur(10px) saturate(0.92) brightness(0.74); transition: transform 6.8s ease-out, filter 1.1s ease; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.12), rgba(255,255,255,0.02) 32%, rgba(53,36,43,0) 58%), var(--slide-image); background-size: cover, cover; background-position: center, center; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active::before { transform: scale(1.03); filter: blur(0) saturate(0.92) brightness(0.78); }
.romantic-overlay { background: linear-gradient(180deg, rgba(34, 20, 29, 0.32), rgba(34, 20, 29, 0.58)); }
.romantic-frame {
  position: relative; z-index: 2; width: min(720px, calc(100% - 2rem)); padding: 3rem 1.5rem; text-align: center;
  border: 1px solid rgba(255,255,255,0.34); background: rgba(255, 250, 252, 0.14); backdrop-filter: blur(10px); border-radius: 28px; color: #fff;
  box-shadow: 0 20px 60px rgba(31, 14, 22, 0.22);
  overflow: hidden;
  animation: romantic-frame-float 9s ease-in-out infinite;
}
.romantic-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255, 244, 248, 0.18);
  pointer-events: none;
}

.romantic-frame > * {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(18px);
  animation: romantic-content-rise 860ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.romantic-frame > :nth-child(1) { animation-delay: 120ms; }
.romantic-frame > :nth-child(2) { animation-delay: 220ms; }
.romantic-frame > :nth-child(3) { animation-delay: 320ms; }
.romantic-frame > :nth-child(4) { animation-delay: 430ms; }
.romantic-frame > :nth-child(5) { animation-delay: 540ms; }
.romantic-frame > :nth-child(6) { animation-delay: 650ms; }

.romantic-kicker, .romantic-label { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; }
.romantic-kicker, .romantic-label { text-shadow: 0 2px 10px rgba(47, 20, 34, 0.18); }
.romantic-names { margin: 0.6rem 0; font-family: "Great Vibes", cursive; font-size: clamp(3.2rem, 8.2vw, 5.6rem); font-weight: 400; letter-spacing: 0.03em; text-shadow: 0 18px 34px rgba(42, 17, 29, 0.28); }
.romantic-date { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 1.2rem; letter-spacing: 0.08em; text-shadow: 0 8px 16px rgba(42, 17, 29, 0.22); }
.romantic-line { max-width: 620px; margin: 1.2rem auto 0; line-height: 1.85; font-size: 1.05rem; text-shadow: 0 10px 24px rgba(42, 17, 29, 0.22); }
.romantic-actions { margin-top: 1.7rem; }
.romantic-btn, .romantic-admin {
  border: none; background: linear-gradient(135deg, #a24f70, #7d3c56); color: #fff; padding: 0.95rem 1.45rem; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-block;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.04em;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(61, 24, 40, 0.22); transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.romantic-admin { margin-top: 0.8rem; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); }
.romantic-btn:hover, .romantic-admin:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(61, 24, 40, 0.28); }
.romantic-hint { margin-top: 0.9rem; opacity: 0.82; font-size: 0.9rem; }
.hidden { display: none !important; }
.hero__heart { position: absolute; top: -8%; color: rgba(255, 241, 246, 0.84); opacity: 0; animation: hero-heart-fall linear forwards; }
@keyframes hero-heart-fall { 0% { transform: translate3d(0, -6%, 0) rotate(0deg) scale(0.9); opacity: 0; } 10% { opacity: 0.8; } 100% { transform: translate3d(var(--heart-drift, 0px), 118vh, 0) rotate(var(--heart-rotate, 180deg)) scale(1.08); opacity: 0; } }

.romantic-main { width: min(1100px, 92vw); margin: 0 auto; padding: 3rem 0 4rem; }
.romantic-panel, .romantic-card { background: var(--card); border: 1px solid rgba(162, 79, 112, 0.16); border-radius: 24px; box-shadow: 0 14px 34px rgba(110, 73, 89, 0.1); position: relative; overflow: hidden; }
.romantic-card, .romantic-panel { transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease; }
.romantic-card:hover, .romantic-panel:hover { transform: translateY(-4px); box-shadow: 0 22px 42px rgba(110, 73, 89, 0.14); border-color: rgba(162, 79, 112, 0.24); }
.romantic-panel::before,
.romantic-card::before {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(162, 79, 112, 0.46), transparent);
}

.romantic-panel::after,
.romantic-card::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(162, 79, 112, 0.24), transparent);
}

.romantic-panel { padding: clamp(1.6rem, 3.5vw, 3rem); background: linear-gradient(180deg, rgba(255, 252, 253, 0.98), rgba(248, 236, 242, 0.9)); }
.romantic-panel--featured {
  box-shadow: 0 20px 48px rgba(110, 73, 89, 0.13);
}

.romantic-panel > *,
.romantic-card > * {
  opacity: 0;
  transform: translateY(16px);
  animation: romantic-content-rise 780ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.romantic-panel > :nth-child(1),
.romantic-card > :nth-child(1) { animation-delay: 90ms; }

.romantic-panel > :nth-child(2),
.romantic-card > :nth-child(2) { animation-delay: 180ms; }

.romantic-panel > :nth-child(3),
.romantic-card > :nth-child(3) { animation-delay: 280ms; }

.romantic-panel > :nth-child(4),
.romantic-card > :nth-child(4) { animation-delay: 380ms; }

.romantic-card li {
  opacity: 0;
  transform: translateX(-10px);
  animation: romantic-list-drift 700ms ease forwards;
}

.romantic-card li:nth-child(1) { animation-delay: 240ms; }
.romantic-card li:nth-child(2) { animation-delay: 320ms; }
.romantic-card li:nth-child(3) { animation-delay: 400ms; }
.romantic-card li:nth-child(4) { animation-delay: 480ms; }
.romantic-card li:nth-child(5) { animation-delay: 560ms; }

.romantic-panel__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
  color: #97566f;
}

.romantic-panel__ornament span {
  width: clamp(70px, 12vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(162, 79, 112, 0.6), transparent);
}

.romantic-panel__ornament strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.romantic-panel__header { text-align: center; margin-bottom: 0.9rem; }
.romantic-panel__header h2 { margin: 0.35rem 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2.35rem, 5vw, 3.6rem); color: #7f3d5a; }

.romantic-message-shell {
  position: relative;
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(249, 236, 242, 0.82));
  box-shadow: inset 0 0 0 1px rgba(162, 79, 112, 0.08), 0 16px 34px rgba(162, 79, 112, 0.08);
}

.romantic-message-shell::before,
.romantic-message-shell::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(162, 79, 112, 0.34), transparent);
}

.romantic-message-shell::before { top: 0.95rem; }
.romantic-message-shell::after { bottom: 0.95rem; }

.romantic-message {
  margin: 0;
  line-height: 2.02;
  color: #5c4450;
  font-size: clamp(1.12rem, 1.55vw, 1.22rem);
  padding: 1.65rem 1.45rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 231, 239, 0.78));
  box-shadow: inset 0 0 0 1px rgba(162, 79, 112, 0.08);
  text-align: center;
}

.romantic-message__highlight {
  display: inline-block;
  margin: 0.25rem 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.42em;
  color: var(--accent);
  font-weight: 700;
}

.romantic-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.romantic-address {
  margin: 0;
  color: #5d4451;
  padding: 0.95rem 1rem;
  border-left: 3px solid rgba(162, 79, 112, 0.65);
  border-radius: 14px;
  background: rgba(255, 247, 250, 0.9);
}

.romantic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }

.romantic-card {
  padding: 1.55rem 1.35rem;
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.98), rgba(248, 236, 242, 0.9));
}

.romantic-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.romantic-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(162, 79, 112, 0.1);
  color: #8c4764;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.romantic-card h3 { margin: 0.45rem 0 0.45rem; font-family: "Cormorant Garamond", serif; font-size: 2.2rem; color: #7f3d5a; }

.romantic-card__intro {
  margin: 0 0 1rem;
  color: #755664;
  line-height: 1.7;
  font-size: 0.96rem;
}

.romantic-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.78rem; color: #5c4450; }

.romantic-list li {
  position: relative;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 247, 250, 0.94);
  border-left: 3px solid rgba(162, 79, 112, 0.65);
  box-shadow: inset 0 0 0 1px rgba(162, 79, 112, 0.06);
}

.romantic-list--drinks li {
  padding-left: 3rem;
}

.romantic-list--drinks li::before {
  content: "✦";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(162, 79, 112, 0.12);
  color: #8c4764;
  font-size: 0.75rem;
}

.romantic-list--timeline li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 0.7rem;
  padding-left: 0.95rem;
}

.timeline-index {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(162, 79, 112, 0.18), rgba(162, 79, 112, 0.08));
  color: #8c4764;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.timeline-time {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #8c4764;
  min-width: 3.5rem;
}

.timeline-detail {
  color: #5c4450;
  line-height: 1.55;
}

.romantic-footer {
  text-align: center;
  padding: 1.2rem 1rem 2rem;
  color: #6e5460;
}

.romantic-footer p {
  margin: 0.2rem 0;
}

.romantic-footer p:first-child {
  color: var(--accent);
  font-weight: 600;
}

.romantic-brand {
  display: inline-block;
  margin: 0.38rem auto;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8c4764;
  background: rgba(162, 79, 112, 0.11);
  border: 1px solid rgba(162, 79, 112, 0.2);
}

.motion-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 760ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: transform, opacity;
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.romantic-line,
.romantic-message,
.romantic-card__intro,
.romantic-list,
.timeline-detail,
.romantic-address,
.romantic-footer p,
.romantic-hint {
  font-family: "Manrope", sans-serif;
}

.romantic-message,
.romantic-list,
.timeline-detail,
.romantic-card__intro,
.romantic-address {
  font-size: 1rem;
  line-height: 1.8;
}

.romantic-panel__ornament strong,
.romantic-panel__header h2,
.romantic-card h3,
.romantic-message__highlight {
  font-family: "Great Vibes", cursive;
}

@keyframes romantic-haze-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(16px, -12px, 0) scale(1.08);
  }
}

@keyframes romantic-frame-float {
  0%, 100% {
    transform: translateY(0);
  }

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

@keyframes romantic-content-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes romantic-list-drift {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

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

@media (prefers-reduced-motion: reduce) {
  .romantic-hero::before,
  .romantic-hero::after,
  .romantic-frame,
  .romantic-frame > *,
  .romantic-panel__header > *,
  .romantic-card > *,
  .romantic-card li,
  .motion-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .hero__slide,
  .hero__slide::before,
  .romantic-btn,
  .romantic-admin,
  .romantic-card,
  .romantic-panel {
    transition: none;
  }
}

@media (max-width: 720px) {
  .romantic-hero {
    min-height: 88svh;
  }

  .romantic-hero::before {
    top: 8%;
    left: -8%;
    width: 170px;
    height: 170px;
  }

  .romantic-hero::after {
    right: -10%;
    bottom: 12%;
    width: 200px;
    height: 200px;
  }

  .romantic-frame {
    width: calc(100% - 1.1rem);
    padding: 2.2rem 0.95rem;
    border-radius: 22px;
  }

  .romantic-kicker,
  .romantic-label {
    letter-spacing: 0.13em;
    font-size: 0.66rem;
  }

  .romantic-names {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .romantic-date {
    font-size: 1.03rem;
  }

  .romantic-line {
    font-size: 0.94rem;
    line-height: 1.64;
    margin-top: 1rem;
  }

  .romantic-btn,
  .romantic-admin {
    width: min(100%, 300px);
    text-align: center;
  }

  .romantic-main {
    width: calc(100% - 1rem);
    padding: 2.2rem 0 3rem;
  }

  .romantic-panel,
  .romantic-card {
    border-radius: 18px;
  }

  .romantic-panel {
    padding: 1.05rem;
  }

  .romantic-panel__ornament {
    gap: 0.55rem;
  }

  .romantic-panel__ornament strong {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }

  .romantic-message-shell {
    padding: 0.9rem;
    border-radius: 18px;
  }

  .romantic-message {
    line-height: 1.82;
    font-size: 0.98rem;
    padding: 1.2rem 1rem;
  }

  .romantic-meta {
    grid-template-columns: 1fr;
  }

  .romantic-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .romantic-card {
    padding: 1rem;
  }

  .romantic-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .romantic-card h3 {
    font-size: clamp(1.7rem, 8vw, 2rem);
  }

  .romantic-card__intro,
  .romantic-list {
    font-size: 0.95rem;
  }

  .romantic-list--drinks li {
    padding-left: 2.8rem;
  }

  .romantic-list--timeline li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .timeline-index {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@media (max-width: 420px) {
  .romantic-frame {
    width: calc(100% - 0.75rem);
    padding: 1.9rem 0.8rem;
  }

  .romantic-names {
    font-size: clamp(2.15rem, 13vw, 2.8rem);
  }

  .romantic-date {
    font-size: 0.95rem;
    letter-spacing: 0.05em;
  }

  .romantic-line {
    font-size: 0.89rem;
  }

  .romantic-hint {
    font-size: 0.8rem;
  }

  .romantic-main {
    width: calc(100% - 0.72rem);
    padding: 1.8rem 0 2.6rem;
  }

  .romantic-panel,
  .romantic-card {
    border-radius: 16px;
  }

  .romantic-footer {
    font-size: 0.9rem;
    padding: 1rem 0.85rem 1.7rem;
  }
}
