/* ==========================================================================
   RUMAH KECIL KITA: BLUE SKY SCRAPBOOK COLLAGE AESTHETICS
   Tema: Langit Biru (Blue Sky) dengan sentuhan kolase scrapbook kertas,
   washi tape bermotif awan & matahari, bingkai polaroid, stiker pasangan,
   kaset pita retro, serta kartu kenangan.
   Mematuhi standar antislop: bebas slop AI, kontras teks WCAG AA,
   responsif di seluruh ukuran layar, dan target sentuh minimal 44x44px.
   ========================================================================== */

:root {
  /* Palet Warna Blue Sky */
  --bg-sky: #F0F7FD;          /* Latar belakang langit biru lembut */
  --bg-sky-light: #F8FAFD;
  --bg-sky-card: #FFFFFF;     /* Kertas scrapbook putih bersih */
  --bg-desk: #E4F0FA;         /* Permukaan meja bernuansa powder blue */
  --desk-border: #BCD7EE;
  
  /* Tinta & Teks (Kontras Teruji WCAG AA) */
  --text-dark: #152B44;       /* Deep Navy: rasio 13.3:1 pada #F0F7FD, 14.3:1 pada putih (Lolos WCAG AAA) */
  --text-muted: #3B5775;      /* Slate Blue: rasio 6.9:1 pada #F0F7FD, 7.5:1 pada putih (Lolos WCAG AA) */
  
  /* Aksen Langit */
  --sky-primary: #0369A1;     /* Deep Sky Azure: rasio teks putih 5.93:1 (Lolos WCAG AA) */
  --sky-primary-hover: #0284C7;
  --sky-accent: #38BDF8;      /* Biru langit cerah */
  --sky-wash: #E0F2FE;        /* Biru langit pudar untuk latar elemen */
  
  /* Aksen Hangat & Matahari */
  --sun-gold: #D97706;        /* Emas matahari hangat */
  --sun-dark: #92400E;        /* Deep Amber: rasio 6.37:1 pada #FEF3C7 (Lolos WCAG AAA) */
  --sun-light: #FEF3C7;       /* Mentega lembut untuk sticky notes & lampu peri */
  --sun-border: #FDE68A;
  
  /* Aksen Kasih Sayang & Romantis */
  --rose-love: #E11D48;       /* Rose Coral: rasio kontras 4.6+:1 pada putih */
  --rose-light: #FFE4E6;
  --rose-deep: #9F1239;       /* Deep Rose: rasio 7.20:1 pada #FEF3C7, 6.68:1 pada #FFE4E6 (Lolos WCAG AAA) */
  
  /* Aksen Sukses & Alam */
  --teal-success: #0F766E;    /* Rasio 4.86:1 pada #CCFBF1 (Lolos WCAG AA) */
  --teal-light: #CCFBF1;
  
  /* Garis & Batas */
  --border-subtle: #D0E3F3;
  --border-strong: #A8CBE8;
  --text-disabled: #334155;   /* Teks status terkunci kontras tinggi (5.4+:1) */
  --border-disabled: #94A3B8;

  /* Bayangan Kertas Scrapbook (Realistis, Bukan AI Glow) */
  --shadow-sticker: 0 3px 10px rgba(21, 43, 68, 0.09), 0 1px 3px rgba(21, 43, 68, 0.05);
  --shadow-polaroid: 0 10px 24px rgba(21, 43, 68, 0.12), 0 2px 6px rgba(21, 43, 68, 0.06);
  --shadow-floating: 0 14px 32px rgba(21, 43, 68, 0.14), 0 4px 10px rgba(21, 43, 68, 0.08);
  --shadow-modal: 0 24px 60px rgba(15, 32, 56, 0.28), 0 8px 24px rgba(15, 32, 56, 0.12);

  /* Tipografi */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-hand: 'Caveat', 'Kalam', cursive;
  --font-note: 'Kalam', 'Caveat', cursive;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  /* Transisi */
  --transition-smooth: 240ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset Dasar & Aksesibilitas */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #FDFBF7;
  background-image: url('assets/desain3.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

/* Indikator Fokus Keyboard Berkualitas Tinggi (R-32) */
:focus-visible {
  outline: 3px solid var(--sky-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   ELEMEN SCRAPBOOK (Washi Tape, Stempel, Pin, Stiker)
   ========================================================================== */

/* Washi Tape Bernuansa Langit Biru */
.washi-tape-sky {
  position: absolute;
  height: 24px;
  width: 105px;
  background: rgba(186, 230, 253, 0.88);
  background-image: repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(255, 255, 255, 0.55) 6px, rgba(255, 255, 255, 0.55) 12px);
  box-shadow: 0 2px 5px rgba(21, 43, 68, 0.1);
  z-index: 10;
  clip-path: polygon(0 0, 96% 0, 100% 50%, 96% 100%, 0 100%, 4% 50%);
  pointer-events: none;
}

.washi-tape-sky.cloud-pattern {
  background: rgba(224, 242, 254, 0.9);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) 2px, transparent 2px);
  background-size: 8px 8px;
}

.washi-tape-sky.sun-pattern {
  background: rgba(254, 243, 199, 0.9);
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.6) 5px, rgba(255, 255, 255, 0.6) 10px);
}

.washi-tape-sky.tape-center-top {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
}

.washi-tape-sky.tape-angle-left {
  top: -12px;
  left: 14px;
  transform: rotate(-6deg);
}

.washi-tape-sky.tape-angle-right {
  top: -12px;
  right: 14px;
  transform: rotate(5deg);
}

.washi-tape-sky.tape-bottom-left {
  bottom: -12px;
  left: 18px;
  transform: rotate(4deg);
}

/* Stempel Pos Langit */
.postage-stamp-sky {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 54px;
  height: 64px;
  background: #FFF;
  border: 2px dashed var(--border-strong);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sticker);
  transform: rotate(6deg);
  z-index: 5;
}

.stamp-inner-heart {
  font-size: 1.4rem;
}

.stamp-date-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--sky-primary);
  margin-top: 2px;
  letter-spacing: 0.5px;
}

