/* ═══════════════════════════════════════════════════════
   RuangKita v3 — style.css
   Struktur:
   1. Variables & Reset
   2. Base & Particles
   3. Page System & Navigation
   4. Home Page
   5. Buttons (Card, Small, WA, Ghost, Primary)
   6. Locked Messages
   7. Voice Note Button
   8. Pesan dari Aa
   9. Timeline / Cerita Kita
   10. Feelings / Perasaan
   11. Mood History
   12. Kangen Page
   13. Lagu Kita
   14. Galeri Momen
   15. Surat Terbuka
   16. Date Randomizer
   17. Hal Kecil
   18. Overlays (shared + specific)
   19. Voice Player (inside overlay)
   20. Countdown
   21. Utilities & Animations
═══════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────
   1. VARIABLES & RESET
─────────────────────────────────────────────────────── */
:root {
  --bg: #fff8f2;
  --bg2: #fff1e6;
  --pink: #f2c4b8;
  --pink-deep: #e8a898;
  --brown: #8b6355;
  --brown-lt: #c4956a;
  --gold: #d4a76a;
  --text: #3d2c28;
  --text-soft: #7a5c54;
  --text-muted: #b09080;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(139, 99, 85, 0.08);
  --shadow-md: 0 8px 40px rgba(139, 99, 85, 0.14);
  --shadow-lg: 0 20px 60px rgba(139, 99, 85, 0.2);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --trans: all 0.32s var(--ease);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle grain texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23D4A76A' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ───────────────────────────────────────────────────────
   2. PARTICLES
─────────────────────────────────────────────────────── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  font-size: 0.72rem;
  opacity: 0;
  animation: float-up 9s infinite ease-in-out;
  user-select: none;
}
@keyframes float-up {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg);
  }
  10% {
    opacity: 0.35;
  }
  90% {
    opacity: 0.12;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) rotate(360deg);
  }
}

/* ───────────────────────────────────────────────────────
   3. PAGE SYSTEM & NAVIGATION
─────────────────────────────────────────────────────── */
.page {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
.page.active {
  display: block;
  animation: pageIn 0.42s var(--ease) both;
}
@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 167, 106, 0.15);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: "Dancing Script", cursive;
  font-size: 1.6rem;
  color: var(--brown);
  cursor: pointer;
  user-select: none;
  transition: var(--trans);
  letter-spacing: 0.3px;
}
.nav-logo:hover {
  color: var(--gold);
  transform: scale(1.03);
}
.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 0.84rem;
  cursor: pointer;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 50px;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-back:hover {
  color: var(--brown);
  background: rgba(242, 196, 184, 0.2);
}
.nav-action {
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50px;
  transition: var(--trans);
  color: var(--text-muted);
}
.nav-action:hover {
  background: rgba(242, 196, 184, 0.2);
}

/* ───────────────────────────────────────────────────────
   4. HOME PAGE
─────────────────────────────────────────────────────── */

/* Hero Photo */
.home-hero-photo {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;

  /* ─── FOTO HERO ───────────────────────────────────────
     Setelah kamu simpan foto di assets/img/foto-hero.webp,
     uncomment baris di bawah dan hapus background gradient:
  ─────────────────────────────────────────────────────── */
  background-image: url("../img/ulfa-1.webp");
  background-size: cover;
  background-position: center top;
  background: linear-gradient(
    135deg,
    rgba(242, 196, 184, 0.6) 0%,
    rgba(212, 167, 106, 0.3) 50%,
    rgba(255, 241, 230, 0.8) 100%
  );
}
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 248, 242, 0) 40%,
    rgba(255, 248, 242, 0.95) 100%
  );
}
.photo-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--brown);
  opacity: 0.5;
  text-align: center;
  line-height: 1.6;
  /* Hapus elemen ini ketika foto sudah diganti */
}
.photo-placeholder-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.home-content {
  padding: 0 20px 50px;
  max-width: 480px;
  margin: 0 auto;
}

