/* =========================================================
   MIMI'S LITTLE CORNER — STYLESHEET
   Palette: lavender / soft pink / cream / white + gold glow
   Type: Playfair Display (headings) · Poppins (body/UI) · Inter (small/utility)
   ========================================================= */

:root {
  /* ---- Color tokens ---- */
  --lavender: #BFA2FF;
  --lavender-soft: #D9C9FF;
  --pink: #FFD6E7;
  --pink-soft: #FFEAF2;
  --cream: #FFF9F5;
  --white: #FFFFFF;
  --gold: #F5D67B;
  --gold-soft: #FFE9B0;
  --ink: #3A2E4D;          /* deep plum-grey for text, not pure black */
  --ink-soft: #6E6280;

  /* ---- Glass ---- */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px rgba(191, 162, 255, 0.18);

  /* ---- Gradients ---- */
  --gradient-bg: linear-gradient(160deg, var(--cream) 0%, var(--pink-soft) 45%, var(--lavender-soft) 100%);
  --gradient-accent: linear-gradient(135deg, var(--lavender) 0%, var(--pink) 100%);

  /* ---- Type ---- */
  --font-display: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;
  --font-utility: "Inter", sans-serif;

  /* ---- Motion ---- */
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------------------------------
   Reset & base
   --------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--gradient-bg);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; }
p { margin: 0; }
button { font-family: var(--font-body); cursor: pointer; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--lavender); color: white; }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------------------------------------------------------
   Loading screen
   --------------------------------------------------------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--gradient-bg);
  transition: opacity 0.8s var(--ease-soft), visibility 0.8s var(--ease-soft);
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-glow {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  filter: blur(2px);
  animation: pulse-glow 1.6s ease-in-out infinite;
}

.loader-star {
  position: absolute;
  font-size: 1.6rem;
  color: var(--gold);
  animation: spin-slow 3s linear infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

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

.loader-text {
  font-family: var(--font-utility);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.dots span { animation: dot-fade 1.4s infinite; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-fade {
  0%, 80%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

/* ---------------------------------------------------------
   Cursor glow (desktop only)
   --------------------------------------------------------- */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,162,255,0.18), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.3s ease;
}

@media (hover: none), (pointer: coarse) {
  #cursor-glow { display: none; }
}

/* ---------------------------------------------------------
   Floating navigation
   --------------------------------------------------------- */
#floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  max-width: 94vw;
  overflow-x: auto;
  scrollbar-width: none;
}
#floating-nav::-webkit-scrollbar { display: none; }

.nav-dot {
  position: relative;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}

.nav-dot:hover,
.nav-dot.active {
  background: var(--gradient-accent);
  color: white;
  transform: translateY(-2px);
}

.nav-dot::after {
  content: attr(data-label);
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-utility);
  font-size: 0.65rem;
  white-space: nowrap;
  background: rgba(58, 46, 77, 0.85);
  color: white;
  padding: 3px 8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.nav-dot:hover::after { opacity: 1; }

/* ---------------------------------------------------------
   Background layers
   --------------------------------------------------------- */
#star-field,
#particle-field,
#floating-hearts {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 6px 1px rgba(255,255,255,0.8);
  animation: twinkle linear infinite;
}

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

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  opacity: 0.55;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.55; }
  90% { opacity: 0.55; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

.heart {
  position: absolute;
  color: var(--pink);
  opacity: 0;
  animation: heart-rise 9s ease-in infinite;
  font-size: 1.1rem;
}

@keyframes heart-rise {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  10% { opacity: 0.5; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-70vh) scale(1.1); opacity: 0; }
}

/* ---------------------------------------------------------
   Layout / sections
   --------------------------------------------------------- */
main { position: relative; z-index: 1; }

.section {
  position: relative;
  min-height: 100vh;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-utility);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--ink) 20%, var(--lavender) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: -28px;
  margin-bottom: 34px;
}

/* Glass card, reused everywhere */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  padding: 36px;
}

/* Scroll reveal (JS toggles .in-view) */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-soft), transform 0.8s var(--ease-soft);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn-glow {
  position: relative;
  padding: 16px 34px;
  border: none;
  border-radius: 999px;
  background: var(--gradient-accent);
  color: white;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 rgba(191,162,255,0);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s var(--ease-soft);
}