/* Push Pin / Paku Payung Emas yang Realistis */
.push-pin {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 35% 35%, #FEF08A, #D97706 70%, #92400E 100%);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(21, 43, 68, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.push-pin::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  background: #78716C;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   -1. LAYAR LOVE AWAITS & PERTANYAAN INTERAKTIF (PERSIS SEPERTI 97-MAIN)
   ========================================================================== */
.love-awaits-screen {
  position: fixed;
  inset: 0;
  background: #020202;
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  z-index: 2600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: center;
  transition: opacity 600ms ease, transform 600ms ease, visibility 600ms;
}

.love-awaits-screen.hidden {
  opacity: 0;
  transform: scale(0.97);
  visibility: hidden;
  pointer-events: none;
}

/* Kanvas Tiga Dimensi Three.js (3D Pulsing Heart) */
.bg-canvas-3d {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Tipografi & Efek Cahaya Khas 97-main */
.font-main-title {
  font-family: 'Dancing Script', cursive;
  letter-spacing: 0.02em;
}

.font-elegant {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

.text-glow {
  text-shadow: 0 0 20px rgba(255, 105, 180, 0.5), 0 0 40px rgba(255, 20, 147, 0.3);
}

/* Partikel Dekorasi Melayang Asli 97-main */
.floating-decor-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-item {
  position: fixed;
  bottom: -40px;
  user-select: none;
  pointer-events: none;
  font-size: 1.5rem;
  will-change: transform, opacity;
  animation: floatUp 15s linear infinite;
  opacity: 0.6;
  filter: drop-shadow(0 0 5px rgba(255, 105, 180, 0.5));
}

@keyframes floatUp {
  0% {
    transform: translateY(110vh) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg) scale(1.2);
    opacity: 0;
  }
}

/* Tombol Lewati Intro (Dark Glass, Min 44x44px) */
.btn-skip-intro {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  background: rgba(20, 10, 10, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: background var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
  z-index: 30;
  cursor: pointer;
}

.btn-skip-intro:hover,
.btn-skip-intro:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* Tahap A: Sentuh Awal (Love Awaits - Persis 97-main) */
.love-awaits-tap {
  position: relative;
  z-index: 10;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 24px 16px;
  max-width: 680px;
  width: 100%;
  cursor: pointer;
  outline: none;
  user-select: none;
  text-align: center;
  animation: pulse-glow-intro 2.4s infinite ease-in-out;
  transition: transform 300ms ease;
}

.love-awaits-tap:hover,
.love-awaits-tap:focus-visible {
  transform: scale(1.03);
}

@keyframes pulse-glow-intro {
  0%, 100% {
    opacity: 0.95;
    transform: scale(1);
  }
  50% {
    opacity: 0.78;
    transform: scale(0.98);
  }
}

.love-awaits-title {
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  font-weight: 700;
  color: #EC4899; /* pink-500 */
  line-height: 1.1;
  margin: 0;
}

.love-awaits-subtitle {
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

/* Tahap B: Kartu Kaca Pengakuan (Glass Card Asli 97-main) */
.glass-card {
  background: rgba(20, 10, 10, 0.52);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(255, 20, 80, 0.05);
  border-radius: 2.5rem;
  padding: 38px 28px 36px;
  max-width: 680px;
  width: 100%;
  position: relative;
  z-index: 20;
  margin: auto;
  animation: reveal-bloom 650ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.love-question-title {
  font-size: clamp(2.3rem, 6.5vw, 3.8rem);
  color: #F472B6; /* pink-400 */
  margin-bottom: 8px;
  line-height: 1.2;
}

.love-subtitle-wrap {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.love-question-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 241, 242, 0.92);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto;
}

/* Bingkai Foto Polaroid Kucing Asli 97-main */
.polaroid-cat-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 16px auto 26px;
  background: rgba(0, 0, 0, 0.45);
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: rotate(-1deg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 500ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.polaroid-cat-container:hover {
  transform: rotate(0deg) scale(1.03);
}

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

.tape-strip {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 100px;
  height: 28px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

/* Arena Tombol Iya & Nggak */
.love-actions-arena {
  position: relative;
  margin-top: 20px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Efek Kilau Tombol Yes (btn-shine) */
.btn-shine {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  20%, 100% { left: 200%; }
}

.btn-love-yes {
  min-height: 50px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #DB2777, #F43F5E);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(219, 39, 119, 0.45);
  transition: transform 250ms ease, box-shadow 250ms ease;
  z-index: 2;
}

.btn-love-yes:hover,
.btn-love-yes:focus-visible {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 32px rgba(219, 39, 119, 0.65);
}

.btn-love-no {
  min-height: 50px;
  padding: 14px 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
  z-index: 3;
}

.btn-love-no:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

/* Tombol Lanjut ke Hitung Mundur Setelah Menerima Cinta */
.btn-start-countdown {
  min-height: 52px;
  min-width: 220px;
  padding: 14px 42px;
  background: linear-gradient(135deg, #E11D48 0%, #DB2777 50%, #F43F5E 100%);
  color: #FFFFFF;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 250ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 250ms ease;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: countdownBtnEntrance 500ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.btn-start-countdown:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-start-countdown:focus-visible {
  outline: 3px solid #F472B6;
  outline-offset: 4px;
}

@keyframes countdownBtnEntrance {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   0. LAYAR MOTION COUNTDOWN & UCAPAN ANNIVERSARY (10 SAMPAI 1)
   ========================================================================== */
.countdown-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 38%, #FFF0F5 0%, #FDF2F8 45%, #FCE7F3 75%, #F5D0FE 100%);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 30px 16px 48px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  transition: opacity 600ms ease, transform 600ms ease, visibility 600ms;
}

.countdown-screen.hidden {
  opacity: 0;
  transform: scale(0.97);
  visibility: hidden;
  pointer-events: none;
}

/* Ambient Luminous Glow Halo */
.countdown-glow-halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.22) 0%, rgba(236, 72, 153, 0.12) 40%, rgba(255, 255, 255, 0) 70%);
  filter: blur(48px);
  pointer-events: none;
  animation: halo-pulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes halo-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.65; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* Floating Particles */
.countdown-floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.c-particle {
  position: absolute;
  opacity: 0.6;
  user-select: none;
  animation: float-c-particle 6s ease-in-out infinite alternate;
}

.p-1 { top: 12%; left: 14%; font-size: 1.4rem; animation-delay: 0s; }
.p-2 { top: 18%; right: 16%; font-size: 1.2rem; animation-delay: 1.2s; }
.p-3 { bottom: 22%; left: 12%; font-size: 1.3rem; animation-delay: 2.1s; }
.p-4 { bottom: 18%; right: 14%; font-size: 1.5rem; animation-delay: 0.8s; }
.p-5 { top: 40%; left: 8%; font-size: 1rem; animation-delay: 1.8s; }
.p-6 { top: 42%; right: 10%; font-size: 1.2rem; animation-delay: 2.8s; }
.p-7 { bottom: 35%; right: 8%; font-size: 1.1rem; animation-delay: 1.5s; }
.p-8 { top: 28%; left: 22%; font-size: 1.3rem; animation-delay: 3.2s; }

@keyframes float-c-particle {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-16px) scale(1.12) rotate(8deg); }
  100% { transform: translateY(8px) scale(0.95) rotate(-6deg); }
}

/* Tombol Lewati Countdown (Target Sentuh Min 44x44px) */
.btn-skip-countdown {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #FBCFE8;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9D174D;
  box-shadow: 0 4px 14px rgba(240, 66, 153, 0.12);
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease;
  z-index: 20;
  cursor: pointer;
}

.btn-skip-countdown:hover {
  background: #FFFFFF;
  color: #BE185D;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 66, 153, 0.22);
}

/* Box Animasi Hitung Mundur (10 sampai 1) */
.countdown-anim-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  width: 100%;
  margin: auto 0;
  position: relative;
  z-index: 10;
  transition: opacity 400ms ease, transform 400ms ease;
}

.countdown-anim-box.fade-out {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

/* Header Badge */
.countdown-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid #FBCFE8;
  border-radius: 9999px;
  padding: 6px 18px;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(240, 66, 153, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  color: #BE185D;
  letter-spacing: 0.03em;
}

.badge-sparkle {
  font-size: 0.95rem;
}

/* Lingkaran Cincin Hitung Mundur */
.countdown-film-ring {
  position: relative;
  width: 190px;
  height: 190px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 14px 30px rgba(244, 63, 94, 0.2));
}

.ring-glass-backdrop {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(255, 240, 245, 0.82));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(251, 207, 232, 0.9);
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.8), 0 8px 24px rgba(240, 66, 153, 0.1);
}

.countdown-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  position: relative;
  z-index: 2;
}

.ring-bg {
  fill: none;
  stroke: rgba(251, 207, 232, 0.65);
  stroke-width: 4;
  stroke-dasharray: 4 6;
}