/* Time message */
.time-message-card {
  background: linear-gradient(
    135deg,
    rgba(242, 196, 184, 0.3) 0%,
    rgba(255, 241, 230, 0.5) 100%
  );
  border: 1px solid rgba(212, 167, 106, 0.2);
  border-radius: 16px;
  padding: 14px 20px;
  margin: 20px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.5s 0.05s both;
}
.time-msg-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.time-msg-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Greeting row */
.home-greeting-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 18px;
  animation: fadeUp 0.5s 0.1s both;
}
.home-greeting {
  font-family: "Dancing Script", cursive;
  font-size: 2.4rem;
  color: var(--brown);
  line-height: 1.1;
}
.home-day {
  font-size: 0.8rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--pink) 0%, var(--bg2) 100%);
  border: 1px solid rgba(212, 167, 106, 0.2);
  padding: 5px 14px;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: var(--shadow);
}

/* Daily quote card */
.home-quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 28px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 196, 184, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: var(--trans);
  animation: fadeUp 0.5s 0.15s both;
}
.home-quote-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.home-quote-card:active {
  transform: scale(0.98);
}
.quote-icon {
  font-family: "Cormorant Garamond", serif;
  font-size: 7rem;
  color: var(--pink);
  opacity: 0.22;
  position: absolute;
  top: -24px;
  left: 14px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.home-quote-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.18rem;
  color: var(--text);
  line-height: 1.75;
  position: relative;
  z-index: 1;
  transition: opacity 0.2s ease;
}
.home-quote-from {
  margin-top: 10px;
  font-size: 0.77rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.quote-refresh-hint {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0;
  transition: var(--trans);
}
.home-quote-card:hover .quote-refresh-hint {
  opacity: 1;
}

/* Countdown strip */
.countdown-strip {
  background: var(--white);
  border: 1px solid rgba(242, 196, 184, 0.35);
  border-radius: 16px;
  padding: 13px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--trans);
  animation: fadeUp 0.5s 0.2s both;
}
.countdown-strip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.countdown-strip-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.countdown-strip-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.countdown-strip-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--brown);
}
.countdown-heart {
  font-size: 1.35rem;
  animation: heartbeat 2.2s ease-in-out infinite;
}
@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
}

/* Section title */
.home-section-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin: 4px 0 12px 2px;
  animation: fadeUp 0.5s 0.35s both;
}

/* ───────────────────────────────────────────────────────
   5. BUTTONS
─────────────────────────────────────────────────────── */

/* Main card button (2-col grid) */
.home-grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
  animation: fadeUp 0.5s 0.25s both;
}
.btn-card {
  background: var(--white);
  border: 1px solid rgba(242, 196, 184, 0.4);
  border-radius: var(--radius);
  padding: 22px 14px;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  user-select: none;
}
.btn-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pink) 0%, transparent 100%);
  opacity: 0;
  transition: var(--trans);
  border-radius: var(--radius);
}
.btn-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
}
.btn-card:hover::after {
  opacity: 0.14;
}
.btn-card:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}
.btn-card-icon {
  font-size: 1.9rem;
  display: block;
  margin-bottom: 9px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--ease-spring);
}
.btn-card:hover .btn-card-icon {
  transform: scale(1.15) rotate(-6deg);
}
.btn-card-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
  line-height: 1.4;
}

/* Small card button (5-col secondary grid) */
.home-grid-secondary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
  animation: fadeUp 0.5s 0.38s both;
}
.btn-card-sm {
  background: var(--white);
  border: 1px solid rgba(242, 196, 184, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 6px;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  text-align: center;
  box-shadow: var(--shadow);
  user-select: none;
}
.btn-card-sm:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
}
.btn-card-sm:active {
  transform: scale(0.94);
  transition: all 0.1s ease;
}
.btn-card-sm-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 5px;
  transition: transform 0.3s var(--ease-spring);
}
.btn-card-sm:hover .btn-card-sm-icon {
  transform: scale(1.2) rotate(-8deg);
}
.btn-card-sm-label {
  font-size: 0.64rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

/* Primary button */
.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--trans);
  letter-spacing: 0.3px;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 152, 0.45);
}
.btn-primary:active {
  transform: scale(0.97);
}

