/* WRAPPER ICON */
.scroll-icon {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 45px;
  border: 2px solid white;
  border-radius: 20px;
  z-index: 10;
  opacity: 0.9;
}

/* TITIK DI DALAMNYA */
.scroll-dot {
  width: 8px;
  height: 8px;
  background: #8C1E2D;
  border-radius: 50%;
  margin: 6px auto;
  animation: scrollMove 1.4s infinite ease-in-out;
}

/* ANIMASINYA */
@keyframes scrollMove {
  0%   { transform: translateY(0); opacity: 1; }
  50%  { transform: translateY(12px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}





.scroll-icon {
  position: absolute;
  bottom: -40-px;   /* Geser ke bawah */
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 45px;
  border: 2px solid #8C1E2D;
  border-radius: 20px;
  z-index: 10;
  opacity: 0.9;
}




.save-date-section {
  text-align: center;
  background: #d2d2d2;
  padding: 60px 25px;
}

.save-date-img img {
  width: 220px;
  margin-bottom: 20px;
}

.save-title {
  font-size: 32px;
  font-family: "Cinzel", serif;
  color: #555;
  margin-bottom: 25px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
}

.countdown .box {
  background: white;
  border-radius: 20px;
  width: 60px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.countdown .box span {
  font-size: 28px;
  font-weight: bold;
}

.countdown .box p {
  font-size: 14px;
  margin-top: 3px;
}

.save-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-top: 20px;
}




.card-stroke-bg {
  position: relative;
  padding: 20px;
  border-radius: 35px;
  width: 75%;
  max-width: 350px;
  margin: 40px auto;
}

/* BACKGROUND BORDER BERGAMBAR */
.card-stroke-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 35px;
  padding: 25px; /* TEBAL BORDER */
  background: url("assets/element/cover.png") center/cover no-repeat;
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
}

.card-inner {
  position: relative;
  background: white;
  border-radius: 25px;
  padding: 35px 25px;
  z-index: 1;

  /* INNER SHADOW */
  box-shadow:
    inset 0 3px 10px rgb(77, 77, 77),
    inset 0 -3px 10px rgb(77, 77, 77);
}





.gallery-section {
  padding: 40px 20px;
  text-align: center;
}

.gallery-title {
  font-family: "Great Vibes", cursive;
  font-size: 36px;
  margin-bottom: 25px;
  color: #ffffff;
}

/* GRID 2 KOLOM */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery-item:active {
  transform: scale(0.96);
}

/* PREVIEW FULLSCREEN */
.preview-box {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preview-box img {
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* Fade scroll animasi */
.fade-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.7s ease;
}

.fade-scroll.show {
  opacity: 1;
  transform: translateY(0);
}





.circle-wrap {
  position: relative;
}

.circle-wrap::after {
  content: "";
  position: absolute;
  left: 14px;        /* posisi tepat di tengah lingkaran */
  top: 32px;         /* mulai dari bawah lingkaran */
  width: 2px;
  height: calc(100% + 20px); /* otomatis sepanjang item */
  background: #b8b8b8;
}

.circle-wrap:last-child::after {
  height: 0;   /* item terakhir tidak ada garis ke bawah */
}




.snowflake {
  position: absolute;
  top: -10px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}

#snow-1, #snow-7 {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none; /* biar tidak ganggu tombol */
  overflow: hidden;
}

#scroll-2::after {
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:200px; /* atur sesuai kebutuhan */
  background-image:url('./assets/element/cover.png');
  background-size: cover;
  background-position: bottom center;
  opacity:1;
  z-index:-1;
}


.btn-glass {
  padding: 12px 28px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.4);
  background: #8C1E2D;
  backdrop-filter: blur(6px);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: 0.3s;
}

.btn-glass:hover {
  background: rgba(255,255,255,0.35);
}

#music-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 35px;
  height: 35px;
  background: #8C1E2D;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  cursor: pointer;
  transition: 0.3s;
}

#music-btn img {
  width: 28px;
  height: 28px;
  transition: transform 0.5s linear;
}

.playing {
  animation: spin 2.5s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}