.ring-progress {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1150ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ring-film-notch {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #F43F5E, #F59E0B);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.7);
  border: 1.5px solid #FFFFFF;
  z-index: 3;
}

.notch-top { top: 4px; left: 50%; transform: translateX(-50%); }
.notch-bottom { bottom: 4px; left: 50%; transform: translateX(-50%); }
.notch-left { left: 4px; top: 50%; transform: translateY(-50%); }
.notch-right { right: 4px; top: 50%; transform: translateY(-50%); }

.countdown-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(4.4rem, 12vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(135deg, #BE185D 0%, #E11D48 45%, #F43F5E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(225, 29, 72, 0.3));
  z-index: 4;
}

.countdown-number.pop {
  animation: number-pop 900ms cubic-bezier(0.16, 1.25, 0.3, 1);
}

@keyframes number-pop {
  0% { transform: scale(0.4) rotate(-4deg); opacity: 0; }
  50% { transform: scale(1.15) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Subtitle Card dengan Desain Romantis */
.countdown-subtitle-wrap {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #FBCFE8;
  border-radius: 20px;
  padding: 14px 24px;
  box-shadow: 0 10px 30px rgba(240, 66, 153, 0.12);
  max-width: 490px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.subtitle-heart-icon {
  font-size: 1.4rem;
  animation: heart-beat 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}

.countdown-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(0.95rem, 3.2vw, 1.12rem);
  font-weight: 600;
  color: #831843;
  line-height: 1.5;
  margin: 0;
  text-align: left;
  flex: 1;
}

.countdown-subtitle.fade-sub {
  animation: fade-sub 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fade-sub {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Row 10 Progress Dots */
.countdown-dots-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FBCFE8;
  transition: background 300ms ease, transform 300ms ease, box-shadow 300ms ease, width 300ms ease;
}

.c-dot.active {
  width: 22px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #BE185D, #F43F5E);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
  transform: scale(1.1);
}

/* Puncak Kejutan: Happy 1st Anniversary Istrikuh */
.anniversary-reveal-box {
  max-width: 680px;
  width: 100%;
  margin: auto 0;
  animation: reveal-bloom 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes reveal-bloom {
  0% { opacity: 0; transform: scale(0.85) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.reveal-card {
  background: var(--bg-sky-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 44px 28px 36px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-floating);
}

.reveal-seal-heart {
  font-size: 2.8rem;
  margin-bottom: 8px;
  animation: pulse-heart 2s infinite ease-in-out;
}

.reveal-badge-tag {
  display: inline-block;
  background: var(--sun-light);
  color: var(--sun-dark);
  border: 1px solid var(--sun-border);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.reveal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--rose-deep);
  margin-bottom: 6px;
  line-height: 1.25;
}

.reveal-dedication {
  font-family: var(--font-hand);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--sky-primary);
  margin-bottom: 14px;
}

.reveal-message {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.btn-proceed-opening {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 250px;
  padding: 14px 28px;
  background: var(--sky-primary);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.3);
  transition: background var(--transition-smooth), transform var(--transition-smooth);
}

.btn-proceed-opening:hover {
  background: var(--sky-primary-hover);
  transform: translateY(-2px);
}

.btn-proceed-opening:active {
  transform: translateY(1px);
}

/* ==========================================================================
   1. LAYAR PEMBUKA (AMPLOP KRAFT DENGAN SENTUHAN LANGIT BIRU)
   ========================================================================== */
.house-experience {
  width: 100%;
  min-height: 100vh;
}

/* Utilitas Aksesibilitas Screen Reader */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.opening-screen {
  position: fixed;
  inset: 0;
  background-color: #bce0fb;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: opacity 500ms ease, transform 500ms ease, visibility 500ms;
}

.opening-screen.hidden {
  opacity: 0;
  transform: scale(0.96);
  visibility: hidden;
  pointer-events: none;
}

/* Background luar menggunakan file assets/desain2.png */
.opening-screen-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/desain2.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.artwork-opening-container {
  position: relative;
  z-index: 1; /* Di atas background desain2.png */
  width: 100%;
  max-width: 1060px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-opening-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 24px 60px -12px rgba(2, 132, 199, 0.35),
    0 12px 28px -8px rgba(15, 23, 42, 0.15);
  cursor: default; /* Kotakan besar tidak berfungsi sebagai link */
  user-select: none;
}

.artwork-opening-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.btn-enter-house-artwork {
  position: absolute;
  left: 28.11%;
  top: 69.34%;
  width: 43.65%;
  height: 8.56%;
  min-height: unset;
  min-width: unset;
  padding: 0;
  border-radius: 9999px;
  background: transparent;
  box-shadow: none;
  cursor: pointer; /* Hanya tombol ini yang bisa diklik untuk masuk */
  border: none;
  overflow: hidden;
  z-index: 10;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease;
}

/* Touch hit area minimum 48px untuk layar sentuh ponsel */
.btn-enter-house-artwork::before {
  content: "";
  position: absolute;
  inset: -10px -12px;
  border-radius: 9999px;
  pointer-events: auto;
}

/* Efek kilau dan cahaya lembut saat hover */
.btn-enter-house-artwork:hover {
  transform: scale(1.025);
  box-shadow: 
    0 0 32px rgba(3, 105, 161, 0.5),
    inset 0 0 16px rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.btn-enter-house-artwork:active {
  transform: scale(0.975);
}

.btn-enter-house-artwork:focus-visible {
  outline: 3px solid #0284c7;
  outline-offset: 3px;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.7);
}

/* Animasi kilauan cahaya lembut pada tombol */
.artwork-btn-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg) translateX(-150%);
  animation: artwork-shimmer 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes artwork-shimmer {
  0% { transform: skewX(-25deg) translateX(-150%); }
  35% { transform: skewX(-25deg) translateX(250%); }
  100% { transform: skewX(-25deg) translateX(250%); }
}

@media (max-width: 640px) {
  .opening-screen {
    padding: 12px;
  }
  .artwork-opening-card {
    border-radius: 18px;
  }
}

/* ==========================================================================
   2. TOP BAR & NAVIGASI (FLOATING FROSTED GLASS PILL BAR)
   ========================================================================== */
.house-experience {
  min-height: 100vh;
  background-color: #FDFBF7;
  background-image: url('assets/desain3.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-bottom: 60px;
  position: relative;
}

@media (max-width: 768px) {
  .house-experience {
    background-attachment: scroll;
  }
}

.app-header {
  position: sticky;
  top: 12px;
  z-index: 100;
  padding: 0 16px;
  margin-bottom: 20px;
}

.header-container {
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-smooth);
}

.brand-section {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon-wrapper {
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #EFF6FF;
  border-radius: 50%;
  border: 1px solid #DBEAFE;
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.brand-title {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1E3A8A;
  line-height: 1.2;
}

.header-sep {
  color: #CBD5E1;
  font-weight: 300;
}

.brand-subtitle {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  color: #D97706;
}

.header-date {
  color: #64748B;
  font-size: 0.85rem;
  font-weight: 500;
}

.header-center-progress {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Pil Progres Cerita Kuning Cerah */
.story-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.82rem;
  color: #92400E;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.12);
  white-space: nowrap;
}

.progress-flower-icon {
  font-size: 0.95rem;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Tombol Audio Biru Kontras */
.btn-audio-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 15px;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.btn-audio-active:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 99, 235, 0.35);
}

.btn-audio-active.muted {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
  box-shadow: none;
}

/* Tombol Mulai Lagi */
.btn-reset-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
}

.btn-reset-pill:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
  transform: translateY(-1px);
}

/* ==========================================================================
   3. RUANG UTAMA (MEJA KENANGAN KOLASE SCRAPBOOK COTTAGECORE)
   ========================================================================== */
.main-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* Papan Meja Scrapbook Utama */
.scrapbook-desk-board {
  position: relative;
  background: linear-gradient(180deg, #F0F6FA 0%, #E2EEF5 45%, #FBF8F2 65%, #FAF7F0 100%);
  border: 1.5px solid #D6E3EC;
  border-radius: 32px;
  padding: 48px 36px 44px;
  box-shadow: 0 24px 60px rgba(30, 58, 138, 0.09), 0 4px 16px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

/* Latar Belakang Jendela Pesisir & Meja Bersinar */
.desk-scenery-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 840px;
  background: url('assets/room/desk-bg.jpg') center top / cover no-repeat;
  opacity: 0.94;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 75%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 75%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.room-intro {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 24px;
}

.room-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: #172554;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.95), 0 0 24px rgba(255, 255, 255, 0.8);
}

.room-headline::after {
  content: " ♡";
  color: #D97706;
  font-weight: 400;
  font-size: 0.85em;
  display: inline-block;
  margin-left: 6px;
  transform: translateY(-4px);
}

.doodle-heart-accent {
  color: #D97706;
  font-weight: 400;
  display: inline-block;
  transform: translateY(-2px);
}

.room-subhead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #334155;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

.room-hint-handwritten {
  font-family: 'Caveat', 'Kalam', cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.room-hint-handwritten::after {
  content: " ♡";
  color: #D97706;
  font-weight: 400;
  font-size: 0.9em;
  display: inline-block;
  margin-left: 4px;
  transform: translateY(-1px);
}

/* ==========================================================================
   DEKORASI ATAS MEJA (ZONA ALAMI: KIRI, TENGAH, KANAN)
   ========================================================================== */
.desk-upper-decorations {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 10px 0 40px;
  padding: 0 4px;
}

/* Kolom Kiri: Catatan Robek & Vas Bunga + Buku */
.desk-decor-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 200px;
}

.desk-torn-note {
  background: #FFFFFF;
  border-radius: 2px;
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
  transform: rotate(-3.5deg);
  position: relative;
  max-width: 185px;
}

.desk-torn-note p {
  font-size: 1rem;
  line-height: 1.35;
  color: #334155;
  margin: 0;
}

.push-pin-rose {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E11D48;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
}

.desk-flower-books-cluster {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

.flower-vase-mockup-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-bounce);
}

.flower-vase-mockup-btn:hover {
  transform: scale(1.06) rotate(-2deg);
}

.flower-vase-img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.vase-label-tag {
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid #FCD34D;
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: 0.8rem;
  color: #78350F;
  font-weight: 600;
  margin-top: -6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.book-stack-decor {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 105px;
  flex-shrink: 0;
}

.book-spine {
  display: block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.spine-1 { background: #E2E8F0; color: #334155; }
.spine-2 { background: #FEF3C7; color: #92400E; }
.spine-3 { background: #BFDBFE; color: #1E40AF; }

/* Kolom Tengah: Plakat Kayu Tryas & Prilya (Centerpiece Hero) */
.desk-decor-center {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 2px;
  width: 100%;
}

.desk-wooden-sign-btn {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 580px;
  position: relative;
  transition: transform var(--transition-bounce);
}

.desk-wooden-sign-btn:hover {
  transform: translateY(-4px) scale(1.02);
}

@keyframes fairyLightsWarmth {
  0%, 100% {
    filter: drop-shadow(0 18px 36px rgba(92, 59, 32, 0.22)) drop-shadow(0 0 20px rgba(251, 191, 36, 0.22));
  }
  50% {
    filter: drop-shadow(0 22px 42px rgba(92, 59, 32, 0.26)) drop-shadow(0 0 32px rgba(251, 191, 36, 0.36));
  }
}

.wooden-sign-img {
  max-width: 580px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(92, 59, 32, 0.22)) drop-shadow(0 0 20px rgba(251, 191, 36, 0.22));
  animation: fairyLightsWarmth 4s ease-in-out infinite;
  transition: filter 0.3s ease;
}

.desk-wooden-sign-btn:hover .wooden-sign-img {
  filter: drop-shadow(0 24px 48px rgba(92, 59, 32, 0.28)) drop-shadow(0 0 40px rgba(251, 191, 36, 0.45));
}

/* Kolom Kanan: Polaroid, Catatan Tempel & Gelas Pensil */
.desk-decor-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: 200px;
}

.desk-couple-polaroid {
  background: #FFFFFF;
  padding: 6px 6px 14px;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transform: rotate(3deg);
  max-width: 155px;
  position: relative;
  align-self: flex-end;
}

.polaroid-img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.polaroid-caption {
  display: block;
  font-size: 0.82rem;
  text-align: center;
  margin-top: 6px;
  color: #334155;
  line-height: 1.25;
}

.sticky-note-yellow {
  background: #FEF08A;
  border-radius: 2px;
  padding: 12px 14px 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  position: relative;
  transform: rotate(1.5deg);
  max-width: 190px;
  align-self: flex-end;
}

.tape-blue-plaid {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 16px;
  background: rgba(147, 197, 253, 0.85);
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sticky-note-yellow p {
  font-size: 0.92rem;
  line-height: 1.35;
  color: #451A03;
  margin: 0 0 4px;
}

.sticky-note-author {
  display: block;
  text-align: right;
  font-size: 0.98rem;
  font-weight: 700;
  color: #78350F;
}

.stationery-cup-decor {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 150px;
  transform: rotate(-1.5deg);
  align-self: flex-end;
}

.stationery-cup-quote {
  font-size: 0.8rem;
  color: #475569;
  display: block;
  line-height: 1.25;
}

/* ==========================================================================
   4 BENDA INTERAKTIF MEJA (ORGANIK DENGAN KARTU POLAROID TACTILE)
   ========================================================================== */
.collage-table-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0 0 36px;
}

.story-item-card,
.scrapbook-item-btn {
  position: relative;
  background: #FCFBF9;
  border: 1.5px solid #E5DEC9;
  border-radius: 20px;
  padding: 16px 14px 22px;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.1);
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

/* Rotasi Organik Masing-masing Kartu */
.item-album { transform: rotate(-0.8deg); }
.item-cup { transform: rotate(0.6deg); }
.item-radio { transform: rotate(-0.5deg); }
.item-cards { transform: rotate(0.8deg); }

.story-item-card:hover,
.scrapbook-item-btn:hover {
  transform: translateY(-8px) scale(1.02) rotate(0deg);
  box-shadow: 0 18px 38px rgba(30, 58, 138, 0.16);
  border-color: #93C5FD;
}

.story-item-card:active,
.scrapbook-item-btn:active {
  transform: translateY(-2px);
}

.item-card-img-wrap {
  width: 100%;
  height: 155px;
  border-radius: 14px;
  overflow: visible;
  margin-bottom: 10px;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.item-card-photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(20, 35, 60, 0.16));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.story-item-card:hover .item-card-photo,
.scrapbook-item-btn:hover .item-card-photo {
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 14px 26px rgba(37, 99, 235, 0.24));
}

.item-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #172554;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.item-card-desc {
  font-size: 0.86rem;
  color: #475569;
  margin: 0 0 14px;
  line-height: 1.35;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-card-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid #1E3A8A;
  background: #FFFFFF;
  color: #1E3A8A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  margin-top: auto;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.08);
  transition: all var(--transition-smooth);
}

.story-item-card:hover .item-card-arrow-circle,
.scrapbook-item-btn:hover .item-card-arrow-circle {
  background: #1E3A8A;
  border-color: #1E3A8A;
  color: #FFFFFF;
  transform: scale(1.12);
}

.item-badge-visited {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  background: rgba(16, 185, 129, 0.95);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.story-item-card.visited .item-badge-visited,
.scrapbook-item-btn.visited .item-badge-visited {
  opacity: 1;
  transform: scale(1);
}

/* Stiker Washi Tape: Ketuk kami! ♡ */
.desk-tap-us-wrap {
  display: flex;
  justify-content: center;
  margin: -14px 0 20px;
  position: relative;
  z-index: 2;
}

.desk-tap-us-badge {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 4px;
  padding: 6px 18px 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  transform: rotate(-1.5deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tap-us-text {
  font-size: 1.15rem;
  color: #78350F;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   AKSEN HINT BAR (SENTUH BENDA UNTUK MEMBUKA CERITA)
   ========================================================================== */
.desk-hint-pill-bar {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 12px 0 38px;
}

.hint-pill-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(238, 242, 255, 0.88);
  border: 1.5px solid #C7D2FE;
  border-radius: var(--radius-pill);
  padding: 10px 30px;
  font-size: 1.15rem;
  color: #312E81;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
  transition: transform var(--transition-smooth);
}

.hint-pill-content:hover {
  transform: scale(1.03);
}

.hint-hand-icon {
  font-size: 1.25rem;
}

/* ==========================================================================
   KOTAK HADIAH KITA (SHOWCASE BOX HORIZONTAL SESUAI DESAIN MOCKUP)
   ========================================================================== */
.gift-box-section-showcase,
.gift-box-section {
  position: relative;
  z-index: 1;
  background: #FFFDF9;
  border: 1.5px solid #EBE4D6;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 14px 40px rgba(45, 55, 72, 0.06);
}

.gift-showcase-layout {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  align-items: center;
  gap: 32px;
}

.gift-left-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.gift-visual-photo {
  width: 100%;
  max-width: 270px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.14));
  border: none;
  background: transparent;
  transition: transform var(--transition-bounce), filter var(--transition-smooth);
}

.gift-visual-photo:hover {
  transform: scale(1.05) rotate(-1.5deg);
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.2));
}

.gift-center-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gift-showcase-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #1E3A8A;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gift-icon-gold {
  color: #D97706;
}

.gift-progress-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
}

.progress-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #CBD5E1;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-smooth);
}

.progress-dot.active {
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
  transform: scale(1.2);
}

.gift-dots-label {
  font-size: 0.85rem;
  color: #64748B;
  margin-left: 6px;
  font-weight: 500;
}

.gift-status-card-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 18px;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-smooth), border-color var(--transition-smooth);
}

