@font-face {
  font-family: "AuthenticSignature";
  src: url("Assets/Fonts/AuthenticSignature.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --primary: #aa302f;
  --primary-light: #c65150;
  --primary-dark: #851f1e;
  --white: #ffffff;
  --off-white: #fff8f0;
  --black: #000000;
  --gray-light: #999;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  background: var(--white);
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.material-symbols-rounded {
  font-variation-settings:
    "FILL" 1,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
}

/* Loader Styles */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease;
}

.loader-wrapper.loaded {
  transform: scale(1.5);
  opacity: 0;
  pointer-events: none;
}

#lottie-container {
  width: 200px;
  height: 200px;
}

.cover-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  position: relative;
  overflow: visible;
  background-color: #ffffff;
  background-image:
    radial-gradient(
      28px 28px at 18% 22%,
      rgba(255, 221, 196, 0.5) 0%,
      rgba(255, 221, 196, 0) 70%
    ),
    radial-gradient(
      34px 34px at 84% 18%,
      rgba(255, 221, 196, 0.45) 0%,
      rgba(255, 221, 196, 0) 72%
    ),
    radial-gradient(
      22px 22px at 72% 78%,
      rgba(255, 221, 196, 0.4) 0%,
      rgba(255, 221, 196, 0) 72%
    ),
    radial-gradient(
      18px 18px at 28% 80%,
      rgba(255, 221, 196, 0.35) 0%,
      rgba(255, 221, 196, 0) 72%
    );
}

.flower-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 42%;
  max-width: 260px;
}

.flower-decor.top-left {
  top: -20px;
  left: -20px;
  transform: scaleX(-1);
}

.flower-decor.top-right {
  top: -20px;
  right: -20px;
}

.flower-decor.bottom-left {
  bottom: -20px;
  left: -20px;
}

.flower-decor.bottom-right {
  bottom: -20px;
  right: -20px;
  transform: scaleX(-1);
}