/* Ghost button */
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(242, 196, 184, 0.5);
  border-radius: 50px;
  padding: 10px 24px;
  color: var(--text-soft);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--trans);
  font-family: "DM Sans", sans-serif;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--pink-deep);
  color: var(--brown);
}

/* WhatsApp button */
.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  margin-top: 14px;
  letter-spacing: 0.3px;
}
.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.wa-btn:active {
  transform: scale(0.97);
}
.wa-btn-outline {
  background: transparent;
  border: 2px solid #25d366;
  color: #128c7e;
}
.wa-btn-outline:hover {
  background: rgba(37, 211, 102, 0.07);
}

/* ───────────────────────────────────────────────────────
   6. LOCKED MESSAGES
─────────────────────────────────────────────────────── */
.locked-section-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 2px;
  animation: fadeUp 0.5s 0.5s both;
}
.locked-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: fadeUp 0.5s 0.55s both;
}
.locked-card {
  background: var(--white);
  border: 1.5px solid rgba(242, 196, 184, 0.3);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  user-select: none;
}
.locked-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--pink-deep), var(--gold));
  border-radius: 3px;
}
.locked-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
}
.locked-card:active {
  transform: scale(0.98);
}
.locked-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
.locked-label {
  font-size: 0.86rem;
  color: var(--text-soft);
  font-style: italic;
  flex: 1;
}
.locked-arrow {
  color: var(--pink-deep);
  font-size: 0.9rem;
  transition: var(--trans);
}
.locked-card:hover .locked-arrow {
  transform: translateX(3px);
}

/* ───────────────────────────────────────────────────────
   7. VOICE NOTE BUTTON
─────────────────────────────────────────────────────── */
.voice-note-btn {
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(232, 168, 152, 0.12) 0%,
    rgba(212, 167, 106, 0.08) 100%
  );
  border: 1.5px solid rgba(212, 167, 106, 0.28);
  border-radius: 14px;
  padding: 15px 18px;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  user-select: none;
  animation: fadeUp 0.5s 0.45s both;
}
.voice-note-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.voice-note-btn:active {
  transform: scale(0.97);
}
.voice-icon {
  font-size: 1.5rem;
}
.voice-info {
  flex: 1;
  text-align: left;
}
.voice-title {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--brown);
}
.voice-sub {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.wave-bar {
  width: 3px;
  background: var(--pink-deep);
  border-radius: 2px;
  opacity: 0.4;
  animation: waveAnim 1.3s ease-in-out infinite;
}
.wave-bar:nth-child(1) {
  height: 8px;
  animation-delay: 0s;
}
.wave-bar:nth-child(2) {
  height: 14px;
  animation-delay: 0.15s;
}
.wave-bar:nth-child(3) {
  height: 10px;
  animation-delay: 0.3s;
}
.wave-bar:nth-child(4) {
  height: 18px;
  animation-delay: 0.45s;
}
.wave-bar:nth-child(5) {
  height: 12px;
  animation-delay: 0.6s;
}
.wave-bar.playing {
  opacity: 1;
}
@keyframes waveAnim {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.4);
  }
}

/* ───────────────────────────────────────────────────────
   8. PESAN DARI AA
─────────────────────────────────────────────────────── */
.page-header {
  padding: 28px 20px 20px;
  max-width: 520px;
  margin: 0 auto;
}
.page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 5px;
}
.page-subtitle {
  font-size: 0.83rem;
  color: var(--text-muted);
  font-style: italic;
}