.gift-status-card-box.unlocked {
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.btn-open-gift-pill,
.btn-open-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #991B1B;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: not-allowed;
  padding: 0;
  box-shadow: none;
}

.btn-open-gift-pill:not(:disabled),
.btn-open-gift:not(:disabled) {
  cursor: pointer;
  color: #065F46;
  animation: bounce-gift 2.5s infinite ease-in-out;
}

@keyframes bounce-gift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.gift-status-explain,
.gift-status-text {
  font-size: 0.88rem;
  color: #7F1D1D;
  margin: 0;
  line-height: 1.4;
}

.gift-status-card-box.unlocked .gift-status-explain,
.gift-status-card-box.unlocked .gift-status-text {
  color: #065F46;
}

.btn-bypass-letter-pill,
.bypass-letter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2563EB;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 30px;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.32);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.btn-bypass-letter-pill:hover,
.bypass-letter-btn:hover {
  background: #1D4ED8;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42);
}

.completed-all-stamp {
  margin-top: 14px;
  display: inline-block;
  border: 2px solid #10B981;
  color: #065F46;
  background: #ECFDF5;
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  transform: rotate(-2deg);
}

.gift-right-polaroid {
  background: #FFFFFF;
  padding: 8px 8px 14px;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: rotate(2deg);
  max-width: 190px;
  position: relative;
  justify-self: end;
}

.polaroid-daisy-quote {
  font-size: 0.92rem;
  line-height: 1.35;
  color: #334155;
  text-align: center;
  margin: 8px 0 0;
}

/* ==========================================================================
   RESPONSIF TABLET & PONSEL (MAX-WIDTH: 860PX)
   ========================================================================== */