.btn-glow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(191, 162, 255, 0.45), 0 0 24px rgba(245, 214, 123, 0.35);
}

.btn-glow:active { transform: translateY(-1px) scale(0.99); }

.btn-glow i { margin-left: 8px; }

.btn-ghost {
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--lavender);
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn-ghost:hover { background: var(--lavender); color: white; }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero-section { overflow: hidden; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  will-change: transform;
}

.blob-a { width: 380px; height: 380px; background: var(--lavender); top: -80px; left: -100px; }
.blob-b { width: 320px; height: 320px; background: var(--pink); bottom: -100px; right: -80px; }
.blob-c { width: 240px; height: 240px; background: var(--gold-soft); top: 40%; left: 60%; opacity: 0.4; }
.blob-d { width: 340px; height: 340px; background: var(--lavender); top: -60px; right: -60px; opacity: 0.4; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-title {
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ink);
}

.wave { display: inline-block; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60%, 100% { transform: rotate(0deg); }
}

.hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--ink-soft);
  margin-bottom: 38px;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--ink-soft);
  border-radius: 14px;
  opacity: 0.6;
}
.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-soft);
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 24px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------------------------------------------------------
   Hidden secret star (tap to reveal easter egg — mobile friendly)
   --------------------------------------------------------- */
.secret-star {
  position: absolute;
  top: 6%;
  right: 12%;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--gold);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  filter: drop-shadow(0 0 4px rgba(245, 214, 123, 0.7));
  animation: secret-twinkle 3.2s ease-in-out infinite;
  transition: transform 0.3s var(--ease-soft), opacity 0.3s ease;
  z-index: 3;
}

.secret-star:hover,
.secret-star:focus-visible {
  opacity: 1;
  transform: scale(1.3);
}

.secret-star:active { transform: scale(0.9); }

@keyframes secret-twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 0.75; transform: scale(1.05); }
}

@media (max-width: 640px) {
  .secret-star { top: 4%; right: 8%; }
}

/* ---------------------------------------------------------
   About / Note card
   --------------------------------------------------------- */
.note-card {
  position: relative;
  max-width: 620px;
}

.note-text {
  font-size: 1.08rem;
  line-height: 1.9;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--lavender);
  opacity: 0.5;
  position: absolute;
  animation: quote-float 4s ease-in-out infinite;
}
.quote-open { top: 4px; left: 18px; }
.quote-close { bottom: -18px; right: 18px; }

@keyframes quote-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------------------------------------------------------
   Timeline
   --------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 640px;
  width: 100%;
}

.timeline-line {
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--lavender), var(--pink));
  opacity: 0.5;
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 26px;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 0 4px rgba(191,162,255,0.2);
}

.timeline-card {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
}

.timeline-icon { color: var(--lavender); font-size: 1.2rem; min-width: 20px; }

/* ---------------------------------------------------------
   Reasons grid
   --------------------------------------------------------- */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  max-width: 800px;
  width: 100%;
}

.reason-card {
  padding: 30px 20px;
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(191,162,255,0.3), 0 0 30px rgba(245,214,123,0.25);
}

.reason-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.reason-card p { font-weight: 500; }

/* ---------------------------------------------------------
   Compliment generator
   --------------------------------------------------------- */
.compliment-card {
  max-width: 560px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

#compliment-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#compliment-text.fade { opacity: 0; transform: translateY(8px); }

/* ---------------------------------------------------------
   Quiz
   --------------------------------------------------------- */
.quiz-card { max-width: 560px; width: 100%; }

.quiz-progress {
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: rgba(191,162,255,0.2);
  margin-bottom: 24px;
  overflow: hidden;
}
.quiz-progress-fill {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--gradient-accent);
  transition: width 0.5s var(--ease-soft);
}

