/* ==========================================================================
   BREZIEL MARIE & PARTH GUNDANIYA - ROMANTIC PROPOSAL STYLESHEET
   Curved Romantic Typography • Mobile-First • Live Action Tracker
   ========================================================================== */

:root {
  --primary-rose: #ff2a6d;
  --primary-pink: #ff5e97;
  --soft-rose: #ff9ebb;
  --deep-wine: #220815;
  --deep-midnight: #0b0615;
  --gold-accent: #ffd166;
  --gold-soft: #fbe3aa;
  --champagne: #fff5ea;
  --emerald-whatsapp: #25d366;
  
  --glass-bg: rgba(22, 11, 28, 0.78);
  --glass-border: rgba(255, 182, 193, 0.35);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 42, 109, 0.18);
  
  --font-script: 'Parisienne', cursive;
  --font-accent: 'Alex Brush', cursive;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-rounded: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 9999px;
  
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: var(--font-rounded);
  background-color: #0b0615;
  color: var(--champagne);
  line-height: 1.6;
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ==========================================================================
   BACKGROUNDS & CANVASES
   ========================================================================== */

.background-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(1.02);
  animation: gentleZoom 30s ease-in-out infinite alternate;
  filter: brightness(0.82) saturate(1.2) contrast(1.05);
  pointer-events: none;
}

@keyframes gentleZoom {
  0% { transform: scale(1.02) translateY(0); }
  100% { transform: scale(1.06) translateY(-8px); }
}

.dream-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 30%, rgba(55, 10, 35, 0.42) 0%, rgba(11, 6, 21, 0.84) 85%);
  z-index: 2;
  pointer-events: none;
}

#ambientCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9000;
}

#fireworksCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9050;
}

/* ==========================================================================
   AUDIO & TRACKER CONTROLLERS (TOP RIGHT)
   ========================================================================== */

.audio-control-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(28, 14, 34, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 182, 193, 0.45);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  color: #ffffff;
  font-family: var(--font-rounded);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 42, 109, 0.2);
  transition: var(--transition-smooth);
}

.audio-btn:hover {
  background: rgba(255, 42, 109, 0.3);
  border-color: var(--primary-pink);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 42, 109, 0.4);
}

.audio-btn.playing {
  border-color: var(--gold-accent);
  background: rgba(45, 18, 42, 0.9);
}

.sound-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 14px;
}

.sound-wave span {
  width: 3px;
  height: 4px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-btn.playing .sound-wave span:nth-child(1) { animation: wave 1.2s infinite ease-in-out; }
.audio-btn.playing .sound-wave span:nth-child(2) { animation: wave 1.5s infinite ease-in-out 0.2s; }
.audio-btn.playing .sound-wave span:nth-child(3) { animation: wave 1.1s infinite ease-in-out 0.4s; }
.audio-btn.playing .sound-wave span:nth-child(4) { animation: wave 1.4s infinite ease-in-out 0.1s; }

@keyframes wave {
  0%, 100% { height: 4px; }
  50% { height: 13px; }
}

.tracker-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(28, 14, 34, 0.85);
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 209, 102, 0.4);
  color: var(--gold-accent);
  font-size: 0.9rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tracker-badge-btn:hover {
  transform: scale(1.1);
  border-color: var(--gold-accent);
}

.tracker-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: radarBlink 1.8s infinite;
}

@keyframes radarBlink {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ==========================================================================
   GLASS CONTAINER & PANELS
   ========================================================================== */

.proposal-container {
  width: 100%;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 182, 193, 0.8), rgba(255, 209, 102, 0.9), transparent);
}

/* ==========================================================================
   PHASE 1: PROPOSAL CARD
   ========================================================================== */

.romantic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: cardFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 182, 193, 0.35);
  border-radius: var(--radius-pill);
  font-family: var(--font-rounded);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff0f4;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Pulsing Heart Centerpiece */
.floating-heart-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pulsing-heart {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatHeart 3.5s ease-in-out infinite;
}

.heart-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(255, 42, 109, 0.7));
  animation: heartBeat 1.4s infinite ease-in-out;
}

.ring-pulse {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255, 42, 109, 0.6);
  opacity: 0;
  animation: ringBurst 2.2s infinite ease-out;
}

.ring-pulse.delayed {
  animation-delay: 1.1s;
}

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

@keyframes heartBeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

@keyframes ringBurst {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Typography (Parisienne + Alex Brush + Cormorant Garamond) */
.greeting-subtitle {
  font-family: var(--font-accent);
  font-size: 1.95rem;
  color: var(--soft-rose);
  margin-bottom: -4px;
  text-shadow: 0 0 12px rgba(255, 158, 187, 0.3);
}

.girl-name {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 9.5vw, 4.8rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1.22;
  background: linear-gradient(135deg, #ffffff 10%, #ffd166 60%, #ff85a2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(255, 209, 102, 0.45));
  margin: 4px 0 12px;
}

.divider-sparkle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 8px 0 20px;
  color: var(--gold-accent);
}

.divider-sparkle .line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.6), transparent);
}