@media (max-width: 860px) {
  /* Navbar Ramping & Estetik 2 Baris dengan CSS Grid */
  .app-header {
    position: sticky;
    top: 8px;
    padding: 0 10px;
    margin-bottom: 12px;
    z-index: 100;
  }

  .header-container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 8px;
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.08);
  }

  .brand-section {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .brand-icon-wrapper {
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .brand-info {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-title {
    font-size: 0.95rem;
    color: #1E3A8A;
    font-weight: 700;
  }

  .brand-subtitle {
    display: none; /* Sembunyikan di layar ponsel agar baris atas tetap ramping & proporsional */
  }

  .header-sep,
  .header-sep-date,
  .header-date {
    display: none;
  }

  .header-controls {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
  }

  .btn-audio-active,
  .btn-reset-pill {
    min-height: 32px;
    padding: 4px 10px;
    font-size: 0.78rem;
    border-radius: var(--radius-pill);
    gap: 4px;
    white-space: nowrap;
  }

  .header-center-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1px;
  }

  .story-progress-pill {
    width: auto;
    max-width: 100%;
    padding: 4px 14px;
    font-size: 0.78rem;
    border-radius: var(--radius-pill);
    box-shadow: none;
  }

  /* Latar Belakang Meja Biru Khusus Mobile */
  .main-content {
    padding: 0 10px 40px;
  }

  .scrapbook-desk-board {
    padding: 20px 12px 28px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
  }

  .desk-scenery-backdrop {
    background-image: url('assets/room/desk-bg-mobile.jpg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    height: 860px;
    opacity: 0.95;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 78%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.95) 78%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 0;
  }

  .room-intro {
    margin-bottom: 8px;
  }

  .room-headline {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }

  .room-subhead {
    font-size: 1.02rem;
  }

  .room-hint-handwritten {
    font-size: 1.25rem;
  }

  /* Dekorasi Meja: Fokus Penuh pada Plakat Kayu Megah */
  .desk-upper-decorations {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4px 0 16px;
    padding: 0;
  }

  .desk-decor-center {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .desk-wooden-sign-btn {
    width: 100%;
    max-width: 390px;
    display: flex;
    justify-content: center;
  }

  .wooden-sign-img {
    width: 100%;
    max-width: 370px;
    height: auto;
    filter: drop-shadow(0 14px 28px rgba(92, 59, 32, 0.22)) drop-shadow(0 0 16px rgba(251, 191, 36, 0.22));
  }

  /* Sembunyikan elemen samping di ponsel agar tidak ada vas bunga mengambang sendirian */
  .desk-decor-left,
  .desk-decor-right {
    display: none !important;
  }

  /* 4 Kartu Kenangan: Selalu 2 Kolom Rapi dan Seimbang */
  .collage-table-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 12px 0 20px;
  }

  .story-item-card,
  .scrapbook-item-btn {
    padding: 12px 10px 16px;
    border-radius: 18px;
    transform: none !important;
  }

  .item-card-img-wrap {
    height: 110px;
    margin-bottom: 6px;
  }

  .item-card-photo {
    max-height: 90px;
  }

  .item-card-title {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .item-card-desc {
    font-size: 0.76rem;
    line-height: 1.25;
    margin-bottom: 8px;
    min-height: 28px;
  }

  .item-card-arrow-circle {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .desk-tap-us-wrap {
    margin: -6px 0 14px;
  }

  .tap-us-text {
    font-size: 0.98rem;
  }

  .hint-pill-content {
    font-size: 0.86rem;
    padding: 6px 14px;
  }

  /* Kotak Hadiah Responsif */
  .gift-box-section-showcase,
  .gift-box-section {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .gift-showcase-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .gift-left-visual {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .gift-visual-photo {
    max-width: 220px;
    height: auto;
    max-height: 180px;
    margin: 0 auto;
  }

  .gift-center-info {
    width: 100%;
  }

  .gift-showcase-title {
    font-size: 1.45rem;
    justify-content: center;
  }

  .gift-status-card-box {
    max-width: 100%;
    padding: 12px 16px;
  }

  .btn-bypass-letter-pill,
  .bypass-letter-btn {
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 0.92rem;
  }

  .gift-right-polaroid {
    justify-self: center;
    max-width: 170px;
    margin: 8px auto 0;
  }
}

/* ==========================================================================
   RESPONSIF PONSEL SANGAT KECIL (MAX-WIDTH: 380PX)
   ========================================================================== */
@media (max-width: 380px) {
  .header-container {
    padding: 6px 10px;
    gap: 4px 6px;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .brand-icon-wrapper {
    width: 24px;
    height: 24px;
    font-size: 0.95rem;
  }

  .btn-audio-active,
  .btn-reset-pill {
    min-height: 28px;
    padding: 3px 6px;
    font-size: 0.72rem;
  }

  .collage-table-layout {
    gap: 8px;
  }

  .story-item-card,
  .scrapbook-item-btn {
    padding: 10px 6px 12px;
  }

  .item-card-img-wrap {
    height: 95px;
  }

  .item-card-photo {
    max-height: 75px;
  }

  .item-card-title {
    font-size: 0.86rem;
  }

  .item-card-desc {
    font-size: 0.7rem;
    min-height: 24px;
  }
}

/* ==========================================================================
   4. MODAL DIALOG SISTEM (CANVA SCRAPBOOK CARD)
   ========================================================================== */
.story-dialog {
  border: none;
  border-radius: var(--radius-lg);
  background: transparent;
  padding: 0;
  width: min(640px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  box-shadow: var(--shadow-modal);
  overflow: visible;
}

.story-dialog::backdrop {
  background: rgba(15, 32, 56, 0.55);
  backdrop-filter: blur(4px);
}

.dialog-shell {
  background: var(--bg-sky-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 36px);
  position: relative;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-dark);
}

.btn-close-modal {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: background var(--transition-smooth), color var(--transition-smooth);
}

.btn-close-modal:hover {
  background: var(--rose-light);
  color: var(--rose-deep);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: center;
}

.btn-secondary {
  min-height: 44px;
  padding: 10px 20px;
  background: var(--bg-sky);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--sky-wash);
}

/* --------------------------------------------------------------------------
   MODAL 1: ALBUM POLAROID
   -------------------------------------------------------------------------- */
.album-viewer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.polaroid-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 16px 16px 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-polaroid);
  position: relative;
  text-align: center;
}

.polaroid-photo-box {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-sky);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
}

.polaroid-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-illustration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.polaroid-illustration-emoji {
  font-size: 3.5rem;
  margin-bottom: 8px;
}

.polaroid-illustration-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
}

.polaroid-caption {
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 6px;
}

.polaroid-date-tag {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--sky-primary);
}

.album-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 18px 0;
}

.btn-album-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-sky);
  border: 1px solid var(--border-strong);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: background var(--transition-smooth), transform var(--transition-smooth);
}

.btn-album-nav:hover {
  background: var(--sky-primary);
  color: #FFFFFF;
  transform: scale(1.08);
}

.album-counter {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
}

.album-closing-note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rose-love);
  text-align: center;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   MODAL 2: CANGKIR PENGHARGAAN & KUPON
   -------------------------------------------------------------------------- */
.awards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.award-card-scrapbook {
  background: var(--bg-sky);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.award-icon-box {
  font-size: 2rem;
  background: #FFFFFF;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sticker);
  flex-shrink: 0;
}

.award-info-col h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.award-badge-pill {
  display: inline-block;
  background: var(--sun-light);
  color: var(--sun-dark);
  border: 1px solid var(--sun-border);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  margin-bottom: 6px;
}

.award-desc-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Kupon Digital Pelukan */
.digital-coupon-card {
  width: 100%;
  background: var(--sun-light);
  border: 2px dashed var(--sun-gold);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-polaroid);
  cursor: pointer;
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.digital-coupon-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-floating);
}

.coupon-seal-stamp {
  display: inline-block;
  border: 2px solid var(--rose-deep);
  color: var(--rose-deep);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  transform: rotate(-2deg);
}

.coupon-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.coupon-hint {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--text-muted);
}

.coupon-claimed-badge {
  display: none;
  margin-top: 14px;
  background: var(--teal-light);
  color: var(--teal-success);
  border: 1px solid var(--teal-success);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.digital-coupon-card.claimed .coupon-claimed-badge {
  display: block;
}

/* --------------------------------------------------------------------------
   MODAL 3: RADIO SUARA RETRO
   -------------------------------------------------------------------------- */
.retro-radio-player {
  text-align: center;
}

.radio-cassette-deck {
  background: #2A3B4C;
  border: 3px solid #1E293B;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.4);
}

.cassette-reel {
  font-size: 2.5rem;
  display: inline-block;
  transform-origin: center;
}

.cassette-reel.spinning {
  animation: spin-reel 2s infinite linear;
}

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

.cassette-label-badge {
  background: #FFFDF8;
  border: 1px solid #D5BFA9;
  border-radius: 4px;
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: #4E3430;
  letter-spacing: 1px;
}

.radio-audio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.btn-radio-play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sky-primary);
  color: #FFFFFF;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.35);
  transition: transform var(--transition-smooth), background var(--transition-smooth);
}

.btn-radio-play:hover {
  background: var(--sky-primary-hover);
  transform: scale(1.08);
}

.radio-duration-label {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.radio-letter-fallback {
  background: var(--bg-sky);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
}

.radio-letter-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--sky-primary);
  margin-bottom: 8px;
}

.radio-letter-body {
  font-size: 0.98rem;
  line-height: 1.6;
  white-space: pre-line;
  color: var(--text-dark);
}

.radio-letter-sign {
  font-family: var(--font-hand);
  font-size: 1.45rem;
  text-align: right;
  color: var(--rose-love);
  margin-top: 12px;
}

.transcript-toggle-box {
  margin-top: 16px;
  text-align: left;
}

.btn-toggle-transcript {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sky-primary);
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  cursor: pointer;
}

.transcript-content-text {
  display: none;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  background: var(--bg-sky);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.transcript-content-text.active {
  display: block;
}

/* --------------------------------------------------------------------------
   MODAL 4: KARTU PERMAINAN MENCOCOKKAN
   -------------------------------------------------------------------------- */
.match-game-container {
  text-align: center;
}

.match-intro-text {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.match-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 440px;
  margin: 0 auto 24px;
}

.game-card-btn {
  aspect-ratio: 1;
  background: var(--bg-sky);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-sticker);
  transition: transform var(--transition-bounce), border-color var(--transition-smooth), background var(--transition-smooth);
  user-select: none;
  position: relative;
}

.game-card-btn:hover:not(.flipped):not(.matched) {
  transform: translateY(-4px);
  border-color: var(--sky-primary);
}

.game-card-btn.flipped {
  background: #FFFFFF;
  border-color: var(--sky-primary);
  transform: rotateY(180deg);
}

.game-card-btn.matched {
  background: var(--teal-light);
  border-color: var(--teal-success);
  cursor: default;
}

.match-win-banner {
  display: none;
  background: var(--teal-light);
  border: 2px solid var(--teal-success);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 20px;
}

.match-win-banner.active {
  display: block;
  animation: pop-win 400ms var(--transition-bounce);
}

@keyframes pop-win {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.match-win-text {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-success);
}

.match-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   MODAL 5: SURAT CINTA & KADO AKHIR
   -------------------------------------------------------------------------- */
.letter-scrapbook-paper {
  background: #FFFDF8;
  border: 1px solid #E8D9C8;
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  box-shadow: var(--shadow-polaroid);
  line-height: 1.8;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.letter-salutation {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--rose-love);
  margin-bottom: 16px;
}

.letter-paragraph {
  margin-bottom: 16px;
  text-align: left;
}

.letter-sign-block {
  text-align: right;
  margin-top: 24px;
}

