/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  --bg-gradient: linear-gradient(180deg, #fff8f9 0%, #fef3f6 50%, #fdf0f3 100%);
  --bg-color-top: #fff8f9;
  --bg-color-bottom: #fdf0f3;
  --pink-soft: #f8d5df;
  --pink-medium: #f2afc2;
  --rose-accent: #e38098;
  --rose-accent-hover: #ce6a83;
  --rose-glow: rgba(227, 128, 152, 0.35);
  --text-main: #5b3a45;
  --text-muted: #845d6a;
  --peach: #fbe0cb;
  --gold-warm: #e7b98a;
  --white: #ffffff;

  /* Fonts */
  --font-display: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(227, 128, 152, 0.12);
  --shadow-md: 0 10px 30px rgba(227, 128, 152, 0.18);
  --shadow-lg: 0 18px 46px rgba(91, 58, 69, 0.1);
  --shadow-card: 0 8px 24px rgba(227, 128, 152, 0.14);
}

/* ==========================================================================
   RESET & SMOOTH SCROLLING BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 70px;
}

/* Lenis Ultra-Smooth Momentum Scrolling Engine */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  -webkit-overflow-scrolling: touch;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-gradient);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Canvases */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   FLOATING AMBIENT BALLOONS & VECTORS (NO EMOJIS)
   ========================================================================== */
.ambient-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.balloon {
  position: absolute;
  bottom: -160px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  opacity: 0.8;
  animation: floatUp infinite ease-in-out;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.balloon:hover {
  transform: scale(1.1) !important;
  opacity: 1;
}

.balloon-string {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 28px;
  background: rgba(91, 58, 69, 0.25);
}

.balloon.popped {
  transform: scale(1.5) !important;
  opacity: 0 !important;
  transition: transform 0.15s ease-out, opacity 0.15s ease-out !important;
}

.balloon-1 {
  width: 58px;
  height: 74px;
  left: 6%;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--pink-soft) 40%, var(--pink-medium));
  animation-duration: 16s;
  animation-delay: 0s;
}

.balloon-2 {
  width: 80px;
  height: 100px;
  left: 18%;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--peach) 45%, #f5c7a5);
  animation-duration: 22s;
  animation-delay: 3s;
}

.balloon-3 {
  width: 64px;
  height: 80px;
  left: 74%;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--pink-soft) 40%, var(--rose-accent));
  animation-duration: 18s;
  animation-delay: 1.5s;
}

.balloon-4 {
  width: 84px;
  height: 106px;
  left: 88%;
  background: radial-gradient(circle at 35% 30%, #ffffff, #ffe1e8 40%, var(--pink-medium));
  animation-duration: 24s;
  animation-delay: 6s;
}

.balloon-5 {
  width: 52px;
  height: 66px;
  left: 45%;
  background: radial-gradient(circle at 35% 30%, #ffffff, var(--peach) 40%, var(--pink-soft));
  animation-duration: 20s;
  animation-delay: 9s;
}

@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  15% { opacity: 0.8; }
  50% { transform: translateY(-55vh) rotate(5deg); }
  85% { opacity: 0.8; }
  100% { transform: translateY(-120vh) rotate(-5deg); opacity: 0; }
}

/* Floating SVG Vectors */
.floating-vector {
  position: absolute;
  opacity: 0.65;
  user-select: none;
  animation: vectorDrift 7s ease-in-out infinite;
}

.fv-1 { top: 15%; left: 4%; animation-delay: 0s; }
.fv-2 { top: 38%; right: 5%; animation-delay: 1.4s; }
.fv-3 { top: 62%; left: 6%; animation-delay: 2.8s; }
.fv-4 { top: 82%; right: 8%; animation-delay: 4.2s; }
.fv-5 { top: 22%; right: 24%; animation-delay: 2.1s; }

@keyframes vectorDrift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(12deg); }
}

/* Ambient Sparkles */
.sparkles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.sparkle {
  position: absolute;
  color: var(--rose-accent);
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 700;
  animation: sparklePulse 3.2s infinite ease-in-out;
  user-select: none;
}

.sp-1 { top: 14%; left: 12%; animation-delay: 0.2s; color: var(--gold-warm); }
.sp-2 { top: 26%; right: 14%; animation-delay: 1.1s; }
.sp-3 { top: 52%; left: 10%; animation-delay: 2.1s; color: var(--pink-medium); }
.sp-4 { top: 68%; right: 11%; animation-delay: 0.8s; color: var(--gold-warm); }
.sp-5 { top: 10%; right: 30%; animation-delay: 1.7s; }
.sp-6 { top: 82%; left: 22%; animation-delay: 2.8s; }

@keyframes sparklePulse {
  0%, 100% { opacity: 0.15; transform: scale(0.7); }
  50% { opacity: 0.85; transform: scale(1.3); }
}



/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 50px;
}

.hero-content {
  max-width: 720px;
  width: 100%;
}