.divider-sparkle .sparkle {
  font-size: 0.82rem;
  opacity: 0.8;
  animation: sparkleTwinkle 2s infinite ease-in-out;
}

.divider-sparkle .heart-mini {
  color: var(--primary-pink);
  font-size: 0.95rem;
}

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Message Body */
.love-declaration {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 8.5vw, 4.2rem);
  font-weight: 400;
  color: #ff3366;
  text-shadow: 0 0 30px rgba(255, 51, 102, 0.75), 0 0 55px rgba(255, 51, 102, 0.4);
  line-height: 1.2;
  margin-bottom: 14px;
  animation: glowPulse 2.8s infinite ease-in-out alternate;
}

@keyframes glowPulse {
  0% { text-shadow: 0 0 20px rgba(255, 51, 102, 0.6); }
  100% { text-shadow: 0 0 38px rgba(255, 51, 102, 0.9), 0 0 65px rgba(255, 209, 102, 0.45); }
}

.poetic-text {
  font-family: var(--font-rounded);
  font-size: 1.08rem;
  font-weight: 500;
  color: #f7e6eb;
  max-width: 540px;
  margin: 0 auto 24px;
  line-height: 1.7;
  opacity: 0.95;
}

.question-banner {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 182, 193, 0.28);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  margin-bottom: 30px;
}

.question-lead {
  font-family: var(--font-rounded);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.main-question {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.45rem, 5vw, 2.05rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

/* ==========================================================================
   ACTION BUTTONS & THE RUNAWAY "NO" BUTTON
   ========================================================================== */

.action-zone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 70px;
  width: 100%;
  margin-bottom: 14px;
}

.btn {
  font-family: var(--font-rounded);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  text-decoration: none;
}

/* YES BUTTON */
.btn-yes {
  padding: 16px 32px;
  min-height: 54px;
  background: linear-gradient(135deg, #ff1b56 0%, #ff4b72 50%, #ff758c 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 27, 86, 0.45), 0 0 25px rgba(255, 27, 86, 0.35);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
  overflow: hidden;
  z-index: 5;
}

.btn-yes:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 14px 38px rgba(255, 27, 86, 0.6), 0 0 32px rgba(255, 209, 102, 0.5);
}

.btn-yes:active {
  transform: scale(0.98);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: shineSweep 3.5s infinite;
}

@keyframes shineSweep {
  0% { left: -100%; }
  35%, 100% { left: 200%; }
}

.btn-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-sparkle {
  color: var(--gold-accent);
  animation: sparkleTwinkle 1.5s infinite alternate;
}

/* NO BUTTON (PLAYFUL RUNAWAY DESIGN) */
.btn-no {
  padding: 13px 26px;
  min-height: 50px;
  background: rgba(255, 60, 110, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 140, 175, 0.55);
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 15px rgba(255, 42, 109, 0.2);
  transition: transform 0.25s var(--transition-bounce), 
              background-color 0.25s ease, 
              border-color 0.25s ease, 
              box-shadow 0.25s ease;
  z-index: 20;
  cursor: pointer;
  white-space: nowrap;
}

.btn-no:hover {
  background: rgba(255, 60, 110, 0.26);
  border-color: #ff759f;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 20px rgba(255, 94, 151, 0.4);
  transform: translateY(-2px);
}

.btn-no:active {
  transform: scale(0.96);
}

/* When the No button is in runaway mode (teleporting across screen) */
.btn-no.running-away {
  position: fixed !important;
  z-index: 9999 !important;
  transition: top 0.32s var(--transition-bounce), 
              left 0.32s var(--transition-bounce), 
              transform 0.25s var(--transition-bounce) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 94, 151, 0.6) !important;
  border-color: rgba(255, 120, 170, 0.85) !important;
  background: rgba(35, 14, 28, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  animation: runawayPulse 1.8s infinite ease-in-out alternate;
}

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

/* Playful Hint Tooltip */
.playful-hint {
  min-height: 28px;
  font-family: var(--font-rounded);
  font-size: 0.94rem;
  color: var(--gold-accent);
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition-smooth);
}

.playful-hint.show {
  opacity: 1;
  transform: translateY(0);
}

.card-footer-note {
  margin-top: 22px;
  font-family: var(--font-rounded);
  font-size: 0.84rem;
  letter-spacing: 0.4px;
  color: rgba(255, 240, 245, 0.7);
  cursor: pointer;
  user-select: none;
}

