/* =====================================================
   PELUMI'S 30TH BIRTHDAY — style.css
   ===================================================== */

/* ── Variables ── */
:root {
  --cream:      #fffafb;
  --light-pink: #f8e0e6;
  --pink:       #db5578;
  --rose:       #b91f4b;
  --deep-rose:  #5b1427;
  --teal:       #e7c69b;
  --teal-dark:  #9f6f3b;
  --gold:       #f1d6ad;
  --white:      #ffffff;
  --text:       #3f1421;
  --text-soft:  #895364;
  --ease:       cubic-bezier(.22,1,.36,1);
  --shadow-sm:  0 2px 12px rgba(91,20,39,.09);
  --shadow-md:  0 8px 32px rgba(91,20,39,.14);
  --shadow-lg:  0 20px 60px rgba(91,20,39,.20);
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'Nunito',sans-serif; background:var(--cream); color:var(--text); overflow:hidden; }
img  { display:block; max-width:100%; }
button { font-family:'Nunito',sans-serif; cursor:pointer; touch-action:manipulation; }

/* ── Icon utilities ── */
.icon     { display:inline-block; width:1em; height:1em; vertical-align:middle; flex-shrink:0; }
.icon-xs  { width:.85em; height:.85em; }
.icon-sm  { width:1.2em; height:1.2em; }
.icon-lg  { width:2em;   height:2em;   }

/* ── Shared components ── */
.section-header { text-align:center; margin-bottom:44px; }
.section-header h2 {
  font-family:'Pacifico',cursive;
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  color:var(--rose); margin-bottom:10px;
}
.section-header p { color:var(--text-soft); font-size:.97rem; display:flex; align-items:center; justify-content:center; gap:6px; }

.pill-tag {
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 16px; border-radius:999px;
  font-size:.8rem; font-weight:700; letter-spacing:.8px; text-transform:uppercase;
}
.pill-tag.teal { background:var(--teal); color:white; }
.pill-tag.rose { background:var(--rose); color:white; }

.btn-primary {
  display:inline-flex; align-items:center; gap:10px;
  background:linear-gradient(135deg,#cf4268,var(--rose) 45%,var(--deep-rose));
  color:white; border:none; border-radius:999px;
  padding:14px 32px; font-size:1rem; font-weight:700;
  box-shadow:0 10px 26px rgba(91,20,39,.22), inset 0 1px 0 rgba(255,255,255,.24);
  transition:transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 14px 34px rgba(91,20,39,.28), inset 0 1px 0 rgba(255,255,255,.28); }
.btn-secondary {
  display:inline-flex; align-items:center; gap:10px;
  background:white; color:var(--rose); border:2px solid var(--rose);
  border-radius:999px; padding:12px 28px; font-size:.95rem; font-weight:700;
  transition:all .2s;
}
.btn-secondary:hover { background:var(--rose); color:white; box-shadow:0 8px 22px rgba(91,20,39,.16); }

/* =====================================================
   CUSTOM CURSOR
   ===================================================== */
#cursor-dot {
  position:fixed; top:0; left:0;
  width:22px; height:22px;
  pointer-events:none; z-index:999999;
  color:rgba(185,31,75,.72);
  transform:translate(-50%,-50%);
  transition:color .3s, width .2s, height .2s;
  will-change:transform;
}
#cursor-dot.big { color:rgba(91,20,39,.88); width:30px; height:30px; }
@media (hover:none) { #cursor-dot { display:none; } }

/* =====================================================
   FLOATING HEARTS
   ===================================================== */
.heart-container { position:fixed; inset:0; pointer-events:none; z-index:1; overflow:hidden; }
.float-el { position:absolute; bottom:-80px; opacity:0; animation:floatUp linear infinite; }
@keyframes floatUp {
  0%   { opacity:.8; transform:translateY(0) rotate(0deg); }
  100% { opacity:0;  transform:translateY(-115vh) rotate(320deg); }
}

/* =====================================================
   FIREWORKS CANVAS
   ===================================================== */
#fireworks-canvas {
  position:fixed; inset:0; pointer-events:none;
  z-index:99998; display:none;
  width:100%; height:100%;
}

/* =====================================================
   LOGIN OVERLAY
   ===================================================== */
#login-overlay {
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:
    linear-gradient(118deg,rgba(255,255,255,.92) 0%,rgba(255,250,251,.9) 37%,rgba(248,224,230,.82) 68%,rgba(219,85,120,.28) 100%),
    repeating-linear-gradient(132deg,rgba(255,255,255,.18) 0 2px,rgba(255,255,255,0) 2px 10px);
  overflow:hidden;
}
#login-overlay::before {
  content:''; position:absolute; top:12%; right:-12%;
  width:68vw; height:150px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.54),rgba(231,198,155,.22),rgba(255,255,255,0));
  transform:rotate(-16deg); opacity:.75;
}
#login-overlay::after {
  content:''; position:absolute; bottom:12%; left:-12%;
  width:62vw; height:120px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(185,31,75,.12),rgba(255,255,255,.48),rgba(255,255,255,0));
  transform:rotate(-16deg); opacity:.72;
}
.login-card {
  background:rgba(255,255,255,.95); backdrop-filter:blur(16px);
  border:1px solid rgba(231,198,155,.34);
  border-radius:24px; padding:50px 44px; width:min(430px, calc(100vw - 32px)); max-width:430px; min-width:0;
  text-align:center; box-shadow:var(--shadow-lg); position:relative; z-index:1;
}
.login-logo { color:var(--rose); margin-bottom:12px; }
.login-card h1 {
  font-family:'Pacifico',cursive; font-size:1.9rem;
  color:var(--rose); margin-bottom:8px;
}
.login-card > p { color:var(--text-soft); font-size:.95rem; line-height:1.7; margin-bottom:20px; }