.reveal-el {
  opacity: 0;
  transform: translateY(24px);
  animation: revealUp 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-1 { animation-delay: 0.15s; }
.reveal-2 { animation-delay: 0.35s; }
.reveal-3 { 
  animation: badgePop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.6s; 
}
.reveal-4 { animation-delay: 0.85s; }
.reveal-5 { animation-delay: 1.05s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgePop {
  0% { opacity: 0; transform: scale(0.6) translateY(24px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rose-accent);
  background: rgba(248, 213, 223, 0.55);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid rgba(227, 128, 152, 0.3);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose-accent);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.16;
  color: var(--text-main);
  margin-bottom: 14px;
}

.highlight-name {
  color: var(--rose-accent);
  text-shadow: 0 4px 16px rgba(227, 128, 152, 0.25);
  display: inline-block;
  position: relative;
}

.highlight-name::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 5%;
  width: 90%;
  height: 8px;
  background: rgba(242, 175, 194, 0.4);
  border-radius: 4px;
  z-index: -1;
}

.age-badge-wrapper {
  margin: 12px 0 20px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 10px 28px;
  border-radius: 999px;
  border: 2px solid var(--pink-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.age-badge:hover {
  transform: scale(1.03);
  border-color: var(--rose-accent);
}

.age-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rose-accent);
  line-height: 1;
}

.age-text-block {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.age-main-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.age-sub-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 26px;
  line-height: 1.75;
}

/* ==========================================================================
   CAKE STAGE & FLAWLESS FLAME ANIMATIONS
   ========================================================================== */
.cake-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 10px;
}

.cake-halo {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 224, 203, 0.75) 0%, rgba(248, 213, 223, 0.5) 45%, rgba(255, 248, 249, 0) 70%);
  filter: blur(26px);
  z-index: 0;
  animation: haloBreathe 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes haloBreathe {
  0%, 100% { transform: translate(-50%, -20%) scale(0.92); opacity: 0.7; }
  50% { transform: translate(-50%, -20%) scale(1.1); opacity: 1; }
}

.cake-click-hint {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--rose-accent);
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 16px;
  border-radius: 999px;
  border: 1px solid var(--pink-soft);
}

.cake-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: cakeGentleFloat 4.5s infinite ease-in-out;
  transition: transform 0.3s ease;
}

@keyframes cakeGentleFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.cake-container:hover {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.02);
}

.cake-svg {
  overflow: visible;
  filter: drop-shadow(0 14px 28px rgba(227, 128, 152, 0.25));
}

.candle-group {
  cursor: pointer;
}

.candle-group:hover {
  filter: drop-shadow(0 0 8px rgba(231, 185, 138, 0.9));
}

.flame {
  transform-box: fill-box;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 0 8px rgba(231, 185, 138, 0.95)) drop-shadow(0 0 16px rgba(242, 175, 194, 0.6));
  transition: transform 0.45s ease-out, opacity 0.45s ease-out;
}

.flame-left { animation: naturalFlickerLeft 1.5s infinite ease-in-out; }
.flame-center { animation: naturalFlickerCenter 1.7s infinite ease-in-out 0.3s; }
.flame-right { animation: naturalFlickerRight 1.6s infinite ease-in-out 0.6s; }

@keyframes naturalFlickerLeft {
  0%, 100% { transform: scale(1) rotate(-1.5deg); }
  25% { transform: scale(1.06, 0.94) rotate(1.5deg); }
  50% { transform: scale(0.95, 1.05) rotate(-2deg); }
  75% { transform: scale(1.04, 0.97) rotate(1deg); }
}

@keyframes naturalFlickerCenter {
  0%, 100% { transform: scale(1) rotate(1deg); }
  25% { transform: scale(0.96, 1.06) rotate(-2deg); }
  50% { transform: scale(1.07, 0.93) rotate(2deg); }
  75% { transform: scale(1.02, 0.98) rotate(-1deg); }
}

@keyframes naturalFlickerRight {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  25% { transform: scale(1.05, 0.95) rotate(1.8deg); }
  50% { transform: scale(0.94, 1.05) rotate(-1.5deg); }
  75% { transform: scale(1.03, 0.97) rotate(2deg); }
}

.flame-glow-aura {
  animation: glowPulse 2s infinite ease-in-out;
  transform-box: fill-box;
  transform-origin: center center;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.9); }
  50% { opacity: 0.55; transform: scale(1.2); }
}

.flame.extinguished {
  transform: scale(0.01) translateY(8px) !important;
  opacity: 0 !important;
  animation: none !important;
}

.smoke-particle {
  stroke: rgba(132, 93, 106, 0.65);
  stroke-linecap: round;
  fill: none;
  stroke-dasharray: 45;
  stroke-dashoffset: 45;
  animation: riseSmoke 1.8s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}

@keyframes riseSmoke {
  0% { stroke-dashoffset: 45; opacity: 0.85; transform: translateY(0) scaleX(1); }
  60% { stroke-dashoffset: 12; opacity: 0.55; }
  100% { stroke-dashoffset: 0; opacity: 0; transform: translateY(-44px) scaleX(2.2); }
}

.action-buttons {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 2;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--rose-accent);
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(227, 128, 152, 0.4);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
  background: var(--rose-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227, 128, 152, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.pulse-btn {
  animation: subtlePulse 2.8s infinite ease-in-out;
}

@keyframes subtlePulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(227, 128, 152, 0.4); }
  50% { box-shadow: 0 12px 30px rgba(227, 128, 152, 0.6), 0 0 0 8px rgba(248, 213, 223, 0.4); }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--text-main);
  border: 2px solid var(--pink-medium);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--pink-soft);
  border-color: var(--rose-accent);
  transform: translateY(-2px);
}