.card-footer-note:hover {
  color: var(--gold-accent);
}

/* ==========================================================================
   PHASE 2: EMOTIONAL FALLBACK MODAL ("I WILL WAIT FOR YOU")
   ========================================================================== */

.time-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 3, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.time-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.time-modal-card {
  max-width: 500px;
  width: 100%;
  background: rgba(30, 12, 35, 0.95);
  border: 1.5px solid rgba(255, 182, 193, 0.45);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 133, 162, 0.25);
  transform: scale(0.92) translateY(18px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 34px 26px;
}

.time-modal-overlay.active .time-modal-card {
  transform: scale(1) translateY(0);
}

.modal-heart-icon {
  font-size: 2.8rem;
  margin-bottom: 10px;
  animation: floatHeart 3s infinite ease-in-out;
}

.modal-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

.modal-quote {
  font-family: var(--font-accent);
  font-size: 1.55rem;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.4;
}

.modal-paragraph {
  font-family: var(--font-rounded);
  font-size: 0.96rem;
  color: #fce7eb;
  margin-bottom: 12px;
  line-height: 1.65;
  opacity: 0.94;
}

.modal-sweet-note {
  font-family: var(--font-rounded);
  font-size: 0.92rem;
  color: var(--soft-rose);
  font-weight: 600;
  margin-bottom: 22px;
}

.modal-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-yes-mini {
  padding: 12px 22px;
  background: linear-gradient(135deg, #ff2a6d, #ff758c);
  color: #ffffff;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(255, 42, 109, 0.4);
}

.btn-yes-mini:hover {
  transform: scale(1.04);
}

/* ==========================================================================
   PHASE 3: CELEBRATION & ENGLISH ROMANTIC VOWS
   ========================================================================== */

.celebration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: celebrationEntrance 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.celebration-card.hidden {
  display: none !important;
}

@keyframes celebrationEntrance {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.celebration-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 209, 102, 0.16);
  border: 1.5px solid var(--gold-accent);
  border-radius: var(--radius-pill);
  font-family: var(--font-rounded);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
  margin-bottom: 12px;
}

.celebration-title {
  font-family: var(--font-script);
  font-size: clamp(3rem, 9.5vw, 4.8rem);
  font-weight: 400;
  background: linear-gradient(135deg, #ffffff 0%, #ffd166 40%, #ff4b72 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(255, 209, 102, 0.5));
  line-height: 1.2;
  margin-bottom: 8px;
}

.celebration-subtitle {
  font-family: var(--font-rounded);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--soft-rose);
  margin-bottom: 26px;
}

/* Romance Dialogue / Poem Box */
.dialogue-showcase {
  width: 100%;
  background: linear-gradient(180deg, rgba(46, 17, 34, 0.88) 0%, rgba(25, 9, 23, 0.95) 100%);
  border: 1.5px solid rgba(255, 209, 102, 0.45);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 25px rgba(255, 209, 102, 0.08), 0 15px 35px rgba(0, 0, 0, 0.5);
  position: relative;
  text-align: left;
}

.dialogue-header-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-rounded);
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 14px;
  font-weight: 700;
}

.dialogue-source {
  font-style: italic;
  color: var(--soft-rose);
  text-transform: none;
}

.english-poem {
  position: relative;
}

.poem-line.highlight {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
  font-weight: 600;
  font-style: italic;
  color: #ffffff;
  line-height: 1.4;
  text-shadow: 0 0 16px rgba(255, 209, 102, 0.35);
  margin-bottom: 12px;
  border-left: 3px solid var(--gold-accent);
  padding-left: 14px;
}

.poem-body {
  font-family: var(--font-rounded);
  font-size: 1.02rem;
  font-weight: 500;
  color: #fff2f5;
  line-height: 1.75;
  opacity: 0.96;
}

/* Promise Box */
.promise-box {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 182, 193, 0.28);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.promise-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--gold-accent);
  margin-bottom: 8px;
}

.promise-text {
  font-family: var(--font-rounded);
  font-size: 1rem;
  font-weight: 500;
  color: #f7e6eb;
  line-height: 1.7;
  margin-bottom: 18px;
}

.signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 182, 193, 0.2);
  padding-top: 14px;
}

.signature-intro {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: #e5e7eb;
}

.signature-name {
  font-family: var(--font-script);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold-accent);
  line-height: 1.3;
  margin: 2px 0;
  text-shadow: 0 0 18px rgba(255, 209, 102, 0.45);
}

.signature-date {
  font-family: var(--font-rounded);
  font-size: 0.82rem;
  color: var(--soft-rose);
  letter-spacing: 0.5px;
}

