/* ============================================================
   style.css — Luxury Dark Velvet & Rose Gold Anniversary Site
   Mobile-First, Glassmorphism, Hardware-Accelerated Animations
   ============================================================ */

/* ── Imports ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --bg-deep:       #0C0A10;
  --bg-mid:        #150F1A;
  --bg-card:       rgba(255, 235, 240, 0.055);
  --gold:          #E5C185;
  --gold-light:    #F0D4A0;
  --rose:          #F4A7C0;
  --rose-light:    #FAC8D8;
  --pink:          #FBAEC8;
  --pink-soft:     #FDDDE8;
  --warm-white:    #FFF8FB;
  --text-muted:    rgba(255, 240, 248, 0.55);
  --border-gold:   rgba(229, 193, 133, 0.22);
  --border-rose:   rgba(251, 174, 200, 0.22);
  --border-pink:   rgba(253, 221, 232, 0.18);
  --glass-blur:    blur(16px);
  --shadow-gold:   0 0 32px rgba(229, 193, 133, 0.12);
  --shadow-pink:   0 0 32px rgba(251, 174, 200, 0.18);
  --radius-card:   20px;
  --radius-btn:    14px;
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Plus Jakarta Sans', system-ui, sans-serif;
  --font-cursive:  'Dancing Script', cursive;
  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --spring:        0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--warm-white);
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Bokeh Canvas ─────────────────────────────────────────── */
#bokeh-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ── Desktop Centering Shell ──────────────────────────────── */
#app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100dvh;
}

/* ════════════════════════════════════════════════════════════
   SCREEN 1 — LOCK SCREEN
════════════════════════════════════════════════════════════ */
#lock-screen {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 30%, #1C0E18 0%, #0C0810 70%),
              radial-gradient(ellipse at 80% 80%, rgba(251,174,200,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 20%, rgba(229,193,133,0.04) 0%, transparent 50%);
  padding: 24px 20px 40px;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
#lock-screen.unlock-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.lock-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: lockPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(229,193,133,0.5));
  user-select: none;
}

@keyframes lockPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 24px rgba(229,193,133,0.5)); }
  50%       { transform: scale(1.06); filter: drop-shadow(0 0 40px rgba(232,160,191,0.7)); }
}

.lock-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 600;
  text-align: center;
  color: var(--warm-white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.lock-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* PIN Dots */
.pin-dots {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}
.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  transition: var(--transition);
}
.pin-dot.filled {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(229,193,133,0.6);
  transform: scale(1.1);
}
.pin-dot.error {
  border-color: #ff6b6b;
  background: #ff6b6b;
  box-shadow: 0 0 10px rgba(255,107,107,0.5);
}

/* PIN Pad */
.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  grid-template-rows: repeat(4, 72px);
  gap: 12px;
  margin-bottom: 20px;
}
.pin-key {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.pin-key:active,
.pin-key.pressed {
  background: rgba(229,193,133,0.15);
  border-color: var(--gold);
  transform: scale(0.93);
  box-shadow: 0 0 16px rgba(229,193,133,0.25);
}
.pin-key.empty { background: transparent; border: none; pointer-events: none; }
.pin-key.del-key { font-size: 22px; }

.pin-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.3px;
}
.pin-error {
  font-size: 13px;
  color: #ff9999;
  text-align: center;
  margin-top: 10px;
  min-height: 20px;
  transition: opacity 0.3s;
}

/* Shake animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%  { transform: translateX(-10px); }
  30%  { transform: translateX(10px); }
  45%  { transform: translateX(-8px); }
  60%  { transform: translateX(8px); }
  75%  { transform: translateX(-4px); }
  90%  { transform: translateX(4px); }
}
.shake { animation: shake 0.5s ease; }

/* ════════════════════════════════════════════════════════════
   MAIN EXPERIENCE WRAPPER
════════════════════════════════════════════════════════════ */
#main-experience {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease 0.3s;
  padding-bottom: 60px;
}
#main-experience.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ── Section Base ─────────────────────────────────────────── */
.section {
  padding: 56px 20px 40px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.section-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.85;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 700;
  color: var(--warm-white);
  text-align: center;
  line-height: 1.25;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 320px;
}

/* ── Glass Card ───────────────────────────────────────────── */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