.messages-list {
  padding: 0 20px 48px;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.28s var(--ease-spring);
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 196, 184, 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.4s both;
  user-select: none;
}
.msg-card:nth-child(1) {
  animation-delay: 0.08s;
}
.msg-card:nth-child(2) {
  animation-delay: 0.14s;
}
.msg-card:nth-child(3) {
  animation-delay: 0.2s;
}
.msg-card:nth-child(4) {
  animation-delay: 0.26s;
}
.msg-card:nth-child(5) {
  animation-delay: 0.32s;
}
.msg-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
}
.msg-card:active {
  transform: translateX(3px) scale(0.98);
}
.msg-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--bg2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
}
.msg-card:hover .msg-icon {
  transform: scale(1.1) rotate(-6deg);
}
.msg-preview {
  flex: 1;
}
.msg-preview-text {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.5;
}
.msg-arrow {
  color: var(--pink-deep);
  font-size: 0.9rem;
  transition: var(--trans);
}
.msg-card:hover .msg-arrow {
  transform: translateX(4px);
}

/* ───────────────────────────────────────────────────────
   9. TIMELINE / CERITA KITA
─────────────────────────────────────────────────────── */
.timeline {
  padding: 0 20px 56px;
  max-width: 520px;
  margin: 0 auto;
}
.timeline-item {
  display: flex;
  gap: 18px;
  cursor: pointer;
  animation: fadeUp 0.4s both;
}
.timeline-item:nth-child(1) {
  animation-delay: 0.08s;
}
.timeline-item:nth-child(2) {
  animation-delay: 0.16s;
}
.timeline-item:nth-child(3) {
  animation-delay: 0.24s;
}
.timeline-item:nth-child(4) {
  animation-delay: 0.32s;
}
.timeline-item:nth-child(5) {
  animation-delay: 0.4s;
}
.timeline-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.timeline-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-deep), var(--gold));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--pink);
  flex-shrink: 0;
  margin-top: 20px;
  transition: all 0.28s var(--ease-spring);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.5);
  box-shadow: 0 0 0 3px var(--pink-deep);
}
.timeline-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(
    to bottom,
    var(--pink),
    rgba(242, 196, 184, 0.08)
  );
  margin: 4px 0;
  min-height: 28px;
}
.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 196, 184, 0.28);
  transition: var(--trans);
}
.timeline-item:hover .timeline-content {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
}
.timeline-date {
  font-size: 0.73rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.timeline-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.02rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}
.timeline-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.5;
}

/* ───────────────────────────────────────────────────────
   10. FEELINGS
─────────────────────────────────────────────────────── */
.feelings-grid {
  padding: 0 20px 20px;
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feeling-btn {
  background: var(--white);
  border: 2px solid rgba(242, 196, 184, 0.3);
  border-radius: var(--radius);
  padding: 26px 18px;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  text-align: center;
  box-shadow: var(--shadow);
  animation: fadeUp 0.4s both;
  user-select: none;
}
.feeling-btn:nth-child(1) {
  animation-delay: 0.08s;
}
.feeling-btn:nth-child(2) {
  animation-delay: 0.14s;
}
.feeling-btn:nth-child(3) {
  animation-delay: 0.2s;
}
.feeling-btn:nth-child(4) {
  animation-delay: 0.26s;
}
.feeling-btn:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-md);
}
.feeling-btn:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}
.feeling-btn.active {
  border-color: var(--pink-deep);
  background: linear-gradient(
    135deg,
    rgba(242, 196, 184, 0.18) 0%,
    var(--white) 100%
  );
}
.feeling-emoji {
  font-size: 2.3rem;
  display: block;
  margin-bottom: 9px;
  transition: transform 0.32s var(--ease-spring);
}
.feeling-btn:hover .feeling-emoji {
  transform: scale(1.3) rotate(-8deg);
}
.feeling-label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* Response box */
.feeling-response {
  max-width: 480px;
  margin: 0 auto 8px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
}
.feeling-response.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.feeling-response-inner {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 196, 184, 0.3);
  border-left: 3px solid var(--pink-deep);
}
.feeling-response-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ───────────────────────────────────────────────────────
   11. MOOD HISTORY