.letter-signoff {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--text-muted);
}

.letter-sender {
  font-family: var(--font-hand);
  font-size: 2rem;
  font-weight: 700;
  color: var(--rose-love);
}

.letter-date-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.real-gift-box {
  margin-top: 20px;
  background: var(--sun-light);
  border: 2px dashed var(--sun-gold);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.modal-gift-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-special-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #F43F5E 0%, #EC4899 50%, #DB2777 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.45);
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
  animation: specialGiftGlowPulse 2.5s infinite;
}

.btn-special-gift:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.6);
  filter: brightness(1.08);
}

.btn-special-gift:active {
  transform: translateY(1px) scale(0.98);
}

@keyframes specialGiftGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(236, 72, 153, 0.4);
  }
  50% {
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.7);
  }
}

/* --------------------------------------------------------------------------
   MODAL 6: RESET CONFIRMATION
   -------------------------------------------------------------------------- */
.reset-dialog {
  max-width: 440px;
}

.reset-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.reset-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-danger {
  min-height: 44px;
  padding: 10px 20px;
  background: var(--rose-love);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition-smooth);
}

.btn-danger:hover {
  background: var(--rose-deep);
}

/* --------------------------------------------------------------------------
   KANVAS CONFETTI & TOAST
   -------------------------------------------------------------------------- */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.easter-egg-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #152B44;
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-floating);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-bounce), opacity var(--transition-smooth);
}

