:root {
  --bg-base: #f7efe5;
  --bg-soft: #fffaf4;
  --bg-card: rgba(255, 250, 243, 0.82);
  --text-main: #5e4738;
  --text-soft: #947560;
  --text-muted: #aa8d78;
  --accent: #b57b5b;
  --accent-strong: #8c5d42;
  --accent-soft: #ead2c0;
  --gold: #d9b07a;
  --border: rgba(182, 143, 111, 0.24);
  --shadow-lg: 0 24px 60px rgba(103, 74, 52, 0.18);
  --shadow-md: 0 16px 35px rgba(110, 80, 57, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  text-align: center;
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 226, 203, 0.55), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(241, 214, 192, 0.5), transparent 26%),
    radial-gradient(circle at 50% 90%, rgba(229, 211, 195, 0.55), transparent 30%),
    linear-gradient(180deg, #fcf7f1 0%, #f4e9de 48%, #fbf6f0 100%);
  background-attachment: fixed;
}

body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(24px);
}

body::before {
  width: 220px;
  height: 220px;
  top: 8%;
  left: -40px;
  background: rgba(255, 214, 183, 0.38);
}

body::after {
  width: 260px;
  height: 260px;
  right: -60px;
  bottom: 10%;
  background: rgba(221, 201, 179, 0.34);
}

h1,
h2,
h3,
.names,
.and,
.footer-names {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.container,
.hero-shell,
.footer,
.section-panel {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-panel {
  width: min(1120px, calc(100% - 32px));
  margin: 24px auto 34px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 248, 240, 0.88)),
    radial-gradient(circle at top right, rgba(255, 233, 214, 0.35), transparent 28%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.section-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='rgba(189,146,110,0.08)' stroke-width='1'%3E%3Cpath d='M20 90c35-48 105-48 140 0'/%3E%3Cpath d='M45 90c22-28 68-28 90 0'/%3E%3Cpath d='M90 20v140'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  color: var(--accent-strong);
  margin-bottom: 18px;
}

.section-title::after {
  content: '';
  display: block;
  width: 92px;
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.intro-text {
  max-width: 700px;
  margin: 0 auto 34px;
  line-height: 1.9;
  color: var(--text-soft);
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 248, 240, 0.68), rgba(245, 233, 222, 0.72)),
    url('https://www.transparenttextures.com/patterns/diamond-upholstery.png');
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.6), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.hero-shell {
  width: min(880px, 100%);
  padding: 22px 26px 26px;
  border-radius: 36px;
  border: 1px solid rgba(196, 158, 127, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 241, 0.7));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero-bloom {
  position: absolute;
  width: 120px;
  height: 120px;
  z-index: -1;
  opacity: 0.82;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 241, 232, 0.92) 0 14%, transparent 15%),
    radial-gradient(circle at 28% 32%, rgba(232, 177, 160, 0.7) 0 13%, transparent 14%),
    radial-gradient(circle at 70% 28%, rgba(225, 167, 150, 0.62) 0 12%, transparent 13%),
    radial-gradient(circle at 72% 70%, rgba(244, 201, 187, 0.76) 0 15%, transparent 16%),
    radial-gradient(circle at 28% 72%, rgba(238, 189, 172, 0.72) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 88%, rgba(190, 145, 114, 0.28) 0 11%, transparent 12%);
  filter: drop-shadow(0 12px 18px rgba(167, 115, 92, 0.15));
  animation: bloomBreath 7s ease-in-out infinite;
}

.hero-bloom::before,
.hero-bloom::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
}

.hero-bloom::before {
  inset: 18px 14px auto auto;
  width: 34px;
  height: 20px;
  background: linear-gradient(135deg, rgba(149, 184, 139, 0.55), rgba(117, 149, 104, 0.18));
  transform: rotate(34deg);
}

.hero-bloom::after {
  inset: auto auto 14px 12px;
  width: 38px;
  height: 22px;
  background: linear-gradient(135deg, rgba(149, 184, 139, 0.5), rgba(117, 149, 104, 0.16));
  transform: rotate(-28deg);
}

.bloom-top-left {
  top: -28px;
  left: -20px;
}

.bloom-top-right {
  top: -18px;
  right: -18px;
  transform: scale(0.92) rotate(18deg);
  animation-delay: 1.2s;
}

.bloom-bottom-left {
  bottom: -24px;
  left: -16px;
  transform: scale(0.88) rotate(-18deg);
  animation-delay: 2.1s;
}

.bloom-bottom-right {
  right: -22px;
  bottom: -28px;
  transform: scale(1.05) rotate(12deg);
  animation-delay: 0.6s;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(181, 123, 91, 0.22);
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.69rem;
}