.quiz-question {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(191,162,255,0.35);
  background: rgba(255,255,255,0.4);
  text-align: left;
  font-size: 0.95rem;
  color: var(--ink);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.quiz-option:hover {
  background: var(--gradient-accent);
  color: white;
  border-color: transparent;
  transform: translateX(4px);
}

.quiz-result { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.quiz-result-text { color: var(--ink-soft); }
.quiz-result-big {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--lavender);
}

/* ---------------------------------------------------------
   Gallery
   --------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  max-width: 800px;
  width: 100%;
}

.gallery-item {
  border: none;
  aspect-ratio: 1;
  border-radius: 20px;
  background: linear-gradient(135deg, hsl(var(--hue) 90% 88%), hsl(calc(var(--hue) + 40) 90% 92%));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(58,46,77,0.35);
  overflow: hidden;
  transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft);
}
.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 34px rgba(191,162,255,0.3);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(58,46,77,0.55);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in 0.3s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.lightbox-box {
  width: min(70vw, 420px);
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, hsl(var(--hue) 90% 88%), hsl(calc(var(--hue) + 40) 90% 92%));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(58,46,77,0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 1.1rem;
}

/* ---------------------------------------------------------
   Music section
   --------------------------------------------------------- */
.music-card {
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
}

.music-art {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 18px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  animation: rotate-art 6s linear infinite paused;
}
.music-art.playing { animation-play-state: running; }

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

.music-caption { margin-bottom: 14px; font-size: 0.95rem; }

.music-controls { display: flex; align-items: center; gap: 14px; }

.music-play-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--gradient-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.music-bars span {
  width: 3px;
  background: var(--lavender);
  border-radius: 2px;
  height: 6px;
  animation: bar-bounce 1s ease-in-out infinite;
  animation-play-state: paused;
}
.music-bars.playing span { animation-play-state: running; }
.music-bars span:nth-child(1) { animation-delay: 0s; }
.music-bars span:nth-child(2) { animation-delay: 0.15s; }
.music-bars span:nth-child(3) { animation-delay: 0.3s; }
.music-bars span:nth-child(4) { animation-delay: 0.45s; }
.music-bars span:nth-child(5) { animation-delay: 0.6s; }

@keyframes bar-bounce {
  0%, 100% { height: 6px; }
  50% { height: 18px; }
}

.music-note { margin-top: 10px; font-size: 0.75rem; color: var(--ink-soft); font-family: var(--font-utility); }

/* ---------------------------------------------------------
   Clock section
   --------------------------------------------------------- */
.clock-section { min-height: 60vh; padding-top: 60px; padding-bottom: 60px; }

.clock-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 50px;
}

.clock-icon {
  font-size: 1.6rem;
  color: var(--lavender);
  margin-bottom: 6px;
  animation: tick 2s ease-in-out infinite;
}
@keyframes tick {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  75% { transform: rotate(-8deg); }
}

.live-time {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.live-date { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------------------------------------------------------
   Letter section
   --------------------------------------------------------- */
.letter-card {
  max-width: 560px;
  text-align: left;
}

.letter-text {
  font-size: 1.05rem;
  line-height: 2;
}

.letter-signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  margin-top: 24px;
  text-align: right;
  color: var(--lavender);
}

/* ---------------------------------------------------------
   Final section
   --------------------------------------------------------- */
.final-section { overflow: hidden; }

.final-title {
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.final-sub {
  color: var(--ink-soft);
  margin-bottom: 34px;
  max-width: 460px;
  position: relative;
  z-index: 2;
}

.final-popup {
  margin-top: 26px;
  padding: 16px 28px;
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  animation: pop-in 0.5s var(--ease-soft);
  position: relative;
  z-index: 2;
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px 46px;
  font-family: var(--font-utility);
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

/* ---------------------------------------------------------
   Easter egg popup
   --------------------------------------------------------- */
.easter-egg[hidden] {
  display: none;
}

.easter-egg {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58,46,77,0.5);
  backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease;
}

.easter-egg-box {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px 50px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: pop-in 0.4s var(--ease-soft);
}

.easter-egg-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.easter-egg-line1 { font-size: 1.3rem; margin-bottom: 8px; }
.easter-egg-line2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--lavender);
}

/* ---------------------------------------------------------
   Confetti canvas
   --------------------------------------------------------- */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 2500;
  pointer-events: none;
}

/* ---------------------------------------------------------
   Responsive tweaks
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .section { padding: 100px 18px; }
  #floating-nav { top: 12px; padding: 8px 10px; gap: 3px; }
  .nav-dot { width: 30px; height: 30px; font-size: 0.75rem; }
  .nav-dot::after { display: none; }
  .music-card { flex-direction: column; text-align: center; }
  .letter-card, .note-card { padding: 26px; }
}

/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