/* ── Gold Button ──────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
  color: #120A14;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  touch-action: manipulation;
  box-shadow: 0 4px 20px rgba(229,193,133,0.3);
  width: 100%;
}
.btn-gold:active { transform: scale(0.97); box-shadow: 0 2px 10px rgba(229,193,133,0.2); }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-gold);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  touch-action: manipulation;
  width: 100%;
}
.btn-ghost:active { transform: scale(0.97); background: rgba(229,193,133,0.08); }

/* ════════════════════════════════════════════════════════════
   SCREEN 2 — TIMER + POLAROIDS
════════════════════════════════════════════════════════════ */
#section-timer { padding-top: 72px; }

/* Timer Grid */
.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 390px;
  margin-bottom: 44px;
}
.timer-block {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 14px 6px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-gold);
}
.timer-value {
  font-family: var(--font-serif);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.5px;
  transition: color 0.2s;
}
.timer-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
}

/* Polaroid Stack */
.polaroid-container {
  position: relative;
  width: 260px;
  height: 300px;
  margin: 0 auto;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.polaroid-card {
  position: absolute;
  inset: 0;
  width: 260px;
  height: 300px;
  background: #fff;
  border-radius: 4px;
  padding: 12px 12px 44px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 2px 8px rgba(0,0,0,0.3);
  transform-origin: center bottom;
  cursor: grab;
  overflow: hidden;
  transition: box-shadow 0.3s;
  will-change: transform;
}
.polaroid-card:active { cursor: grabbing; }
.polaroid-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  background: linear-gradient(135deg, #1A0E18, #120A14);
}
.polaroid-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #180E1A, #0C0810);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(251,174,200,0.5);
}
.polaroid-caption {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: #333;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}
.polaroid-swipe-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 24px;
  letter-spacing: 0.5px;
}

/* Stagger init rotations via JS, but base style: */
.polaroid-card:nth-child(5) { transform: rotate(-6deg) translateY(4px); z-index: 1; }
.polaroid-card:nth-child(4) { transform: rotate(-3deg) translateY(2px); z-index: 2; }
.polaroid-card:nth-child(3) { transform: rotate(1deg); z-index: 3; }
.polaroid-card:nth-child(2) { transform: rotate(3deg) translateY(-2px); z-index: 4; }
.polaroid-card:nth-child(1) { transform: rotate(0deg); z-index: 5; }

/* ════════════════════════════════════════════════════════════
   SCREEN 3 — SCRATCH CARD
════════════════════════════════════════════════════════════ */
#section-scratch { padding-top: 72px; }

.scratch-wrapper {
  position: relative;
  width: 310px;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  flex-shrink: 0;
  background: #180C1A;
}
.scratch-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #180C1A 0%, #0F0813 50%, #1A0E16 100%);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  line-height: 1.6;
  border: 1px solid var(--border-pink);
  border-radius: 18px;
}
#scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  touch-action: none;
  cursor: crosshair;
  border-radius: 18px;
}
.scratch-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.4px;
}
.scratch-done-badge {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(229,193,133,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--gold);
  margin-top: 20px;
  font-weight: 500;
}
.scratch-done-badge.visible { display: flex; }

/* ════════════════════════════════════════════════════════════
   SCREEN 4 — JEWELRY BOUTIQUE
════════════════════════════════════════════════════════════ */
#section-jewelry { padding-top: 72px; }