.hero-image {
  width: clamp(170px, 19vw, 220px);
  height: clamp(170px, 19vw, 220px);
  margin: 16px auto 14px;
  padding: 10px;
  border-radius: 42% 58% 55% 45% / 41% 43% 57% 59%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 218, 202, 0.72));
  box-shadow: 0 20px 45px rgba(105, 74, 53, 0.18);
  animation: morphFrame 8s ease-in-out infinite;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: 0 12px 24px rgba(92, 65, 46, 0.16);
}

.hero-content {
  max-width: 660px;
  margin: 0 auto;
}

.subtitle {
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 8px;
}

.names {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.2rem, 6.4vw, 5.2rem);
  line-height: 0.96;
  color: var(--accent-strong);
  text-shadow: 0 6px 18px rgba(153, 112, 83, 0.16);
  margin-bottom: 10px;
}

.name-separator {
  display: inline-block;
  margin-inline: 0.18em;
}

.hero-tagline {
  max-width: 520px;
  margin: 0 auto 14px;
  line-height: 1.65;
  font-size: 0.96rem;
  color: var(--text-soft);
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-pill,
.music-status,
.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(180, 142, 111, 0.25);
  color: var(--accent-strong);
}

.hero-action-row {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-action-row .date {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.96rem;
}

.btn-elegant,
.btn-copy,
.btn-wa {
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, opacity 0.25s ease;
}

.btn-elegant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 11px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b57b5b, #8a5a40);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 12px 24px rgba(128, 84, 56, 0.28);
}

.btn-elegant::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.34) 50%, transparent 80%);
  transform: translateX(-120%);
}

.btn-elegant:hover,
.btn-elegant:focus-visible,
.btn-copy:hover,
.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(111, 74, 50, 0.22);
  outline: none;
}

.btn-elegant:hover::before,
.btn-elegant:focus-visible::before {
  animation: shine 1.1s ease;
}

.btn-small {
  padding-inline: 16px;
  min-width: 108px;
}

.music-status {
  font-size: 0.8rem;
}

.card-soft,
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 244, 236, 0.9));
  border: 1px solid rgba(185, 148, 118, 0.22);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.card-soft {
  padding: 26px;
}

.card {
  padding: 30px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card:hover,
.person:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(103, 75, 52, 0.17);
  border-color: rgba(181, 123, 91, 0.34);
}

.couple-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.person h3 {
  font-size: 2.2rem;
  color: var(--accent-strong);
  margin: 14px 0 10px;
}

.person p {
  color: var(--text-soft);
  line-height: 1.8;
}

.photo-placeholder {
  width: 190px;
  height: 190px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(230, 205, 184, 0.82));
  box-shadow: 0 14px 30px rgba(112, 80, 56, 0.16);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.photo-placeholder:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 36px rgba(112, 80, 56, 0.22);
}

.and {
  font-family: 'Great Vibes', cursive;
  font-size: 4.3rem;
  color: rgba(181, 123, 91, 0.68);
}

.event-grid,
.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.event-card {
  text-align: center;
  justify-items: center;
}

.event-card p,
.gift-card p,
.card h3 {
  line-height: 1.8;
}

.event-card .card-badge {
  margin-inline: auto;
}