.wish-banner {
  margin-top: 24px;
  padding: 20px 30px;
  background: var(--white);
  border-radius: 24px;
  border: 1.5px solid var(--pink-medium);
  box-shadow: var(--shadow-md);
  max-width: 520px;
  animation: bannerSlideIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  position: relative;
  z-index: 2;
}

@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wish-banner-sparkle {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--rose-accent);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wish-tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rose-accent);
  margin-bottom: 6px;
}

.wish-text {
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.6;
}

.scroll-down-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}

.scroll-down-indicator:hover {
  color: var(--rose-accent);
  transform: translateY(4px);
}

.scroll-arrow {
  display: inline-block;
  font-size: 1.2rem;
  animation: bounceArrow 1.8s infinite ease-in-out;
}

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

/* ==========================================================================
   LIVE MILESTONE COUNTDOWN
   ========================================================================== */
.milestone-clock-section {
  position: relative;
  z-index: 2;
  padding: 30px 0 60px;
}

.clock-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(253, 240, 243, 0.95));
  border-radius: 28px;
  padding: 36px 28px;
  border: 2px solid var(--pink-soft);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.clock-header {
  margin-bottom: 24px;
}

.clock-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rose-accent);
  background: var(--white);
  padding: 4px 18px;
  border-radius: 999px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(227, 128, 152, 0.12);
}

.clock-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  color: var(--text-main);
  font-weight: 700;
}

.clock-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.clock-box {
  background: var(--white);
  padding: 16px 18px;
  border-radius: 18px;
  min-width: 90px;
  box-shadow: 0 6px 16px rgba(227, 128, 152, 0.14);
  border: 1.5px solid var(--pink-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clock-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--rose-accent);
  line-height: 1;
}

.clock-unit {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.clock-separator {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pink-medium);
}

.pulse-box {
  border-color: var(--rose-accent);
  animation: clockPulse 1s infinite alternate ease-in-out;
}

@keyframes clockPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.04); }
}

.clock-footnote {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEPTEMBER 2026 BIRTHDAY CALENDAR (INSIDE CELEBRATION CONTENT)
   ========================================================================== */
.calendar-section {
  position: relative;
  z-index: 2;
  padding: 60px 0 40px;
}

.calendar-card {
  margin-top: 0;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(242, 175, 194, 0.6);
  box-shadow: 0 16px 40px rgba(227, 128, 152, 0.16);
  padding: 36px 32px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.calendar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--rose-accent), var(--pink-soft), var(--peach), var(--rose-accent));
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--pink-soft);
}

.calendar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rose-accent);
  background: rgba(248, 213, 223, 0.6);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.calendar-month {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.1rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
}

.calendar-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose-accent);
  background: var(--bg-color-top);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--pink-soft);
}

.legend-dot.bday-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose-accent);
  box-shadow: 0 0 6px rgba(227, 128, 152, 0.6);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  text-align: center;
}

