#start-button.attention {
  animation: start-attention 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  box-shadow:
    0 0 0 0 rgba(255, 255, 255, 0.7),
    0 0 16px 4px rgba(255, 255, 255, 0.18);
}

@keyframes start-attention {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(255, 255, 255, 0.7),
      0 0 16px 4px rgba(255, 255, 255, 0.18);
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 12px rgba(255, 255, 255, 0.18),
      0 0 32px 8px rgba(255, 255, 255, 0.22);
  }
}
#start-pointer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 2.5rem;
  animation: pointer-bounce 1.2s infinite;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.6) brightness(0.92);
  opacity: 0.85;
}

@keyframes pointer-bounce {
  0%,
  100% {
    transform: translateY(30px);
    opacity: 1;
  }
  50% {
    transform: translateY(70px) scale(1.08);
    opacity: 0.7;
  }
}
/* --- Mobile Font Size Enhancements for Key Writings --- */
@media (max-width: 600px) {
  .bg-color,
  .groom {
    font-size: 2.5rem !important;
    line-height: 1.1;
  }
  .date {
    font-size: 1.4rem !important;
  }
  .title h2,
  h2.bg-color {
    font-size: 2.6rem !important;
    margin-bottom: 0.7em;
  }
  .attending {
    font-size: 2.2rem !important;
  }
  .final-p,
  h3.final-p {
    font-size: 1.3rem !important;
    letter-spacing: 1px;
  }
  .quote {
    font-size: 1.2rem !important;
    font-style: italic;
    margin-top: -30px;
    margin-bottom: 40px;
  }
  .request {
    font-size: 1.1rem !important;
  }
  h4 {
    font-size: 1.4rem !important;
    font-weight: bold !important;
    margin-bottom: 30px !important;
  }
  .two-points {
    font-size: 1.5rem !important;
  }
  .location {
    font-size: 1.4rem !important;
  }
  .wedding-list {
    font-size: 1.2rem !important;
  }
  .end-section {
    font-size: 1.1rem !important;
  }
  .site-footer {
    font-size: 1rem !important;
  }
}
/* Snap Scrolling for Main Sections */
.snap-container {
  height: 100vh;
  height: 100dvh;
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
}
.snap-section {
  scroll-snap-align: start;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(10px, 2.5dvh, 20px) 16px;
}

.snap-section > * {
  width: 100%;
  max-width: 410px;
  margin-inline: auto;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #111;
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}
html,
body {
  background-color: #111;
  color: white !important;
  font-weight: bold !important;
  margin: 0;
  padding: 0;
  width: 100%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
#scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  font-size: 36px;
  color: white;
  text-align: center;
  z-index: 1002;
  animation: bounce 2.5s infinite;
  opacity: 0.95;
  pointer-events: none;
}

.opacityReduce {
  background-color: rgba(0, 0, 0, 0.6) !important;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-20px);
  }
}

* {
  box-sizing: border-box;
}
#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  pointer-events: none;
}
.bg-theme {
  background-color: transparent;
}
.dot,
.dot2,
.dot3 {
  width: 20px;
  height: 20px;
  position: absolute;
  background: url(../images/image-from-rawpixel-id-12085701-png.png);
  background-size: 100% 100%;
  filter: brightness(0) invert(1);
  backface-visibility: hidden; /* Improves 3D rendering */
  transform-style: preserve-3d;
}
html,
#container {
  width: 100%;
  height: 100%;
}
#logo {
  left: 50%;
  top: 50%;
  position: absolute;
  border-radius: 10px;
}

/*intro*/
#intro-screen {
  height: 95vh;
  width: 410px;
  background-image: url("../images/index img.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#intro-screen {
  position: relative;
}
#intro-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  transform: scale(1.5) translateY(130px) translateX(35px);
  z-index: 0;
}
#intro-screen > .intro-overlay {
  position: relative;
  z-index: 1;
}
.intro-overlay {
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.4
  ); /* Optional: darkens image for better text contrast */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#intro-text {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  padding-top: 5px;
  color: white;
  font-family: "Cormorant Upright", serif;
}