─────────────────────────────────────────────────────── */
.mood-history {
  max-width: 480px;
  margin: 0 auto 48px;
  padding: 0 20px;
}
.mood-history-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-left: 2px;
}
.mood-history-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mood-history-item {
  background: var(--white);
  border-radius: 12px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 196, 184, 0.22);
  animation: fadeUp 0.3s both;
}
.mood-history-emoji {
  font-size: 1.3rem;
}
.mood-history-label {
  flex: 1;
  font-size: 0.84rem;
  color: var(--text-soft);
}
.mood-history-day {
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* ───────────────────────────────────────────────────────
   12. KANGEN PAGE
─────────────────────────────────────────────────────── */
.kangen-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 66px);
  padding: 40px 24px;
  text-align: center;
}
.kangen-intro {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 7px;
  animation: fadeUp 0.5s 0.08s both;
}
.kangen-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  animation: fadeUp 0.5s 0.15s both;
}
.kangen-btn {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 18px 44px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.18rem;
  font-style: italic;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
  box-shadow: 0 8px 28px rgba(232, 168, 152, 0.4);
  animation: fadeUp 0.5s 0.25s both;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.kangen-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.kangen-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 38px rgba(232, 168, 152, 0.55);
}
.kangen-btn:hover::before {
  opacity: 1;
}
.kangen-btn:active {
  transform: scale(0.97);
}
.kangen-deco {
  font-size: 1rem;
  margin-top: 28px;
  opacity: 0.35;
  letter-spacing: 9px;
  animation: fadeUp 0.5s 0.35s both;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-5px);
  }
  35% {
    transform: translateX(5px);
  }
  55% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
  90% {
    transform: translateX(-1px);
  }
}
.shake {
  animation: shake 0.5s ease;
}

/* ───────────────────────────────────────────────────────
   13. LAGU KITA
─────────────────────────────────────────────────────── */
.lagu-content {
  padding: 0 20px 48px;
  max-width: 520px;
  margin: 0 auto;
}
.lagu-embed-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  background: var(--bg2);
  animation: fadeUp 0.5s 0.1s both;
}
.lagu-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.lagu-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 196, 184, 0.3);
  animation: fadeUp 0.5s 0.2s both;
}
.lagu-note-title {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.lagu-note-text {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-soft);
  line-height: 1.75;
}

/* ───────────────────────────────────────────────────────
   14. GALERI
─────────────────────────────────────────────────────── */
.galeri-grid {
  padding: 0 20px 48px;
  max-width: 520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 10px;
}
.galeri-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 160px;
  transition: var(--trans);
  animation: fadeUp 0.4s both;

  /* ─── FOTO GALERI ──────────────────────────────────────
     Untuk tiap foto, uncomment dan ubah background-image.
     Contoh galeri-1:
     background-image: url('../img/galeri-1.webp');
     background-size: cover;
     background-position: center;
  ─────────────────────────────────────────────────────── */
}
.galeri-item:nth-child(1) {
  background-image: url("../img/galeri-1.webp");
  background-size: cover;
  background-position: center;
  animation-delay: 0.06s;
}
.galeri-item:nth-child(2) {
  background-image: url("../img/galeri-2.webp");
  background-size: cover;
  background-position: center;
  animation-delay: 0.12s;
}
.galeri-item:nth-child(3) {
  background-image: url("../img/galeri-3.webp");
  background-size: cover;
  background-position: center;
  animation-delay: 0.18s;
}
.galeri-item:nth-child(4) {
  background-image: url("../img/galeri-4.webp");
  background-size: cover;
  background-position: center;
  animation-delay: 0.24s;
}
.galeri-item:nth-child(5) {
  background-image: url("../img/galeri-5.webp");
  background-size: cover;
  background-position: center;
  animation-delay: 0.3s;
}
.galeri-tall {
  grid-row: span 2;
  height: 100%;
}
.galeri-wide {
  grid-column: span 2;
}
.galeri-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Placeholder warna untuk galeri sebelum foto dimasukkan */
.photo-placeholder-galeri {
  background: linear-gradient(
    135deg,
    rgba(242, 196, 184, 0.5) 0%,
    rgba(212, 167, 106, 0.25) 100%
  );
}