.jewelry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 390px;
}
.jewelry-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative;
}
.jewelry-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(229,193,133,0.3), 0 0 0 1px var(--gold);
  transform: translateY(-2px);
}
.jewelry-card.selected::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  color: #120A14;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.jewelry-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.jewelry-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.jewelry-img-wrap:active img { transform: scale(1.05); }
.jewelry-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1A0E18, #0F0813);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(251,174,200,0.4);
}
.jewelry-info {
  padding: 12px 12px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jewelry-category {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
}
.jewelry-name {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--warm-white);
  line-height: 1.3;
  margin: 2px 0;
}
.jewelry-note {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.btn-select {
  background: linear-gradient(135deg, rgba(229,193,133,0.15), rgba(229,193,133,0.08));
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 8px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  touch-action: manipulation;
  width: 100%;
  min-height: 36px;
}
.btn-select:active { background: rgba(229,193,133,0.25); transform: scale(0.97); }
.jewelry-card.selected .btn-select {
  background: var(--gold);
  color: #120A14;
  border-color: var(--gold);
}

/* ── Lightbox ─────────────────────────────────────────────── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(10, 7, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
#lightbox-img {
  max-width: 100%;
  max-height: 60dvh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transform: scale(0.9);
  transition: transform 0.35s var(--spring);
}
#lightbox.open #lightbox-img { transform: scale(1); }
#lightbox-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--warm-white);
  margin-top: 20px;
  text-align: center;
}
#lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border-gold);
  color: var(--warm-white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: var(--transition);
}
#lightbox-close:active { transform: scale(0.9); }

/* ── Bottom Sheet ─────────────────────────────────────────── */
#confirm-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  z-index: 960;
  width: 100%;
  max-width: 430px;
  background: linear-gradient(180deg, #180E1A 0%, #120A14 100%);
  border-top: 1px solid var(--border-gold);
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 40px;
  transition: transform 0.45s cubic-bezier(0.34, 1.26, 0.64, 1);
  box-shadow: 0 -16px 60px rgba(0,0,0,0.5);
}
#confirm-sheet.open {
  transform: translateX(-50%) translateY(0);
}
.sheet-drag { width: 36px; height: 4px; background: rgba(255,255,255,0.15); border-radius: 2px; margin: 0 auto 20px; }
.sheet-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--warm-white);
  margin-bottom: 4px;
  text-align: center;
}
.sheet-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}
#sheet-item-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 16px;
}
#sheet-item-preview img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.sheet-item-info { flex: 1; }
.sheet-item-cat { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rose); }
.sheet-item-name { font-family: var(--font-serif); font-size: 15px; color: var(--warm-white); margin-top: 2px; }

#note-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  resize: none;
  min-height: 72px;
  outline: none;
  margin-bottom: 16px;
  transition: border-color 0.3s;
  touch-action: auto;
}
#note-input::placeholder { color: rgba(253,248,245,0.3); }
#note-input:focus { border-color: rgba(229,193,133,0.5); }

.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 955;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.sheet-overlay.open { opacity: 1; pointer-events: auto; }

/* ── Confirmation Screen ──────────────────────────────────── */
#selection-confirmed {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
  padding: 20px 0;
}
#selection-confirmed.visible { display: flex; }
.confirmed-icon { font-size: 64px; animation: popIn 0.5s var(--spring); }
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.confirmed-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold);
}
.confirmed-sub { font-size: 14px; color: var(--text-muted); line-height: 1.6; max-width: 300px; }
.confirmed-item-name { font-family: var(--font-serif); font-size: 17px; color: var(--warm-white); font-style: italic; }

/* ════════════════════════════════════════════════════════════
   SCREEN 5 — LOVE LETTER
════════════════════════════════════════════════════════════ */
#section-letter { padding-top: 72px; min-height: auto; padding-bottom: 80px; }

.letter-card {
  width: 100%;
  max-width: 390px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 28px 24px 32px;
  box-shadow: var(--shadow-gold);
  position: relative;
}
.letter-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 100px;
  color: rgba(229,193,133,0.08);
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
#letter-text {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(253, 248, 245, 0.88);
  line-height: 1.85;
  white-space: pre-wrap;
  min-height: 60px;
}
.letter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.letter-signature {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-size: 17px;
  margin-top: 20px;
  text-align: right;
}

.footer-heart {
  margin-top: 40px;
  font-size: 28px;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: block;
  text-align: center;
  filter: drop-shadow(0 0 10px rgba(232,160,191,0.5));
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.18); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.1); }
  70%       { transform: scale(1); }
}

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL (FADE IN)
════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════════════════════ */
.section-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 32px;
  opacity: 0.5;
}

/* ════════════════════════════════════════════════════════════
   DESKTOP FRAME ENHANCEMENT
════════════════════════════════════════════════════════════ */
@media (min-width: 500px) {
  #app-shell {
    box-shadow: 0 0 80px rgba(0,0,0,0.6);
    border-left: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
  }
  #lock-screen {
    max-width: 430px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
  #lock-screen.unlock-out {
    transform: translateX(-50%) scale(1.04);
    opacity: 0;
  }
  #confirm-sheet, .sheet-overlay { max-width: 430px; }
}