#start-button {
  z-index: 7;
  padding: 16px 28px;
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s;
  margin: 0px auto 0 auto;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 35px;
}

#volume-toggle {
  position: fixed;
  bottom: 10px;
  left: 30px;
  width: 60px;
  height: 60px;
  z-index: 10000;
  cursor: pointer;
  background-color: transparent;
  display: none; /* Hidden by default */
  transition: all 0.3s ease;
  box-sizing: border-box;
}

#volume-toggle path {
  fill: white; /* Black icon in all conditions */
}

.bg-color {
  color: white;
  font-family: "alex brush", serif;
  font-size: 40px;
  font-weight: 400;
  margin-top: 10px;
  text-transform: capitalize;
}
.container-center {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 0;
  overflow: hidden;
}

/*Carousel*/
.background-carousel {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 410px;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  display: flex;
  pointer-events: none;
}

.carousel-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.carousel-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomOut 2s;
}

.carousel-bg-image.active {
  opacity: 1;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.blank {
  width: 100%;
  height: auto;
  background-color: transparent;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.border-top {
  width: 100%;
  height: 20px;
  left: -50%;
  bottom: 0;
  pointer-events: none;
  border: none;
  z-index: 2;
  transform: translateY(-50%) translateX(0%);
}
.border-bottom {
  width: 100%;
  height: 40px;
  margin-top: 0;
  bottom: 0;
  pointer-events: none;
  border: none;
  z-index: 2;
  transform: rotate(180deg) translateY(-70%) translateX(0%);
}
.border-top-final {
  width: 380px;
  height: 40px;
  left: -50%;
  bottom: 0;
  pointer-events: none;
  border: none;
  z-index: 2;
  transform: translateY(-110%) translateX(-7%);
}

.invitation {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5dvh, 18px);
  width: 100%;
}
.quote {
  font-family: "Cormorant SC", serif;
  font-size: 18px;
  font-weight: 400;
}
h4 {
  font-family: "Cormorant SC", serif;
  font-size: 20px;
  font-weight: 400;
  margin-top: 20px;
}
.request {
  font-family: "Cormorant SC", serif;
  font-size: 16px;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
.groom {
  font-family: "alex brush", serif;
  font-size: 40px;
  font-weight: 600;
  margin-top: 20px;
}
.date {
  font-family: "Cormorant SC", serif;
  font-size: 18px;
  font-weight: 400;
  margin-top: 20px;
}

/*Countdown Clock Styles*/
#countdown-clock {
  height: auto;
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin: clamp(16px, 4dvh, 50px) auto !important;
  width: fit-content;
}

#countdown-clock .time {
  background-color: transparent;
  padding: 7px;
  text-align: center;
  font-family: "Cormorant SC", serif;
  font-weight: 600;
  font-style: normal;
  font-size: 12px;
}
.pulse-icon {
  animation: pulseZoom 1.8s ease-in-out infinite;
  transform-origin: center;
}

/* Map pin tooltip */
.map-tip-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 8px;
}

.map-pin-link {
  display: inline-flex;
}

.map-pin-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 4px;
  border-radius: 999px;
}

.map-tip {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  left: auto;
  bottom: auto;
  transform: translateY(-50%) translateX(4px);
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-family: "Cormorant SC", serif;
  font-size: 12px;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.map-tip::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(0, 0, 0, 0.72);
}

/* Show on hover (desktop) */
.map-tip-wrap:hover .map-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  animation: mapTipSlide 1.2s ease-in-out infinite;
}

/* Show on tap (mobile) — toggled via JS */
.map-tip-wrap.tip-visible .map-tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  animation: mapTipSlide 1.2s ease-in-out infinite;
}

/* Hide after first click/tap */
.map-tip-wrap.tip-dismissed .map-tip {
  opacity: 0 !important;
  transform: translateY(-50%) translateX(4px) !important;
  animation: none !important;
}

@keyframes mapTipSlide {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(-6px);
  }
}

@keyframes pulseZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

