  *{
      font-family: 'Poppins', sans-serif;
      box-sizing: border-box;
    }

    html{
      scroll-behavior: smooth;
    }

   /* =========================
   FONT SYSTEM UPDATE
========================= */

/* default */
body{
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
   scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge lama */
}
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}s
/* judul section */
.section-title{
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

/* NAMA PENGANTIN (BARU - LUXURY STYLE) */
h1,
.lux-name,
.cover-main-content h1{
  font-family: "Poppins", sans-serif;
  font-weight: 500;

  letter-spacing: 2px;
  text-transform: capitalize;
}

/* optional: efek lebih mahal */
.cover-main-content h1{
  text-shadow: 0 8px 25px rgba(8,44,1,.35);
}

    
    /* =========================
       DESKTOP LAYOUT
    ========================= */

    .desktop-wrapper{
      display: flex;
      min-height: 100vh;
    }

/* =========================
   LEFT COVER
========================= */

.left-cover{
  width:45%;
  height:100vh;

  position:fixed;
  left:0;
  top:0;

  overflow:hidden;
  color:white;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;

  padding:0;
}

/* =========================
   SLIDESHOW BACKGROUND
========================= */

.left-slides{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  overflow:hidden;
  z-index:0;
}

/* OVERLAY CINEMATIC FULL */
.left-slides::after{
  content:"";
  position:absolute;
  inset:0;

  z-index:5;
  pointer-events:none;

  background:
    radial-gradient(
      circle at center,
      rgba(8,44,1,0.5) 20%,
      rgba(8,44,1,1) 65%,
      rgba(8,44,1,1) 100%
    );
}

/* =========================
   SLIDE LAYER
========================= */

.slide-wrap{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  overflow:hidden;

  opacity:0;
  transform:scale(0.8);
  filter:blur(12px);

  animation:circleReveal 15s infinite;
}

/* =========================
   IMAGE
========================= */

.slide-wrap img{
  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center;

  transform:scale(1.15);
}

/* =========================
   VIGNETTE
========================= */

.slide-wrap::before{
  content:"";
  position:absolute;
  inset:0;

  z-index:2;

  background:
    radial-gradient(
      circle at center,
      rgba(8,44,2,.5) 40%,
      rgba(8,44,2,1) 100%
    );
}

/* =========================
   SLIDE DELAY
========================= */

.slide-wrap.s1{
  animation-delay:0s;
}

.slide-wrap.s2{
  animation-delay:5s;
}

.slide-wrap.s3{
  animation-delay:10s;
}

/* =========================
   CIRCLE REVEAL ANIMATION
========================= */

@keyframes circleReveal{

  0%{
    opacity:0;
    transform:scale(0.5);
    filter:blur(14px);

    clip-path:circle(0% at 50% 50%);
  }

  10%{
    opacity:1;
    transform:scale(1.05);
    filter:blur(3px);

    clip-path:circle(35% at 50% 50%);
  }

  25%{
    opacity:1;
    transform:scale(1);
    filter:blur(0);

    clip-path:circle(100% at 50% 50%);
  }

  60%{
    opacity:1;
    transform:scale(1.02);
  }

  80%{
    opacity:0;
    transform:scale(1.08);
    filter:blur(8px);
  }

  100%{
    opacity:0;
    transform:scale(1.15);
  }
}

/* =========================
   LOVE BUBBLES
========================= */

.love-bubbles{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}

.love-bubbles span{
  position:absolute;
  bottom:-80px;
  color:rgba(255,255,255,.18);
  animation:loveFloat linear infinite;
}

.love-bubbles span i{
  font-size:42px;
}

/* posisi bubble */
.love-bubbles span:nth-child(1){ left:10%; animation-duration:12s; }
.love-bubbles span:nth-child(2){ left:20%; animation-duration:14s; }
.love-bubbles span:nth-child(3){ left:30%; animation-duration:16s; }
.love-bubbles span:nth-child(4){ left:40%; animation-duration:18s; }
.love-bubbles span:nth-child(5){ left:50%; animation-duration:13s; }
.love-bubbles span:nth-child(6){ left:60%; animation-duration:17s; }
.love-bubbles span:nth-child(7){ left:70%; animation-duration:15s; }
.love-bubbles span:nth-child(8){ left:80%; animation-duration:19s; }
.love-bubbles span:nth-child(9){ left:90%; animation-duration:14s; }

/* animasi bubble naik */
@keyframes loveFloat{
  0%{
    transform:translateY(0) scale(.8);
    opacity:0;
  }
  10%{
    opacity:1;
  }
  100%{
    transform:translateY(-120vh) scale(1.4) rotate(360deg);
    opacity:0;
  }
}

/* =========================
   TEXT ABOVE ALL
========================= */

.cover-main-content{
  position:relative;
  z-index:2;
}

    .cover-main-content h1{
      font-size: clamp(3rem, 5vw, 5rem);
      font-weight: 700;
    }

    .cover-main-content p{
      opacity: .9;
    }

    .guest-bok{
  display: inline-block;
  margin: 10px;
  padding: 10px 30px 10px 30px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.08);
}

