/* ============================================================
   day.css — "The Day" birthday itinerary
   Same dreamy night theme as the puzzle, laid out as a soft
   vertical timeline. Mobile-first (she'll read it on her phone).
   ============================================================ */

.day-head { max-width: 620px; margin: 0 auto 2.2em; text-align: center; }
.day-head .eyebrow { margin-bottom: 1em; }
.day-head h1 { font-size: clamp(1.9rem, 7vw, 2.7rem); }
.day-head .sub {
  color: var(--rose-deep); font-size: 1.05rem; line-height: 1.7; margin: .6em 0 0;
}
.day-head .sub em { color: #fff; }

/* ---- the timeline ---- */
.timeline {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding-left: 34px;
}
.timeline::before {
  content: '';
  position: absolute; left: 11px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--rose), rgba(255,143,177,.15));
  box-shadow: 0 0 12px var(--glow);
}

.stop {
  position: relative;
  margin: 0 0 1.3em;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.stop.in { opacity: 1; transform: none; }

.stop .dot {
  position: absolute; left: -36px; top: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .95rem;
  background: radial-gradient(circle at 35% 30%, #3a1d30, #1c0f1f);
  border: 2px solid var(--rose);
  box-shadow: 0 0 16px var(--glow), inset 0 0 8px rgba(255,143,177,.25);
  animation: dotpulse 3.6s ease-in-out infinite;
}
@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 12px var(--glow), inset 0 0 8px rgba(255,143,177,.25); }
  50%      { box-shadow: 0 0 22px var(--glow), inset 0 0 10px rgba(255,143,177,.35); }
}

.stop .body {
  position: relative;
  background: var(--panel);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2em 1.35em;
  box-shadow: 0 12px 32px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06);
  text-align: left;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.stop .body:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
  border-color: rgba(255,143,177,.4);
}
.stop .when {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose); opacity: .85; margin: 0 0 .35em;
}
.stop .what {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; color: #fff;
  font-size: 1.28rem; letter-spacing: -.01em; margin: 0 0 .4em; text-shadow: 0 0 16px var(--glow);
}
.stop .note { color: var(--rose-deep); line-height: 1.6; margin: 0; font-size: .98rem; }
.stop .note em { color: #fff; font-style: italic; }
.stop .note + .note { margin-top: .5em; }

/* a gentle "go look here" nudge */
.nudge {
  display: flex; align-items: center; gap: .7em;
  margin-top: .8em; padding: .7em .9em;
  background: rgba(255,143,177,.08);
  border: 1px dashed var(--line); border-radius: 12px;
  font-size: .92rem; color: var(--ink);
}
.nudge .ico { font-size: 1.3rem; line-height: 1; }
.nudge b { color: var(--rose-deep); }

/* ---- tap-to-unwrap surprise cards ---- */
.surprise { cursor: pointer; }
.surprise .sealed {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 1.5em 1.1em;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(90,33,71,.55), rgba(28,16,28,.55));
  border: 1px dashed var(--rose);
  transition: transform .25s, box-shadow .25s;
}
/* slow shimmer to say "open me" */
.surprise .sealed::after {
  content: '';
  position: absolute; top: 0; left: -130%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent);
  transform: skewX(-18deg);
  animation: sweep 3.8s ease-in-out infinite;
}
@keyframes sweep { 0% { left: -130%; } 55%, 100% { left: 140%; } }
.surprise:hover .sealed { transform: translateY(-2px); box-shadow: 0 0 30px var(--glow); }
.surprise .sealed .lock { font-size: 1.8rem; }
.surprise .sealed .tease {
  display: block; color: #fff; font-family: 'Fraunces', Georgia, serif; font-style: italic;
  margin: .55em 0 .2em; font-size: 1.12rem;
}
.surprise .sealed .cta {
  display: inline-block; margin-top: .5em;
  font-family: 'JetBrains Mono', monospace; font-size: .72rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--rose);
}
.surprise .inside[hidden] { display: none; }
.surprise.open .body, .surprise .inside { animation: bloom .5s ease both; }
@keyframes bloom { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.big-reveal {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: clamp(1.6rem, 7vw, 2.2rem); color: #fff; letter-spacing: -.01em;
  text-shadow: 0 0 24px var(--glow); margin: .1em 0 .3em; line-height: 1.22;
}

/* ---- closing note + actions ---- */
.day-foot { max-width: 560px; margin: 2.6em auto 0; text-align: center; }
.day-foot .love-note {
  font-family: 'Fraunces', Georgia, serif; font-style: italic;
  color: var(--rose-deep); line-height: 1.85; font-size: 1.12rem;
}
.day-foot .love-note em { color: #fff; font-style: normal; }

.map-link {
  display: inline-block; margin-top: .4em;
  font-family: 'JetBrains Mono', monospace; font-size: .8rem;
  color: var(--rose); text-decoration: none; border-bottom: 1px dashed var(--line);
  padding-bottom: 2px;
}
.map-link:hover { color: #fff; }

/* ---- polaroid (the uploaded photo) ---- */
.polaroid {
  background: #fff;
  padding: 12px 12px 42px;
  border-radius: 6px;
  box-shadow: 0 16px 44px rgba(0,0,0,.5);
  max-width: 300px;
  margin: 0 auto;
  transform: rotate(-1.5deg);
}
.polaroid img {
  width: 100%; display: block; border-radius: 2px;
  background: #f3e6ee; min-height: 90px;
}
.polaroid .cap {
  font-family: 'Fraunces', Georgia, serif; font-style: italic; color: #3a2230;
  text-align: center; margin-top: 12px; font-size: 1rem;
}

/* the first-photo greeting on the day page */
.day-photo { max-width: 560px; margin: 0 auto 2.2em; text-align: center; }
.day-photo[hidden] { display: none; }
.day-photo .tag {
  display: block; margin-top: 1em;
  font-family: 'JetBrains Mono', monospace; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--rose);
}