/* Celebration Action Buttons */
.celebration-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.btn-whatsapp {
  padding: 14px 26px;
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  font-weight: 700;
  width: 100%;
  max-width: 360px;
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-celebrate {
  padding: 14px 26px;
  background: linear-gradient(135deg, #ff1b56, #ff758c);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 27, 86, 0.4);
}

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

.btn-share {
  padding: 14px 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-share:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Copy Toast */
.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(20, 10, 25, 0.95);
  border: 1px solid var(--gold-accent);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-rounded);
  font-size: 0.9rem;
  color: var(--gold-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 3000;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   LIVE ACTION TRACKER MODAL (FOR PARTH)
   ========================================================================== */

.tracker-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 3, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.tracker-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.tracker-modal-card {
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: rgba(28, 12, 34, 0.96);
  border: 1.5px solid var(--gold-accent);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 209, 102, 0.3);
  padding: 26px 22px;
  text-align: left;
  transform: scale(0.92) translateY(18px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tracker-modal-overlay.active .tracker-modal-card {
  transform: scale(1) translateY(0);
}

.tracker-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 209, 102, 0.2);
  padding-bottom: 12px;
}

.tracker-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tracker-title-group h3 {
  font-family: var(--font-rounded);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.tracker-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.tracker-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.tracker-status-text {
  font-family: var(--font-rounded);
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 12px;
}

.tracker-timeline-box {
  flex: 1;
  max-height: 220px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-rounded);
  font-size: 0.88rem;
  color: #f7e6eb;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.timeline-time {
  font-size: 0.76rem;
  color: var(--gold-accent);
  font-weight: 700;
  white-space: nowrap;
}

.timeline-text {
  flex: 1;
}

.timeline-empty {
  font-family: var(--font-rounded);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 20px 0;
}

.tracker-notification-box {
  background: rgba(255, 209, 102, 0.08);
  border: 1px dashed rgba(255, 209, 102, 0.4);
  border-radius: var(--radius-md);
  padding: 14px;
}

.notif-heading {
  font-family: var(--font-rounded);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-accent);
  margin-bottom: 4px;
}

.notif-desc {
  font-family: var(--font-rounded);
  font-size: 0.84rem;
  color: #fce7eb;
  margin-bottom: 8px;
}

.ntfy-channel-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.channel-label {
  font-family: var(--font-rounded);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.channel-link {
  font-family: var(--font-rounded);
  font-size: 0.88rem;
  font-weight: 700;
  color: #00ff88;
  text-decoration: none;
}

.channel-link:hover {
  text-decoration: underline;
}

.notif-subtext {
  font-family: var(--font-rounded);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   MOBILE SCREEN SPECIALIZATIONS
   ========================================================================== */

@media (max-width: 600px) {
  body {
    padding: 14px 10px;
  }
  
  .glass-panel {
    padding: 28px 18px;
    border-radius: 26px;
  }
  
  .card-badge {
    font-size: 0.76rem;
    padding: 6px 14px;
    margin-bottom: 16px;
  }
  
  .floating-heart-wrapper {
    width: 68px;
    height: 68px;
    margin-bottom: 8px;
  }
  
  .pulsing-heart {
    width: 52px;
    height: 52px;
  }
  
  .greeting-subtitle {
    font-size: 1.7rem;
  }
  
  .girl-name {
    font-size: 3.2rem;
    line-height: 1.25;
  }
  
  .love-declaration {
    font-size: 2.8rem;
  }
  
  .poetic-text {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  .question-banner {
    padding: 16px 14px;
    margin-bottom: 24px;
  }
  
  .main-question {
    font-size: 1.4rem;
  }
  
  .action-zone {
    flex-direction: column;
    gap: 14px;
  }
  
  .btn-yes {
    width: 100%;
    max-width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .btn-no {
    width: 140px;
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .card-footer-note {
    font-size: 0.75rem;
    margin-top: 18px;
  }
  
  .audio-control-container {
    top: 12px;
    right: 12px;
  }
  
  .audio-btn {
    padding: 7px 12px;
    font-size: 0.74rem;
  }

  .celebration-title {
    font-size: 3rem;
  }
  
  .celebration-subtitle {
    font-size: 0.98rem;
    margin-bottom: 20px;
  }
  
  .dialogue-showcase {
    padding: 20px 16px;
  }
  
  .poem-body {
    font-size: 0.95rem;
  }
  
  .promise-box {
    padding: 18px 14px;
  }
  
  .promise-text {
    font-size: 0.94rem;
  }
  
  .signature-name {
    font-size: 2.2rem;
  }
  
  .btn-celebrate, .btn-share, .btn-whatsapp {
    width: 100%;
    padding: 14px 18px;
  }
}