/* ════════════════════════════════════════════════════════════
   LOADING SPINNER
════════════════════════════════════════════════════════════ */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(26,17,24,0.4);
  border-top-color: #120A14;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════════════════════
   VIRTUAL 3D GIFT BOX SCREEN
════════════════════════════════════════════════════════════ */
#gift-box-screen {
  position: fixed;
  inset: 0;
  z-index: 850;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #20101C 0%, #0C0810 80%);
  padding: 24px;
  opacity: 0;
  transition: opacity 0.6s ease;
  overflow: hidden;
}
#gift-box-screen.active {
  display: flex;
  opacity: 1;
}
#gift-box-screen.fade-out {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.gift-box-tagline {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
}
.gift-box-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 6vw, 30px);
  color: var(--warm-white);
  text-align: center;
  margin-bottom: 28px;
}

/* 3D Gift Box Container */
.gift-box-3d {
  position: relative;
  width: 170px;
  height: 170px;
  cursor: pointer;
  perspective: 800px;
  margin: 10px 0 26px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.gift-box-body {
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 125px;
  background: linear-gradient(135deg, #A83658 0%, #D45B82 50%, #8E2544 100%);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 30px rgba(244,167,192,0.3);
  border: 1px solid rgba(244,167,192,0.4);
  overflow: hidden;
  transition: transform 0.4s ease;
}
.gift-box-lid {
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 38px;
  background: linear-gradient(135deg, #BA4369 0%, #E87198 50%, #9C2E50 100%);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  border: 1px solid rgba(244,167,192,0.5);
  transform-origin: 50% 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.6s ease;
  z-index: 2;
}

/* Golden Satin Ribbons */
.gift-ribbon-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 24px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #D4AF37 0%, #F5DE7B 50%, #C99B28 100%);
  box-shadow: 0 0 12px rgba(245,222,123,0.5);
}
.gift-ribbon-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 22px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #D4AF37 0%, #F5DE7B 50%, #C99B28 100%);
  box-shadow: 0 0 12px rgba(245,222,123,0.5);
}

/* Ribbon Bow */
.gift-bow {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 26px;
  z-index: 3;
}
.gift-bow::before, .gift-bow::after {
  content: '';
  position: absolute;
  top: 0;
  width: 24px;
  height: 22px;
  border-radius: 50% 50% 20% 50%;
  background: linear-gradient(135deg, #F5DE7B, #D4AF37);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.gift-bow::before { left: 2px; transform: rotate(-25deg); }
.gift-bow::after { right: 2px; transform: rotate(25deg) scaleX(-1); }

/* Animation when clicked */
.gift-box-3d.opened .gift-box-lid {
  transform: translateY(-90px) rotate(-35deg) scale(0.9);
  opacity: 0.1;
}
.gift-box-3d.opened .gift-box-body {
  transform: scale(0.97);
  box-shadow: 0 0 50px rgba(245,222,123,0.7), 0 0 80px rgba(244,167,192,0.5);
}

.gift-tap-hint {
  font-size: 13px;
  color: var(--pink-soft);
  text-align: center;
  animation: pulseHint 1.8s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 6px;
}
@keyframes pulseHint {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.gift-reveal-card {
  display: none;
  width: 100%;
  max-width: 360px;
  background: rgba(255, 235, 240, 0.08);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  margin-top: 10px;
  animation: popIn 0.6s var(--spring);
}
.gift-reveal-card.show {
  display: block;
}
.gift-reveal-text {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--warm-white);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ════════════════════════════════════════════════════════════
   BIRTHDAY COUNTDOWN CARD
════════════════════════════════════════════════════════════ */
.birthday-card {
  width: 100%;
  max-width: 390px;
  background: linear-gradient(135deg, rgba(244,167,192,0.1) 0%, rgba(229,193,133,0.08) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-card);
  padding: 24px 18px 20px;
  box-shadow: 0 10px 40px rgba(244,167,192,0.1);
  margin-top: 24px;
  text-align: center;
}
.birthday-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.birthday-cake-icon {
  font-size: 26px;
  animation: bounceCake 2s ease-in-out infinite;
}
@keyframes bounceCake {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.birthday-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--rose-light);
}
.birthday-subtext {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.birthday-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  margin-bottom: 14px;
}
.birthday-block {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-rose);
  border-radius: 14px;
  padding: 14px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.birthday-val {
  font-family: var(--font-serif);
  font-size: clamp(20px, 5.6vw, 28px);
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -0.5px;
  text-align: center;
}
.birthday-lbl {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 500;
  text-align: center;
}
.birthday-age-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,167,192,0.15);
  border: 1px solid var(--border-rose);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 11px;
  color: var(--rose-light);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   SCREEN: MEMORY TIMELINE
════════════════════════════════════════════════════════════ */
#section-timeline {
  padding-top: 60px;
}
.timeline-track {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding-left: 24px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--rose) 50%, var(--gold) 100%);
  opacity: 0.4;
}
.timeline-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 16px 16px 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.timeline-card.special-card {
  border-color: rgba(244,167,192,0.45);
  background: linear-gradient(135deg, rgba(244,167,192,0.08) 0%, rgba(229,193,133,0.06) 100%);
  box-shadow: 0 0 28px rgba(244,167,192,0.15);
}
.timeline-card::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #0C0A10;
  box-shadow: 0 0 10px rgba(229,193,133,0.7);
}
.timeline-card.special-card::before {
  background: var(--rose);
  box-shadow: 0 0 12px rgba(244,167,192,0.9);
}