.galeri-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(61, 44, 40, 0.65) 0%,
    transparent 50%
  );
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: var(--trans);
}
.galeri-item:hover .galeri-overlay {
  opacity: 1;
}
.galeri-caption {
  font-size: 0.82rem;
  color: #fff;
  font-weight: 500;
}
.galeri-hint {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 3px;
}

/* ───────────────────────────────────────────────────────
   15. SURAT TERBUKA
─────────────────────────────────────────────────────── */
.surat-wrap {
  padding: 0 20px 56px;
  max-width: 520px;
  margin: 0 auto;
}
.surat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(242, 196, 184, 0.3);
  position: relative;
  animation: fadeUp 0.5s 0.1s both;
}
/* lined paper feel */
.surat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent,
    transparent 31px,
    rgba(242, 196, 184, 0.15) 31px,
    rgba(242, 196, 184, 0.15) 32px
  );
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.surat-deco {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.surat-greeting {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.surat-body {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 2;
  position: relative;
}
.surat-body p {
  margin-bottom: 18px;
}
.surat-ttd {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed rgba(212, 167, 106, 0.3);
}
.surat-nama {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  color: var(--brown);
}
.surat-tanggal {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ───────────────────────────────────────────────────────
   16. DATE RANDOMIZER
─────────────────────────────────────────────────────── */
.date-randomizer {
  padding: 0 20px 56px;
  max-width: 480px;
  margin: 0 auto;
}
.date-result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(242, 196, 184, 0.3);
  margin-bottom: 18px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  animation: fadeUp 0.5s 0.1s both;
}
.date-result-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  transition: transform 0.4s var(--ease-spring);
}
.date-result-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 8px;
}
.date-result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.date-roll-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-style: italic;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 6px 24px rgba(232, 168, 152, 0.35);
  margin-bottom: 12px;
  animation: fadeUp 0.5s 0.2s both;
}
.date-roll-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(232, 168, 152, 0.5);
}
.date-roll-btn:active {
  transform: scale(0.97);
}

.date-wa-wrap {
  margin-bottom: 20px;
  animation: fadeUp 0.4s both;
}

.date-categories {
  margin-top: 8px;
  animation: fadeUp 0.5s 0.28s both;
}
.date-categories-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  text-align: center;
  letter-spacing: 0.5px;
}
.date-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.date-cat-btn {
  background: var(--white);
  border: 1px solid rgba(242, 196, 184, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  text-align: center;
  box-shadow: var(--shadow);
  user-select: none;
}
.date-cat-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
  color: var(--brown);
}
.date-cat-btn:active {
  transform: scale(0.96);
}

/* ───────────────────────────────────────────────────────
   17. HAL KECIL
─────────────────────────────────────────────────────── */
.halkecil-list {
  padding: 0 20px 56px;
  max-width: 520px;
  margin: 0 auto;
}
.halkecil-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(242, 196, 184, 0.25);
  animation: fadeUp 0.4s both;
  transition: var(--trans);
}
.halkecil-item:last-child {
  border-bottom: none;
}
.halkecil-item:nth-child(1) {
  animation-delay: 0.04s;
}
.halkecil-item:nth-child(2) {
  animation-delay: 0.08s;
}
.halkecil-item:nth-child(3) {
  animation-delay: 0.12s;
}
.halkecil-item:nth-child(4) {
  animation-delay: 0.16s;
}
.halkecil-item:nth-child(5) {
  animation-delay: 0.2s;
}
.halkecil-item:nth-child(6) {
  animation-delay: 0.24s;
}
.halkecil-item:nth-child(7) {
  animation-delay: 0.28s;
}
.halkecil-item:nth-child(8) {
  animation-delay: 0.32s;
}
.halkecil-item:nth-child(9) {
  animation-delay: 0.36s;
}
.halkecil-item:nth-child(10) {
  animation-delay: 0.4s;
}
.halkecil-item:hover {
  padding-left: 6px;
}
.halkecil-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  color: var(--pink);
  font-weight: 300;
  flex-shrink: 0;
  width: 30px;
  line-height: 1;
  opacity: 0.7;
}
.halkecil-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}