/* Countdown */
.countdown-wrap { margin-bottom:20px; }
.cd-grid {
  display:flex; align-items:center; justify-content:center; gap:6px;
  margin-bottom:6px;
}
.cd-unit { display:flex; flex-direction:column; align-items:center; }
.cd-unit > span:first-child {
  font-family:'Pacifico',cursive; font-size:1.6rem; color:var(--rose);
  background:rgba(185,31,75,.07); border-radius:10px;
  padding:6px 12px; min-width:52px; text-align:center;
  line-height:1;
}
.cd-lbl {
  display:block;
  font-family:'Nunito',sans-serif;
  font-size:.68rem; color:var(--text-soft); margin-top:4px; letter-spacing:.5px; text-transform:uppercase;
  background:none; border-radius:0; padding:0; min-width:0; line-height:1.2;
}
.cd-colon { font-family:'Pacifico',cursive; font-size:1.4rem; color:var(--rose); opacity:.5; margin-bottom:14px; }
.cd-label { font-size:.82rem; color:var(--text-soft); }
.birthday-now {
  display:none; align-items:center; justify-content:center; gap:8px;
  background:rgba(231,198,155,.18); border:1px solid var(--teal);
  border-radius:999px; padding:8px 18px;
  font-weight:700; color:var(--teal-dark); font-size:.9rem;
  margin-bottom:18px;
}

.login-input-wrap { margin-bottom:14px; }
.login-input-wrap input {
  width:100%; padding:14px 22px;
  border:2px solid var(--light-pink); border-radius:999px;
  font-family:'Nunito',sans-serif; font-size:1rem; color:var(--text);
  background:var(--cream); outline:none;
  transition:border-color .25s, box-shadow .25s;
}
.login-input-wrap input:focus { border-color:var(--teal); box-shadow:0 0 0 4px rgba(231,198,155,.22); }
.login-input-wrap input::placeholder { color:#c0a0a8; }
.login-btn {
  width:100%; padding:14px;
  background:linear-gradient(135deg,var(--rose),var(--deep-rose));
  color:white; border:none; border-radius:999px;
  font-size:1.05rem; font-weight:700;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  box-shadow:0 10px 26px rgba(91,20,39,.22), inset 0 1px 0 rgba(255,255,255,.26);
  transition:transform .2s, box-shadow .2s;
}
.login-btn:hover { transform:translateY(-2px); box-shadow:0 14px 34px rgba(91,20,39,.28), inset 0 1px 0 rgba(255,255,255,.30); }
.login-error { color:#e05070; font-size:.88rem; margin-top:14px; min-height:20px; }
.shake { animation:shake .42s; }
@keyframes shake {
  0%,100% { transform:translateX(0); }
  20%  { transform:translateX(-10px); }
  40%  { transform:translateX(10px); }
  60%  { transform:translateX(-8px); }
  80%  { transform:translateX(8px); }
}

/* =====================================================
   SLIDE SYSTEM
   ===================================================== */
#slide-container {
  position:fixed; inset:0; overflow:hidden; z-index:10;
}
.slide {
  position:absolute; inset:0;
  overflow-y:auto; overflow-x:hidden;
  display:none;
  padding-bottom:80px; /* music bar */
}
.slide.active { display:block; }

/* Nav dots */
.slide-nav {
  position:fixed; right:20px; top:50%; transform:translateY(-50%);
  z-index:8000; display:flex; flex-direction:column; gap:10px;
}
.nav-dot {
  width:10px; height:10px; border-radius:50%;
  background:rgba(185,31,75,.20); border:2px solid rgba(185,31,75,.28);
  cursor:pointer; transition:all .3s; position:relative;
}
.nav-dot.active { background:var(--rose); border-color:var(--rose); transform:scale(1.4); }
.nav-dot:hover  { background:rgba(185,31,75,.42); }
.nav-dot::after {
  content:attr(data-label);
  position:absolute; right:calc(100% + 10px); top:50%; transform:translateY(-50%);
  background:rgba(90,37,53,.9); color:white; padding:4px 12px; border-radius:999px;
  font-size:.72rem; font-family:'Nunito',sans-serif; white-space:nowrap;
  opacity:0; pointer-events:none; transition:opacity .2s;
}
.nav-dot:hover::after { opacity:1; }

/* Slide arrows */
.slide-arrow {
  position:fixed; top:50%; z-index:8000;
  background:rgba(255,255,255,.85); backdrop-filter:blur(8px);
  border:1.5px solid var(--light-pink); color:var(--rose);
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transform:translateY(-50%); transition:all .2s;
  box-shadow:var(--shadow-sm);
}
.slide-arrow:hover { background:white; box-shadow:var(--shadow-md); transform:translateY(-50%) scale(1.08); }
.arrow-prev { left:16px; }
.arrow-next { right:54px; }

/* =====================================================
   SLIDE INNER LAYOUT
   ===================================================== */
.slide-inner {
  min-height:calc(100vh - 80px);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  padding:60px 48px 40px;
}

/* =====================================================
   SLIDE 1 — HERO
   ===================================================== */
.hero-inner {
  gap:28px;
  text-align:center;
  background:
    linear-gradient(120deg,var(--cream) 0%,#fff 44%,var(--light-pink) 100%),
    repeating-linear-gradient(132deg,rgba(255,255,255,.2) 0 2px,rgba(255,255,255,0) 2px 12px);
  position:relative; overflow:hidden;
}
.hero-inner::after {
  content:''; position:absolute; top:13%; right:-18%;
  width:62vw; height:150px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.62),rgba(231,198,155,.20),rgba(255,255,255,0));
  transform:rotate(-15deg); opacity:.7; pointer-events:none;
}
.hero-content {
  width:min(640px,100%); position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center;
}
.hero-sub { font-size:1.1rem; font-weight:700; color:var(--text-soft); margin:14px 0 6px; }
.hero-title {
  font-family:'Pacifico',cursive;
  font-size:clamp(2.8rem,5vw,4.4rem);
  line-height:1.15; color:var(--rose); margin-bottom:22px;
}
.script-name {
  font-family:'Dancing Script',cursive;
  font-size:1.15em; color:var(--deep-rose); display:block;
}
.hero-body { font-size:1rem; color:var(--text-soft); line-height:1.8; max-width:460px; margin:0 auto 34px; }

.hero-decor { display:flex; justify-content:center; gap:8px; margin-top:28px; }
.hero-decor span { animation:pulse 2.5s ease-in-out infinite; }
.hero-decor .d2 { animation-delay:.4s; }
.hero-decor .d3 { animation-delay:.8s; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.35)} }


/* =====================================================
   SLIDE 2 — AGE REVEAL
   ===================================================== */