.timeline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}
.timeline-date-chip {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--gold);
}
.timeline-code-pill {
  font-family: monospace;
  font-size: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--pink-soft);
  letter-spacing: 0.5px;
}
.timeline-item-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--warm-white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.timeline-decoded {
  font-size: 11px;
  color: var(--rose-light);
  font-style: italic;
  margin-bottom: 6px;
}
.timeline-item-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════
   SCREEN: COSMIC "WHY I LOVE YOU" CAROUSEL
════════════════════════════════════════════════════════════ */
#section-reasons {
  padding-top: 60px;
}
.reasons-carousel-wrap {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  position: relative;
}
.reasons-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 14px;
  padding: 10px 4px 20px;
  scrollbar-width: none;
}
.reasons-track::-webkit-scrollbar { display: none; }

.reason-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: linear-gradient(145deg, rgba(255,235,240,0.08) 0%, rgba(12,8,16,0.85) 100%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-card);
  padding: 24px 20px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 24px rgba(244,167,192,0.12);
  display: flex;
  flex-direction: column;
  min-height: 270px;
  position: relative;
}
.reason-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 14px;
}
.reason-badge {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(229,193,133,0.12);
  border: 1px solid rgba(229,193,133,0.25);
  border-radius: 100px;
  padding: 4px 12px;
  font-weight: 600;
  margin-bottom: 0;
}
.reason-card-icon {
  font-size: 32px;
  filter: drop-shadow(0 0 16px rgba(244,167,192,0.6));
  margin-bottom: 0;
}
.reason-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.reason-card-text {
  font-family: var(--font-serif);
  font-size: 14px;
  color: rgba(255, 240, 248, 0.88);
  line-height: 1.7;
  flex: 1;
}

.reasons-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 8px;
}
.reason-counter {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.reason-nav-btns {
  display: flex;
  gap: 10px;
}
.reason-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-gold);
  color: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
  touch-action: manipulation;
}
.reason-arrow-btn:active {
  transform: scale(0.92);
  background: rgba(229,193,133,0.15);
}