.guest-names{
  font-size: 20px;
  font-weight: 400;
}

    /* RIGHT CONTENT */
    .right-content{
      width: 55%;
      margin-left: 45%;
      background: #fff;
      min-height: 100vh;
    }

    section{
      padding: 40px 30px;
    }

    .section-title{
      font-weight: 700;
      margin-bottom: 20px;
    }

    .card-custom{
      border: none;
      border-radius: 24px;
      box-shadow: 0 10px 30px rgba(8,44,1,.08);
    }

    .gallery img{
      width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 20px;
    }

    .count-box{
      padding: 25px;
      border-radius: 20px;
      
      box-shadow: 0 5px 25px rgba(8,44,1,.08);
      background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    }

    footer{
      background: #082c01;
      color: white;
      text-align: center;
      padding: 40px 20px;
    }

    /* =========================
       MOBILE LAYOUT
    ========================= */

    @media (max-width: 991px){

      .desktop-wrapper{
        display: block;
      }

      .left-cover{
        position: relative;
        width: 100%;
        height: 100vh;
      }

      .right-content{
        width: 100%;
        margin-left: 0;
      }

      section{
        padding: 60px 20px;
      }

    }

/* =========================
   ULTRA LUXURY STYLE
========================= */

.lux-card{
  padding: 40px;
  border-radius: 30px;

  background: rgba(255,255,255,.7);
  backdrop-filter: blur(20px);

  box-shadow:
    0 20px 60px rgba(8,44,1,.08);

  transition: .4s ease;

  position: relative;

  overflow: hidden;
}

.lux-card:hover{
  transform: translateY(-10px);
}