.flower-img {
  width: 100%;
  height: auto;
  animation: heartbeat 3s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.cover-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.cover-pill {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  padding: 46px 22px 34px;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  animation: zoomIn 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(170, 48, 47, 0.16);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cover-label {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 0;
}

.cover-couple-photos {
  position: relative;
  width: min(260px, 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px 0 10px;
}

.cover-couple-photos::before {
  content: "";
  position: absolute;
  inset: -34px;
  background: url("Assets/Image/dekoraaiflowerfoto.webp") center / contain
    no-repeat;
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.12));
  z-index: 0;
}

.photo-single {
  position: relative;
  z-index: 1;
  width: 160px;
  height: 260px;
  /* border-radius: 26px; */
  object-fit: cover;
  /* border: 1px solid rgba(112, 0, 0, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); */
}

.couple-flower {
  position: absolute;
  width: 160px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  transform: translate(0, 0) scale(0);
  opacity: 0;
  animation-duration: 0.9s, 3s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1, infinite;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.couple-flower-left {
  bottom: -5px;
  left: -20px;
  animation-name: coupleFlowerIn, coupleFlowerBeatLeft;
  animation-delay: 0.25s, 1.15s;
}

.couple-flower-center {
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 150px;
  animation-name: coupleFlowerInCenter, coupleFlowerBeatCenter;
  animation-delay: 0.4s, 1.3s;
}

.couple-flower-right {
  bottom: 0;
  right: -20px;
  animation-name: coupleFlowerIn, coupleFlowerBeatRight;
  animation-delay: 0.35s, 1.25s;
}

@keyframes coupleFlowerIn {
  from {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  to {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes coupleFlowerInCenter {
  from {
    transform: translateX(-50%) scale(0);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

@keyframes coupleFlowerBeatLeft {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(0, 0) scale(1.06);
  }
}

@keyframes coupleFlowerBeatCenter {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes coupleFlowerBeatRight {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(0, 0) scale(1.06);
  }
}

.cover-names {
  font-family: "AuthenticSignature", cursive;
  font-size: 72px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 5px;
  line-height: 1.2;
}

.cover-date {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.guest-info {
  margin-top: 8px;
  margin-bottom: 10px;
}

.cover-to {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2px;
  opacity: 0.95;
}

.cover-guest {
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.95;
  margin-bottom: 10px;
}

.guest-line {
  color: #ffffff;
  font-size: 10px;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.cover-guest-name {
  font-size: 18px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  margin-bottom: 0;
  min-width: 150px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(170, 48, 47, 0.35);
}

.btn-open {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(
    180deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: #ffffff;
  border: none;
  padding: 12px 35px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.btn-open span {
  font-size: 18px;
}

.btn-open:hover {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.04);
}

.btn-open:active {
  transform: translateY(0);
}

.main-content {
  padding-bottom: 70px;
}

.floating-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 5px;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  border-top: 1px solid rgba(170, 48, 47, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
  border-radius: 20px 20px 0 0;
}

.floating-nav.nav-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-item.active {
  background: var(--primary);
  color: var(--white);
}

.nav-item:hover {
  background: var(--primary);
  color: var(--white);
}

.scroll-animate {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade Up (entering from bottom) */
.scroll-animate.fade-up {
  transform: translateY(50px);
}

/* Fade Down (entering from top) */
.scroll-animate.fade-down {
  transform: translateY(-50px);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.section-countdown {
  background: #fff8f0;
  justify-content: center;
  align-items: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: visible;
}

.flower-countdown-top {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40%;
  max-width: 180px;
  z-index: 1;
  pointer-events: none;
}

.flower-img-countdown {
  width: 100%;
  height: auto;
  animation: heartbeat 3s ease-in-out infinite;
}

.countdown-content {
  text-align: center;
  width: 100%;
  max-width: 360px;
}

.section-label {
  font-family: "AuthenticSignature", cursive;
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
}

.couple-photos-countdown {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.countdown-flower-back {
  position: absolute;
  width: 130px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  transform: translate(0, 0) scale(0);
  opacity: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.countdown-flower-back-left {
  left: -25px;
  bottom: -8px;
}

.countdown-flower-back-right {
  right: -25px;
  bottom: 18px;
}

.couple-photos-countdown.scroll-animate.visible .countdown-flower-back {
  animation-duration: 0.9s, 3s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1, infinite;
}

.couple-photos-countdown.scroll-animate.visible .countdown-flower-back-left {
  animation-name: cdownFlowerBackIn, cdownFlowerBackBeatLeft;
  animation-delay: 0.25s, 1.15s;
}

.couple-photos-countdown.scroll-animate.visible .countdown-flower-back-right {
  animation-name: cdownFlowerBackIn, cdownFlowerBackBeatRight;
  animation-delay: 0.35s, 1.25s;
}

@keyframes cdownFlowerBackIn {
  from {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  to {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes cdownFlowerBackBeatLeft {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(0, 0) scale(1.06);
  }
}

@keyframes cdownFlowerBackBeatRight {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(0, 0) scale(1.06);
  }
}

.countdown-flower {
  position: absolute;
  width: 120px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  transform: translate(0, 0) scale(0);
  opacity: 0;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));
}

.countdown-flower-left {
  left: -18px;
  bottom: -4px;
}

.countdown-flower-right {
  right: -18px;
  bottom: 0;
}

.couple-photos-countdown.scroll-animate.visible .countdown-flower {
  animation-duration: 0.9s, 3s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1), ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1, infinite;
}

.couple-photos-countdown.scroll-animate.visible .countdown-flower-left {
  animation-name: cdownFlowerIn, cdownFlowerBeatLeft;
  animation-delay: 0.3s, 1.2s;
}

.couple-photos-countdown.scroll-animate.visible .countdown-flower-right {
  animation-name: cdownFlowerIn, cdownFlowerBeatRight;
  animation-delay: 0.4s, 1.3s;
}

@keyframes cdownFlowerIn {
  from {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  to {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes cdownFlowerBeatLeft {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(0, 0) scale(1.06);
  }
}

@keyframes cdownFlowerBeatRight {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(0, 0) scale(1.06);
  }
}

.photo-countdown {
  position: relative;
  z-index: 2;
  width: 120px;
  height: 160px;
  border-radius: 80px;
  object-fit: cover;
  object-position: center -45%;
  border: 1px solid rgba(170, 48, 47, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.couple-names {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.event-date-main {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.invitation-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 25px;
  line-height: 1.8;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}

.event-finished {
  background: var(--primary);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 15px rgba(170, 48, 47, 0.2);
}

.time-box {
  background: var(--primary);
  color: var(--white);
  padding: 12px 15px;
  border-radius: 10px;
  min-width: 65px;
  text-align: center;
}

.time-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  line-height: 1;
}

.time-label {
  font-size: 10px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
}

.btn-save-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
}

.btn-save-date:hover {
  background: #f0f0f0;
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.section-quran {
  background: var(--primary);
  padding: 40px 20px;
  justify-content: center;
  align-items: center;
}

.quran-bg {
  text-align: center;
  padding: 30px 20px;
}

.quran-text {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 15px;
}

.quran-surah {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.invitation-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px 20px;
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.card-salam {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
}

.card-intro {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 25px;
}

.bride-info,
.groom-info {
  margin-bottom: 20px;
}

.bride-photo-wrapper,
.groom-photo-wrapper {
  position: relative;
  display: inline-block;
}

.bride-photo,
.groom-photo {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 60px;
  border: 4px solid var(--primary);
}

.flower-decor-left,
.flower-decor-right {
  position: absolute;
  width: 80px;
  height: 80px;
}

.flower-decor-left {
  left: -55px;
  top: 50%;
  transform: translateY(-50%);
}

.flower-decor-right {
  right: -55px;
  top: 50%;
  transform: translateY(-50%);
}

.flower-decor-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.flower-decor-img-left {
  animation: heartbeatLeft 2s ease-in-out infinite;
}

.flower-decor-img-right {
  animation: heartbeatRight 2s ease-in-out infinite;
}

@keyframes heartbeatLeft {
  0%,
  100% {
    transform: scaleX(-1) scale(1);
  }
  50% {
    transform: scaleX(-1) scale(1.1);
  }
}

@keyframes heartbeatRight {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.bride-name,
.groom-name {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 15px;
  margin-bottom: 5px;
}

.bride-parents,
.groom-parents {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
}

.bride-address,
.groom-address {
  font-size: 11px;
  font-weight: 500;
  color: #000000;
  margin-top: 5px;
}

.and-text {
  font-family: "AuthenticSignature", cursive;
  font-size: 42px;
  color: var(--primary);
  margin: 15px 0;
}

.section-event {
  background: var(--white);
  padding: 40px 20px;
  justify-content: center;
  align-items: center;
}

.event-pill-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
  overflow: visible;
}

.event-pill {
  position: relative;
  background: var(--primary);
  border-radius: 200px;
  padding: 100px 30px 140px;
  width: 100%;
  max-width: 380px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  color: white;
  overflow: visible;
}

.event-flower-decor {
  position: absolute;
  top: -70px;
  left: -70px;
  width: 180px;
  z-index: 10;
  transform-origin: top left;
  animation: flowerBeat 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes flowerBeat {
  0%,
  100% {
    transform: rotate(-15deg) scale(1);
  }
  50% {
    transform: rotate(-15deg) scale(1.08);
  }
}

.event-item {
  text-align: center;
  width: 100%;
}

.event-icon-rings {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
}

.rings-svg {
  width: 100%;
  height: 100%;
}

.event-title-new {
  font-family: "AuthenticSignature", cursive;
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 5px;
}

.event-month-new {
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 15px;
  font-weight: 500;
}

.event-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 0;
}

.event-side {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 500;
}

.event-day-counter {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.event-time-new {
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 500;
}

.event-divider-new {
  width: 40px;
  height: 1px;
  background: white;
  margin: 0 auto 20px;
}

.event-location-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.event-location-address {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  line-height: 1.6;
}

.event-spacer {
  height: 60px;
  width: 100%;
}

.btn-maps-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: white;
  color: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  margin-top: 40px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.section-gallery {
  background: var(--off-white);
  padding: 40px 15px;
  min-height: auto;
}

.section-heading {
  font-family: "AuthenticSignature", cursive;
  font-size: 44px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 25px;
}

.section-heading-light {
  font-family: "AuthenticSignature", cursive;
  font-size: 44px;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.section-story {
  background: var(--white);
  padding: 40px 20px;
  min-height: auto;
}

.timeline {
  max-width: 350px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -26px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.timeline-content {
  background: var(--primary);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.timeline-date {
  font-size: 11px;
  color: var(--white);
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 1px;
}

.timeline-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 5px 0;
}

.timeline-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.95;
  line-height: 1.6;
}

.section-gift {
  background: var(--primary);
  padding: 40px 20px;
  min-height: auto;
  text-align: center;
}

.gift-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0.95;
}

.gift-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 20px;
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px !important;
}

.qr-code-wrapper {
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.qr-img {
  width: 150px;
  height: 150px;
  display: block;
}

.btn-rekening {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary-dark);
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-rekening:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.rekening-info {
  margin-top: 20px;
}

.rekening-card {
  background: var(--white);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
}

.bank-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.rekening-number {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.atas-nama {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 15px;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-copy:hover {
  background: var(--primary-light);
}

.section-rsvp {
  background: var(--off-white);
  padding: 40px 20px;
  min-height: auto;
}

.rsvp-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-align: center;
  margin-bottom: 20px;
}

.rsvp-form,
.wishes-form {
  max-width: 350px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid rgba(170, 48, 47, 0.2);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 14px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--primary-light);
}

.rsvp-status {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
}

.section-wishes {
  background: var(--white);
  padding: 40px 20px;
  min-height: auto;
}

.wishes-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-align: center;
  margin-bottom: 20px;
}

.wishes-list {
  max-width: 350px;
  margin: 25px auto 0;
}

.wish-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 12px;
  border-left: 3px solid var(--primary);
}

.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.wish-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

.wish-status {
  font-size: 10px;
  font-weight: 600;
  background: var(--primary);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 10px;
}

.wish-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.6;
}

/* Music Control Button */
.music-control-btn {
  position: fixed;
  bottom: 90px;
  left: 20px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
  animation: pulseMusic 2s infinite;
}

.music-control-btn.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

.music-control-btn.scrolling {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

@keyframes pulseMusic {
  0% {
    box-shadow: 0 0 0 0 rgba(170, 48, 47, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(170, 48, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(170, 48, 47, 0);
  }
}

.section-closing {
  position: relative;
  background: var(--off-white);
  padding: 80px 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.closing-flower-top {
  position: absolute;
  top: -30px;
  right: -40px;
  width: 180px;
  z-index: 1;
  opacity: 0.9;
  animation: flowerBeatClosing 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes flowerBeatClosing {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.closing-content {
  text-align: center;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.closing-photo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.closing-photo {
  width: 200px;
  height: 250px;
  border-radius: 100px;
  object-fit: cover;
  object-position: center 25px;
  border: 3px solid rgba(170, 48, 47, 0.3);
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.closing-title {
  font-family: "AuthenticSignature", cursive;
  font-size: 64px;
  color: var(--primary);
  margin-bottom: 25px;
}

.closing-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 30px;
  line-height: 1.8;
  padding: 0 20px;
}

.closing-salam {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 40px;
}

.closing-thank-you {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 10px;
}

.closing-names {
  font-family: "AuthenticSignature", cursive;
  font-size: 56px;
  color: var(--primary);
}

.footer {
  background: var(--primary);
  padding: 20px;
  text-align: center;
}

.footer p {
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  opacity: 0.9;
}

.footer-credit {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  margin-top: 5px;
  opacity: 1 !important;
}

@media (max-width: 360px) {
  .cover-ellipse {
    width: 250px;
    height: 300px;
    padding: 30px 20px 20px;
  }

  .cover-names {
    font-size: 26px;
  }

  .time-box {
    padding: 10px 12px;
    min-width: 55px;
  }

  .time-number {
    font-size: 20px;
  }

  .date-day {
    font-size: 40px;
  }
}

@media (min-width: 768px) {
  .floating-nav {
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px 50px 0 0;
  }
}