/* ───────────────────────────────────────────────────────
   18. OVERLAYS — SHARED
─────────────────────────────────────────────────────── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 44, 40, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.overlay.open {
  display: flex;
  animation: overlayIn 0.3s ease;
}
@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.overlay-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: cardIn 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: scale(0.84) translateY(22px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
/* top accent line */
.overlay-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--gold), var(--pink));
  border-radius: 3px 3px 0 0;
}
.overlay-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}
.overlay-tag {
  font-size: 0.73rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.overlay-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.4;
}
.overlay-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 24px;
}
.overlay-body {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 24px;
}
.overlay-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.55;
}

/* Kangen overlay specific */
.overlay-card-kangen {
  padding-bottom: 32px;
}
.kangen-hearts {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}
.kangen-h {
  font-size: 1.7rem;
  animation: heartFloat 1.6s ease-in-out infinite;
}
.kangen-h:nth-child(1) {
  animation-delay: 0s;
}
.kangen-h-big {
  font-size: 2.3rem;
  animation-delay: 0.3s !important;
}
.kangen-h:nth-child(3) {
  animation-delay: 0.6s;
}
@keyframes heartFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-9px) scale(1.1);
  }
}

/* Galeri overlay */
.overlay-galeri {
  padding: 0;
  align-items: stretch;
  justify-content: center;
}
.galeri-full-wrap {
  max-width: 480px;
  width: 100%;
  margin: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: cardIn 0.4s var(--ease-spring);
  box-shadow: var(--shadow-lg);
}
.galeri-full-photo {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
}
.galeri-full-info {
  padding: 20px 24px 28px;
  text-align: center;
}
.galeri-full-caption {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-soft);
}

/* ───────────────────────────────────────────────────────
   19. VOICE PLAYER
─────────────────────────────────────────────────────── */
.overlay-card-voice {
  padding: 36px 28px;
}
.voice-full-icon {
  font-size: 3.2rem;
  display: block;
  margin-bottom: 12px;
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.voice-player-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 46px;
  margin: 18px 0 14px;
}
.vbar {
  width: 4px;
  background: linear-gradient(to top, var(--pink-deep), var(--gold));
  border-radius: 3px;
  opacity: 0.28;
  transition: opacity 0.2s;
}
.vbar:nth-child(1) {
  height: 11px;
}
.vbar:nth-child(2) {
  height: 21px;
}
.vbar:nth-child(3) {
  height: 15px;
}
.vbar:nth-child(4) {
  height: 31px;
}
.vbar:nth-child(5) {
  height: 19px;
}
.vbar:nth-child(6) {
  height: 27px;
}
.vbar:nth-child(7) {
  height: 13px;
}
.vbar:nth-child(8) {
  height: 23px;
}
.vbar:nth-child(9) {
  height: 9px;
}
.vbar:nth-child(10) {
  height: 17px;
}
.vbar.active {
  opacity: 1;
  animation: vwave 0.85s ease-in-out infinite;
}
.vbar:nth-child(1).active {
  animation-delay: 0s;
}
.vbar:nth-child(2).active {
  animation-delay: 0.09s;
}
.vbar:nth-child(3).active {
  animation-delay: 0.18s;
}
.vbar:nth-child(4).active {
  animation-delay: 0.27s;
}
.vbar:nth-child(5).active {
  animation-delay: 0.36s;
}
.vbar:nth-child(6).active {
  animation-delay: 0.45s;
}
.vbar:nth-child(7).active {
  animation-delay: 0.54s;
}
.vbar:nth-child(8).active {
  animation-delay: 0.63s;
}
.vbar:nth-child(9).active {
  animation-delay: 0.72s;
}
.vbar:nth-child(10).active {
  animation-delay: 0.81s;
}
@keyframes vwave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.28);
  }
}
.voice-progress {
  width: 100%;
  height: 3px;
  background: rgba(242, 196, 184, 0.35);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 18px;
}
.voice-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--pink-deep), var(--gold));
  border-radius: 2px;
  width: 0%;
  transition: width 0.3s ease;
}
.voice-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}
.voice-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-deep), var(--gold));
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s var(--ease-spring);
  box-shadow: 0 4px 16px rgba(232, 168, 152, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-play-btn:hover {
  transform: scale(1.1);
}
.voice-play-btn:active {
  transform: scale(0.94);
}
.voice-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 30px;
}

