    /* ===================================================
       1. RESET & PERFORMANCE ENGINE (FRAMER MOTION STYLE)
       =================================================== */
    @font-face {
      font-family: 'Providence Sans Offc W00 Bold';
      src: url('https://db.onlinewebfonts.com/t/f36a026fd7fae583b3e2bb8a56584207.woff2') format('woff2'),
        url('https://db.onlinewebfonts.com/t/f36a026fd7fae583b3e2bb8a56584207.ttf') format('truetype');
      font-display: swap;
    }
    :root {
      --theme-red: #800000;
      --theme-red-hover: #5e0000;
      --bg-cream: #FAF5EF;
      --gold: #c5a880;
      --text-dark: #2b2321;
      --text-muted: #6e625d;
      --font-main: 'Providence Sans Offc W00 Bold', cursive, sans-serif;
      --shake-distance: 6px;
      --shake-overshoot: 4px;
      --shake-dur-a: 80ms;
      --shake-dur-b: 60ms;
      --shake-ease: cubic-bezier(0.22, 1, 0.36, 1);
      --revert-hold: 3000ms;
      --revert-dur: 280ms;
      --error-red: #dc3545;
      --hero-gap: -12px;
      --ease-silk: cubic-bezier(0.22, 1, 0.36, 1);
      
      --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
      --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
      --fs-hero-xl: clamp(3rem, 2.2rem + 3.5vw, 4.5rem);
      --fs-hero: clamp(2.25rem, 1.8rem + 2vw, 3.25rem);
      --fs-h2: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
      --fs-h3: clamp(1rem, 0.95rem + 0.35vw, 1.25rem);
      --fs-body: clamp(0.875rem, 0.85rem + 0.15vw, 1rem);
      --fs-caption: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
      --fs-btn: 0.875rem;
      --ls-caps: 0.1em;
      /* DOODLE DESIGN VARIABLES */
      --doodle-color: #800000;
      --doodle-light: #fff5f1;
      --doodle-bg: #fff9f6;
    }
    #successModal {
      z-index: 10550 !important;
    }
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
     html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--bg-cream);
  font-family: var(--font-main);
  overflow-x: hidden;
  position: relative;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.app-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    .app-wrapper::-webkit-scrollbar {
      display: none;
    }
    body.no-scroll {
      overflow: hidden;
    }
    .theme-red {
      color: var(--theme-red);
    }
    .btn-theme {
      background-color: var(--theme-red);
      color: #ffffff;
      border: none;
      border-radius: 50px;
      transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth), background-color 0.3s ease;
      will-change: transform, box-shadow;
      transform: translateZ(0);
    }
    .btn-theme:hover {
      background-color: var(--theme-red-hover);
      color: #ffffff;
      box-shadow: 0 10px 25px rgba(128, 0, 0, 0.3);
      transform: translateY(-3px) scale(1.02);
    }
    .btn-theme:active {
      transform: translateY(0px) scale(0.96);
      box-shadow: 0 4px 12px rgba(128, 0, 0, 0.2);
    }
    .copy-btn {
      background: linear-gradient(45deg, #800000, #b33939);
      color: #ffffff;
      border: none;
      padding: 6px 14px;
      border-radius: 50px;
      font-size: clamp(0.65rem, 3cqw, 0.8rem);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
    }
    .copy-btn.copied {
      background: linear-gradient(45deg, #28a745, #20c997) !important;
      box-shadow: 0 3px 10px rgba(40, 167, 69, 0.35) !important;
    }
    .copy-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(128, 0, 0, 0.35);
      color: #ffffff;
    }
    .copy-btn:active {
      transform: translateY(0);
    }
    .copy-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
      transition: left 0.5s ease;
    }
    .copy-btn:hover::before {
      left: 100%;
    }
    .form-control, .form-select {
      transition: all 0.3s var(--ease-smooth);
    }
    .form-control:focus,
    .form-select:focus {
      border-color: var(--theme-red);
      box-shadow: 0 0 0 0.25rem rgba(128, 0, 0, 0.12);
      transform: translateY(-2px);
    }
    .content-hidden {
      display: none;
    }
    /* ===================================================
       2. SCROLL REVEALS & STAGGERS
       =================================================== */
    .stagger-parent > * {
      opacity: 0;
      transform: translate3d(0, 32px, 0) scale(0.98);
      transition: opacity 0.85s var(--ease-smooth), transform 0.85s var(--ease-smooth);
      will-change: opacity, transform;
    }
    .stagger-parent.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    .stagger-parent.revealed > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    .stagger-parent.revealed > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    .stagger-parent.revealed > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    .stagger-parent.revealed > *:nth-child(5) { transition-delay: 0.45s; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    .stagger-parent.revealed > *:nth-child(6) { transition-delay: 0.55s; opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    .scroll-reveal {
      opacity: 0;
      transform: translate3d(0, 40px, 0);
      transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
      will-change: opacity, transform;
    }
    .scroll-reveal.revealed {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
    /* ===================================================
       3. COVER SECTION
       =================================================== */
    #cover-section {
      position: fixed;
      inset: 0;
      width: 100%;
      max-width: 480px;
      height: 100vh;
      height: 100dvh;
      margin: 0 auto;
      z-index: 9999;
      background-color: var(--bg-cream);
      overflow: hidden;
      transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth), visibility 0.8s;
      will-change: opacity, transform;
    }
    #cover-section.fade-out {
      opacity: 0;
      transform: scale(1.06);
      visibility: hidden;
      pointer-events: none;
    }
    #cover-section .cover-content {
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: clamp(20px, 4vh, 40px) clamp(16px, 4vw, 30px);
      position: relative;
      z-index: 2;
    }
    .cover-top,
    .cover-bottom {
      position: relative;
      z-index: 5;
    }
    .cover-middle {
      margin: 10px 0;
    }
    .illustration-container {
      position: relative;
      display: inline-block;
      margin: 0 auto;
    }
    .heroes-wrapper {
      --hero-size: clamp(200px, 22vw, 320px);
      --hero-gap: clamp(0px, 1vw, 10px);
      width: min(92vw, 720px);
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: end;
      position: relative;
      z-index: 2;
      isolation: isolate;
    }
    .hero-slot {
      width: 100%;
      min-width: 0;
      display: flex;
      align-items: flex-end;
    }
    .hero-slot-1 {
      justify-content: flex-end;
      padding-right: var(--hero-gap);
    }
    .hero-slot-2 {
      justify-content: flex-start;
      padding-left: var(--hero-gap);
    }
    .hero-visual {
      width: var(--hero-size);
      flex: 0 0 var(--hero-size);
      position: relative;
      will-change: transform, opacity;
      transform-origin: center bottom;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      perspective: 1000px;
    }
    .hero-img-single {
      display: block;
      width: 100%;
      height: auto;
      max-width: none;
      object-fit: contain;
      pointer-events: none;
      user-select: none;
      -webkit-user-drag: none;
    }
    #cover-section .hero-1 {
      position: relative;
      z-index: 2;
    }
    #cover-section .hero-2 {
      position: relative;
      z-index: 1;
    }
    #cover-section .hero-visual-1 {
      animation: hero1Spring 2.2s var(--ease-smooth) 0s both;
    }
    #cover-section .hero-visual-2 {
      animation: hero2Spring 2.2s var(--ease-smooth) 0s both;
    }
    @keyframes hero1Spring {
      0% { opacity: 0; transform: translate3d(50%, 0, 0) scale(0.30); }
      35% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
      100% { opacity: 1; transform: translate3d(-6%, 0, 0) scale(1.05); }
    }
    @keyframes hero2Spring {
      0% { opacity: 0; transform: translate3d(-50%, 0, 0) scale(0.30); }
      35% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
      100% { opacity: 1; transform: translate3d(6%, 0, 0) scale(1.05); }
    }
    @media (max-width: 767.98px) {
      .heroes-wrapper {
        --hero-size: clamp(145px, 42vw, 205px);
        --hero-gap: 0px;
        width: min(96vw, 430px);
        grid-template-columns: 1fr 1fr;
      }
      .hero-slot-1 { padding-right: 0; }
      .hero-slot-2 { padding-left: 0; }
      #cover-section .hero-visual-1 { animation-name: hero1Mobile; }
      #cover-section .hero-visual-2 { animation-name: hero2Mobile; }
    }
    @keyframes hero1Mobile {
      0% { opacity: 0; transform: translate3d(48%, 0, 0) scale(0.30); }
      35% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
      100% { opacity: 1; transform: translate3d(18%, 0, 0) scale(1.03); }
    }
    @keyframes hero2Mobile {
      0% { opacity: 0; transform: translate3d(-48%, 0, 0) scale(0.30); }
      35% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
      100% { opacity: 1; transform: translate3d(-20%, 0, 0) scale(1.03); }
    }
    @media (max-width: 380px) {
      .heroes-wrapper {
        --hero-size: clamp(132px, 43vw, 170px);
        width: 96vw;
      }
      @keyframes hero1Mobile {
        0% { opacity: 0; transform: translate3d(100%, 0, 0) scale(0.30); }
        35% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
        100% { opacity: 1; transform: translate3d(18%, 0, 0) scale(1.02); }
      }
      @keyframes hero2Mobile {
        0% { opacity: 0; transform: translate3d(-100%, 0, 0) scale(0.30); }
        35% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
        100% { opacity: 1; transform: translate3d(-18%, 0, 0) scale(1.02); }
      }
    }

    .doodle-ring-overlay {
      position: absolute;
      top: -13px;
      left: -50px;
      max-height: clamp(65px, 7vh, 85px);
      width: auto;
      z-index: 3;
      opacity: 0;
      transform: scale(0) rotate(-70deg);
      transform-origin: center center;
      will-change: transform, opacity;
      animation: popInRing 0.6s var(--ease-silk) 0.2s both,
                 swayRing 2.5s ease-in-out 0.8s infinite alternate;
    }
    .doodle-pita-overlay {
      position: absolute;
      bottom: -18px;
      right: -30px;
      max-height: clamp(50px, 7vh, 65px);
      width: auto;
      z-index: 3;
      opacity: 0;
      transform: scale(0) rotate(30deg);
      transform-origin: center center;
      will-change: transform, opacity;
      animation: popInPita 0.6s var(--ease-silk) 1.4s both,
                 swayPita 2.5s ease-in-out 1.9s infinite alternate;
    }
    .spark-rhythm-container {
      width: 100%;
      max-width: 140px;
      margin: 0 auto 10px auto;
      animation: fadeInRhythm 0.6s ease-in 0.9s both;
    }
    .spark-bar {
      stroke: var(--theme-red);
      stroke-width: 2;
      stroke-linecap: round;
      animation: sparkPulse calc(var(--dur) * 1.2) ease-in-out infinite alternate calc(var(--delay) * 1.2);
    }
    .spark-img {
      position: absolute;
      width: 32px;
      height: auto;
      pointer-events: none;
      z-index: 4;
      display: block;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
      will-change: transform, opacity;
    }
    #cover-section .spark-top-left {
      top: 10%;
      left: 68px;
      animation: sparkAppearLeft 0.5s var(--ease-silk, ease) 1.6s both,
                 sparkFloatLeft 3s ease-in-out 2.1s infinite alternate;
    }
    #cover-section .spark-top-right {
      top: 45%;
      right: 68px;
      animation: sparkAppearRight 0.5s var(--ease-silk, ease) 1.9s both,
                 sparkFloatRight 2.5s ease-in-out 2.4s infinite alternate;
    }
    #cover-section .spark-bottom-left {
      bottom: 8%;
      left: 28px;
      animation: sparkAppearBottom 0.5s var(--ease-silk, ease) 2.2s both,
                 sparkFloatBottom 3.5s ease-in-out 2.7s infinite alternate;
    }
    @keyframes sparkAppearLeft {
      0% { opacity: 0; transform: translate3d(-80px, 0, 0) scale(0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes sparkAppearRight {
      0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(35deg) scale(0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(35deg) scale(1); }
    }
    @keyframes sparkAppearBottom {
      0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes sparkFloatLeft {
      0% { transform: translate3d(0, 0, 0) scale(1); }
      100% { transform: translate3d(0, -8px, 0) scale(1); }
    }
    @keyframes sparkFloatRight {
      0% { transform: translate3d(0, 0, 0) rotate(35deg) scale(1); }
      100% { transform: translate3d(0, -8px, 0) rotate(35deg) scale(1); }
    }
    @keyframes sparkFloatBottom {
      0% { transform: translate3d(0, 0, 0) scale(1); }
      100% { transform: translate3d(0, -8px, 0) scale(1); }
    }
    /* ===================================================
       4. TYPOGRAPHY & TYPING ANIMATION
       =================================================== */
    .typing-container {
      min-height: 1.2em;
    }
#bounce-target-2 .char {
  transform: translate3d(0, 30px, 0) scale(0.85);
  /* Durasi gerak diperlambat menjadi 1.6 detik */
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  /* Jeda kemunculan antar huruf diperlambat (110ms per huruf) */
  transition-delay: calc(var(--char-index, 0) * 110ms);
  will-change: transform, opacity;
}

#bounce-target-2.is-active .char {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
    .typing-container .line {
      display: block;
      color: var(--theme-red);
      -webkit-text-stroke: 1px var(--theme-red);
      paint-order: stroke fill;
      font-size: clamp(1.8rem, 2.5vw, 5rem);
      letter-spacing: clamp(2px, 0.6vw, 4px);
      line-height: 1.3;
      font-weight: 800;
    }
    .typing-container .char {
      display: inline-block;
      opacity: 0;
      transform: translate3d(0, 20px, 0) scale(0.9);
      transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-spring);
      transition-delay: calc(var(--char-index, 0) * 45ms);
      will-change: transform, opacity;
    }
    .typing-container.is-active .char {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
    .typing-container .space {
      display: inline-block;
      width: 0.3em;
    }
    .couple-photo {
      width: clamp(15.9375rem, 8.0208rem + 33.3333vw, 34.6875rem);
      height: auto;
      object-fit: contain;
      transition: transform 0.5s var(--ease-smooth);
    }
    .hero-center {
      min-height: 100dvh;
      padding-top: 2.5rem;
      padding-bottom: 2rem;
    }
    .typing-container .quote-title {
      font-size: clamp(3rem, 1.7333rem + 5.3333vw, 6rem);
    }
    .quote-title { font-size: clamp(4.5rem, 2.5rem + 10vw, 8.5rem); }
    .couple-subtitle { font-size: var(--fs-hero); }
    .section-heading { font-size: var(--fs-hero); }
    .couple-fullName, .couple-divider {
      font-size: var(--fs-h2);
    }
    .l-story{
      font-size: clamp(2.25rem, 1.3rem + 4vw, 4.5rem);
    }
    .typing-container .n-guest{
      font-size: var(--fs-h2);
      color: black;
      -webkit-text-stroke: 1px var(--text-dark);
      paint-order: stroke fill;
    }
    .dear{
      font-size: var(--fs-h3);
      color: black;
      -webkit-text-stroke: 1px black;
      paint-order: stroke fill;
    }
    .bismillah {
      margin-bottom: 70px;
    }
    .w-gift, .wishing{
      font-size: var(--fs-h2);
      -webkit-text-stroke: 1px var(--theme-red);
      paint-order: stroke fill;
      letter-spacing: var(--ls-caps);
      margin-bottom: 25px;
    }
    /* ===================================================
       5. SEKUEN ANIMASI SECTION 1 (SAVE THE DATE)
       =================================================== */
    .promise-container {
      margin: 10px auto;
      opacity: 0;
      transform: translate3d(0, 35px, 0) scale(0.95);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform, opacity;
    }
    .promise-container.is-active {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
    .promise-img {
      width: 200px;
      max-width: 100%;
      height: auto;
      display: inline-block;
      transition: transform 0.5s var(--ease-spring);
    }
    .promise-img:hover {
      transform: scale(1.08) rotate(3deg);
    }
    .quote-text {
      opacity: 0;
      transform: translate3d(0, 20px, 0);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
      will-change: transform, opacity;
    }
    .quote-text.is-active {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
    .smp-card {
      background-color: #181818;
      border: 1px solid #282828;
      border-radius: clamp(14px, 3.5vw, 20px);
      /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45); */
      width: 100%;
      max-width: 360px;
      min-height: 110px;
      padding: clamp(8px, 2.5vw, 14px) clamp(10px, 3vw, 16px);
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: clamp(8px, 2.5vw, 14px);
      box-sizing: border-box;
      margin: 15px auto 0 auto;
      font-family: 'Poppins', sans-serif;
      opacity: 0;
      transform: scale(0.65) translate3d(0, 25px, 0);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
    }
    .smp-card.is-active {
      opacity: 1;
      transform: scale(1) translate3d(0, 0, 0);
    }
    .smp-cover-wrapper {
      flex-shrink: 0;
    }
    .smp-cover-disc {
      position: relative;
      width: clamp(72px, 22vw, 92px);
      height: clamp(72px, 22vw, 92px);
      border-radius: 50%;
      overflow: hidden;
      background-color: #282828;
      border: 2px solid #282828;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .smp-cover-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .smp-content {
      flex-grow: 1;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: left;
    }
    .smp-title {
      color: #ffffff;
      font-size: clamp(0.82rem, 2.8vw, 0.95rem);
      font-weight: 700;
      margin: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.25;
      cursor: pointer;
    }
    .smp-title:hover {
      text-decoration: underline;
    }
    .smp-artist {
      color: #b3b3b3;
      font-size: clamp(0.68rem, 2.2vw, 0.76rem);
      font-weight: 400;
      margin: 1px 0 clamp(4px, 1.2vw, 7px) 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 1.2;
      cursor: pointer;
      transition: color 0.2s ease;
    }
    .smp-artist:hover {
      color: #ffffff;
    }
    .smp-progress-section {
      margin-bottom: clamp(4px, 1.2vw, 6px);
      width: 100%;
    }
    .smp-range-slider {
      width: 100%;
      height: 3px;
      background: transparent;
      -webkit-appearance: none;
      appearance: none;
      cursor: pointer;
      display: block;
    }
    .smp-range-slider:focus {
      outline: none;
    }
    .smp-range-slider::-webkit-slider-runnable-track {
      width: 100%;
      height: 3px;
      background-color: #4d4d4d;
      border-radius: 2px;
    }
    .smp-range-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      height: 10px;
      width: 10px;
      border-radius: 50%;
      background-color: #1DB954;
      cursor: pointer;
      margin-top: -3.5px;
      transition: transform 0.15s ease;
    }
    .smp-range-slider:hover::-webkit-slider-thumb {
      transform: scale(1.25);
      background-color: #1ed760;
    }
    .smp-time-info {
      display: flex;
      justify-content: space-between;
      color: #b3b3b3;
      font-size: clamp(0.6rem, 2vw, 0.68rem);
      font-weight: 500;
      margin-top: 2px;
      line-height: 1;
    }
    .smp-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: clamp(6px, 2vw, 12px);
    }
    .smp-btn {
      background: transparent;
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0;
    }
    .smp-btn-secondary {
      color: #b3b3b3;
      font-size: clamp(0.75rem, 2.6vw, 0.9rem);
      padding: 3px;
      transition: color 0.15s ease;
    }
    .smp-btn-secondary:hover {
      color: #ffffff;
    }
    .smp-btn-play {
      background-color: #1DB954;
      color: #000000;
      width: clamp(26px, 8vw, 32px);
      height: clamp(26px, 8vw, 32px);
      border-radius: 50%;
      font-size: clamp(0.7rem, 2.2vw, 0.8rem);
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
      transition: transform 0.15s ease, background-color 0.15s ease;
    }
    .smp-btn-play:hover {
      background-color: #1ed760;
      transform: scale(1.08);
    }
    .smp-btn-play:active {
      transform: scale(0.92);
    }
    .smp-text-muted-red {
      color: #e91429 !important;
    }
    .smp-rotating {
      animation: smpSpin 8s linear infinite !important;
    }
    @keyframes smpSpin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    .smp-floating-disc {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 58px;
      height: 58px;
      border-radius: 50%;
      background-color: #181818;
      border: 2px solid #1DB954;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 12px rgba(29, 185, 84, 0.4);
      z-index: 9999;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transform: scale(0.4) rotate(-30deg);
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
    }
    .smp-floating-disc.is-visible {
      opacity: 1;
      visibility: visible;
      transform: scale(1) rotate(0deg);
    }
    .smp-floating-disc:hover {
      transform: scale(1.1) !important;
    }
    .smp-floating-disc:active {
      transform: scale(0.92) !important;
    }
    .smp-floating-img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      display: block;
    }
    .smp-floating-badge {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 22px;
      height: 22px;
      background: rgba(18, 18, 18, 0.85);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1DB954;
      font-size: 0.65rem;
      pointer-events: none;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    }
    /* ===================================================
       6. TIMELINE & BANK CARDS
       =================================================== */
    .journey-tag {
      display: inline-block;
      background: rgba(128, 0, 0, 0.08);
      color: var(--theme-red);
      font-size: 0.75rem;
      border-radius: 50px;
      letter-spacing: 2px;
    }
    .love-timeline {
      position: relative;
      max-width: 680px;
      margin: 30px auto 10px auto;
      padding: 0;
    }
    .love-timeline::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: 21px;
      width: 2px;
      background: rgba(128, 0, 0, 0.15);
      transform: translateX(-50%);
      z-index: 1;
    }
    .love-timeline::after {
      content: '';
      position: absolute;
      top: 0;
      left: 21px;
      width: 4px;
      height: var(--line-height, 0%);
      max-height: 100%;
      background: #800000;
      opacity: 0.7;
      border-radius: 10px;
      transform: translateX(-50%);
      z-index: 2;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.4);
      transition: height 0.1s linear;
    }
    .timeline-item {
      position: relative;
      display: flex;
      align-items: flex-start;
      margin-bottom: 28px;
      padding-left: 54px;
    }
    .timeline-item:last-child {
      margin-bottom: 0;
    }
    .timeline-dot {
      position: absolute;
      left: 6px;
      top: 0;
      width: 30px;
      height: 30px;
      background: #ffffff;
      border: 2px solid #800000;
      color: #800000;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.1);
      z-index: 3;
      cursor: pointer;
      transition: all 0.35s var(--ease-spring);
    }
    .timeline-dot i,
    .timeline-dot svg {
      color: inherit;
      fill: currentColor;
    }
    .love-timeline .timeline-item:first-child .timeline-dot {
      background: #800000 !important;
      border-color: #800000 !important;
      color: #ffffff !important;
      transform: scale(1.22) !important;
      box-shadow: 0 0 0 5px rgba(128, 0, 0, 0.3), 0 8px 18px rgba(128, 0, 0, 0.45) !important;
    }
    .love-timeline .timeline-item:first-child .timeline-content-card {
      transform: translateY(-5px) scale(1.01);
      box-shadow: 0 16px 32px rgba(128, 0, 0, 0.12);
      border-color: rgba(128, 0, 0, 0.2);
    }
    .timeline-item.active .timeline-dot,
    .timeline-item:hover .timeline-dot {
      background: #800000 !important;
      border-color: #800000 !important;
      color: #ffffff !important;
      transform: scale(1.18);
      box-shadow: 0 0 0 5px rgba(128, 0, 0, 0.3), 0 0 16px rgba(128, 0, 0, 0.7) !important;
    }
    .timeline-content-card {
      background: #ffffff;
      border-radius: 18px;
      padding: 18px 22px;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
      border: 1px solid rgba(128, 0, 0, 0.06);
      width: 100%;
      text-align: left;
      transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-smooth);
    }
    .timeline-content-card:hover {
      transform: translateY(-5px) scale(1.01);
      box-shadow: 0 16px 32px rgba(128, 0, 0, 0.09);
    }
    @media (min-width: 768px) {
      .love-timeline::before,
      .love-timeline::after {
        left: 50%;
        transform: translateX(-50%);
      }
      .timeline-item {
        padding-left: 0;
        width: 100%;
        margin-bottom: 35px;
      }
      .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
      }
      .love-timeline .timeline-item:first-child .timeline-dot {
        left: 50%;
        transform: translateX(-50%) scale(1.22) !important;
      }
      .timeline-item.active .timeline-dot,
      .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.18) !important;
      }
      .timeline-item:nth-child(odd) {
        padding-right: calc(50% + 28px);
        text-align: right;
      }
      .timeline-item:nth-child(odd) .timeline-content-card {
        text-align: right;
      }
      .timeline-item:nth-child(even) {
        padding-left: calc(50% + 28px);
        text-align: left;
      }
      .timeline-item:nth-child(even) .timeline-content-card {
        text-align: left;
      }
    }
    .std-section-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
    }
    .disco-wrapper {
      display: inline-block;
      transform-origin: 50% 0%;
      opacity: 0;
      transform: translate3d(0, -40px, 0);
      transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
      will-change: transform, opacity;
    }
    .disco-wrapper .disco-img {
      width: 150px;
    }
    .disco-wrapper.active,
    .disco-wrapper.revealed,
    .std-section-wrapper.active .disco-wrapper {
      animation: discoDropSpring 1.1s var(--ease-spring) 0.15s forwards;
    }
    @keyframes discoDropSpring {
      0% { opacity: 0; transform: translate3d(0, -80px, 0) scale(0.85); }
      60% { transform: translate3d(0, 8px, 0) scale(1.03); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    .std-text-wrapper {
      display: flex;
      color: var(--theme-red);
      -webkit-text-stroke: 1px var(--theme-red);
      paint-order: stroke fill;
      flex-direction: column;
      line-height: 0.75;
      margin: 15px 0;
      font-weight: 300;
    }
    .std-text-wrapper .typing-line {
      font-size: clamp(45px, 6.5vw, 95px);
      opacity: 0;
      transform: translate3d(0, 22px, 0);
      transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-spring);
      will-change: transform, opacity;
    }
    .std-text-wrapper.animate .typing-line {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
    .std-text-wrapper.animate .line-save { transition-delay: 0.3s; }
    .std-text-wrapper.animate .line-the { transition-delay: 0.5s; }
    .std-text-wrapper.animate .line-date { transition-delay: 0.7s; }
    .date-circle-container {
      position: relative !important;
      display: inline-block !important;
      width: auto;
    }
    .date-circle-container .date {
      width: 100%;
      max-width: clamp(260px, 85vw, 340px);
      height: auto;
      display: block;
    }
    .scribble-svg {
      position: absolute !important;
      inset: 0;
      width: 100% !important;
      height: 100% !important;
      pointer-events: none;
      z-index: 2;
    }
    .scribble-path {
      fill: none !important;
      stroke: var(--theme-red) !important;
      stroke-width: 3.5 !important;
      stroke-linecap: round !important;
      stroke-linejoin: round !important;
      stroke-dasharray: 400;
      stroke-dashoffset: 400;
      transition: none;
    }
    .date-circle-container.revealed .scribble-path {
      transition: stroke-dashoffset 0.9s var(--ease-smooth) 1.2s;
      stroke-dashoffset: 0 !important;
    }
    .t-input-wrap {
      position: relative;
      width: 100%;
    }
    .t-input {
      transition: border-color 150ms ease-out;
      will-change: transform;
      border-radius: 0.375rem;
    }
    .t-input-wrap.is-error .form-control,
    .t-input-wrap.is-error .form-select {
      border-color: var(--error-red) !important;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.18) !important;
    }
    .t-error-msg {
      opacity: 0;
      visibility: hidden;
      font-size: 0.78rem;
      transition: opacity var(--revert-dur, 280ms) ease-out, visibility 0s linear var(--revert-dur, 280ms);
    }
    .t-input-wrap.is-error .t-error-msg {
      opacity: 1;
      visibility: visible;
      transition: opacity var(--revert-dur, 280ms) ease-out, visibility 0s linear 0s;
    }

    .t-input.is-shaking {
  animation: t-input-shake calc(
      var(--shake-dur-a) * 2 + var(--shake-dur-b) * 2
    ) linear;
}
    .bank-card-wrapper {
      position: relative;
      width: 100%;
      max-width: 320px;
      container-type: inline-size;
      margin: 0 auto;
      transition: transform 0.4s var(--ease-spring);
    }
    .bank-card-wrapper:hover {
      transform: scale(1.03) rotate(1deg);
    }
    .bank-card-img {
      width: 100%;
      height: auto;
      display: block;
      transform: rotate(3deg);
      transform-origin: center center;
    }
    .card-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 0 10% 15% 10%;
    }
    .card-label { font-size: clamp(0.55rem, 2.8cqw, 0.75rem); }
    .card-rekening { font-size: clamp(0.95rem, 5cqw, 1.3rem); }
    .card-name { font-size: clamp(0.5rem, 3.8cqw, 1rem); }
    .card-spacer { margin-bottom: clamp(1rem, 7cqw, 2.5rem); }
    /* ===================================================
       7. DOODLE EVENT CARDS (AKAD & RESEPSI)
       =================================================== */
    .viewport-lock-container {
      width: 100%;
      max-width: 860px;
      margin: 0 auto;
      padding: 0;
      container-type: inline-size;
    }
    .doodle-card-fixed {
      border: none;
      border-radius: clamp(14px, 3.5vw, 28px);
      background-color: #ffffff;
      box-shadow: 0 clamp(4px, 1vw, 10px) clamp(12px, 2.5vw, 30px) rgba(128, 0, 0, 0.06);
      position: relative;
      padding: clamp(14px, 2.8vw, 24px) clamp(8px, 2vw, 24px) clamp(12px, 2.5vw, 22px);
      margin-bottom: clamp(16px, 3.5vw, 28px);
      transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
    }
    .doodle-card-fixed:last-child {
      margin-bottom: 0;
    }
    .doodle-card-fixed:hover {
      transform: translateY(-3px);
      box-shadow: 0 clamp(8px, 1.5vw, 16px) clamp(16px, 3.5vw, 36px) rgba(128, 0, 0, 0.12);
    }
    .inner-box-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: clamp(6px, 1.5vw, 12px);
      margin-bottom: clamp(8px, 1.8vw, 16px);
    }
    .inner-box-title {
      font-family: var(--font-main);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: clamp(1px, 0.4vw, 2.5px);
      font-size: clamp(1.1rem, 3.6cqw, 1.75rem);
      margin: 0;
      color: var(--doodle-color);
      line-height: 1;
    }
    .locked-flex-row {
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      justify-content: space-between !important;
      width: 100% !important;
      gap: clamp(4px, 1.2vw, 16px);
    }
    .locked-col-left {
      flex: 0 0 clamp(72px, 24cqw, 200px);
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .locked-col-mid {
      flex: 1 1 auto;
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-evenly;
    }
    .locked-col-right {
      flex: 0 0 clamp(62px, 20cqw, 150px);
      display: flex;
      justify-content: center;
      align-items: center;
      transform: translateX(-18px);
    }
    .fixed-dashed-divider {
      border-left: clamp(1px, 0.25vw, 2px) dashed rgba(128, 0, 0, 0.35);
      border-right: clamp(1px, 0.25vw, 2px) dashed rgba(128, 0, 0, 0.35);
      padding-left: clamp(3px, 1.2vw, 10px);
      padding-right: clamp(3px, 1.2vw, 10px);
    }
    .fixed-info-item {
      flex: 1 1 0;
      min-width: 0;
      text-align: center;
      padding: 0 clamp(2px, 0.8vw, 6px);
      cursor: default;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .fixed-info-title {
      font-family: var(--font-main);
      font-size: clamp(0.7rem, 2.2cqw, 1.15rem);
      font-weight: 700;
      line-height: 1.2;
      margin: 0;
      color: var(--doodle-color);
      overflow: hidden;
      word-break: break-word;
    }
    .fixed-info-desc {
      font-family: var(--font-main);
      font-size: clamp(0.55rem, 1.7cqw, 0.85rem);
      line-height: 1.15;
      margin: 0;
      color: #6e625d;
      overflow: hidden;
      word-break: break-word;
    }
    .fixed-icon-wrapper {
      height: clamp(28px, 6cqw, 48px);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: clamp(2px, 0.6vw, 6px);
      width: 100%;
    }
    .fixed-icon-svg {
      width: clamp(24px, 5.5cqw, 44px);
      height: clamp(24px, 5.5cqw, 44px);
    }
    /* Animasi Mikro Doodle */
    @keyframes heartBeat {
      0%, 100% { transform: scale(1); }
      15% { transform: scale(1.22); }
      30% { transform: scale(1); }
      45% { transform: scale(1.12); }
    }
    .anim-heart { transform-origin: center; animation: heartBeat 2.2s infinite; }
    @keyframes starTwinkle {
      0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.35; }
      50% { transform: scale(1.25) rotate(20deg); opacity: 1; }
    }
    .anim-star { display: inline-block; animation: starTwinkle 2.5s ease-in-out infinite; }
    @keyframes cloudDrift {
      0%, 100% { transform: translateX(0); }
      50% { transform: translateX(5px); }
    }
    .anim-cloud { animation: cloudDrift 3.5s ease-in-out infinite; }
    @keyframes clockTick {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }
    .anim-clock-hand { transform-origin: 24px 24px; animation: clockTick 12s linear infinite; }
    @keyframes pinBounce {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-5px); }
    }
    .anim-pin { animation: pinBounce 2s ease-in-out infinite; }
    @keyframes coupleSway {
      0%, 100% { transform: rotate(0deg); }
      50% { transform: rotate(2deg); }
    }
    .anim-couple { transform-origin: bottom center; animation: coupleSway 3s ease-in-out infinite; }
    @keyframes glassLeftClink {
      0%, 100% { transform: rotate(12deg); }
      40% { transform: rotate(2deg) translate(3px, -2px); }
      50% { transform: rotate(0deg) translate(4px, -3px); }
      60% { transform: rotate(12deg); }
    }
    @keyframes glassRightClink {
      0%, 100% { transform: rotate(-12deg); }
      40% { transform: rotate(-2deg) translate(-3px, -2px); }
      50% { transform: rotate(0deg) translate(-4px, -3px); }
      60% { transform: rotate(-12deg); }
    }
    .anim-glass-left { transform-origin: 38px 105px; animation: glassLeftClink 3s ease-in-out infinite; }
    .anim-glass-right { transform-origin: 78px 105px; animation: glassRightClink 3s ease-in-out infinite; }
    @keyframes sparkleFlash {
      0%, 35%, 65%, 100% { opacity: 0; transform: scale(0.5); }
      45%, 55% { opacity: 1; transform: scale(1.25); }
    }
    .anim-sparkle { transform-origin: 60px 42px; animation: sparkleFlash 3s ease-in-out infinite; }
    
    /* GALLERY GRID */
    .gallery-item-anim {
      opacity: 0;
      transform: scale(0.88) translate3d(0, 25px, 0);
      transition: opacity 0.75s var(--ease-smooth), transform 0.75s var(--ease-spring);
      transition-delay: calc(var(--item-index, 0) * 90ms);
      will-change: transform, opacity;
    }
    #gallery-grid.revealed .gallery-item-anim {
      opacity: 1;
      transform: scale(1) translate3d(0, 0, 0);
    }
    .gallery-square, .gallery-main {
      width: 100%;
      object-fit: cover;
      cursor: pointer;
      transition: transform 0.4s var(--ease-spring), filter 0.4s var(--ease-smooth);
    }
    .gallery-square { aspect-ratio: 1/1; }
    .gallery-main { aspect-ratio: 16/9; }
    .gallery-square:hover,
    .gallery-main:hover {
      transform: scale(1.04);
      filter: brightness(1.04);
    }
    .custom-copy-toast {
      position: fixed;
      left: 50%;
      bottom: 30px;
      transform: translate3d(-50%, 30px, 0) scale(0.9);
      background: linear-gradient(45deg, #28a745, #20c997) !important;
      color: #ffffff;
      padding: 12px 24px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 500;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 999999;
      opacity: 0;
      pointer-events: none;
      transition: all 0.4s var(--ease-spring);
      display: flex;
      align-items: center;
      white-space: nowrap;
    }
    .custom-copy-toast.show {
      opacity: 1;
      transform: translate3d(-50%, 0, 0) scale(1);
    }
    /* MODAL GALLERY */
    .modal-backdrop.show {
      opacity: 0.9;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      background-color: rgba(12, 10, 10, 0.94);
      z-index: 10500 !important;
    }
    #galleryModal { z-index: 10550 !important; }
    #galleryModal .modal-dialog { max-width: 100vw; width: 100vw; height: 100vh; height: 100dvh; margin: 0; padding: 0; }
    #galleryModal .modal-content { background-color: transparent !important; border-radius: 0 !important; border: none; height: 100%; width: 100%; position: relative; overflow: hidden; box-shadow: none; }
    .gallery-modal-card { position: relative; width: 100%; height: 100%; overflow: hidden; background: transparent !important; touch-action: pan-y pinch-zoom; }
    #carouselGallery { width: 100%; height: 100%; position: relative; z-index: 5; background: transparent; }
    #carouselGallery .carousel-inner { width: 100%; height: 100%; background: transparent; }
    #carouselGallery .carousel-item { width: 100%; height: 100%; background: transparent; text-align: center; }
    #carouselGallery .carousel-item.active, #carouselGallery .carousel-item-next, #carouselGallery .carousel-item-prev { display: flex !important; align-items: center; justify-content: center; background: transparent; }
    .modal-img-natural-wrapper { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; z-index: 10; background: transparent; padding: 0 10px; }
    .modal-carousel-img { max-width: 100vw !important; max-height: 82vh !important; max-height: 82dvh !important; width: auto !important; height: auto !important; object-fit: contain !important; border-radius: 0 !important; transition: transform 0.4s var(--ease-spring); cursor: zoom-in; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.65)); }
    .modal-carousel-img.is-zoomed { transform: scale(2); cursor: zoom-out; }
    .gallery-top-controls { position: absolute; top: 18px; right: 18px; display: flex; align-items: center; gap: 12px; z-index: 10800; }
    .gallery-ctrl-btn { background: rgba(35, 25, 25, 0.7); border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: all 0.3s var(--ease-spring); }
    .gallery-ctrl-btn:hover { background: rgba(255, 255, 255, 0.35); color: #ffffff; transform: scale(1.12); }
    .carousel-control-prev, .carousel-control-next { width: 16%; z-index: 10700; opacity: 0.8; transition: opacity 0.3s ease; }
    .carousel-control-prev:hover, .carousel-control-next:hover { opacity: 1; }
    .carousel-control-prev-icon, .carousel-control-next-icon { filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)); width: 2.2rem; height: 2.2rem; }
    .success-icon-wrapper { width: 65px; height: 65px; border-radius: 50%; background: #e8f5e9; display: flex; align-items: center; justify-content: center; }
    .checkmark-icon { width: 40px; height: 40px; stroke-width: 3; stroke: #198754; fill: none; }
    .checkmark-circle { stroke-dasharray: 166; stroke-dashoffset: 166; animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
    .checkmark-check { stroke-dasharray: 48; stroke-dashoffset: 48; animation: strokeCheck 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.45s forwards; }
    /* COUNTDOWN */
    .section.count {
      background: var(--theme-red);
      color: #ffffff;
      padding: 70px 6vw;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 50px;
      align-items: center;
      position: relative;
      overflow: hidden;
      border-radius: 24px;
      margin: 40px auto;
      max-width: 1140px;
      box-shadow: 0 15px 35px rgba(128, 0, 0, 0.2);
    }
    .section.count:before {
      content: '';
      position: absolute;
      inset: -50%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 65%);
      pointer-events: none;
    }
    .count .label {
      color: var(--gold);
      font-size: 11px;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      font-weight: 600;
      display: block;
      margin-bottom: 12px;
    }
    .count h2 {
      color: #ffffff;
      font-family: 'Cormorant Garamond', serif;
      font-weight: 600;
      font-size: clamp(38px, 4.5vw, 68px);
      line-height: 0.9;
      margin-bottom: 30px;
      letter-spacing: 0.02em;
    }
    .clock {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    .clock .time {
      border: 1px solid rgba(255, 255, 255, 0.25);
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      min-width: 82px;
      text-align: center;
      padding: 14px 10px;
      border-radius: 12px;
      transition: transform 0.4s var(--ease-spring), background 0.3s;
    }
    .clock .time:hover {
      transform: translateY(-6px) scale(1.05);
      background: rgba(255, 255, 255, 0.16);
    }
    .clock .time b {
      display: block;
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(28px, 3vw, 36px);
      font-weight: 600;
      color: #ffffff;
      line-height: 1;
    }
    .clock .time span {
      font-size: 9px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.8);
      margin-top: 6px;
      display: block;
    }
    .polaroids {
      height: 380px;
      position: relative;
      width: 100%;
      max-width: 360px;
      margin: 0 auto;
    }
    .polaroid {
      position: absolute;
      width: 195px;
      background: #ffffff;
      padding: 10px 10px 22px 10px;
      border-radius: 8px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
      transition: all 0.5s var(--ease-spring);
      cursor: pointer;
      text-decoration: none;
    }
    .polaroid .pic {
      width: 100%;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      border-radius: 4px;
      background-color: #eee;
    }
    .polaroid .pic img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s var(--ease-smooth);
    }
    .polaroid small {
      display: block;
      text-align: center;
      color: var(--theme-red);
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: 13px;
      margin-top: 10px;
      letter-spacing: 0.02em;
    }
    .polaroid.p1 { left: 0; top: 25px; transform: rotate(-8deg); z-index: 1; }
    .polaroid.p2 { left: 28%; top: 60px; transform: rotate(5deg); z-index: 2; }
    .polaroid.p3 { right: 0; top: 15px; transform: rotate(10deg); z-index: 3; }
    .polaroid:hover {
      transform: scale(1.12) rotate(0deg) translateY(-10px) !important;
      z-index: 20;
      box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
    }
    .polaroid:hover .pic img {
      transform: scale(1.08);
    }
    footer {
      text-align: center;
      background: #efe3dd;
      color: var(--theme-red);
      padding: 60px 20px;
      border-top: 1px solid #dfd1ca;
    }
    footer strong {
      font-family: 'Playfair Display', serif;
      font-style: italic;
      font-size: clamp(26px, 3.5vw, 36px);
      display: block;
      margin-bottom: 8px;
    }
    footer p {
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    /* ===================================================
       MEDIA QUERY: DESKTOP & TABLET (>= 768px)
       =================================================== */
    @media (min-width: 768px) {
      body { 
        background-color: #ffffff; 
      }
      .app-wrapper { 
        max-width: 100%; 
        width: 100%; 
        box-shadow: none; 
      }
      
      /* 1. COVER CONTAINER & CONTENT */
      #cover-section { 
        max-width: 100%; 
        width: 100vw; 
        background: radial-gradient(circle at center, #ffffff 0%, #fcf4f4 100%); 
      }
      #cover-section .cover-content { 
        max-width: 100%; 
        width: 100%; 
        margin: 0 auto; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
      }

      /* 2. TEKS TENGAH, RING & PITA DEKAT DENGAN TEKS */
      .cover-top {
        position: relative;
        display: inline-block;
        z-index: 10;
        margin: 0 auto;
      }
      .doodle-ring-overlay {
        top: -15px;
        left: -45px;
        max-height: 80px;
      }
      .doodle-pita-overlay {
        bottom: -15px;
        right: -30px;
        max-height: 60px;
      }

      /* 3. HERO KIRI & KANAN TERHADAP TEKS TENGAH */
      .cover-middle { 
        position: absolute; 
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%); 
        width: 100%; 
        max-width: 1200px;
        pointer-events: none; 
        z-index: 5;
        margin: 0;
      }
      .spark-rhythm-container { 
        display: none !important; 
      }
      
      .illustration-container {
        width: 100%;
        position: relative;
        display: block;
      }
      .heroes-wrapper {
        --hero-size: clamp(200px, 18vw, 290px);
        width: 100%;
        max-width: 1050px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
        padding: 0 40px;
      }
      .hero-slot {
        width: auto;
      }
      .hero-slot-1 {
        justify-content: flex-start;
        padding-right: 0;
      }
      .hero-slot-2 {
        justify-content: flex-end;
        padding-left: 0;
      }

      /* 4. POSISI SPARK MENGIKUTI HERO KIRI & KANAN */
      #cover-section .spark-top-left {
        top: -20px;
        left: 5%;
        transform: scale(1.1);
      }
      #cover-section .spark-bottom-left {
        bottom: -10px;
        left: 8%;
        transform: scale(1.1);
      }
      #cover-section .spark-top-right {
        top: 20px;
        right: 5%;
        transform: scale(1.1);
      }

      /* 5. ANIMASI MASUK DESKTOP */
      #cover-section .hero-visual-1 { 
        animation: hero1Desktop 1.8s var(--ease-smooth) 0s both; 
      }
      #cover-section .hero-visual-2 { 
        animation: hero2Desktop 1.8s var(--ease-smooth) 0s both; 
      }

      /* MAIN CONTENT LAYOUT */
      #main-content section { 
        max-width: 1140px; 
        margin-left: auto; 
        margin-right: auto; 
        padding-top: 3.5rem; 
        padding-bottom: 3.5rem; 
      }
      #gallery-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 16px;
      }
      #gallery-grid .col-12,
      #gallery-grid .col-6 {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
      }
      #gallery-grid > :nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
      #gallery-grid > :nth-child(2) { grid-column: 3; grid-row: 1; }
      #gallery-grid > :nth-child(3) { grid-column: 4; grid-row: 1; }
      #gallery-grid > :nth-child(4) { grid-column: 3; grid-row: 2; }
      #gallery-grid > :nth-child(5) { grid-column: 4; grid-row: 2; }
      #gallery-grid img {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        display: block;
      }
      .gallery-main { aspect-ratio: 1/1; }
    }

    @keyframes hero1Desktop {
      0% { opacity: 0; transform: translate3d(-60px, 0, 0) scale(0.6); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    @keyframes hero2Desktop {
      0% { opacity: 0; transform: translate3d(60px, 0, 0) scale(0.6); }
      100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }

    @media (max-width: 991px) {
      .section.count { grid-template-columns: 1fr; gap: 40px; text-align: center; margin: 20px; padding: 50px 25px; }
      .clock { justify-content: center; }
      .polaroids { height: 330px; max-width: 320px; }
      .polaroid { width: 165px; }
    }
    @media (max-width: 480px) {
      .section.count { margin: 15px; border-radius: 16px; padding: 40px 18px; }
      .clock .time { min-width: 68px; padding: 10px 6px; }
      .polaroids { height: 290px; }
      .polaroid { width: 145px; }
    }
    @keyframes popInRing {
      0% { opacity: 0; transform: scale(0) rotate(-70deg); }
      100% { opacity: 1; transform: scale(1) rotate(-70deg); }
    }
    @keyframes swayRing {
      0% { transform: scale(1) rotate(-70deg); }
      100% { transform: scale(1) rotate(-55deg); }
    }
    @keyframes popInPita {
      0% { opacity: 0; transform: scale(0) rotate(30deg); }
      100% { opacity: 1; transform: scale(1) rotate(30deg); }
    }
    @keyframes swayPita {
      0% { transform: scale(1) rotate(30deg); }
      100% { transform: scale(1) rotate(15deg); }
    }
    @keyframes sparkPulse {
      0% { stroke-dasharray: 0 40; }
      100% { stroke-dasharray: 38 0; }
    }
    @keyframes fadeInRhythm {
      0% { opacity: 0; }
      100% { opacity: 1; }
    }
    @keyframes strokeCircle { 100% { stroke-dashoffset: 0; } }
    @keyframes strokeCheck { 100% { stroke-dashoffset: 0; } }
@keyframes t-input-shake {
  0%      { transform: translateX(0);                                   animation-timing-function: var(--shake-ease); }
  28.57%  { transform: translateX(var(--shake-distance));               animation-timing-function: var(--shake-ease); }
  57.14%  { transform: translateX(calc(var(--shake-distance) * -1));   animation-timing-function: var(--shake-ease); }
  78.57%  { transform: translateX(var(--shake-overshoot));              animation-timing-function: var(--shake-ease); }
  100%    { transform: translateX(0); }
}