.easter-egg-toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-heart {
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   OVERLAY SEAMLESS HALAMAN BUNGA ABADI (MUSIK TIDAK TERPUTUS)
   -------------------------------------------------------------------------- */
.flower-seamless-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: #000000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.flower-seamless-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.flower-seamless-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ==========================================================================
   RESPONSIVITAS MOBILE (R-03)
   ========================================================================== */
@media (max-width: 600px) {
  .envelope-card {
    padding: 36px 18px 28px;
  }

  .envelope-names {
    font-size: 1.6rem;
  }

  .match-card-grid {
    gap: 10px;
  }

  .game-card-btn {
    font-size: 2rem;
  }

  .modal-header {
    padding: 16px;
  }

  .modal-body {
    padding: 16px;
  }

  .polaroid-frame {
    padding: 12px 12px 18px;
  }

  /* Responsivitas Layar Love Awaits */
  .btn-skip-intro {
    top: 14px;
    right: 14px;
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .love-awaits-tap {
    padding: 30px 18px 24px;
  }

  .love-pulse-icon {
    font-size: 3rem;
  }

  .love-question-card {
    padding: 34px 18px 26px;
  }

  .polaroid-cat-container {
    width: 180px;
    height: 180px;
    margin: 10px auto 14px;
    padding: 8px 8px 14px;
  }

  .tape-strip {
    width: 75px;
    height: 20px;
    top: -8px;
  }

  .love-actions-arena {
    gap: 12px;
  }

  .btn-love-yes {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 0.98rem;
  }

  .btn-love-no {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  /* Responsivitas Layar Countdown & Reveal */
  .btn-skip-countdown {
    top: 14px;
    right: 14px;
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .countdown-film-ring {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
  }

  .countdown-number {
    font-size: 4rem;
  }

  .countdown-subtitle {
    font-size: 1.25rem;
    min-height: 40px;
  }

  .reveal-card {
    padding: 34px 18px 26px;
  }

  .reveal-title {
    font-size: 1.7rem;
  }

  .reveal-dedication {
    font-size: 1.35rem;
  }

  .btn-proceed-opening {
    min-width: 220px;
    padding: 12px 22px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   PENGALAMAN CINTA INTERAKTIF (REFERENSI FOLDER LOVE: PRINCESS DAY)
   ========================================================================== */

/* Font Classes */
.font-dancing {
  font-family: 'Dancing Script', 'Great Vibes', cursive;
}

.font-playfair {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

.font-comfortaa {
  font-family: 'Comfortaa', cursive, sans-serif;
}

.font-jakarta {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-kalam {
  font-family: 'Kalam', cursive, sans-serif;
}

/* Container Utama */
.princess-container {
  position: relative;
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: auto 0;
  padding: 16px 0 24px;
  overflow: visible;
  z-index: 10;
}

/* Dreamy Background & Floating Particles */
.dreamy-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 182, 193, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 240, 245, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(176, 224, 230, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #FFF8E7 0%, #FFF4F8 25%, #F0F8FF 50%, #FFF0F5 75%, #FFFACD 100%);
  z-index: -2;
  pointer-events: none;
}

.floating-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle-bubble {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.8), rgba(255, 182, 193, 0.2));
  border-radius: 50%;
  animation: floatParticleUp 14s linear infinite;
}

@keyframes floatParticleUp {
  0% {
    transform: translateY(105vh) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) scale(1.2);
    opacity: 0;
  }
}

/* Background Decor Icons */
.bg-decor-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.decor-icon,
.decor-emoji {
  position: absolute;
  user-select: none;
}

.decor-1 { top: 8%; left: 8%; width: 34px; height: 34px; animation: floatSlow 6s ease-in-out infinite; }
.decor-2 { top: 12%; right: 10%; width: 44px; height: 44px; animation: floatSlow 7s ease-in-out infinite reverse; opacity: 0.8; }
.decor-3 { bottom: 15%; left: 10%; width: 28px; height: 28px; animation: floatSlow 5s ease-in-out infinite; }
.emoji-1 { top: 22%; left: 18%; font-size: 1.5rem; animation: floatSlow 8s ease-in-out infinite; }
.emoji-2 { top: 26%; right: 20%; font-size: 1.6rem; animation: floatSlow 7s ease-in-out infinite; }
.emoji-3 { bottom: 20%; right: 15%; font-size: 1.4rem; animation: floatSlow 6s ease-in-out infinite; }
.emoji-4 { bottom: 10%; left: 24%; font-size: 1.5rem; animation: floatSlow 9s ease-in-out infinite; }

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

/* Stage Box Switcher */
.princess-stage-box {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
  padding-top: 22px;
  animation: fadeInStage 500ms ease forwards;
}

@keyframes fadeInStage {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* TAHAP 1: HERO WINDOW CARD */
.princess-window-card {
  position: relative;
  width: 100%;
  background: #FFF8E7;
  border-radius: 24px;
  border: 1px solid #FBCFE8;
  box-shadow: 0 24px 50px rgba(240, 66, 153, 0.15), 0 2px 6px rgba(0, 0, 0, 0.04);
  padding: 30px 24px 34px;
  text-align: center;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #FBCFE8;
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
}

.dot-pink { background: #FF9EC7; border: 1px solid #F081A9; }
.dot-yellow { background: #FFF07A; border: 1px solid #F0CF52; }
.dot-green { background: #B1F2B1; border: 1px solid #92D992; }

.window-badge {
  font-size: 0.95rem;
  font-weight: 700;
  color: #9A4C73;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.window-spacer {
  width: 48px;
}

.hero-sticker-top {
  position: absolute;
  top: -20px;
  right: 14px;
  width: 76px;
  height: 76px;
  animation: bounceSlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 15;
}

.hero-sticker-bottom {
  position: absolute;
  bottom: -22px;
  left: -15px;
  width: 72px;
  height: 72px;
  transform: rotate(-12deg);
  pointer-events: none;
}

.sticker-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.hero-title-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 10px;
}

.hero-lamp-glow-aura {
  position: absolute;
  inset: -14px -22px;
  background: radial-gradient(ellipse at center, rgba(254, 205, 211, 0.6) 0%, rgba(253, 242, 248, 0.28) 55%, transparent 75%);
  border-radius: 32px;
  pointer-events: none;
  z-index: 0;
  animation: auraLampFlicker 5.5s ease-in-out infinite;
}

.hero-main-title {
  position: relative;
  z-index: 1;
  font-family: 'Dancing Script', 'Great Vibes', cursive;
  font-size: clamp(3rem, 7.2vw, 4.4rem);
  font-weight: 700;
  color: #9D174D;
  background: linear-gradient(135deg, #9D174D 0%, #BE185D 35%, #E11D48 70%, #F43F5E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 0;
  display: inline-block;
  animation: romanticLampGlow 2.8s ease-in-out infinite alternate, romanticLampFlicker 5.5s ease-in-out infinite;
}

/* Animasi pendar cahaya lampu romantis yang hangat */
@keyframes romanticLampGlow {
  0% {
    filter: 
      drop-shadow(0 2px 4px rgba(225, 29, 72, 0.3))
      drop-shadow(0 0 12px rgba(244, 63, 94, 0.42))
      drop-shadow(0 0 24px rgba(236, 72, 153, 0.28));
  }
  50% {
    filter: 
      drop-shadow(0 2px 6px rgba(225, 29, 72, 0.4))
      drop-shadow(0 0 20px rgba(244, 63, 94, 0.7))
      drop-shadow(0 0 40px rgba(236, 72, 153, 0.5))
      drop-shadow(0 0 60px rgba(244, 63, 94, 0.28));
  }
  100% {
    filter: 
      drop-shadow(0 2px 8px rgba(225, 29, 72, 0.5))
      drop-shadow(0 0 28px rgba(244, 63, 94, 0.9))
      drop-shadow(0 0 50px rgba(236, 72, 153, 0.65))
      drop-shadow(0 0 76px rgba(244, 63, 94, 0.38));
  }
}

/* Animasi kedipan lembut lampu romantis (romantic lamp flicker) */
@keyframes romanticLampFlicker {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  24% {
    opacity: 1;
  }
  25% {
    opacity: 0.76;
    filter: drop-shadow(0 0 6px rgba(244, 63, 94, 0.25));
  }
  26% {
    opacity: 1;
  }
  27% {
    opacity: 0.84;
    filter: drop-shadow(0 0 8px rgba(244, 63, 94, 0.35));
  }
  28% {
    opacity: 1;
  }
  62% {
    opacity: 1;
  }
  63% {
    opacity: 0.9;
  }
  64% {
    opacity: 1;
  }
  81% {
    opacity: 1;
  }
  82% {
    opacity: 0.78;
    filter: drop-shadow(0 0 6px rgba(244, 63, 94, 0.3));
  }
  83% {
    opacity: 0.96;
  }
  84% {
    opacity: 1;
  }
}

@keyframes auraLampFlicker {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  25% {
    opacity: 0.45;
    transform: scale(0.97);
  }
  26% {
    opacity: 0.9;
    transform: scale(1.02);
  }
  27% {
    opacity: 0.6;
    transform: scale(0.98);
  }
  28% {
    opacity: 0.95;
    transform: scale(1.03);
  }
  82% {
    opacity: 0.5;
    transform: scale(0.97);
  }
  83% {
    opacity: 0.9;
    transform: scale(1.02);
  }
}

.hero-dedication {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 600;
  color: #9D174D;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero-description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
  max-width: 520px;
  margin: 0 auto 16px;
}

.hero-cta-hint {
  font-size: 1rem;
  margin-bottom: 24px;
}

.highlight-pink {
  font-weight: 700;
  color: #F04299;
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 16px;
  background: #F04299;
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkCursor 800ms infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.btn-open-heart {
  min-height: 52px;
  min-width: 220px;
  padding: 14px 40px;
  background: #F04299;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(240, 66, 153, 0.4);
  transition: transform 250ms ease, box-shadow 250ms ease, background-color 250ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-open-heart:hover {
  background: #E11D48;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(240, 66, 153, 0.55);
}

.btn-open-heart:focus-visible {
  outline: 3px solid #BE185D;
  outline-offset: 4px;
}

.hero-footer-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: #9A4C73;
  font-weight: 600;
}

/* TAHAP 2: AMPLOP & SURAT INTERAKTIF */
.envelope-interaction-wrap {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.envelope-interactive-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 270px;
  background: #FCE7F3;
  border: 2px solid #F472B6;
  border-radius: 16px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(219, 39, 119, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 30px;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.envelope-interactive-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 26px 48px rgba(219, 39, 119, 0.28);
}

.envelope-interactive-card:focus-visible {
  outline: 3px solid #DB2777;
  outline-offset: 4px;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(180deg, #FBCFE8 0%, #F9A8D4 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
  filter: drop-shadow(0 4px 6px rgba(219, 39, 119, 0.15));
}

.envelope-interactive-card.opened .envelope-flap {
  transform: rotateX(180deg);
}

.envelope-front-pocket {
  position: relative;
  z-index: 5;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.envelope-stamp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px dashed #EC4899;
  border-radius: 9999px;
  padding: 6px 18px;
  margin-bottom: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: #9D174D;
  box-shadow: 0 4px 12px rgba(240, 66, 153, 0.12);
  width: auto;
  max-width: max-content;
}

.envelope-click-prompt {
  font-size: 1.1rem;
  font-weight: 700;
  color: #BE185D;
  margin: 0;
  letter-spacing: 0.02em;
}

.princess-letter-card {
  width: 100%;
  background: #FFFDF9;
  border: 1px solid #FBCFE8;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
  padding: 34px 28px;
  margin-top: 20px;
  animation: slideUpLetter 600ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideUpLetter {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.letter-stamps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.stamp-tag {
  background: #FDF2F8;
  border: 1px dashed #F472B6;
  color: #BE185D;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 4px;
}

.letter-title {
  font-size: 1.6rem;
  color: #831843;
  margin-bottom: 14px;
}

.letter-body {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #1F2937;
  white-space: pre-wrap;
  margin-bottom: 26px;
  min-height: 140px;
}

.letter-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-letter-action {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-copy {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #D1D5DB;
}

.btn-copy:hover {
  background: #E5E7EB;
  color: #111827;
}

.btn-next {
  background: #F04299;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(240, 66, 153, 0.35);
}

.btn-next:hover {
  background: #DB2777;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(240, 66, 153, 0.45);
}

/* TAHAP 3: PEMUTAR MUSIK PLAYLIST */
.playlist-header {
  text-align: center;
  margin-bottom: 24px;
}

.playlist-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: #831843;
  margin-bottom: 6px;
}

.playlist-subtitle {
  color: #6B7280;
  font-size: 1rem;
}

.playlist-carousel-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 10px 4px 20px;
  scrollbar-width: thin;
}

.playlist-tracks-arena {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.track-card {
  width: 190px;
  background: #FFFFFF;
  border: 1px solid #FBCFE8;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(240, 66, 153, 0.1);
  text-align: center;
  cursor: pointer;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.track-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(240, 66, 153, 0.2);
  border-color: #F472B6;
}

.track-card.active {
  border-color: #DB2777;
  background: #FDF2F8;
  box-shadow: 0 16px 32px rgba(219, 39, 119, 0.25);
  transform: scale(1.03);
}

.track-cover-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.track-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 200ms ease;
}

.track-card:hover .track-play-overlay,
.track-card.active .track-play-overlay {
  opacity: 1;
}

.track-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 4px;
}

.track-card-desc {
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.4;
  min-height: 34px;
}

.playlist-player-bar {
  width: 100%;
  max-width: 580px;
  background: #FFFFFF;
  border: 1px solid #FBCFE8;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  padding: 18px 24px;
  margin: 14px 0 24px;
}

.player-info {
  margin-bottom: 12px;
  text-align: center;
}

.player-title {
  font-weight: 700;
  color: #9D174D;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.player-desc {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 0;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-play-pause {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #F04299;
  color: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background 200ms ease;
  flex-shrink: 0;
}

.btn-play-pause:hover {
  background: #DB2777;
  transform: scale(1.06);
}

.scrubber-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

.time-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  min-width: 34px;
}

.player-scrubber {
  flex-grow: 1;
  accent-color: #F04299;
  cursor: pointer;
}

.btn-continue-journey {
  min-height: 52px;
  padding: 14px 38px;
  background: linear-gradient(135deg, #DB2777, #F43F5E);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(219, 39, 119, 0.4);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.btn-continue-journey:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(219, 39, 119, 0.55);
}

/* TAHAP 4: 3D MEMORY FLIP CARDS */
.flipcards-header {
  text-align: center;
  margin-bottom: 24px;
  width: 100%;
}

.flipcards-title {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: #831843;
  margin-bottom: 6px;
}

.flipcards-subtitle {
  color: #6B7280;
  font-size: 1rem;
  margin-bottom: 16px;
}

.flip-progress-bar-wrap {
  max-width: 440px;
  margin: 0 auto;
}

.progress-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: #9D174D;
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: #FCE7F3;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F472B6, #DB2777);
  border-radius: 9999px;
  transition: width 400ms ease;
}

.flip-cards-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.flip-card-item {
  width: 195px;
  height: 290px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 650ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.flip-card-item.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-front {
  background: #FFFFFF;
  border: 1px solid #FBCFE8;
}

.flip-front-img-wrap {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}

.flip-front-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-front-tag {
  font-weight: 700;
  font-size: 0.85rem;
  color: #9D174D;
  margin: 0;
}

.flip-back {
  background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
  border: 2px solid #F472B6;
  transform: rotateY(180deg);
  text-align: center;
  padding: 20px 16px;
}

.flip-back-message {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #831843;
  margin: 0;
}

.flip-action-row {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(255, 245, 248, 0.92);
  border: 2px dashed #F472B6;
  border-radius: 20px;
  animation: fadeInUpAction 400ms ease forwards;
  text-align: center;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 10px 25px rgba(244, 114, 182, 0.15);
}

@keyframes fadeInUpAction {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flip-action-hint {
  font-size: 0.95rem;
  color: #831843;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.btn-proceed-cards {
  min-height: 50px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.38);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-proceed-cards:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.48);
}

.btn-proceed-cards:active {
  transform: translateY(1px) scale(0.98);
}

.flip-complete-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 400ms ease forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card-inner {
  background: #FFFDF9;
  border: 2px solid #F472B6;
  border-radius: 24px;
  padding: 34px 28px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.modal-heart-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.45rem;
  color: #831843;
  margin-bottom: 8px;
}

.modal-message {
  font-size: 0.98rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 22px;
}

.modal-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
}

.btn-modal-secondary {
  min-height: 48px;
  padding: 12px 22px;
  background: #FFF0F5;
  color: #9D174D;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: 1.5px solid #F472B6;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-modal-secondary:hover {
  background: #FCE7F3;
  transform: translateY(-1px);
}

.btn-modal-secondary:active {
  transform: translateY(1px);
}

.btn-modal-proceed {
  min-height: 48px;
  padding: 12px 26px;
  background: #F04299;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(240, 66, 153, 0.35);
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-modal-proceed:hover {
  background: #DB2777;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(240, 66, 153, 0.45);
}

.btn-modal-proceed:active {
  transform: translateY(1px);
}

/* TAHAP 5: FINAL LETTER & SEALED LETTER */
.final-letter-sheet {
  width: 100%;
  max-width: 580px;
  background: #FFFDF9;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  padding: 36px 30px;
  position: relative;
}

.grid-paper {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.letter-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #9CA3AF;
}

.final-salutation {
  font-size: 1.45rem;
  color: #831843;
  margin-bottom: 16px;
  line-height: 1.4;
}

.final-body {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #1F2937;
  margin-bottom: 26px;
}

.final-body p {
  margin-bottom: 14px;
}

.final-seal-invite {
  font-weight: 700;
  color: #DB2777;
}

.final-signature {
  margin-top: 20px;
}

.typewriter-cursor {
  display: inline-block;
  color: #DB2777;
  font-weight: 700;
  margin-left: 2px;
  font-family: inherit;
  animation: cursorBlink 650ms steps(2, start) infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typewriter-skip-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #9D174D;
  background: rgba(253, 242, 248, 0.9);
  border: 1px dashed #F472B6;
  border-radius: 9999px;
  padding: 6px 16px;
  margin: 0 auto 16px auto;
  cursor: pointer;
  user-select: none;
  animation: fadeInHint 400ms ease forwards;
  transition: background 200ms ease, transform 200ms ease;
}

.typewriter-skip-hint:hover {
  background: #FCE7F3;
  transform: scale(1.02);
}

@keyframes fadeInHint {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-seal-kiss {
  width: 100%;
  min-height: 52px;
  background: linear-gradient(135deg, #DB2777, #F43F5E);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(219, 39, 119, 0.4);
  transition: transform 300ms ease, box-shadow 300ms ease, opacity 400ms ease;
}

.btn-seal-kiss:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(219, 39, 119, 0.55);
}

.btn-seal-kiss.btn-seal-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

.btn-seal-kiss.btn-seal-revealed {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  animation: sealPulseAttention 2.5s infinite 600ms;
}

@keyframes sealPulseAttention {
  0%, 100% {
    box-shadow: 0 12px 30px rgba(219, 39, 119, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 16px 36px rgba(219, 39, 119, 0.65);
    transform: scale(1.02);
  }
}

/* Sealed Letter Screen */
.sealed-letter-card {
  background: #FFFDF9;
  border: 1px solid #FBCFE8;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.wax-seal-center {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #F472B6, #DB2777 65%, #9D174D 100%);
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: pulseWax 3s ease-in-out infinite;
}

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

.sealed-card-title {
  font-size: 1.6rem;
  color: #831843;
  margin-bottom: 6px;
}

.sealed-card-date {
  font-size: 0.95rem;
  font-weight: 700;
  color: #9D174D;
  margin-bottom: 14px;
}

.sealed-card-message {
  font-size: 1rem;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 26px;
}

.sealed-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-sealed-action {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.btn-sealed-action.btn-kiss {
  background: #F04299;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(240, 66, 153, 0.35);
}

.btn-sealed-action.btn-kiss:hover {
  background: #DB2777;
  transform: translateY(-2px);
}

.btn-sealed-action.btn-restart {
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #D1D5DB;
}

.btn-sealed-action.btn-restart:hover {
  background: #E5E7EB;
}

.btn-sealed-action.btn-house {
  background: #10B981;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.btn-sealed-action.btn-house:hover {
  background: #059669;
  transform: translateY(-2px);
}

/* Kiss Particles Layer */
.kiss-particles-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.kiss-particle-item {
  position: absolute;
  font-size: 2rem;
  animation: floatKissUp 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes floatKissUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.8) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-340px) scale(1.6) rotate(35deg);
  }
}

/* ==========================================================================
   RESPONSIVITAS MOBILE PENGALAMAN CINTA PRINCESS DAY (R-03)
   ========================================================================== */
@media (max-width: 640px) {
  .countdown-screen {
    padding: 26px 12px 36px;
  }

  .btn-skip-countdown {
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    font-size: 0.82rem;
  }

  .princess-container {
    padding: 8px 0 20px;
    overflow: visible;
  }

  .princess-stage-box {
    padding-top: 18px;
  }

  /* TAHAP 1: HERO DREAMY PASTEL CARD */
  .princess-window-card {
    padding: 20px 14px 22px;
    border-radius: 20px;
  }

  .window-header {
    padding-bottom: 10px;
    margin-bottom: 16px;
  }

  .window-badge {
    font-size: 0.85rem;
  }

  .hero-sticker-top {
    width: 50px;
    height: 50px;
    top: -14px;
    right: 12px;
  }

  .hero-sticker-bottom {
    width: 44px;
    height: 44px;
    bottom: -16px;
    left: -8px;
  }

  .hero-title-wrap {
    margin: 0 auto 8px;
    max-width: 100%;
  }

  .hero-lamp-glow-aura {
    inset: -8px -12px;
  }

  .hero-main-title {
    font-size: clamp(2.3rem, 8.8vw, 3.1rem);
    line-height: 1.18;
  }

  .hero-dedication {
    font-size: clamp(0.92rem, 3.6vw, 1.15rem);
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 14px;
    padding: 0 4px;
  }

  .hero-cta-hint {
    font-size: 0.86rem;
    margin-bottom: 16px;
  }

  .btn-open-heart {
    min-height: 48px;
    width: 100%;
    max-width: 290px;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .hero-footer-note {
    font-size: 0.8rem;
    margin-top: 14px;
  }

  /* TAHAP 2: AMPLOP & SURAT INTERAKTIF */
  .envelope-interactive-card {
    height: 220px;
    padding-bottom: 22px;
  }

  .envelope-flap {
    height: 80px;
  }

  .envelope-front-pocket {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .envelope-stamp-badge {
    width: auto;
    max-width: max-content;
    height: auto;
    padding: 6px 14px;
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .envelope-click-prompt {
    font-size: 0.95rem;
  }

  /* TAHAP 3: SURAT CINTA INTERAKTIF */
  .princess-letter-card {
    padding: 20px 14px 22px;
    border-radius: 18px;
  }

  .letter-salutation {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .letter-body-area {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .reasons-title {
    font-size: 1.1rem;
  }

  .reason-card {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .letter-bottom-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .letter-bottom-actions button {
    width: 100%;
    min-height: 44px;
  }

  /* TAHAP 4: FLIP CARDS MOMEN INDAH */
  .flipcards-title {
    font-size: 1.6rem;
  }

  .flipcards-subtitle {
    font-size: 0.88rem;
    margin-bottom: 12px;
  }

  .flip-cards-grid {
    gap: 12px;
    justify-content: center;
  }

  .flip-card-item {
    width: calc(50% - 8px);
    max-width: 165px;
    height: 235px;
  }

  .flip-front-badge {
    font-size: 1.8rem;
  }

  .flip-title {
    font-size: 0.98rem;
  }

  .flip-photo-thumb {
    height: 105px;
  }

  .flip-memory-text {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .flip-date-tag {
    font-size: 0.72rem;
  }

  .btn-continue-journey {
    width: 100%;
    max-width: 290px;
    min-height: 48px;
    font-size: 0.98rem;
    padding: 12px 20px;
  }

  .flip-action-row {
    padding: 16px 14px;
    margin-top: 20px;
    gap: 12px;
  }

  .flip-action-hint {
    font-size: 0.88rem;
  }

  .btn-proceed-cards {
    width: 100%;
    font-size: 0.96rem;
    padding: 12px 20px;
  }

  .modal-actions-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .modal-actions-row button {
    width: 100%;
  }

  /* TAHAP 5: SURAT TERAKHIR & SEALED LETTER */
  .final-letter-sheet {
    padding: 22px 14px 24px;
    border-radius: 18px;
  }

  .final-salutation {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .final-body {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .btn-seal-kiss {
    min-height: 48px;
    font-size: 1rem;
  }

  .sealed-letter-card {
    padding: 26px 14px 24px;
    border-radius: 18px;
  }

  .sealed-card-title {
    font-size: 1.35rem;
  }

  .sealed-card-message {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .sealed-action-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-sealed-action {
    width: 100%;
    min-height: 46px;
  }

  .modal-gift-footer {
    flex-direction: column-reverse;
    gap: 10px;
    width: 100%;
  }

  .modal-gift-footer button,
  .modal-gift-footer a {
    width: 100%;
    text-align: center;
  }
}

/* Dukungan Aksesibilitas Gerak (Prefers-Reduced-Motion) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .envelope-seal-glow,
  .bulb,
  .gift-box-present-icon,
  .cassette-reel.spinning,
  .countdown-number.pop,
  .anniversary-reveal-box,
  .reveal-seal-heart,
  .floating-item,
  .love-pulse-icon,
  .tap-finger,
  .typewriter-cursor {
    animation: none !important;
  }
  .typewriter-cursor {
    display: none !important;
  }
  .btn-seal-kiss.btn-seal-hidden {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  .ring-progress,
  .btn-love-no {
    transition: none !important;
  }
}