.age-inner {
  flex-direction:row; gap:72px;
  background:
    linear-gradient(125deg,#fff 0%,var(--cream) 32%,var(--light-pink) 72%,rgba(219,85,120,.34) 100%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.2) 0 2px,rgba(255,255,255,0) 2px 12px);
}
.age-photo-wrap { position:relative; flex-shrink:0; }
.age-circle-photo {
  width:300px; height:300px; border-radius:50%;
  object-fit:cover; object-position:top;
  border:8px solid white; box-shadow:var(--shadow-lg);
  position:relative; z-index:1;
}
.age-ring {
  position:absolute; inset:-16px; border-radius:50%;
  border:3px dashed rgba(255,255,255,.5);
  animation:spin 18s linear infinite;
}
@keyframes spin { to { transform:rotate(360deg); } }
.age-text-wrap { text-align:center; }
.age-pre { font-size:1.1rem; color:var(--deep-rose); opacity:.8; margin-bottom:8px; }
.age-counter-wrap {
  display:inline-flex; align-items:baseline; gap:4px;
  margin-bottom:22px;
}
#age-display {
  font-family:'Pacifico',cursive;
  font-size:clamp(5rem,12vw,9rem);
  color:var(--deep-rose); line-height:1;
}
.age-suffix {
  font-family:'Pacifico',cursive;
  font-size:clamp(2rem,4vw,3.5rem);
  color:var(--rose); opacity:.7;
}
.age-post {
  font-size:1rem; color:var(--deep-rose); line-height:1.8;
  max-width:420px; margin:0 auto 30px; opacity:.85;
}

/* =====================================================
   SLIDE 3 — THE LETTER
   ===================================================== */
.letter-inner {
  background:var(--cream);
  justify-content:center;
}

/* Envelope */
#envelope-scene {
  display:flex; flex-direction:column; align-items:center; gap:24px;
}
.envelope {
  width:340px; height:220px;
  position:relative; cursor:pointer;
  transition:transform .3s;
}
.envelope:hover { transform:translateY(-6px); }
.env-body {
  position:absolute; inset:0;
  background:linear-gradient(145deg,#fff7f9,#f8e0e6);
  border-radius:8px;
  box-shadow:var(--shadow-lg);
  overflow:hidden;
}
.env-fold-left {
  position:absolute; bottom:0; left:0;
  width:0; height:0;
  border-bottom:110px solid #f5c8d0;
  border-right:170px solid transparent;
}
.env-fold-right {
  position:absolute; bottom:0; right:0;
  width:0; height:0;
  border-bottom:110px solid #eebbcc;
  border-left:170px solid transparent;
}
.env-fold-bottom {
  position:absolute; bottom:0; left:0; right:0; height:110px;
  background:linear-gradient(160deg,#f5c8d0,#eebbcc);
  clip-path:polygon(0 100%,50% 0,100% 100%);
}
.env-flap {
  position:absolute; top:0; left:0; right:0; height:120px;
  background:linear-gradient(160deg,#fce4ea,#f5d5d8);
  clip-path:polygon(0 0,50% 100%,100% 0);
  transform-origin:top center;
  transition:transform .7s var(--ease);
  z-index:2;
}
.envelope.open .env-flap {
  transform:rotateX(180deg);
}
.env-seal {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:52px; height:52px; border-radius:50%;
  background:var(--rose); color:white;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 16px rgba(91,20,39,.25); z-index:3;
  transition:opacity .3s, transform .3s;
}
.envelope.open .env-seal { opacity:0; transform:translate(-50%,-50%) scale(.6); }
.env-address {
  position:absolute; bottom:24px; left:50%; transform:translateX(-50%);
  text-align:center; z-index:1;
}
.env-to   { font-family:'Dancing Script',cursive; font-size:1.2rem; color:var(--deep-rose); }
.env-from { font-size:.78rem; color:var(--text-soft); margin-top:2px; }
.env-hint {
  font-size:.88rem; color:var(--text-soft); font-style:italic;
  display:flex; align-items:center; gap:6px; animation:fadeInUp .6s .5s both;
}
@keyframes fadeInUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

/* Letter */
.letter-scene { display:none; flex-direction:column; align-items:center; gap:28px; width:100%; max-width:780px; }
.letter-scene.visible { display:flex; }
.letter-paper {
  background:white; border-radius:20px;
  padding:44px 52px; box-shadow:var(--shadow-lg);
  border:1.5px solid var(--light-pink);
  width:100%; position:relative;
  animation:letterRise .8s var(--ease) both;
}
@keyframes letterRise { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:none} }
.letter-top-row { display:flex; gap:28px; align-items:flex-start; margin-bottom:28px; }
.letter-photo-frame {
  flex-shrink:0; width:120px; height:120px; border-radius:50%;
  overflow:hidden; border:4px solid var(--light-pink);
  box-shadow:var(--shadow-sm); position:relative;
}
.letter-photo-frame img {
  width:100%; height:100%; object-fit:cover; object-position:top;
  filter:blur(14px); transition:filter 1.8s ease;
}
.letter-photo-frame img.sharp { filter:blur(0); }
.photo-blur-overlay {
  position:absolute; inset:0; border-radius:50%;
  background:rgba(253,243,236,.3); pointer-events:none;
}
.letter-heading { flex:1; }
.quote-icon { color:var(--light-pink); margin-bottom:8px; }
.letter-heading h3 {
  font-family:'Pacifico',cursive; font-size:1.4rem;
  color:var(--rose); margin-bottom:6px;
}
.letter-sub { font-size:.86rem; color:var(--text-soft); }
.letter-body-text {
  font-size:1.05rem; line-height:2; color:var(--text);
  font-weight:600; min-height:80px;
}
.letter-footer-row {
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:14px; margin-top:28px;
  padding-top:20px; border-top:1.5px solid var(--light-pink);
  opacity:0; transition:opacity .6s;
}
.letter-footer-row.visible { opacity:1; }
.letter-sign {
  font-family:'Dancing Script',cursive; font-size:1.5rem; color:var(--rose);
  display:flex; align-items:center; gap:8px;
}
.letter-sign .icon { color:var(--rose); }
.voice-btn {
  display:flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,var(--teal),var(--teal-dark));
  color:white; border:none; border-radius:999px;
  padding:10px 22px; font-size:.9rem; font-weight:700;
  box-shadow:0 3px 14px rgba(185,133,68,.30);
  transition:transform .2s;
}
.voice-btn:hover { transform:translateY(-2px); }
#letter-next-btn {
  opacity:0; pointer-events:none;
  transition:opacity .6s;
}
#letter-next-btn.visible { opacity:1; pointer-events:all; }

