:root {
  --starry-bg-deep: #050813;
  --starry-bg-midnight: #0B1124;
  --starry-moon-gold: #FDF6D2;
  --starry-text-primary: #F2F6FF;
  --starry-text-secondary: #96A5C3;
  --starry-glass-card: rgba(13, 22, 46, 0.7);
  --starry-glass-border: rgba(255, 255, 255, 0.12);
  --starry-candle-orange: #FF9D42;
  --font-serif: 'Cormorant Garamond', serif;
  --font-script: 'Caveat', cursive;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(ellipse at 70% 15%, #152244 0%, #080D1D 55%, #040711 100%);
  color: var(--starry-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Twinkling Starfield & Crescent Moon */
.celestial-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.crescent-moon {
  position: absolute;
  top: 60px;
  right: 12%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 14px 14px 0 0 var(--starry-moon-gold);
  filter: drop-shadow(0 0 25px rgba(253, 246, 210, 0.7));
  animation: moonGlow 5s infinite alternate ease-in-out;
}

@keyframes moonGlow {
  0% { filter: drop-shadow(0 0 20px rgba(253, 246, 210, 0.5)); }
  100% { filter: drop-shadow(0 0 35px rgba(253, 246, 210, 0.9)); }
}

.star {
  position: absolute;
  background: #FFF;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

.s-1 { width: 3px; height: 3px; top: 15%; left: 20%; animation-delay: 0.2s; }
.s-2 { width: 4px; height: 4px; top: 35%; left: 10%; animation-delay: 1.2s; }
.s-3 { width: 2px; height: 2px; top: 25%; left: 45%; animation-delay: 0.8s; }
.s-4 { width: 3px; height: 3px; top: 18%; right: 28%; animation-delay: 2s; }
.s-5 { width: 4px; height: 4px; top: 50%; right: 12%; animation-delay: 1.5s; }
.s-6 { width: 2px; height: 2px; top: 75%; left: 30%; animation-delay: 0.5s; }
.s-7 { width: 3px; height: 3px; top: 65%; right: 40%; animation-delay: 2.3s; }
.s-8 { width: 2px; height: 2px; top: 85%; right: 15%; animation-delay: 1.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); filter: drop-shadow(0 0 6px #FFF); }
}

/* Audio Toggle */
.audio-toggle-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(13, 22, 46, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E2E8F0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.audio-toggle-btn:hover {
  background: rgba(124, 229, 255, 0.15);
  border-color: #7CE5FF;
}

/* Header */
.starry-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 19, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: #FFF;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--starry-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #FFF;
}

/* Main */
.starry-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  position: relative;
  z-index: 10;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  text-align: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-subtitle-line {
  font-style: italic;
  color: #CBD5E1;
  display: block;
}

.hero-quote {
  font-size: 1.15rem;
  color: var(--starry-text-secondary);
  max-width: 540px;
  margin: 0 auto 28px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-recipient-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 22px;
  font-family: var(--font-script);
  font-size: 1.35rem;
  color: var(--starry-moon-gold);
}

/* Glass Letter Card */
.letter-section {
  padding: 40px 0;
}

.glass-letter-card {
  background: var(--starry-glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--starry-glass-border);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 800px) {
  .glass-letter-card {
    grid-template-columns: 1.3fr 0.9fr;
  }
}

.letter-heading {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-style: italic;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.letter-body {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #CBD5E1;
  font-weight: 300;
  margin-bottom: 24px;
}

.letter-body p {
  margin-bottom: 14px;
}

.letter-signoff {
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  padding-top: 18px;
}

.signoff-quote {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--starry-moon-gold);
}

.sender-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #FFF;
}

/* Polaroid with Gold Washi Tape */
.celestial-polaroid {
  background: #FFF;
  padding: 12px 12px 38px 12px;
  border-radius: 2px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
  transform: rotate(3deg);
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.gold-washi-tape {
  position: absolute;
  top: -10px;
  right: 20px;
  width: 70px;
  height: 22px;
  background: rgba(228, 196, 137, 0.85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transform: rotate(18deg);
  z-index: 5;
}

.polaroid-night-sky {
  width: 100%;
  aspect-ratio: 1;
  background-color: #070B19;
  background-image: radial-gradient(circle at 50% 30%, #1E293B 0%, #050813 100%);
  border-radius: 1px;
}

.polaroid-caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: #1E293B;
  font-weight: 600;
}

/* Wishes & Cake Grid */
.wishes-section {
  padding: 60px 0;
}

.wishes-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 800px) {
  .wishes-card-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.cake-glass-box, .checklist-glass-box {
  background: var(--starry-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--starry-glass-border);
  border-radius: 24px;
  padding: 36px 30px;
}

.cake-glass-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cake-illustration {
  cursor: pointer;
  margin-bottom: 20px;
}

.candles-glow {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: -6px;
}

.candles-glow .flame {
  font-size: 1.4rem;
  animation: flicker 0.6s infinite alternate;
}

.candles-glow .flame.blown {
  opacity: 0;
  transform: scale(0);
}

.cake-layers {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-top { width: 140px; height: 32px; background: #FFF; border-radius: 16px 16px 0 0; }
.c-mid { width: 180px; height: 42px; background: #E2E8F0; }
.c-bottom { width: 220px; height: 50px; background: #CBD5E1; border-radius: 0 0 14px 14px; }

.btn-blow-starry {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-blow-starry:hover {
  background: rgba(255, 255, 255, 0.16);
}

.checklist-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #FFF;
  margin-bottom: 18px;
}

.checklist-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-items li {
  font-size: 1.05rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.star-bullet {
  color: var(--starry-moon-gold);
  font-size: 1.2rem;
}

/* Journey Section */
.journey-section {
  padding: 40px 0 60px;
  text-align: center;
}

.journey-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: #FFF;
  margin-bottom: 6px;
}

.journey-sub {
  font-size: 1rem;
  color: var(--starry-text-secondary);
  margin-bottom: 30px;
}

.journey-photos-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.journey-photo {
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.journey-photo:hover {
  transform: scale(1.04);
}

.j1 { background-color: #0F172A; background-image: radial-gradient(circle at 40% 40%, #1E293B 0%, #020617 100%); }
.j2 { background-color: #0F172A; background-image: radial-gradient(circle at 60% 30%, #334155 0%, #020617 100%); }
.j3 { background-color: #0F172A; background-image: radial-gradient(circle at 30% 60%, #1E293B 0%, #020617 100%); }
.j4 { background-color: #0F172A; background-image: radial-gradient(circle at 70% 50%, #475569 0%, #020617 100%); }

/* Footer */
.starry-footer {
  text-align: center;
  padding-top: 20px;
}

.mountain-glow-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(186, 92, 82, 0.25) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 48px 24px;
  margin-bottom: 30px;
}

.footer-callout {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: #FFF;
  margin-bottom: 20px;
}

.btn-celebrate-day {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #B25852 0%, #D8705C 100%);
  color: #FFF;
  padding: 14px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(216, 112, 92, 0.4);
  transition: transform 0.2s;
}

.btn-celebrate-day:hover {
  transform: translateY(-2px);
}

.footer-bottom-copy {
  font-size: 0.85rem;
  color: #64748B;
}