#countdown-clock .time > span {
  font-weight: 700;
  font-style: normal;
  font-size: 30px;
  font-family: "Cormorant SC", serif;
  font-weight: 500;
  font-style: normal;
  margin-top: 5px;
}
.two-points {
  font-size: 20px;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
#countdown-clock .time small {
  font-size: 10px;
  margin-top: 10px;
}

.wedding-ceremony {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.title {
  padding: 0px auto 20px auto;
  margin-bottom: clamp(20px, 4dvh, 50px);
}
.location {
  font-family: "Cormorant SC", serif;
  font-size: 18px;
  font-weight: 400;
  margin-top: 10px;
  text-align: center;
  padding: 0 20px;
}
.time,
.location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Vertical Timeline Layout */

#wedding-timeline {
  width: auto;
  gap: 10px;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr 1.5fr;
  margin: 0 auto;
}

.vertical-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: clamp(16px, 3dvh, 40px) 0;
  min-height: clamp(120px, 22dvh, 200px);
}
.timeline-column {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: last baseline;
  position: relative;
  margin: clamp(16px, 3dvh, 40px) 0;
}

.vertical-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: white;
  z-index: 0;
}

.vt-item {
  position: relative;
  z-index: 1;
  margin: clamp(12px, 2.5dvh, 40px) 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vt-circle {
  width: 35px;
  height: 35px;
  background: #fff;
  border: 1px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.vt-circle img {
  width: 20px;
  height: 20px;
  display: block;
  color: #ffffff;
}

/*video div*/
.dancing-video {
  width: 90%;
  margin: auto;
}

.dancing-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5%;
}
.gift-registry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  gap: 22px;
  padding: clamp(8px, 2vw, 18px) clamp(8px, 2.2vw, 22px);
}

.gift-registry-title {
  margin: 0;
  font-size: clamp(2.7rem, 5.8vw, 3.25rem);
}

.gift-registry-intro {
  margin: 0;
  padding: 0 10px;
  font-family: "Cormorant SC", serif;
  font-size: clamp(1.3rem, 3.9vw, 1.55rem);
  line-height: 1.5;
  text-align: center;
}

.registry-grid {
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 16px;
}

.gift-registry > .registry-grid {
  width: min(100%, 920px);
  max-width: 920px;
  margin-inline: auto;
}