.weekday {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.weekday.weekend {
  color: var(--rose-accent);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-cell {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 14px;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  padding: 4px 2px;
}

.day-cell:hover:not(.day-faded):not(.day-birthday) {
  background: var(--pink-soft);
  color: var(--rose-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 128, 152, 0.18);
}

.day-cell.weekend:not(.day-birthday):not(.day-faded) {
  color: var(--rose-accent);
}

.day-cell.day-faded {
  color: #d8c2ca;
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.day-cell.day-today {
  background: rgba(251, 224, 203, 0.45);
  border: 1.5px dashed #e7b98a;
}

.day-tag-sub {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  color: #b07c4b;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* 13 SEPTEMBER 2026: SPECIAL MARKED BIRTHDAY CELL */
.day-cell.day-birthday {
  background: linear-gradient(135deg, #e38098 0%, #ea8ea5 50%, #f2afc2 100%) !important;
  color: #ffffff !important;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(227, 128, 152, 0.52), 0 0 0 3px #ffffff, 0 0 0 5px var(--rose-accent);
  transform: scale(1.06);
  z-index: 3;
  animation: birthdayCellPulse 2.4s infinite ease-in-out;
}

@keyframes birthdayCellPulse {
  0%, 100% {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(227, 128, 152, 0.52), 0 0 0 3px #ffffff, 0 0 0 5px var(--rose-accent);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(227, 128, 152, 0.65), 0 0 0 3px #ffffff, 0 0 0 6px var(--rose-accent), 0 0 16px rgba(231, 185, 138, 0.7);
  }
}

.day-cell.day-birthday .day-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.birthday-marker-crown {
  line-height: 1;
  margin-bottom: 1px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.birthday-badge-pill {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--rose-accent);
  background: #ffffff;
  padding: 2px 7px;
  border-radius: 999px;
  margin-top: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.02em;
}

/* Calendar Toast & Footer */
.calendar-toast {
  margin-top: 18px;
  padding: 10px 16px;
  background: rgba(248, 213, 223, 0.45);
  border-radius: 12px;
  border: 1px solid var(--pink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.calendar-toast.celebrate {
  background: var(--pink-soft);
  border-color: var(--rose-accent);
  color: var(--rose-accent);
  animation: toastGlow 0.4s ease-out;
}

@keyframes toastGlow {
  0% { transform: scale(0.98); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.calendar-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--pink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}

.calendar-footer-icon {
  width: 32px;
  height: 32px;
  background: rgba(248, 213, 223, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calendar-footer-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
}

@media (max-width: 600px) {
  .calendar-card {
    padding: 24px 16px;
    border-radius: 20px;
  }
  .calendar-days {
    gap: 4px;
  }
  .day-cell {
    min-height: 44px;
    font-size: 0.92rem;
    border-radius: 10px;
  }
  .day-cell.day-birthday {
    transform: scale(1.04);
  }
  .birthday-badge-pill {
    font-size: 0.52rem;
    padding: 1px 5px;
  }
}

/* ==========================================================================
   GATEKEEPER LOCK & UNLOCK SYSTEM (Countdown & 13 September Gate)
   ========================================================================== */
.gate-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.gate-section > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.lock-gate-box {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-unlock-gate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 38px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  max-width: 90%;
}

.unlock-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.unlock-btn-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.unlock-btn-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.unlock-btn-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
}

.btn-unlock-gate.locked {
  background: linear-gradient(135deg, #ffffff 0%, #fff0f3 100%);
  color: var(--text-main);
  border: 2px solid var(--rose-accent);
  box-shadow: 0 8px 24px rgba(227, 128, 152, 0.22);
}

.btn-unlock-gate.locked .unlock-btn-icon {
  background: rgba(227, 128, 152, 0.15);
  color: var(--rose-accent);
}

.btn-unlock-gate.locked:hover {
  background: #ffeef2;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227, 128, 152, 0.35);
}

.btn-unlock-gate.unlocked {
  background: linear-gradient(135deg, #e38098 0%, #d44d73 100%);
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 30px rgba(212, 77, 115, 0.52);
  animation: unlockGlowPulse 2.2s infinite ease-in-out;
}

.btn-unlock-gate.unlocked .unlock-btn-icon {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  animation: giftIconBounce 1.8s infinite ease-in-out;
}

@keyframes giftIconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px) scale(1.1); }
}

.btn-unlock-gate.unlocked:hover {
  background: linear-gradient(135deg, #ea8ea5 0%, #c83d63 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 36px rgba(212, 77, 115, 0.68);
}

@keyframes unlockGlowPulse {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(212, 77, 115, 0.5), 0 0 0 4px rgba(248, 213, 223, 0.6);
  }
  50% {
    box-shadow: 0 14px 34px rgba(212, 77, 115, 0.65), 0 0 0 8px rgba(231, 185, 138, 0.5);
  }
}

.btn-unlock-gate.shake-anim {
  animation: gateShake 0.45s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes gateShake {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.lock-hint {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.lock-hint.alert-shake {
  color: #c83d63;
  font-weight: 700;
  animation: gateShake 0.4s ease-out;
}

/* ==========================================================================
   CELEBRATION CONTENT WRAPPER
   ========================================================================== */
.celebration-content.celebration-hidden {
  display: none !important;
}

.celebration-content.celebration-visible {
  display: block !important;
  animation: revealCelebrationAnim 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes revealCelebrationAnim {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   SECTION COMMON STYLES & SCROLL TRIGGER
   ========================================================================== */
.section-heading {
  text-align: center;
  margin-bottom: 38px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rose-accent);
  background: rgba(248, 213, 223, 0.6);
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.scroll-trigger {
  opacity: 0;
  transform: translateY(32px) scale(0.985);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-trigger.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   EXTENSIVE PHOTO GALLERY (10 AESTHETIC POLAROID ITEMS)
/* ==========================================================================
   PHOTO ROADMAP TIMELINE JOURNEY (10 MILESTONE CHECKPOINTS)
   ========================================================================== */
.gallery-section.roadmap-section {
  position: relative;
  z-index: 2;
  padding: 60px 0 90px;
}

.roadmap-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 30px 0 50px;
}

/* Continuous Center Spine */
.roadmap-spine {
  position: absolute;
  top: 10px;
  bottom: 20px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--rose-accent) 0%, var(--pink-medium) 40%, var(--gold-warm) 80%, var(--rose-accent) 100%);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(227, 128, 152, 0.45);
  z-index: 1;
}

/* Roadmap Item (Row) */
.roadmap-item {
  position: relative;
  width: 100%;
  display: flex;
  margin-bottom: 56px;
  z-index: 2;
}

/* Odd Items: Left Side */
.roadmap-item.roadmap-left {
  justify-content: flex-start;
}

.roadmap-item.roadmap-left .roadmap-card-content {
  width: calc(50% - 44px);
  margin-right: auto;
}

/* Even Items: Right Side */
.roadmap-item.roadmap-right {
  justify-content: flex-end;
}

.roadmap-item.roadmap-right .roadmap-card-content {
  width: calc(50% - 44px);
  margin-left: auto;
}

/* Video Milestone Items: Perfectly Centered on Roadmap Spine */
.roadmap-item.roadmap-center {
  justify-content: center;
  margin-bottom: 72px;
  padding-top: 26px;
}

.roadmap-item.roadmap-center .roadmap-card-content {
  width: min(560px, 92%);
  margin: 0 auto;
}

.roadmap-item.roadmap-center .roadmap-marker {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  box-shadow: 0 6px 22px rgba(227, 128, 152, 0.45);
  z-index: 6;
}

.roadmap-item.roadmap-center:hover .roadmap-marker {
  transform: translateX(-50%) scale(1.15);
}

.roadmap-item.roadmap-center .milestone-badge-row {
  justify-content: center;
}

.roadmap-item.roadmap-center .polaroid-meta {
  text-align: center;
}

.roadmap-item.roadmap-center .card-controls {
  justify-content: center;
  gap: 12px;
}

/* Central Marker Node on Spine */
.roadmap-marker {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--rose-accent);
  box-shadow: 0 4px 18px rgba(227, 128, 152, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.roadmap-item:hover .roadmap-marker {
  transform: translateX(-50%) scale(1.15);
  box-shadow: 0 8px 24px rgba(227, 128, 152, 0.55);
}

.marker-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--rose-accent);
  line-height: 1;
}

/* Milestone Pinnacle 10 (Gold Special Node) */
.roadmap-marker.marker-gold {
  border-color: var(--gold-warm);
  background: linear-gradient(135deg, #fffdf8 0%, #ffeed2 100%);
  box-shadow: 0 6px 22px rgba(231, 185, 138, 0.6);
  animation: goldNodePulse 2.5s infinite ease-in-out;
}

.marker-crown-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c98845;
  margin-bottom: -2px;
}

.roadmap-marker.marker-gold .marker-num {
  color: #b3732d;
  font-size: 0.8rem;
}

@keyframes goldNodePulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(231, 185, 138, 0.5), 0 0 0 0 rgba(231, 185, 138, 0.4);
  }
  50% {
    box-shadow: 0 8px 26px rgba(231, 185, 138, 0.75), 0 0 0 8px rgba(231, 185, 138, 0);
  }
}

/* Card Content & Badge */
.roadmap-card-content {
  position: relative;
}

.milestone-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.milestone-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose-accent);
  background: rgba(248, 213, 223, 0.75);
  border: 1px solid rgba(227, 128, 152, 0.35);
  padding: 4px 14px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(227, 128, 152, 0.12);
}

.media-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.photo-badge {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(242, 175, 194, 0.6);
}

.video-badge {
  color: #c93b66;
  background: linear-gradient(135deg, #fff0f4 0%, #ffd6e2 100%);
  border: 1px solid rgba(227, 128, 152, 0.7);
  box-shadow: 0 2px 8px rgba(227, 128, 152, 0.25);
  animation: videoBadgeGlow 2.8s infinite ease-in-out;
}

.video-badge-gold {
  color: #9c601c;
  background: linear-gradient(135deg, #fffdf8 0%, #ffeed2 100%);
  border: 1px solid rgba(231, 185, 138, 0.8);
  box-shadow: 0 2px 8px rgba(231, 185, 138, 0.35);
}

@keyframes videoBadgeGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(227, 128, 152, 0.25);
  }
  50% {
    box-shadow: 0 4px 14px rgba(227, 128, 152, 0.55);
  }
}

.milestone-badge.badge-pinnacle {
  color: #a06422;
  background: rgba(251, 224, 203, 0.85);
  border-color: rgba(231, 185, 138, 0.6);
  box-shadow: 0 3px 12px rgba(231, 185, 138, 0.3);
}

.pinnacle-polaroid {
  border: 1.5px solid rgba(231, 185, 138, 0.75) !important;
  box-shadow: 0 12px 34px rgba(231, 185, 138, 0.28) !important;
}

.washi-tape.washi-gold {
  background: rgba(251, 224, 203, 0.95);
  border-left-color: rgba(231, 185, 138, 0.6);
  border-right-color: rgba(231, 185, 138, 0.6);
}

.polaroid-wrapper {
  background: #ffffff;
  padding: 12px 12px 20px;
  border-radius: 14px;
  border: 1px solid rgba(242, 175, 194, 0.6);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.polaroid-wrapper.tilt-1 {
  transform: rotate(-1.5deg);
}

.polaroid-wrapper.tilt-2 {
  transform: rotate(1.8deg);
}

.polaroid-wrapper:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(227, 128, 152, 0.26);
}

/* Washi Tape on Polaroid */
.washi-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 20px;
  background: rgba(248, 213, 223, 0.75);
  backdrop-filter: blur(4px);
  border-left: 2px dashed rgba(227, 128, 152, 0.35);
  border-right: 2px dashed rgba(227, 128, 152, 0.35);
  z-index: 5;
}

.washi-tape.tape-peach {
  background: rgba(251, 224, 203, 0.8);
}

/* Photo Frame inside Polaroid - AUTHENTIC SQUARE (PERSEGI 1:1) RATIO */
.polaroid-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--pink-soft);
  box-shadow: inset 0 0 0 1px rgba(227, 128, 152, 0.15);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.polaroid-frame:hover {
  opacity: 0.95;
}

.polaroid-frame img,
.polaroid-frame video {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 12px;
  display: block;
}

.frame-illustration {
  transition: transform 0.3s ease;
}

.polaroid-wrapper:hover .frame-illustration {
  transform: scale(1.12);
}

.frame-tag {
  position: absolute;
  bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Gradients */
.grad-pink-1 { background: linear-gradient(135deg, #ffeef2 0%, var(--pink-soft) 100%); }
.grad-peach { background: linear-gradient(135deg, #fff3e6 0%, var(--peach) 100%); }
.grad-rose { background: linear-gradient(135deg, #fde4ec 0%, var(--pink-medium) 100%); }
.grad-cream { background: linear-gradient(135deg, #fff8ee 0%, #fae6cf) 100%; }
.grad-soft { background: linear-gradient(135deg, #fef0f5 0%, #fad4df) 100%; }

.polaroid-meta {
  margin-top: 14px;
  text-align: left;
}

.polaroid-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.polaroid-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--pink-soft);
}

.btn-like {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--pink-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-like:hover, .btn-like.liked {
  background: var(--pink-soft);
  color: var(--rose-accent);
  border-color: var(--rose-accent);
}

/* Video Card Overlays */
.video-frame-trigger {
  cursor: pointer;
  position: relative;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(91, 58, 69, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0.95;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 4;
}

.video-frame-trigger:hover .video-play-overlay {
  background: rgba(91, 58, 69, 0.25);
  opacity: 1;
}

.play-btn-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e38098 0%, #d44d73 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(212, 77, 115, 0.5);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.play-btn-icon svg {
  margin-left: 2px;
}

.video-frame-trigger:hover .play-btn-icon {
  transform: scale(1.15);
}

.play-btn-pulse {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: playPulseAnim 2s infinite ease-out;
}

@keyframes playPulseAnim {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.3); opacity: 0; }
}

.play-btn-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.28);
  padding: 3px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.btn-play-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e38098 0%, #d44d73 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(227, 128, 152, 0.35);
  transition: all 0.25s ease;
}

.btn-play-video:hover {
  background: linear-gradient(135deg, #ea8ea5 0%, #c83d63 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 77, 115, 0.5);
}

/* ==========================================================================
   VIDEO POPUP MODAL STYLING
   ========================================================================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.3s ease;
}

.video-modal.hidden {
  display: none !important;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 20, 30, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.video-modal-dialog {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: 24px;
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--pink-soft);
  animation: modalPopUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPopUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  background: linear-gradient(135deg, #fff8fa 0%, #fff0f4 100%);
  border-bottom: 1.5px solid var(--pink-soft);
}

.video-modal-title-group {
  flex: 1;
  text-align: center;
  padding-left: 36px;
}

.video-modal-tag {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--rose-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-modal-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
}

.video-modal-close {
  background: rgba(248, 213, 223, 0.6);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.video-modal-close:hover {
  background: var(--rose-accent);
  color: #ffffff;
  transform: rotate(90deg);
}

.video-player-container {
  position: relative;
  background: #1f1418;
  width: 100%;
  max-height: 65vh;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-canvas-player {
  width: 100%;
  max-height: 65vh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.native-video-player {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: #000;
}

.video-player-badge {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.video-modal-footer {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: #ffffff;
}

.video-modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 520px;
}

.custom-video-action {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-select-custom-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rose-accent);
  background: rgba(248, 213, 223, 0.45);
  border: 1.5px dashed var(--rose-accent);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-select-custom-video:hover {
  background: var(--pink-soft);
  transform: translateY(-1px);
}

.polaroid-frame.drag-active {
  outline: 3px dashed var(--rose-accent);
  outline-offset: -4px;
  transform: scale(1.02);
}

.frame-change-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(91, 58, 69, 0.8);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 3;
}

.polaroid-frame:hover .frame-change-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   INTERACTIVE ENVELOPE (SURAT UCAPAN)
   ========================================================================== */
.wishes-section {
  position: relative;
  z-index: 2;
  padding: 60px 0 80px;
}

.interactive-envelope-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.envelope-container {
  position: relative;
  width: 100%;
  max-width: 760px;
  background: var(--white);
  border-radius: 28px;
  border: 1px solid rgba(242, 175, 194, 0.6);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: box-shadow 0.4s ease;
}

.envelope-container:hover {
  box-shadow: 0 22px 50px rgba(227, 128, 152, 0.25);
}

.envelope-letter {
  padding: 48px 40px 36px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.quote-card {
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -24px;
  left: -8px;
  font-family: Georgia, serif;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--pink-soft);
  opacity: 0.55;
  pointer-events: none;
}

.quote-body {
  position: relative;
  z-index: 1;
}

.quote-lead {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rose-accent);
  margin-bottom: 16px;
}

.quote-body p {
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--text-main);
  margin-bottom: 16px;
}

.quote-special-lead {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rose-accent);
  background: linear-gradient(135deg, rgba(248, 213, 223, 0.5), rgba(251, 224, 203, 0.6));
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(227, 128, 152, 0.35);
  margin: 8px 0 16px;
  box-shadow: 0 4px 12px rgba(227, 128, 152, 0.12);
}

.quote-closing {
  margin-top: 22px;
  font-size: 1.1rem !important;
  color: var(--text-main);
  padding-top: 14px;
  border-top: 1px dashed var(--pink-medium);
}

.quote-footer {
  margin-top: 24px;
  text-align: right;
}

.sender-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-color-bottom);
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--pink-soft);
}

.envelope-seal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(180deg, rgba(254, 240, 243, 0.5) 0%, rgba(248, 213, 223, 0.9) 100%);
  border: none;
  border-top: 1px dashed var(--pink-medium);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rose-accent);
  cursor: pointer;
  transition: all 0.25s ease;
}

.envelope-seal:hover {
  background: var(--pink-soft);
  color: var(--text-main);
}

.envelope-container.folded {
  cursor: pointer;
}

.envelope-container.folded .envelope-letter {
  max-height: 115px;
  overflow: hidden;
  filter: blur(2.5px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}

.envelope-container.folded .envelope-seal {
  background: var(--rose-accent);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(227, 128, 152, 0.35);
}

.envelope-container.folded .envelope-seal:hover {
  background: var(--rose-accent-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   RANDOM WISH CARD SECTION
   ========================================================================== */
.fun-section {
  position: relative;
  z-index: 2;
  padding: 60px 0 90px;
}

.interactive-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(253, 240, 243, 0.95));
  border-radius: 28px;
  border: 2px dashed var(--pink-medium);
  padding: 42px 28px;
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease;
}

.interactive-box:hover {
  border-color: var(--rose-accent);
}

.interactive-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rose-accent);
  background: var(--white);
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(227, 128, 152, 0.12);
}

.interactive-header h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.interactive-header p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.wish-reveal-box {
  background: var(--white);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 auto 24px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(227, 128, 152, 0.1);
  border: 1.5px solid var(--pink-soft);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wish-reveal-box.highlight {
  transform: scale(1.03);
  border-color: var(--rose-accent);
  box-shadow: 0 8px 24px rgba(227, 128, 152, 0.25);
}

#random-wish-text {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.6;
}

.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--white);
  color: var(--rose-accent);
  border: 2px solid var(--rose-accent);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.btn-primary-outline:hover {
  background: var(--rose-accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227, 128, 152, 0.3);
}