/* FRAME */
.lux-frame{
  width: 200px;
  height: 200px;

  margin: 0 auto 20px;

  position: relative;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(circle, #fff8e1, #d4af37);

  box-shadow:
    0 0 30px rgba(212,175,55,.4),
    inset 0 0 20px rgba(255,255,255,.6);

}

/* PHOTO */
.lux-photo{
  width: 90%;
  height: 90%;
  object-fit: cover;

  border-radius: 50%;

  border: 6px solid #fff;

  z-index: 2;
}

/* GOLD RING ROTATE */
.gold-ring{
  position: absolute;
  inset: -10px;

  border-radius: 50%;

  border: 5px dotted rgba(8,44,1,.6);

  animation: spin 12s linear infinite;
}

/* FLORAL */
.floral{
  position: absolute;
  width: 80px;
  opacity: .9;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.f1{
  top: -20px;
  left: -20px;
}

.f2{
  bottom: -20px;
  right: -20px;
}

.f3{
  top: -20px;
  right: -20px;
}

.f4{
  bottom: -20px;
  left: -20px;
}

/* SPARKLE */
.spark{
  position: absolute;
  width: 6px;
  height: 6px;
  background: gold;
  border-radius: 50%;
  box-shadow: 0 0 10px gold;
  animation: sparkle 2s infinite ease-in-out;
}

.s1{ top: 20px; left: 30px; }
.s2{ bottom: 40px; right: 50px; }
.s3{ top: 60px; right: 30px; }

/* TEXT */
.lux-name{
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.lux-sub{
  color: #777;
  font-size: .95rem;
}

.lux-line{
  width: 80px;
  height: 3px;
  margin: 15px auto;
  background: linear-gradient(90deg, transparent, gold, transparent);
  border-radius: 50px;
}

.lux-desc{
  color: #666;
  font-size: .95rem;
  line-height: 1.8;
}

/* ANIMATION */

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

@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

@keyframes sparkle{
  0%,100%{ opacity: .2; transform: scale(.8); }
  50%{ opacity: 1; transform: scale(1.3); }
}

/* SECTION */
.section-bg{
  position: relative;
  overflow: hidden;
  color: #fff;

  background:
    linear-gradient(rgba(8,44,1,.85), rgba(8,44,1,.65)),
    var(--bg-url)
    center/var(--bg-size, cover) no-repeat;
}

.section-salam{
  position: relative;
  overflow: hidden;
  color: #fff;

  background:
    linear-gradient(rgba(8,44,1,.95), rgba(8,44,1,.65)),
    var(--bg-url)
    center/var(--bg-size, cover) no-repeat;
}

/* =========================
   STORY SECTION
========================= */
.story-section{
  position: relative;
  padding: 60px 0;
}

/* =========================
   TIMELINE WRAPPER
========================= */
.timeline{
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

/* garis tengah */
.timeline::before{
  content:'';
  position:absolute;
  left:50%;
  top:0;
  width:3px;
  height:100%;
  background:linear-gradient(#d6d6d6, #c59d5f, #d6d6d6);
  transform:translateX(-50%);
  border-radius: 10px;
}

/* =========================
   ITEM BASE
========================= */
.timeline-item{
  position: relative;
  width:50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

/* kiri */
.timeline-item:nth-child(odd){
  left:0;
  text-align:right;
}

/* kanan */
.timeline-item:nth-child(even){
  left:50%;
  text-align:left;
}

/* =========================
   DOT
========================= */
.timeline-dot{
  position:absolute;
  top:25px;

  width:45px;
  height:45px;

  background:#111;
  color:#fff;

  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;

  border:3px solid #fff;

  box-shadow:0 10px 25px rgba(8,44,1,.15);
  z-index:2;
}

/* posisi dot kiri */
.timeline-item:nth-child(odd) .timeline-dot{
  right:-22px;
}

/* posisi dot kanan */
.timeline-item:nth-child(even) .timeline-dot{
  left:-22px;
}

.timeline-dot i{
  font-size:14px;
}

/* =========================
   CONTENT CARD
========================= */
.timeline-content{
  background:#fff;
  padding:25px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(8,44,1,.08);
  transition: all .3s ease;
}

.timeline-content:hover{
  transform: translateY(-5px);
}

.timeline-year{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 14px;
  background:#111;
  color:#fff;
  border-radius:999px;
  font-size:.8rem;
}

.timeline-content h4{
  font-weight:700;
  margin-bottom:10px;
}

.timeline-content p{
  margin:0;
  color:#666;
  line-height:1.7;
}

/* icon kecil */
.timeline-icon{
  color:#c59d5f;
  margin-right:6px;
}

/* =========================
   MOBILE RESPONSIVE FIX
========================= */
@media (max-width: 768px){

  /* =========================
     CEGAH HORIZONTAL SCROLL
  ========================= */
  html, body{
    overflow-x: hidden;
  }

  /* wrapper timeline */
  .timeline{
    max-width: 100%;
    padding: 40px 10px;
  }

  /* garis tengah pindah ke kiri */
  .timeline::before{
    left: 18px;
    transform: none;
  }

  /* item full width */
  .timeline-item{
    width: 100%;
    left: 0 !important;
    padding: 15px 15px 15px 55px;
    text-align: left !important;
  }

  /* DOT selalu di kiri */
  .timeline-dot{
    left: 0 !important;
    right: auto !important;
    width: 38px;
    height: 38px;
  }

  .timeline-dot i{
    font-size: 12px;
  }

  /* card biar tidak melebar */
  .timeline-content{
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

}

/* =========================
   GOLD GRADIENT TEXT LUXURY
========================= */
.emas-text{
  position: relative;
  display: inline-block;

  font-family: "Great Vibes", cursive;
  font-size: 50px;
  font-weight: 600;

  background: linear-gradient(
    135deg,
    #f6e27a 0%,
    #d4af37 25%,
    #fff3a1 45%,
    #b8860b 70%,
    #f6e27a 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  /* glow emas dasar */
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.35));

  animation: goldPulse 3s ease-in-out infinite;
}

/* =========================
   PULSE ANIMATION (SOFT LUXURY)
========================= */

@keyframes goldPulse{
  0%{
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.25));
  }

  50%{
    transform: scale(1.03);
    filter:
      drop-shadow(0 0 14px rgba(255, 215, 0, 0.55))
      drop-shadow(0 0 25px rgba(255, 215, 0, 0.25));
  }

  100%{
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.25));
  }
}
.gold-text{
  background: linear-gradient(
    135deg,
    #f6e27a 0%,
    #d4af37 25%,
    #fff3a1 45%,
    #b8860b 70%,
    #f6e27a 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
  color: transparent;

  position: relative;
  display: inline-block;
}

/* efek kilau halus */
.gold-text::after{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.6),
    transparent
  );

  animation:shine 3s infinite;
}

@keyframes shine{
  0%{ left:-100%; }
  50%{ left:100%; }
  100%{ left:100%; }
}

/* GREAT VIBES (ROMANTIC ACCENT ONLY) */
.romantic-font{
  font-family: "Great Vibes", cursive;
  font-weight: 600;
  font-size: 40px;
}


.music-control{
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: rgba(8,44,1,.6);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: .3s;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}


/* tampil setelah undangan dibuka */
.music-control.show{
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.music-control i{
  color: #f6e27a;
  font-size: 20px;
}

.music-control:hover{
  transform: scale(1.1);
  background: rgba(8,44,1,.8);
}

.ucapan-wrapper{

  width: 100%;
  height: 400px;

  overflow-y: auto;
  overflow-x: hidden;

  padding: 15px;

  border-radius: 20px;

  background: #ffffff;

  box-shadow: 0 10px 30px rgba(0,0,0,.08);

  display: flex;
  flex-direction: column;
  gap: 15px;

}

.ucapan-wrapper .card-custom{

  height: auto !important;
  min-height: auto !important;

  flex-shrink: 0;

}

/* scrollbar */
.ucapan-wrapper::-webkit-scrollbar{
  width: 6px;
}

.ucapan-wrapper::-webkit-scrollbar-thumb{
  background: #b08d57;
  border-radius: 10px;
}