.registry-card {
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  background:
    linear-gradient(
      165deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.04)
    ),
    rgba(0, 0, 0, 0.34);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(4px);
  padding: clamp(14px, 2.2vw, 22px) clamp(12px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.registry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.registry-card-title {
  margin: 0;
  font-family: "Cormorant SC", serif;
  font-size: clamp(1.4rem, 4.2vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.registry-logo {
  width: clamp(170px, 30vw, 220px);
  height: clamp(48px, 8vw, 60px);
  object-fit: contain;
}

.wish-money-logo {
  filter: brightness(1.28) contrast(1.12) saturate(1.08)
    drop-shadow(0 4px 10px rgba(255, 255, 255, 0.28));
}

.registry-line {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: "Cormorant SC", serif;
  font-size: clamp(1.16rem, 3.6vw, 1.35rem);
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.registry-label {
  font-weight: 700;
}

.registry-value {
  word-break: break-word;
}

/* Keep IBAN and copy icon on one line in the QNB card. */
.registry-card:nth-of-type(2) .registry-line:first-of-type {
  flex-wrap: nowrap;
}

.registry-card:nth-of-type(2) .registry-line:first-of-type .registry-value {
  white-space: nowrap;
}

.registry-card:nth-of-type(2) .registry-line:first-of-type .copy-btn {
  flex: 0 0 auto;
}

.copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.copy-btn:active {
  transform: scale(0.96);
}

.copy-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.copy-btn.is-copied {
  background: rgba(76, 175, 80, 0.28);
  border-color: rgba(76, 175, 80, 0.6);
}

.copy-btn.is-failed {
  background: rgba(244, 67, 54, 0.24);
  border-color: rgba(244, 67, 54, 0.55);
}

@media (min-width: 700px) {
  .registry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .registry-card {
    align-items: center;
  }
}

@media (max-width: 699px) {
  .registry-grid {
    width: min(92vw, 430px);
    margin-inline: auto;
  }

  .registry-card {
    width: 100%;
    margin-inline: auto;
    border-radius: 16px;
  }

  .registry-line {
    text-align: center;
    justify-content: center;
  }
}

/*Confirmation Section*/
.confirmation-section.snap-section {
  height: auto;
  min-height: 100dvh;
  justify-content: flex-start;
  padding-top: clamp(16px, 3dvh, 32px);
  padding-bottom: clamp(16px, 3dvh, 32px);
}

.confirmation-form {
  width: 100%;
}
.attending {
  font-size: 35px;
  margin-bottom: 24px;
  text-transform: capitalize;
  font-weight: 600;
}
.confirmation-title {
  margin-bottom: 10px;
}
.final-p {
  font-size: 20px;
  text-transform: uppercase;
  margin: 10px 5px;
  padding: 0 20px;
  text-align: center;
}
.confirmation-intro {
  margin: 0 0 8px;
}

.wedding-list {
  margin-top: 50px;
  color: white;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}
.column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.column .mb-3 {
  width: 100%;
  max-width: 350px;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-align: left;
}

.guest-summary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  padding: 12px 14px;
}

.nameOfInvitee,
.numberOfPersons {
  margin: 0;
}

.numberOfPersons {
  margin-top: 8px;
}

.form-control,
.form-select {
  font-size: 1rem;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: none;
}

.form-field.fld-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 350px;
  margin-bottom: 16px;
  gap: 8px;
}

.form-field.fld-message textarea {
  width: 100%;
  min-height: 108px;
  max-width: 350px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 10px 14px;
  font-size: 1rem;
  resize: vertical;
}

.message-label {
  margin-top: 8px;
}

.message-label strong {
  font-size: 1.15rem;
}

.message-textarea {
  height: 108px;
}

.message-counter {
  color: #fff;
}

#msg_charCount {
  align-self: flex-end;
  font-size: 0.95em;
  color: #fff;
}

.accept-confetti {
  position: relative;
  width: min(100%, 350px);
  height: 0;
  margin: 4px auto 0;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.accept-confetti-piece {
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 18px;
  border-radius: 999px;
  opacity: 0;
  transform: translate3d(-50%, 0, 0) rotate(0deg);
  animation: accept-confetti-burst 1100ms cubic-bezier(0.18, 0.8, 0.22, 1)
    forwards;
}

.accept-confetti-piece.is-square {
  border-radius: 3px;
}

.accept-confetti-piece.is-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.btn-confirm {
  background: transparent;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 6px;
  font-weight: bold;
  padding: 10px 32px;
  font-size: 1.1rem;
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(1px);
}

.btn-confirm[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-status {
  min-height: 1.2rem;
  margin: -6px 0 0;
  color: #fff;
  font-size: 0.92rem;
  text-align: center;
}

.btn-confirm:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff !important;
  border: 2px solid #fff !important;
}

.confirmation-divider {
  width: 100%;
  max-width: 350px;
  margin: 8px auto 0;
}

@keyframes accept-confetti-burst {
  0% {
    opacity: 0;
    transform: translate3d(-50%, 8px, 0) rotate(0deg) scale(0.7);
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(
        calc(-50% + var(--confetti-x, 0px)),
        var(--confetti-y, -140px),
        0
      )
      rotate(var(--confetti-rotate, 180deg)) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .accept-confetti-piece {
    animation: none;
    opacity: 0;
  }
}

/* End Section */
.end-section {
  width: 100%;
  padding: 25px;
  color: white;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.final-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  display: block;
  position: relative;
  z-index: 1;
}

/* Footer*/
.site-footer {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff !important;
  width: 100%;
  max-width: 350px;
  padding: 10px 14px;
  margin: 8px auto 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.footer-brand-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color 150ms ease;
}

.footer-brand-link:hover {
  text-decoration-color: #fff;
}

/* Subtle overlay for carousel background to improve text readability */
.carousel-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  min-height: 100dvh;
  background: rgba(0, 0, 0, 0.32);
  z-index: -1;
  pointer-events: none;
}

.background-carousel {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 410px;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  display: flex;
  pointer-events: none;
}