/* ==========================================================================
   FOOTER (SEAMLESS & ELEGANT)
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 36px 20px 75px;
  border-top: none;
  background: transparent;
}

.footer-symbol {
  font-size: 1.6rem;
  color: var(--rose-accent);
  margin-bottom: 6px;
}

.footer-heart {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-heart strong {
  color: var(--rose-accent);
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hidden {
  display: none !important;
}


/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVENESS (< 600px)
   ========================================================================== */
@media (max-width: 600px) {
  .container {
    padding: 0 12px;
  }

  /* Section 1: Gate & Countdown */
  .gate-section,
  .milestone-clock-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    box-sizing: border-box;
  }

  .gate-section > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .clock-card {
    padding: 22px 12px 18px;
    border-radius: 20px;
    width: 100%;
    margin: 0 auto;
  }

  .clock-header {
    margin-bottom: 16px;
  }

  .clock-badge {
    font-size: 0.74rem;
    padding: 3px 12px;
  }

  .clock-title {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .clock-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    flex-wrap: nowrap;
    margin-bottom: 14px;
  }

  .clock-box {
    min-width: 0;
    flex: 1;
    max-width: 66px;
    padding: 8px 2px;
    border-radius: 12px;
  }

  .clock-num {
    font-size: 1.5rem;
  }

  .clock-unit {
    font-size: 0.6rem;
    letter-spacing: 0.02em;
    margin-top: 2px;
  }

  .clock-separator {
    font-size: 1.15rem;
  }

  .clock-footnote {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .lock-gate-box {
    margin-top: 16px;
    width: 100%;
  }

  .btn-unlock-gate {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    gap: 10px;
  }

  .unlock-btn-icon {
    width: 34px;
    height: 34px;
  }

  .unlock-btn-icon svg {
    width: 18px;
    height: 18px;
  }

  .unlock-btn-title {
    font-size: 0.98rem;
  }

  .unlock-btn-sub {
    font-size: 0.72rem;
  }

  .lock-hint {
    font-size: 0.8rem;
    padding: 0 4px;
  }

  /* Section 2: Hero & Cake */
  .hero-section {
    padding: 36px 12px 28px;
    min-height: auto;
  }

  .eyebrow {
    font-size: 0.78rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .age-badge {
    padding: 6px 16px;
    gap: 10px;
  }

  .age-number {
    font-size: 1.6rem;
  }

  .age-main-text {
    font-size: 0.78rem;
  }

  .age-sub-text {
    font-size: 0.68rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 4px;
  }

  .cake-stage {
    margin: 16px 0;
  }

  .cake-container {
    max-width: 260px;
    margin: 0 auto;
  }

  .cake-svg {
    width: 100%;
    height: auto;
    max-width: 260px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .action-buttons button {
    width: 100%;
    max-width: 270px;
    padding: 11px 18px;
    font-size: 0.92rem;
    justify-content: center;
  }

  .wish-banner {
    padding: 14px 12px;
    margin-top: 16px;
  }

  .wish-tagline {
    font-size: 1.1rem;
  }

  .wish-text {
    font-size: 0.85rem;
  }

  .scroll-down-indicator {
    margin-top: 20px;
    font-size: 0.8rem;
  }

  /* Section 3: Calendar */
  .calendar-section {
    padding: 20px 0 25px;
  }

  .calendar-card {
    padding: 18px 10px;
    border-radius: 18px;
  }

  .calendar-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .calendar-month {
    font-size: 1.38rem;
  }

  .calendar-subtitle {
    font-size: 0.8rem;
  }

  .calendar-weekdays {
    gap: 2px;
    margin-bottom: 4px;
  }

  .weekday {
    font-size: 0.68rem;
    padding: 2px 0;
  }

  .calendar-days {
    gap: 3px;
  }

  .day-cell {
    min-height: 38px;
    font-size: 0.82rem;
    border-radius: 8px;
    padding: 2px 1px;
  }

  .day-cell.day-birthday {
    transform: none !important;
  }

  .day-cell.day-birthday .day-num {
    font-size: 1rem;
  }

  .birthday-marker-crown svg {
    width: 10px;
    height: 10px;
  }

  .birthday-badge-pill {
    font-size: 0.44rem;
    padding: 1px 4px;
    margin-top: 1px;
  }

  .day-tag-sub {
    font-size: 0.5rem;
  }

  .calendar-toast {
    font-size: 0.76rem;
    padding: 8px 10px;
    gap: 6px;
  }

  .calendar-footer {
    font-size: 0.8rem;
    gap: 8px;
  }

  .calendar-footer-icon {
    width: 24px;
    height: 24px;
  }

  .calendar-footer-text {
    font-size: 0.82rem;
  }

  /* Section 4: Photo Roadmap */
  .gallery-section.roadmap-section {
    padding: 28px 0 35px;
  }

  .roadmap-timeline {
    padding: 10px 0 25px;
  }

  .roadmap-spine {
    left: 18px;
    transform: none;
    width: 3px;
    top: 6px;
    bottom: 10px;
  }

  .roadmap-item {
    margin-bottom: 30px;
  }

  .roadmap-item.roadmap-left,
  .roadmap-item.roadmap-right,
  .roadmap-item.roadmap-center {
    justify-content: flex-start;
    padding-top: 0;
  }

  .roadmap-item.roadmap-left .roadmap-card-content,
  .roadmap-item.roadmap-right .roadmap-card-content,
  .roadmap-item.roadmap-center .roadmap-card-content {
    width: calc(100% - 44px);
    margin-left: 44px;
    margin-right: 0;
  }

  .roadmap-item.roadmap-center .milestone-badge-row {
    justify-content: center;
  }

  .roadmap-item.roadmap-center .polaroid-meta {
    text-align: center;
  }

  .roadmap-item.roadmap-center .card-controls {
    justify-content: center;
    gap: 8px;
  }

  .roadmap-item.roadmap-center .roadmap-marker,
  .roadmap-marker {
    left: 18px;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    top: 12px;
    border-width: 2.5px;
  }

  .roadmap-item:hover .roadmap-marker {
    transform: translateX(-50%) scale(1.06);
  }

  .marker-num {
    font-size: 0.78rem;
  }

  .roadmap-marker.marker-gold .marker-num {
    font-size: 0.68rem;
  }

  .marker-crown-icon svg {
    width: 11px;
    height: 11px;
  }

  .milestone-badge {
    font-size: 0.72rem;
    padding: 3px 10px;
  }

  .polaroid-wrapper.tilt-1,
  .polaroid-wrapper.tilt-2 {
    transform: none !important;
  }

  .polaroid-wrapper {
    padding: 10px 10px 14px;
  }

  .polaroid-frame {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .polaroid-title {
    font-size: 0.98rem;
  }

  .polaroid-desc {
    font-size: 0.8rem;
  }

  .btn-play-video {
    padding: 5px 12px;
    font-size: 0.76rem;
  }

  .play-btn-icon {
    width: 44px;
    height: 44px;
  }

  .play-btn-pulse {
    width: 58px;
    height: 58px;
  }

  .play-btn-label {
    font-size: 0.72rem;
    padding: 2px 10px;
  }

  .video-modal-dialog {
    border-radius: 20px;
    max-width: 95%;
    max-height: 90vh;
  }

  .video-modal-close {
    width: 40px;
    height: 40px;
  }

  .video-modal-header {
    padding: 12px 16px 10px;
  }

  .video-modal-title {
    font-size: 1.05rem;
  }

  .video-modal-footer {
    padding: 12px 16px 16px;
  }

  /* Section 5: Wishes Envelope */
  .wishes-section {
    padding: 25px 0 30px;
  }

  .envelope-container {
    border-radius: 20px;
  }

  .envelope-letter {
    padding: 24px 16px 20px;
  }

  .quote-body p {
    font-size: 0.94rem;
    line-height: 1.68;
    margin-bottom: 12px;
  }

  .quote-lead {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }

  .quote-special-lead {
    font-size: 0.98rem;
    padding: 6px 16px;
    margin: 6px 0 14px;
  }

  .envelope-seal {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.92rem;
  }

  /* Section 6: Fun Doa */
  .fun-section {
    padding: 22px 0 45px;
  }

  .interactive-box {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .interactive-box h3 {
    font-size: 1.25rem;
  }

  .wish-reveal-box {
    padding: 16px 14px;
    font-size: 0.92rem;
    min-height: 80px;
  }

  .btn-primary-outline {
    width: 100%;
    max-width: 280px;
    padding: 10px 18px;
    font-size: 0.9rem;
    justify-content: center;
  }

  /* Footer */
  .site-footer {
    padding: 28px 14px 40px;
  }

  .footer-symbol svg {
    width: 18px;
    height: 18px;
  }

  .footer-heart {
    font-size: 0.85rem;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .flame,
  .balloon,
  .floating-vector,
  .sparkle,
  .cake-container {
    animation: none !important;
  }

  .balloon {
    display: none !important;
  }

  .polaroid-wrapper.tilt-1,
  .polaroid-wrapper.tilt-2 {
    transform: none !important;
  }

  .reveal-el,
  .scroll-trigger {
    opacity: 1 !important;
    transform: none !important;
  }
}