.card-badge {
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.countdown-container {
  margin-top: 26px;
  padding: 30px;
}

.countdown-container h3 {
  font-size: 2rem;
  color: var(--accent-strong);
  margin-bottom: 18px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}

.countdown::after {
  content: '\2665';
  position: absolute;
  right: 4px;
  top: -12px;
  color: rgba(181, 123, 91, 0.45);
  font-size: 1.25rem;
}

.time-box {
  padding: 20px 14px;
  border-radius: 22px;
  border: 1px solid rgba(185, 148, 118, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(239, 222, 208, 0.82));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.time-box span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.time-box p {
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  color: var(--text-soft);
}

.venue-map .map-wrapper {
  position: relative;
  margin-top: 24px;
  border-radius: 28px;
  border: 1px solid rgba(185, 148, 118, 0.28);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.venue-map .map-wrapper::before {
  content: 'Lokasi Acara';
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  background: rgba(255, 251, 246, 0.86);
  border: 1px solid rgba(185, 148, 118, 0.24);
}

.venue-map iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  filter: sepia(0.18) saturate(0.9) contrast(0.96);
}

.map-decoration {
  position: absolute;
  top: 14px;
  right: 22px;
  z-index: 2;
  font-size: 1.2rem;
  opacity: 0.72;
}

.map-decoration.alt {
  top: auto;
  right: auto;
  left: 18px;
  bottom: 18px;
}

.wedding-gift {
  background:
    linear-gradient(180deg, rgba(255, 251, 247, 0.8), rgba(251, 243, 234, 0.9)),
    radial-gradient(circle at top left, rgba(255, 223, 198, 0.32), transparent 30%);
}

.gift-card {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.gift-grid {
  grid-template-columns: repeat(2, minmax(280px, 360px));
  justify-content: center;
}

.gift-grid .gift-card:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 360px);
}

.gift-card h3 {
  font-size: 2rem;
  color: var(--accent-strong);
}

.bca-logo {
  width: 92px;
  height: auto;
  margin-bottom: 8px;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  width: 100%;
}

.account-number {
  flex: 0 1 100%;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(236, 221, 207, 0.62);
  border: 1px solid rgba(185, 148, 118, 0.18);
  color: var(--accent-strong);
  font-weight: 700;
  text-align: center;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #a97457, #7e513c);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.btn-copy.copied {
  background: linear-gradient(135deg, #5f9c71, #457855);
}

.rsvp {
  background:
    linear-gradient(180deg, rgba(255, 249, 243, 0.74), rgba(255, 255, 255, 0.84)),
    radial-gradient(circle at bottom right, rgba(241, 217, 198, 0.28), transparent 32%);
}

.rsvp-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn-wish {
  background: linear-gradient(135deg, #cb8e73, #9e6349);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #7d6b5d, #5f4e42);
  box-shadow: 0 12px 24px rgba(96, 78, 66, 0.2);
}

/* --- GUEST BOOK STYLES --- */
.guest-form {
  margin-bottom: 2rem;
  text-align: left;
  padding: 2rem;
  max-width: 760px;
  margin-inline: auto;
}

.form-group {
  margin-bottom: 1.2rem;
}

.guest-form input,
.guest-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(183, 125, 95, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #5c4033;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.guest-form input:focus,
.guest-form textarea:focus {
  outline: none;
  border-color: #b77d5f;
  background: white;
  box-shadow: 0 4px 12px rgba(183, 125, 95, 0.1);
}

.guest-form textarea {
  height: 120px;
  resize: none;
}

.wish-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: left;
  max-height: 500px;
  overflow-y: auto;
  padding: 10px;
}

.wish-list::-webkit-scrollbar {
  width: 5px;
}

.wish-list::-webkit-scrollbar-thumb {
  background: rgba(183, 125, 95, 0.3);
  border-radius: 10px;
}

.wish-item {
  background: white;
  border-radius: 16px;
  padding: 1.2rem;
  border-left: 4px solid #b77d5f;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  animation: slideInUp 0.5s ease forwards;
}

.wish-header {
  margin-bottom: 0.5rem;
  color: #b77d5f;
  font-size: 0.9rem;
}

.wish-body {
  color: #5c4033;
  line-height: 1.5;
  font-size: 0.95rem;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wish-loading {
  text-align: center;
  padding: 2rem 1rem;
  color: #b77d5f;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.wish-empty {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #c09882;
  font-size: 0.92rem;
  font-style: italic;
}

.btn-elegant:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.footer {
  padding: 56px 24px 70px;
}

.footer h2 {
  font-size: 3rem;
  color: var(--accent-strong);
  margin-bottom: 12px;
}

.footer h3 {
  font-size: 1.5rem;
  color: var(--text-soft);
  margin-top: 22px;
}

.footer p {
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.9;
  color: var(--text-soft);
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: 3.4rem;
  color: var(--accent-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.98);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.locked-scroll {
  overflow-y: auto;
}

.hidden-section {
  display: none;
  opacity: 0;
}

.hidden-section.show {
  display: block;
  animation: fadeInContent 1.2s ease forwards;
}

.floating-sparkle,
.floating-element,
.floating-flower,
.hero-orb,
.floating-heart,
.floating-petal,
.confetti-piece {
  pointer-events: none;
}

.floating-sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.8);
  animation: sparkle 3.8s ease-in-out infinite;
  z-index: 1;
}

.hero-orb {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.45;
}

.orb-left {
  top: 10%;
  left: -60px;
  background: radial-gradient(circle, rgba(255, 210, 186, 0.95), transparent 65%);
  animation: drift 12s ease-in-out infinite;
}

.orb-right {
  right: -70px;
  bottom: 8%;
  background: radial-gradient(circle, rgba(227, 205, 184, 0.9), transparent 65%);
  animation: drift 14s ease-in-out infinite reverse;
}

.floating-element,
.floating-flower {
  position: absolute;
  font-size: 1.8rem;
  color: rgba(181, 123, 91, 0.58);
  z-index: 1;
}

.floating-element {
  animation: float 6s ease-in-out infinite;
}

.floating-flower {
  animation: floatFlower 8s ease-in-out infinite;
}

.heart1 {
  top: 18%;
  left: 18%;
}

.heart2 {
  right: 16%;
  bottom: 22%;
}

.flower1 {
  top: 28%;
  left: 10%;
}

.flower2 {
  top: 20%;
  right: 12%;
}

.flower3 {
  left: 14%;
  bottom: 18%;
  font-size: 1.45rem;
  opacity: 0.55;
  animation-duration: 9s;
}

.flower4 {
  top: 34%;
  right: 20%;
  font-size: 1.55rem;
  opacity: 0.52;
  animation-duration: 10s;
  animation-delay: 1.8s;
}

.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 9999;
  animation: confettiFall linear forwards;
}

.floating-heart {
  position: fixed;
  top: 100%;
  left: 50%;
  font-size: 1.1rem;
  z-index: 10;
  animation: floatHeart 5s ease-in forwards;
  opacity: 0.72;
}

.floating-petal {
  position: fixed;
  top: -20px;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #ffd8cd, #d89a8e 72%);
  border-radius: 52% 48% 66% 34%;
  z-index: 1;
  animation: fallPetal linear forwards;
}

.floating-petal::before {
  content: '';
  position: absolute;
  inset: 3px 4px 4px 3px;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255, 241, 234, 0.95), rgba(255, 241, 234, 0));
  opacity: 0.8;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

@keyframes sparkle {

  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-10px) scale(1.5);
    opacity: 1;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

@keyframes floatFlower {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-22px) scale(1.08);
  }
}