/* ════════════════════════════════════════════════════════════
   SCREEN: PHOTO GALLERY (BLUR-TO-REVEAL)
════════════════════════════════════════════════════════════ */
#section-gallery {
  padding-top: 60px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 390px;
}
.gallery-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-rose);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  cursor: pointer;
  touch-action: manipulation;
}
.gallery-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #150F1A;
}
.gallery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease, transform 0.4s ease;
}
.gallery-img-box.blurred img {
  filter: blur(12px) brightness(0.7);
  transform: scale(1.08);
}
.gallery-reveal-badge {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(12,8,16,0.35);
  color: var(--pink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.gallery-img-box:not(.blurred) .gallery-reveal-badge {
  opacity: 0;
  pointer-events: none;
}
.gallery-info {
  padding: 8px 10px 10px;
}
.gallery-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--warm-white);
}
.gallery-caption {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════
   SCREEN: VIDEO MESSAGE PLAYER
════════════════════════════════════════════════════════════ */
#section-video {
  padding-top: 60px;
}
.video-card {
  width: 100%;
  max-width: 390px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  text-align: center;
}
.video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 480px;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.video-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(12,8,16,0.5);
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.video-play-btn-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--rose));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #120A14;
  box-shadow: 0 0 30px rgba(244,167,192,0.6);
  padding-left: 4px;
  transition: transform 0.2s ease;
}
.video-play-overlay:active .video-play-btn-circle {
  transform: scale(0.92);
}
.video-overlay-text {
  font-size: 13px;
  color: var(--warm-white);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ════════════════════════════════════════════════════════════
   SCREEN: SPIN THE WHEEL
════════════════════════════════════════════════════════════ */
#section-spin {
  padding-top: 60px;
}
.wheel-wrapper {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#spin-canvas {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(244,167,192,0.25), 0 0 0 6px rgba(229,193,133,0.3);
}
.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 22px solid var(--gold);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  z-index: 5;
}
.wheel-center-gem {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #F5DE7B 0%, #D4AF37 70%, #9C2E50 100%);
  border: 3px solid #FFF8FB;
  box-shadow: 0 0 16px rgba(245,222,123,0.8);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.wheel-btn {
  max-width: 280px;
  margin: 0 auto;
}

/* Wheel Result Pop-up */
.wheel-result-box {
  display: none;
  width: 100%;
  max-width: 360px;
  background: linear-gradient(135deg, rgba(244,167,192,0.12), rgba(229,193,133,0.1));
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  margin-top: 20px;
  animation: popIn 0.5s var(--spring);
}
.wheel-result-box.show {
  display: block;
}
.wheel-result-title {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 4px;
}
.wheel-result-desc {
  font-size: 13px;
  color: var(--warm-white);
  line-height: 1.5;
}

.spins-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(229,193,133,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.won-prizes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  text-align: left;
}
.won-prize-item {
  background: rgba(255, 235, 240, 0.08);
  border: 1px solid var(--border-rose);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--warm-white);
  animation: popIn 0.4s var(--spring);
}
.won-prize-item .prize-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ════════════════════════════════════════════════════════════
   SCREEN: WISHLIST BOARD
════════════════════════════════════════════════════════════ */
#section-wishlist {
  padding-top: 60px;
}
.wishlist-card {
  width: 100%;
  max-width: 390px;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-rose);
  border-radius: var(--radius-card);
  padding: 24px 18px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.wish-input-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.wish-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.25s;
}
.wish-input:focus {
  border-color: var(--pink);
}
.wish-add-btn {
  background: linear-gradient(135deg, var(--gold), var(--rose));
  color: #120A14;
  font-weight: 700;
  font-size: 14px;
  border-radius: 12px;
  padding: 0 16px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  transition: transform 0.2s;
}
.wish-add-btn:active { transform: scale(0.94); }

.wishlist-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 48px;
  margin-bottom: 20px;
  padding: 8px 4px;
}
.wish-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244,167,192,0.12);
  border: 1px solid var(--border-rose);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--warm-white);
  animation: popIn 0.3s ease;
}
.wish-chip-remove {
  cursor: pointer;
  color: var(--pink);
  font-weight: 700;
  font-size: 14px;
  margin-left: 2px;
}
.wishlist-empty-tip {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding: 10px 4px;
}
.wish-status-badge {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gold);
  margin-top: 12px;
  text-align: center;
}
.wish-status-badge.show {
  display: flex;
}

/* ════════════════════════════════════════════════════════════
   HANDWRITTEN NOTE & SIGNATURE EFFECT
════════════════════════════════════════════════════════════ */
.letter-handwritten {
  font-family: var(--font-cursive) !important;
  font-size: 19px !important;
  color: rgba(255, 245, 248, 0.95) !important;
  line-height: 1.8 !important;
  letter-spacing: 0.3px;
}
.cursive-sig {
  font-family: var(--font-cursive);
  font-size: 24px;
  color: var(--gold);
  display: inline-block;
  position: relative;
  margin-top: 16px;
}
.signature-svg-line {
  display: block;
  width: 140px;
  height: 12px;
  margin-left: auto;
  stroke: var(--rose);
  stroke-width: 2;
  stroke-dasharray: 140;
  stroke-dashoffset: 140;
  animation: drawLine 1.5s ease forwards 0.8s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}