/* ───────────────────────────────────────────────────────
   20. COUNTDOWN MODAL
─────────────────────────────────────────────────────── */
.countdown-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}
.cbox {
  background: linear-gradient(135deg, var(--bg2), var(--white));
  border: 1px solid rgba(212, 167, 106, 0.22);
  border-radius: 13px;
  padding: 14px 10px;
  min-width: 62px;
  box-shadow: var(--shadow);
  text-align: center;
}
.cbox-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--brown);
  line-height: 1;
}
.cbox-label {
  font-size: 0.66rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.countdown-edit-btn {
  background: transparent;
  border: 1px solid rgba(212, 167, 106, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: var(--trans);
  display: inline-block;
}
.countdown-edit-btn:hover {
  border-color: var(--gold);
  color: var(--brown);
}
.date-input {
  width: 100%;
  background: var(--bg2);
  border: 1.5px solid rgba(212, 167, 106, 0.3);
  border-radius: 12px;
  padding: 10px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-soft);
  outline: none;
  transition: var(--trans);
}
.date-input:focus {
  border-color: var(--pink-deep);
}

/* ───────────────────────────────────────────────────────
   21. UTILITIES & ANIMATIONS
─────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(212, 167, 106, 0.3);
  border-radius: 4px;
}

/* Mobile tweaks */
@media (max-width: 360px) {
  .home-greeting {
    font-size: 2rem;
  }
  .home-grid-secondary {
    grid-template-columns: repeat(3, 1fr);
  }
  .btn-card-sm-label {
    display: none;
  }
  .btn-card-sm {
    padding: 14px 4px 10px;
  }
}

/* ───────────────────────────────────────────────────────
   22. HERO SLIDER (tambahan)
─────────────────────────────────────────────────────── */
.hero-slider {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transform: scale(1.03);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,248,242,0) 30%,
    rgba(255,248,242,0.97) 100%
  );
  z-index: 2;
  pointer-events: none;
}
/* Dots */
.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.hero-dot.active {
  background: var(--pink-deep);
  transform: scale(1.3);
  box-shadow: 0 0 6px rgba(232,168,152,0.6);
}
/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  line-height: 1;
  padding-bottom: 1px;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-50%) scale(1.08);
}
.hero-prev { left: 12px; }
.hero-next { right: 12px; }

/* ───────────────────────────────────────────────────────
   23. GALERI LIST (card style baru)
─────────────────────────────────────────────────────── */
.galeri-list {
  padding: 0 20px 56px;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.galeri-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(242,196,184,0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  animation: fadeUp 0.4s both;
}
.galeri-card:nth-child(1) { animation-delay: 0.06s; }
.galeri-card:nth-child(2) { animation-delay: 0.12s; }
.galeri-card:nth-child(3) { animation-delay: 0.18s; }
.galeri-card:nth-child(4) { animation-delay: 0.24s; }
.galeri-card:nth-child(5) { animation-delay: 0.30s; }

.galeri-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-deep);
}
.galeri-card-photo {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg2);
  position: relative;
  overflow: hidden;
}
.galeri-card-num {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 0.5px;
}
.galeri-card-tap {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,44,40,0.55) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.galeri-card:hover .galeri-card-tap {
  opacity: 1;
}
.galeri-card-info {
  padding: 16px 18px 18px;
}
.galeri-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 5px;
}
.galeri-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Galeri full overlay - photo takes top portion */
.galeri-full-photo {
  width: 100%;
  height: 55vw;
  max-height: 300px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg2);
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
}

/* Fix galeri overlay — add missing elements */
.galeri-full-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.galeri-full-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}
.galeri-full-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  color: var(--text-soft);
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.galeri-full-close:hover {
  background: white;
  color: var(--brown);
  transform: scale(1.1);
}