@keyframes confettiFall {
  from {
    transform: translateY(-12px) rotate(0deg);
    opacity: 1;
  }

  to {
    transform: translateY(120vh) rotate(540deg);
    opacity: 0;
  }
}

@keyframes floatHeart {
  0% {
    transform: translateX(-50%) translateY(0) scale(0.85);
    opacity: 0;
  }

  20% {
    opacity: 0.9;
  }

  100% {
    transform: translateX(calc(-50% + 30px)) translateY(-92vh) scale(1.35);
    opacity: 0;
  }
}

@keyframes fallPetal {
  from {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.9;
  }

  to {
    transform: translateY(110vh) translateX(46px) rotate(680deg);
    opacity: 0;
  }
}

@keyframes morphFrame {

  0%,
  100% {
    border-radius: 42% 58% 55% 45% / 41% 43% 57% 59%;
  }

  50% {
    border-radius: 58% 42% 44% 56% / 53% 49% 51% 47%;
  }
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(18px, -24px) scale(1.05);
  }
}

@keyframes bloomBreath {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.08) rotate(4deg);
    opacity: 1;
  }
}

@media (max-width: 900px) {

  .couple-wrapper,
  .event-grid,
  .gift-grid,
  .countdown {
    grid-template-columns: 1fr;
  }

  .and {
    font-size: 3.3rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 56px 18px;
  }

  .section-panel {
    width: min(100% - 18px, 1120px);
    border-radius: 26px;
    margin: 16px auto 24px;
  }

  .hero {
    min-height: 80svh;
    padding: 34px 14px 36px;
  }

  .hero-shell {
    width: min(100%, 520px);
    padding: 28px 20px 34px;
    border-radius: 28px;
  }

  .hero-image {
    width: 230px;
    height: 230px;
    margin: 20px auto 16px;
  }

  .subtitle {
    font-size: 0.8rem;
  }

  .names {
    font-size: clamp(3.8rem, 14vw, 4.8rem);
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
    margin-bottom: 14px;
  }

  .name-part,
  .name-separator {
    display: block;
    margin: 0;
  }

  .name-separator {
    font-size: 0.85em;
    line-height: 0.9;
  }

  .hero-tagline {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 14px;
  }

  .hero-meta {
    margin-bottom: 14px;
  }

  .hero-action-row {
    gap: 10px;
  }

  .hero-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-elegant,
  .btn-wa {
    width: 100%;
  }

  .countdown-container {
    padding: 24px 18px;
  }

  .account-row {
    flex-direction: column;
  }

  .account-number,
  .btn-copy {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-image {
    width: 205px;
    height: 205px;
  }

  .photo-placeholder {
    width: 160px;
    height: 160px;
  }

  .footer-names {
    font-size: 2.8rem;
  }
}

.copyright {
  margin-top: 10px;
  /* sebelumnya 20px, dikurangi */
  margin-bottom: 50px;
  /* biar ada jarak dari bawah */
  font-size: 0.85rem;
  opacity: 0.7;
  text-align: center;
}

.Name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #b77d5f;
  margin-top: 5px;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}