/* =====================================================
   SLIDE 4 — GALLERY
   ===================================================== */
.gallery-inner {
  background:
    linear-gradient(125deg,#fff 0%,var(--cream) 34%,var(--light-pink) 78%,rgba(219,85,120,.22) 100%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.28) 0 2px,rgba(255,255,255,0) 2px 12px);
}
.gallery-inner .section-header h2 { color:var(--deep-rose); }
.gallery-inner .section-header p  { color:var(--deep-rose); opacity:.8; }

.polaroid-stage {
  position:relative; width:100%; max-width:760px;
  height:340px; margin:0 auto;
}
.pol-card {
  position:absolute; left:50%; top:50%;
  background:white; padding:10px 10px 32px;
  border:1px solid rgba(231,198,155,.36);
  border-radius:6px; box-shadow:var(--shadow-md);
  width:180px; cursor:pointer;
  opacity:0; visibility:hidden;
  transition:transform .42s var(--ease), box-shadow .3s, opacity .28s, visibility .28s, z-index 0s;
  transform-origin:bottom center;
}
.pol-card.visible { opacity:1; visibility:visible; }
.pol-card:hover { box-shadow:var(--shadow-lg); z-index:220 !important; }
.pol-card-img { width:100%; height:130px; object-fit:cover; object-position:top; display:block; }
.pol-placeholder-img {
  width:100%; height:130px;
  background:
    linear-gradient(135deg,#fff,var(--cream) 48%,var(--light-pink)),
    repeating-linear-gradient(135deg,rgba(255,255,255,.38) 0 1px,rgba(255,255,255,0) 1px 8px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; color:var(--rose); font-size:.75rem; font-weight:600;
}
.pol-cap {
  text-align:center; font-family:'Dancing Script',cursive;
  font-size:.85rem; color:var(--rose); margin-top:6px;
}

.gallery-deck-controls {
  display:flex; align-items:center; justify-content:center; gap:12px;
  margin-top:8px;
}
.gallery-deck-btn {
  width:40px; height:40px; border-radius:50%;
  border:1px solid rgba(185,31,75,.18);
  background:rgba(255,255,255,.86); color:var(--rose);
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm);
  transition:transform .2s, box-shadow .2s, background .2s;
}
.gallery-deck-btn:hover {
  background:white;
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
}
.gallery-deck-count {
  min-width:106px; text-align:center;
  font-size:.78rem; font-weight:800; letter-spacing:.08em;
  color:var(--deep-rose); text-transform:uppercase;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(231,198,155,.42);
  border-radius:999px; padding:8px 12px;
}

/* Polaroid viewer */
.polaroid-viewer {
  display:none; position:fixed; inset:0; z-index:50000;
  background:rgba(35,8,18,.88); backdrop-filter:blur(8px);
  align-items:center; justify-content:center;
}
.polaroid-viewer.open { display:flex; animation:fadeIn .3s; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.pv-close {
  position:absolute; top:20px; right:20px;
  background:rgba(20,6,12,.55); border:1px solid rgba(255,255,255,.2); color:white;
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, transform .2s;
}
.pv-close:hover { background:rgba(255,255,255,.25); transform:rotate(90deg); }
.pv-nav {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(20,6,12,.55); border:1px solid rgba(255,255,255,.2); color:white;
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s;
}
.pv-nav:hover { background:rgba(255,255,255,.25); }
.pv-prev { left:20px; }
.pv-next { right:20px; }
.pv-content { display:flex; flex-direction:column; align-items:center; gap:14px; }
.pv-card {
  background:white; padding:14px 14px 40px; border-radius:6px;
  border:1px solid rgba(231,198,155,.34);
  box-shadow:0 24px 80px rgba(0,0,0,.5);
  max-width:360px; width:90vw; text-align:center;
  animation:pvIn .4s var(--ease) both;
}
@keyframes pvIn { from{opacity:0;transform:scale(.92) translateY(20px)} to{opacity:1;transform:none} }
#pv-img { width:100%; max-height:52vh; object-fit:cover; object-position:top; }
.pv-placeholder {
  width:100%; height:260px;
  background:
    linear-gradient(135deg,#fff,var(--cream) 50%,var(--light-pink)),
    repeating-linear-gradient(135deg,rgba(255,255,255,.35) 0 1px,rgba(255,255,255,0) 1px 8px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:12px; color:var(--rose); font-size:.85rem; font-weight:600;
}
.pv-caption {
  font-family:'Dancing Script',cursive; font-size:1.1rem;
  color:var(--rose); margin-top:10px;
}
.pv-counter { font-size:.75rem; color:rgba(255,255,255,.55); letter-spacing:1px; }

/* =====================================================
   SLIDE 5 — WISH JAR
   ===================================================== */
.jar-inner {
  background:
    linear-gradient(135deg,#fff 0%,var(--cream) 54%,#f9e7ec 100%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.24) 0 2px,rgba(255,255,255,0) 2px 12px);
}

.jar-scene { display:flex; flex-direction:column; align-items:center; gap:24px; }
.jar-wrap {
  position:relative; width:160px;
  background:none; border:none;
  cursor:pointer; padding:0;
  transition:transform .25s;
}
.jar-wrap:hover { transform:scale(1.04); }
.jar-lid {
  width:106px; height:22px; margin:0 auto;
  background:linear-gradient(180deg,#d4af8a,#b8926a);
  border-radius:6px 6px 0 0;
  box-shadow:0 -2px 8px rgba(120,60,0,.12);
  position:relative; z-index:2;
}
.jar-body {
  width:160px; height:210px;
  background:linear-gradient(160deg,rgba(255,255,255,.9),rgba(255,230,190,.65));
  border:2.5px solid rgba(200,160,100,.5);
  border-radius:18px 18px 28px 28px;
  overflow:hidden; position:relative;
  box-shadow:inset 0 0 30px rgba(255,200,100,.2), var(--shadow-md);
}
.jar-shine {
  position:absolute; top:12px; left:14px;
  width:18px; height:70px; border-radius:999px;
  background:rgba(255,255,255,.5);
  transform:rotate(-14deg);
}
.jar-slips { position:absolute; inset:0; }
.jar-slip-inner {
  position:absolute;
  height:12px; border-radius:3px;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}
.jar-tap-hint {
  font-size:.8rem; color:var(--text-soft); font-style:italic;
  margin-top:10px;
}

.wish-reveal-card {
  opacity:0; transform:translateY(14px);
  transition:opacity .5s var(--ease), transform .5s var(--ease);
  max-width:360px; width:100%;
}
.wish-reveal-card.visible { opacity:1; transform:none; }
.wish-slip-paper {
  background:white; border-radius:14px;
  padding:22px 28px; text-align:center;
  box-shadow:var(--shadow-md);
  border-top:3px solid var(--gold);
}
.wish-slip-paper p {
  font-size:1.02rem; color:var(--text); line-height:1.75;
  font-weight:600; font-style:italic;
}
.jar-remaining { font-size:.82rem; color:var(--text-soft); }

/* =====================================================
   SLIDE 7 — TIMELINE + QUALITIES
   ===================================================== */
.timeline-inner {
  background:
    linear-gradient(135deg,#fff 0%,var(--cream) 58%,var(--light-pink) 100%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.22) 0 2px,rgba(255,255,255,0) 2px 12px);
  padding-top:80px;
  justify-content:flex-start;
}

.timeline {
  position:relative; width:100%; max-width:680px;
  margin-bottom:56px; padding:0 20px;
}
.timeline::before {
  content:''; position:absolute;
  left:50%; top:0; bottom:0; width:2px;
  background:linear-gradient(to bottom,var(--light-pink),var(--pink),var(--gold),var(--light-pink));
  transform:translateX(-50%);
}
.tl-entry {
  display:flex; align-items:flex-start; gap:0; margin-bottom:36px;
  opacity:0; transform:translateY(20px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
}
.tl-entry.visible { opacity:1; transform:none; }
.tl-entry:nth-child(odd)  { flex-direction:row; padding-right:calc(50% + 28px); }
.tl-entry:nth-child(even) { flex-direction:row-reverse; padding-left:calc(50% + 28px); }
.tl-dot {
  position:absolute; left:50%; transform:translateX(-50%);
  width:38px; height:38px; border-radius:50%;
  background:white; border:2.5px solid var(--pink);
  display:flex; align-items:center; justify-content:center;
  color:var(--rose); z-index:1;
  box-shadow:var(--shadow-sm);
}
.tl-card {
  background:white; border-radius:14px; padding:18px 20px;
  box-shadow:var(--shadow-sm); border:1.5px solid var(--light-pink);
  flex:1;
}
.tl-card h4 {
  font-family:'Dancing Script',cursive; font-size:1.1rem;
  color:var(--rose); margin-bottom:6px;
}
.tl-card p { font-size:.9rem; color:var(--text-soft); line-height:1.65; }

/* Qualities row */
.qualities-row {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; max-width:800px; width:100%;
}
.quality-card {
  border-radius:18px; padding:32px 24px; text-align:center;
  transition:transform .3s var(--ease), box-shadow .3s;
}
.quality-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.qc-rose { background:#fff7f9; border-bottom:4px solid var(--pink); }
.qc-teal { background:#fffdf8; border-bottom:4px solid var(--gold); }
.qc-gold { background:#fffbf3; border-bottom:4px solid var(--gold); }
.qc-icon {
  width:64px; height:64px; border-radius:50%;
  background:rgba(255,255,255,.75); margin:0 auto 16px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-sm);
}
.qc-rose .qc-icon { color:var(--rose); }
.qc-teal .qc-icon { color:var(--teal-dark); }
.qc-gold .qc-icon { color:var(--gold); }
.quality-card h3 { font-weight:800; font-size:1.02rem; margin-bottom:10px; }
.qc-rose h3 { color:var(--rose); }
.qc-teal h3 { color:var(--teal-dark); }
.qc-gold h3 { color:#b58600; }
.quality-card p { font-size:.88rem; color:var(--text-soft); line-height:1.72; }

/* =====================================================
   SLIDE 9 — CELEBRATE
   ===================================================== */
#slide-celebrate {
  background:
    linear-gradient(130deg,var(--deep-rose) 0%,#8f1c3a 42%,var(--rose) 72%,#d75276 100%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.12) 0 2px,rgba(255,255,255,0) 2px 12px);
}
.celebrate-inner { color:white; text-align:center; justify-content:center; gap:28px; }
.celebrate-hearts {
  display:flex; align-items:center; justify-content:center; gap:8px;
  animation:heartPop 2.4s ease-in-out infinite;
}
@keyframes heartPop { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
.celebrate-title {
  font-family:'Pacifico',cursive;
  font-size:clamp(1.8rem,4vw,3rem);
  text-shadow:0 4px 20px rgba(0,0,0,.15);
}
.celebrate-body {
  font-size:1rem; opacity:.88; line-height:1.85;
  max-width:480px;
}

/* Scratch card */
.scratch-wrap { display:flex; flex-direction:column; align-items:center; gap:10px; }
.scratch-hint {
  font-size:.85rem; opacity:.75;
  display:flex; align-items:center; gap:6px;
}
.scratch-card-container {
  position:relative; width:340px; height:150px;
  border-radius:16px; overflow:hidden;
  box-shadow:0 8px 32px rgba(0,0,0,.25);
  user-select:none;
}
.scratch-reveal {
  position:absolute; inset:0;
  background:rgba(255,255,255,.12); backdrop-filter:blur(2px);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:20px; gap:4px;
}
.scratch-reveal p {
  font-family:'Dancing Script',cursive;
  font-size:1.2rem; color:white;
  text-align:center; line-height:1.6;
}
#scratch-canvas {
  position:absolute; inset:0; border-radius:16px;
  cursor:crosshair; touch-action:none;
}

/* Fireworks button */
.fireworks-btn {
  display:inline-flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.92); color:var(--deep-rose);
  border:2px solid rgba(255,255,255,.9); border-radius:999px;
  padding:14px 32px; font-size:1rem; font-weight:700;
  backdrop-filter:blur(6px);
  transition:all .2s;
}
.fireworks-btn:hover { background:rgba(255,255,255,.28); transform:translateY(-2px); }

.footer-sign {
  font-family:'Dancing Script',cursive; font-size:1.55rem;
  opacity:.9; display:flex; align-items:center; gap:10px;
  color:white;
}

/* =====================================================
   MUSIC BAR
   ===================================================== */
#music-bar {
  position:fixed; bottom:0; left:0; right:0; z-index:8888;
  background:rgba(255,255,255,.94); backdrop-filter:blur(14px);
  border-top:1px solid rgba(231,198,155,.32);
  padding:10px 28px; display:flex; align-items:center; gap:16px;
  box-shadow:0 -4px 24px rgba(91,20,39,.10);
}
.music-disc {
  width:42px; height:42px; border-radius:50%; flex-shrink:0;
  background:linear-gradient(135deg,#fff,var(--light-pink),var(--pink));
  display:flex; align-items:center; justify-content:center; color:var(--rose);
  border:1px solid rgba(231,198,155,.35);
}
.music-disc.spinning { animation:spin 3s linear infinite; }
.music-info { min-width:0; flex:1 1 120px; }
.music-title { font-weight:700; color:var(--rose); font-size:.88rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.music-artist { font-size:.76rem; color:var(--text-soft); }
.music-progress-wrap { flex:1 1 160px; max-width:240px; }
.music-progress-bar { width:100%; height:4px; background:var(--light-pink); border-radius:4px; overflow:hidden; cursor:pointer; }
.music-progress-fill { height:100%; width:0%; background:linear-gradient(90deg,var(--teal),var(--rose)); border-radius:4px; transition:width .3s linear; }
.music-time { font-size:.7rem; color:var(--text-soft); margin-top:4px; }
.music-controls { display:flex; gap:8px; align-items:center; }
.music-btn {
  background:none; border:none; color:var(--rose);
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  transition:background .2s, transform .2s;
}
.music-btn:hover { background:var(--light-pink); transform:scale(1.12); }
.music-btn-play {
  width:44px; height:44px;
  background:linear-gradient(135deg,#cf4268,var(--rose),var(--deep-rose));
  color:white; box-shadow:0 8px 18px rgba(91,20,39,.20), inset 0 1px 0 rgba(255,255,255,.24);
}
.music-btn-play:hover { background:linear-gradient(135deg,var(--rose),var(--deep-rose)); }
audio { display:none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* ── Tablet / large phone ── */
@media (max-width:900px) {
  /* Global */
  .slide-inner      { padding:64px 24px 32px; gap:20px; }
  .section-header h2 { font-size:clamp(1.6rem,5vw,2.4rem); }
  .slide-nav        { display:none; }
  .arrow-next       { right:16px; }

  /* Hero */
  .hero-inner       { gap:16px; padding:68px 24px 28px; }
  .hero-body        { max-width:100%; }

  /* Age */
  .age-inner        { flex-direction:column; gap:24px; padding:60px 24px; text-align:center; }
  .age-circle-photo { width:190px; height:190px; }

  /* Letter */
  .letter-paper     { padding:28px 22px; }
  .letter-top-row   { flex-direction:column; align-items:center; }
  .letter-body-text { font-size:.97rem; }

  /* Gallery */
  .polaroid-stage   { height:270px; }

  /* Quiz */
  .quiz-card        { padding:28px 24px; }
  .quiz-question    { font-size:1rem; }

  /* Timeline */
  .timeline::before { left:20px; }
  .tl-entry:nth-child(odd),
  .tl-entry:nth-child(even) { flex-direction:row; padding:0 0 0 52px; }
  .tl-dot           { left:20px; }
  .qualities-row    { grid-template-columns:1fr; max-width:360px; }

  /* Celebrate / Cake */
  .candles-row      { gap:12px; }
  .candle-body      { height:60px !important; }

  /* Easter egg */
  .easter-card      { padding:36px 28px; }
}

/* ── Phone ── */
@media (max-width:600px) {
  /* Global */
  .slide-inner      { padding:56px 16px 28px; gap:16px; }
  .section-header h2 { font-size:clamp(1.4rem,6vw,2rem); }
  .section-header p  { font-size:.85rem; }

  /* Music bar */
  .music-progress-wrap { display:none; }
  #music-bar        { gap:8px; padding:8px 12px; }
  .song-title       { font-size:.8rem; max-width:120px; }

  /* Hero */
  .hero-title       { font-size:clamp(2rem,9vw,3rem); }
  .hero-sub         { font-size:.9rem; }
  /* Age */
  .login-card       { width:min(300px, calc(100vw - 64px)); max-width:300px; padding:32px 18px; }
  #login-form,
  .login-input-wrap,
  .login-input-wrap input,
  .login-btn        { min-width:0; max-width:100%; }
  .cd-grid          { gap:5px; max-width:100%; }
  .cd-unit > span:first-child { font-size:1.35rem; min-width:44px; padding:5px 9px; }
  .cd-colon         { font-size:1rem; margin-bottom:12px; }
  .cd-lbl           { font-size:.58rem; }
  .cd-num           { font-size:2rem; }

  /* Envelope */
  .envelope         { width:min(300px,82vw); height:auto; aspect-ratio:340/220; }

  /* Letter */
  .letter-paper     { padding:20px 16px; border-radius:14px; }
  .letter-body-text { font-size:.9rem; line-height:1.85; }
  .letter-photo-frame { width:80px; height:80px; }
  .letter-footer-row { flex-direction:column; align-items:flex-start; gap:10px; }

  /* Gallery */
  .polaroid-stage   { height:220px; }
  .pv-img-wrap      { max-height:60vh; }

  /* Jar */
  .jar-wrap         { transform:scale(.88); transform-origin:center top; }

  /* Quiz */
  .quiz-inner       { justify-content:flex-start; padding-top:56px; }
  .quiz-card        { padding:20px 16px; border-radius:16px; }
  .quiz-question    { font-size:.92rem; margin-bottom:16px; }
  .quiz-option      { padding:11px 14px; font-size:.88rem; }

  /* Timeline */
  .tl-card          { padding:14px 16px; }
  .tl-card h4       { font-size:.95rem; }
  .tl-card p        { font-size:.84rem; }
  .quality-card     { padding:20px 18px; }

  /* Future letters */
  .future-letter-card { padding:24px 18px; }
  .fl-age-tag       { font-size:1.3rem; }

  /* Celebrate */
  .celebrate-title  { font-size:clamp(1.8rem,7vw,2.5rem); }
  .candles-row      { gap:8px; }
  .candle-body      { height:50px !important; width:18px !important; }
  .cake-bottom      { height:42px !important; }
  .cake-plate       { width:180px !important; }
  .scratch-card-container { width:92vw; }

  /* Progress indicator */
  #slide-progress   { bottom:74px; }
  #progress-text    { font-size:.66rem; padding:3px 10px; }

  /* Easter egg */
  .easter-card      { padding:28px 18px; border-radius:20px; }
  .easter-card h3   { font-size:1.2rem; }
}

/* ── Very small phones (SE, Fold) ── */
@media (max-width:390px) {
  .slide-inner      { padding:50px 12px 24px; }
  .quiz-card        { padding:16px 12px; }
  .candles-row      { gap:5px; }
  .candle-body      { height:44px !important; width:15px !important; }
  .candle-word      { font-size:.6rem !important; }
}

/* =====================================================
   SLIDE PROGRESS INDICATOR
   ===================================================== */
#slide-progress {
  position:fixed; bottom:82px; left:50%; transform:translateX(-50%);
  z-index:8000; pointer-events:none;
}
#progress-text {
  background:rgba(255,255,255,.82); backdrop-filter:blur(6px);
  border:1px solid var(--light-pink); border-radius:999px;
  padding:4px 14px; font-size:.72rem; font-weight:700;
  color:var(--text-soft); letter-spacing:.8px;
}

/* =====================================================
   SLIDE 6 — QUIZ
   ===================================================== */
.quiz-inner { background:var(--cream); }

.quiz-card {
  background:white; border-radius:24px;
  padding:40px 44px; max-width:580px; width:100%;
  box-shadow:var(--shadow-lg); border:1.5px solid var(--light-pink);
  text-align:center;
}
.quiz-progress-dots {
  display:flex; justify-content:center; gap:8px; margin-bottom:28px;
}

.quiz-question {
  font-size:1.12rem; font-weight:700; color:var(--text);
  line-height:1.6; margin-bottom:28px;
}
.quiz-options {
  display:flex; flex-direction:column; gap:12px;
}
.quiz-option {
  background:var(--cream); border:2px solid var(--light-pink);
  border-radius:14px; padding:14px 20px;
  font-family:'Nunito',sans-serif; font-size:.96rem; font-weight:600;
  color:var(--text); cursor:pointer; text-align:left;
  transition:all .2s; display:flex; align-items:center; gap:10px;
}
.quiz-option:hover { border-color:var(--rose); background:#fff7f9; transform:translateX(4px); }
.quiz-option.correct  { border-color:var(--teal); background:rgba(231,198,155,.16); color:var(--teal-dark); pointer-events:none; }
.quiz-option.wrong    { border-color:#b02040; background:#fce8ed; color:#7a2e45; pointer-events:none; }
.quiz-option.disabled { pointer-events:none; opacity:.5; }
.quiz-option-letter {
  width:26px; height:26px; border-radius:50%;
  background:var(--light-pink); color:var(--rose);
  display:flex; align-items:center; justify-content:center;
  font-size:.78rem; font-weight:800; flex-shrink:0;
}
.quiz-option.correct .quiz-option-letter { background:var(--teal); color:white; }
.quiz-option.wrong   .quiz-option-letter { background:#8b1a30; color:white; }

.quiz-feedback {
  margin-top:20px; min-height:28px;
  font-size:.92rem; font-weight:700; line-height:1.5;
  transition:opacity .3s;
}
.quiz-feedback.correct { color:var(--teal-dark); }
.quiz-feedback.wrong { color:#c03050; }

.quiz-complete {
  display:none; flex-direction:column; align-items:center;
  gap:16px; text-align:center; max-width:420px;
  animation:fadeInUp .6s var(--ease) both;
}
.quiz-complete.visible { display:flex; }
.quiz-complete h3 {
  font-family:'Pacifico',cursive; font-size:1.8rem; color:var(--rose);
}
.quiz-complete p { color:var(--text-soft); font-size:1rem; line-height:1.7; }
.quiz-score-badge {
  background:var(--rose); color:#fff;
  font-family:'Pacifico',cursive; font-size:1.5rem;
  padding:.3rem 1.2rem; border-radius:999px;
  box-shadow:0 4px 14px rgba(91,20,39,.22);
}

.qdot {
  width:10px; height:10px; border-radius:50%;
  background:var(--light-pink); transition:background .3s, transform .3s;
}
.qdot.active { background:var(--rose); transform:scale(1.3); }
.qdot.done   { background:var(--teal); }

/* =====================================================
   SLIDE 8 — FUTURE LETTERS
   ===================================================== */
.future-inner {
  background:
    linear-gradient(135deg,#fff 0%,var(--cream) 48%,var(--light-pink) 100%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.22) 0 2px,rgba(255,255,255,0) 2px 12px);
  justify-content:flex-start; padding-top:80px;
}
.future-letters-row {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; max-width:960px; width:100%;
}
.future-letter-card {
  border-radius:20px; padding:32px 28px;
  position:relative; overflow:hidden;
  box-shadow:var(--shadow-md);
  border-left:1px solid rgba(231,198,155,.26);
  border-right:1px solid rgba(231,198,155,.26);
  opacity:0; transform:translateY(28px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
}
.future-letter-card.visible { opacity:1; transform:none; }
.future-letter-card:nth-child(2) { transition-delay:.15s; }
.future-letter-card:nth-child(3) { transition-delay:.30s; }

.fl-rose { background:white; border-top:4px solid var(--rose); }
.fl-teal { background:white; border-top:4px solid var(--teal); }
.fl-gold { background:white; border-top:4px solid var(--gold); }

.fl-age-tag {
  font-family:'Pacifico',cursive;
  font-size:1.6rem; margin-bottom:16px;
}
.fl-rose .fl-age-tag { color:var(--rose); }
.fl-teal .fl-age-tag { color:var(--teal-dark); }
.fl-gold .fl-age-tag { color:#b58600; }

.fl-seal {
  position:absolute; top:22px; right:22px; opacity:.2;
}
.fl-rose .fl-seal { color:var(--rose); }
.fl-teal .fl-seal { color:var(--teal); }
.fl-gold .fl-seal { color:var(--gold); }

.future-letter-card p {
  font-size:.92rem; color:var(--text); line-height:1.85;
  margin-bottom:20px;
}
.fl-sig {
  font-family:'Dancing Script',cursive; font-size:1.1rem;
  padding-top:14px; border-top:1px solid var(--light-pink);
}
.fl-rose .fl-sig { color:var(--rose); }
.fl-teal .fl-sig { color:var(--teal-dark); }
.fl-gold .fl-sig { color:#b58600; }

@media (max-width:768px) {
  .future-letters-row { grid-template-columns:1fr; max-width:420px; }
}

/* =====================================================
   BIRTHDAY CAKE
   ===================================================== */
.cake-wrap {
  display:flex; flex-direction:column; align-items:center; gap:14px;
  margin-bottom:8px;
}
.cake-hint { font-size:.85rem; color:rgba(255,255,255,.8); }
.cake-scene { position:relative; display:flex; flex-direction:column; align-items:center; }

/* Candles */
.candles-row {
  display:flex; gap:18px; align-items:flex-end;
  margin-bottom:0; position:relative; z-index:2;
}
.candle {
  display:flex; flex-direction:column; align-items:center;
  cursor:pointer; transition:transform .2s;
  position:relative;
}
.candle:hover { transform:scale(1.08); }
.candle.blown .flame { opacity:0; transform:scale(0); }
.candle.blown .candle-word { color:rgba(255,255,255,.5); }

.flame {
  width:12px; height:20px;
  background:linear-gradient(to top,#ffd700,#ff8c00,transparent);
  border-radius:50% 50% 20% 20%;
  position:relative; margin-bottom:0;
  animation:flicker 1.2s ease-in-out infinite alternate;
  transition:opacity .4s, transform .4s;
  filter:drop-shadow(0 0 4px rgba(255,160,0,.6));
}
.flame-inner {
  position:absolute; bottom:2px; left:50%; transform:translateX(-50%);
  width:5px; height:10px;
  background:linear-gradient(to top,#fff,rgba(255,220,100,.6));
  border-radius:50% 50% 20% 20%;
}
@keyframes flicker {
  0%   { transform:scaleX(1)   skewX(0deg); }
  33%  { transform:scaleX(.9)  skewX(-4deg); }
  66%  { transform:scaleX(1.1) skewX(3deg); }
  100% { transform:scaleX(.95) skewX(-2deg); }
}
.wick {
  width:2px; height:6px;
  background:#555; border-radius:1px;
}
.candle-body {
  width:18px; border-radius:3px 3px 2px 2px;
  box-shadow:inset -3px 0 6px rgba(0,0,0,.12);
}
.c1 { height:52px; background:linear-gradient(180deg,#f9a8c9,#e8689a); }
.c2 { height:44px; background:linear-gradient(180deg,#a8d8f9,#68aae8); }
.c3 { height:58px; background:linear-gradient(180deg,#a8f9c4,#68e89a); }
.c4 { height:46px; background:linear-gradient(180deg,#f9e0a8,#e8c468); }
.c5 { height:54px; background:linear-gradient(180deg,#d4a8f9,#b068e8); }
.candle-word {
  font-size:.65rem; font-weight:800; letter-spacing:.4px;
  text-transform:uppercase; color:rgba(255,255,255,.9);
  margin-top:5px; transition:color .4s;
}

/* Cake body */
.cake-body {
  display:flex; flex-direction:column; align-items:center;
}
.cake-tier {
  border-radius:8px 8px 2px 2px;
  position:relative; overflow:hidden;
}
.cake-top {
  width:160px; height:44px;
  background:linear-gradient(180deg,#fce4ea,#f5c8d0);
  border:2px solid rgba(255,255,255,.4);
}
.cake-top::after {
  content:''; position:absolute; top:10px; left:0; right:0; height:3px;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.5) 0,rgba(255,255,255,.5) 8px,transparent 8px,transparent 16px);
}
.cake-bottom {
  width:200px; height:52px;
  background:linear-gradient(180deg,#f5c8d0,#eebbcc);
  border:2px solid rgba(255,255,255,.3);
  margin-top:-1px;
}
.cake-bottom::after {
  content:''; position:absolute; top:14px; left:0; right:0; height:3px;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.4) 0,rgba(255,255,255,.4) 10px,transparent 10px,transparent 20px);
}
.cake-plate {
  width:230px; height:12px;
  background:rgba(255,255,255,.2);
  border-radius:0 0 999px 999px;
  margin-top:-1px;
}

.cake-blessing {
  display:none; align-items:center; gap:8px; flex-wrap:wrap; justify-content:center;
  background:rgba(80,10,25,.45); backdrop-filter:blur(4px);
  border:1.5px solid rgba(255,255,255,.25); border-radius:14px;
  padding:14px 22px; max-width:440px;
  font-family:'Dancing Script',cursive; font-size:1.15rem; color:white;
  text-align:center; line-height:1.6;
  animation:fadeInUp .6s var(--ease) both;
}
.cake-blessing.visible { display:flex; }

/* =====================================================
   EASTER EGG MODAL
   ===================================================== */
#easter-modal {
  position:fixed; inset:0; z-index:99999;
  display:flex; align-items:center; justify-content:center;
  border:none; background:transparent; padding:0;
  max-width:100vw; max-height:100vh;
  opacity:0; pointer-events:none;
  transition:opacity .4s;
}
#easter-modal[open] { opacity:1; pointer-events:all; }
#easter-modal::backdrop { display:none; }
.easter-backdrop {
  position:absolute; inset:0;
  background:rgba(18,6,12,.88); backdrop-filter:blur(8px);
}
.easter-card {
  position:relative; z-index:1;
  background:white; border-radius:28px;
  padding:48px 44px; max-width:480px; width:90%;
  text-align:center; box-shadow:var(--shadow-lg);
  border-top:4px solid var(--rose);
  animation:easterIn .5s var(--ease) both;
}
@keyframes easterIn {
  from { opacity:0; transform:scale(.88) translateY(20px); }
  to   { opacity:1; transform:none; }
}
.easter-close {
  position:absolute; top:16px; right:16px;
  background:var(--cream); border:none; border-radius:50%;
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  color:var(--rose); cursor:pointer; transition:background .2s, transform .2s;
}
.easter-close:hover { background:var(--light-pink); transform:rotate(90deg); }
.easter-icon { margin-bottom:16px; }
.easter-card h3 {
  font-family:'Pacifico',cursive; font-size:1.5rem;
  color:var(--rose); margin-bottom:16px;
}
.easter-card p {
  font-size:1rem; color:var(--text); line-height:1.85;
  font-weight:600; margin-bottom:20px;
}
.easter-sig {
  font-family:'Dancing Script',cursive; font-size:1.2rem;
  color:var(--text-soft); border-top:1px solid var(--light-pink);
  padding-top:16px;
}
