/* ==========================================================================
   FOR BHAVANA ❤️ - ROMANTIC PROPOSAL & COMIC STORY STYLESHEET
   Light Pink & Dreamy Romantic Aesthetics with Animated Comic Style Story
   ========================================================================== */

:root {
  --bg-gradient-start: #fff0f5; /* Lavender blush */
  --bg-gradient-mid: #ffe4e9;   /* Misty rose */
  --bg-gradient-end: #ffd1dc;   /* Pastel pink */
  
  --primary-pink: #ff4d79;
  --primary-pink-dark: #e61c58;
  --soft-pink: #ff85a1;
  --light-pink: #fbb1bd;
  --blush: #fde2e4;
  --rose-gold: #b76e79;
  --gold-accent: #f5af19;
  --deep-wine: #4a1525;
  --comic-dark: #2c0e17;
  --comic-yellow: #fff275;
  --text-dark: #4a202c;
  --text-muted: #855363;
  --card-bg: rgba(255, 255, 255, 0.76);
  --card-border: rgba(255, 182, 193, 0.6);
  --card-shadow: 0 15px 35px rgba(230, 28, 88, 0.12);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-comic-head: 'Bangers', cursive;
  --font-comic-body: 'Comic Neue', cursive, sans-serif;
  --font-handwriting: 'Great Vibes', cursive;
  --font-caption: 'Caveat', cursive;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Hide scrollbars for all elements across browsers */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-gradient-end) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Background Animated Canvas */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

.bokeh-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.35) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(255, 105, 180, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(255, 240, 245, 0.4) 0%, transparent 60%);
  filter: blur(40px);
}

/* Audio Control Top Right */
.audio-control-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.glass-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 182, 193, 0.85);
  padding: 10px 18px;
  border-radius: 50px;
  color: var(--deep-wine);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 77, 121, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.glass-pill-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 77, 121, 0.25);
  border-color: var(--primary-pink);
  background: rgba(255, 255, 255, 0.98);
}

.music-waves {
  display: none;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.audio-playing .music-waves {
  display: inline-flex;
}

.music-waves span {
  width: 3px;
  background: var(--primary-pink);
  border-radius: 2px;
  animation: waveAnim 1s ease-in-out infinite;
}

.music-waves span:nth-child(2) { animation-delay: 0.2s; }
.music-waves span:nth-child(3) { animation-delay: 0.4s; }
.music-waves span:nth-child(4) { animation-delay: 0.6s; }

@keyframes waveAnim {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

/* Main Container Wrapper */
.main-wrapper {
  position: relative;
  z-index: 10;
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 20px 80px 20px;
}

/* HERO SECTION */
.hero-section {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 15px 40px 15px;
}

.romantic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 105, 180, 0.35);
  color: var(--primary-pink-dark);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(255, 77, 121, 0.1);
  animation: floatSubtle 4s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--deep-wine);
  margin-bottom: 18px;
  line-height: 1.2;
}

.highlight-name {
  font-family: var(--font-handwriting);
  font-size: 1.25em;
  color: var(--primary-pink);
  text-shadow: 0 2px 15px rgba(255, 77, 121, 0.35);
  display: inline-block;
  transform: rotate(-2deg);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  font-style: italic;
  max-width: 680px;
  margin: 0 auto 35px auto;
  line-height: 1.7;
}

/* Hero Pulsing Heart */
.pulsing-heart-hero {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  cursor: pointer;
}

.heart-shape {
  position: relative;
  width: 50px;
  height: 50px;
  background: var(--primary-pink);
  transform: rotate(-45deg);
  animation: heartbeatAnim 1.4s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(255, 77, 121, 0.5);
}

.heart-shape::before,
.heart-shape::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--primary-pink);
  border-radius: 50%;
}

.heart-shape::before { top: -25px; left: 0; }
.heart-shape::after { top: 0; left: 25px; }

.heart-pulse-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--soft-pink);
  opacity: 0;
  animation: pulseRingAnim 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.ring-delay { animation-delay: 1s; }

@keyframes heartbeatAnim {
  0% { transform: rotate(-45deg) scale(0.95); }
  14% { transform: rotate(-45deg) scale(1.15); }
  28% { transform: rotate(-45deg) scale(0.98); }
  42% { transform: rotate(-45deg) scale(1.18); }
  70% { transform: rotate(-45deg) scale(0.95); }
  100% { transform: rotate(-45deg) scale(0.95); }
}

@keyframes pulseRingAnim {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.days-counter-chip {
  position: absolute;
  bottom: -32px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-pink-dark);
  box-shadow: 0 4px 15px rgba(255, 77, 121, 0.15);
  border: 1px solid rgba(255, 182, 193, 0.5);
  white-space: nowrap;
}

.counter-num {
  font-size: 1.1rem;
  color: var(--primary-pink);
  font-weight: 700;
}

.scroll-down-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.scroll-down-btn:hover {
  color: var(--primary-pink);
  transform: translateY(3px);
}

.chevron-down {
  animation: bounceDown 1.8s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

/* SECTION CARDS & COMMONS */
.section-card {
  margin-bottom: 75px;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-pill {
  display: inline-block;
  background: rgba(255, 182, 193, 0.28);
  color: var(--primary-pink-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--deep-wine);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.divider-hearts {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--primary-pink);
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.35s ease;
}

.glass-card:hover {
  box-shadow: 0 20px 40px rgba(255, 77, 121, 0.18);
  border-color: rgba(255, 133, 161, 0.7);
}

/* ==========================================================================
   ANIMATED POP-ART COMIC BOOK STORY SECTION
   ========================================================================== */

.comic-story-section {
  position: relative;
}

.comic-badge-pill {
  display: inline-block;
  background: #ff2a6d;
  color: #fff;
  font-family: var(--font-comic-head);
  font-size: 1rem;
  letter-spacing: 2px;
  padding: 5px 18px;
  border-radius: 8px;
  border: 2px solid var(--comic-dark);
  box-shadow: 3px 3px 0px var(--comic-dark);
  margin-bottom: 12px;
  transform: rotate(-2deg);
}

.comic-font-title {
  font-family: var(--font-comic-head) !important;
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  letter-spacing: 2px;
  color: var(--comic-dark);
  text-shadow: 2px 2px 0px #fff, 4px 4px 0px var(--primary-pink);
}

.comic-strip-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  perspective: 1000px;
}

/* Individual Comic Panels */
.comic-panel {
  position: relative;
  background: #fff;
  border: 3.5px solid var(--comic-dark);
  border-radius: 20px;
  padding: 26px 22px 20px 22px;
  box-shadow: 7px 7px 0px var(--primary-pink), 13px 13px 0px rgba(44, 14, 23, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

/* Panel subtle tilt */
.panel-1 { transform: rotate(-1deg); }
.panel-2 { transform: rotate(1deg); }
.panel-3 { transform: rotate(1.2deg); }
.panel-4 { transform: rotate(-1.2deg); }

.comic-panel:hover,
.comic-panel:focus {
  transform: rotate(0deg) scale(1.03) translateY(-6px);
  box-shadow: 10px 10px 0px var(--primary-pink-dark), 18px 18px 0px rgba(44, 14, 23, 0.25);
  z-index: 10;
  outline: none;
}

/* Halftone Texture Overlay */
.comic-halftone {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 105, 180, 0.12) 15%, transparent 16%);
  background-size: 10px 10px;
  pointer-events: none;
  z-index: 1;
}

/* Speed Lines Background (intensifies on hover) */
.comic-speedlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 182, 193, 0.08) 0deg 8deg, transparent 8deg 16deg);
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.comic-panel:hover .comic-speedlines {
  opacity: 0.85;
  transform: scale(1.05);
}

.finale-lines {
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 215, 0, 0.15) 0deg 10deg, transparent 10deg 20deg) !important;
}

/* Comic Chapter Header Tag */
.comic-chapter-tag {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  background: var(--comic-dark);
  color: #fff;
  font-family: var(--font-comic-head);
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.finale-tag {
  background: linear-gradient(90deg, #ff2a6d, #f5af19) !important;
}

/* Comic Starburst / Onomatopoeia Sticker */
.comic-starburst {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: var(--comic-yellow);
  color: var(--comic-dark);
  font-family: var(--font-comic-head);
  font-size: 1.15rem;
  padding: 6px 12px;
  border: 2px solid var(--comic-dark);
  box-shadow: 3px 3px 0px var(--comic-dark);
  border-radius: 6px;
  transform: rotate(12deg);
  animation: comicBob 2.5s ease-in-out infinite;
}

.boom {
  background: #ff4d79;
  color: #fff;
  transform: rotate(-10deg);
  animation-delay: 0.4s;
}

.wow {
  background: #64dfdf;
  color: #0b2545;
  transform: rotate(8deg);
  animation-delay: 0.8s;
}

.yes-burst {
  background: #ffd700;
  color: #5a1226;
  font-size: 1.3rem;
  transform: rotate(14deg);
  animation: ringBounce 1.8s infinite;
}

@keyframes comicBob {
  0%, 100% { transform: translateY(0) rotate(10deg); }
  50% { transform: translateY(-5px) rotate(6deg); }
}

/* Illustration Central Area */
.comic-illustration {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 0 16px 0;
}

.comic-character-icon {
  font-size: 3rem;
  filter: drop-shadow(2px 4px 0px rgba(255, 77, 121, 0.4));
  transition: transform 0.3s ease;
}

.big-icon {
  font-size: 3.4rem;
}

.comic-panel:hover .comic-character-icon {
  transform: scale(1.15) rotate(3deg);
}

.comic-sound-fx {
  font-family: var(--font-comic-head);
  font-size: 1.25rem;
  color: var(--primary-pink);
  letter-spacing: 1px;
  margin-top: 4px;
  text-shadow: 1px 1px 0px #fff;
}

.doki {
  color: #e61c58;
  animation: dokiPulse 1.2s infinite;
}

@keyframes dokiPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); color: #ff1a53; }
}

/* Speech Bubbles */
.speech-bubble {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 2px solid var(--comic-dark);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-family: var(--font-comic-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--comic-dark);
  box-shadow: 3px 3px 0px rgba(44, 14, 23, 0.1);
}

.speech-bubble strong {
  color: var(--primary-pink-dark);
}

/* Bubble pointers */
.him-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 24px;
  width: 0;
  height: 0;
  border-width: 9px 8px 0;
  border-style: solid;
  border-color: var(--comic-dark) transparent;
  display: block;
}

.her-bubble {
  background: #fff0f5;
  border-color: #ff2a6d;
}

.her-bubble::after {
  content: "";
  position: absolute;
  bottom: -9px;
  right: 24px;
  width: 0;
  height: 0;
  border-width: 9px 8px 0;
  border-style: solid;
  border-color: #ff2a6d transparent;
  display: block;
}

/* Thought Bubble */
.thought-bubble {
  position: relative;
  z-index: 2;
  background: #fdf0f7;
  border: 2px dashed #ff4d79;
  border-radius: 20px;
  padding: 8px 14px;
  margin-bottom: 12px;
  font-family: var(--font-comic-body);
  font-size: 0.95rem;
  color: var(--deep-wine);
}

.thought-bubble::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 30px;
  width: 8px;
  height: 8px;
  background: #fdf0f7;
  border: 1.5px solid #ff4d79;
  border-radius: 50%;
}

.thought-bubble::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 24px;
  width: 5px;
  height: 5px;
  background: #fdf0f7;
  border: 1.5px solid #ff4d79;
  border-radius: 50%;
}

.proposal-bubble {
  background: #fffbf0;
  border: 2.5px solid #e61c58;
}

/* Narration Banner at Bottom */
.comic-narration-box {
  position: relative;
  z-index: 2;
  margin-top: auto;
  background: var(--comic-yellow);
  border: 2px solid var(--comic-dark);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--font-comic-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--comic-dark);
  box-shadow: 2px 2px 0px var(--comic-dark);
  line-height: 1.4;
}

.comic-narration-box span {
  color: var(--primary-pink-dark);
  font-family: var(--font-comic-head);
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  margin-right: 4px;
}

.finale-narration {
  background: #ffe6ef !important;
}

.highlight-finale {
  background: linear-gradient(135deg, #ffffff 0%, #fff0f5 100%);
  border-color: #ff1a53;
}

.comic-interactive-tip {
  text-align: center;
  margin-top: 18px;
  font-family: var(--font-comic-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-pink-dark);
}

/* ==========================================================================
   MEMORIES & VIDEOS
   ========================================================================== */

.video-memories-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.video-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.video-frame {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  aspect-ratio: 9/16;
  max-height: 520px;
  margin: 0 auto;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 77, 121, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-caption {
  font-family: var(--font-caption);
  font-size: 1.3rem;
  color: var(--deep-wine);
  text-align: center;
  padding: 16px 10px 6px 10px;
}

.quote-symbol {
  color: var(--primary-pink);
  font-size: 1.4em;
  font-weight: bold;
}

/* POLAROID GALLERY */
.polaroid-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 15px 5px 35px 5px;
}

.polaroid-item {
  width: 240px;
  transform: rotate(var(--rotation, 0deg));
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.polaroid-item:hover {
  transform: rotate(0deg) scale(1.08) translateY(-8px);
  z-index: 20;
}

.polaroid-inner {
  background: #ffffff;
  padding: 14px 14px 20px 14px;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(74, 32, 44, 0.15), 0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 192, 203, 0.4);
}

.polaroid-inner img {
  width: 100%;
  aspect-ratio: 9/15;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 12px;
}

.polaroid-caption {
  font-family: var(--font-caption);
  font-size: 1.15rem;
  text-align: center;
  color: var(--deep-wine);
  font-weight: 600;
}

.add-memory-bar {
  text-align: center;
  margin-top: 15px;
}

.add-photo-btn {
  margin-bottom: 8px;
}

.upload-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* REASONS SECTION */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.reason-card {
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reason-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light-pink);
  line-height: 1;
}

.reason-content h4 {
  font-size: 1.05rem;
  color: var(--deep-wine);
  margin-bottom: 6px;
}

.reason-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* THE PROPOSAL CLIMAX ARENA */
.proposal-climax-section {
  position: relative;
  margin-top: 40px;
  margin-bottom: 50px;
  padding: 20px 0;
}

.proposal-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 77, 121, 0.28) 0%, rgba(255, 182, 193, 0.12) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.proposal-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 55px 30px;
  max-width: 820px;
  margin: 0 auto;
  border: 2px solid rgba(255, 105, 180, 0.4);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 25px 60px rgba(255, 77, 121, 0.25);
}

.proposal-ring-sparkle {
  font-size: 3.5rem;
  margin-bottom: 12px;
  animation: floatRing 3s ease-in-out infinite;
  display: inline-block;
}

@keyframes floatRing {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

.proposal-pretitle {
  font-family: var(--font-handwriting);
  font-size: 2rem;
  color: var(--primary-pink);
  margin-bottom: 10px;
}

.proposal-question {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--deep-wine);
  margin-bottom: 20px;
  line-height: 1.25;
}

.proposal-promise {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 620px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
}

/* Evasive Message Quip */
.evasive-message {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-comic-body);
  color: var(--primary-pink-dark);
  margin-bottom: 15px;
  transition: opacity 0.3s ease;
}

/* Arena of Proposal Buttons */
.proposal-action-arena {
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 15px auto;
  width: 100%;
}

.proposal-btn {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  -webkit-user-select: none;
}

/* YES BUTTON */
.yes-btn {
  position: relative;
  padding: 18px 40px;
  background: linear-gradient(135deg, #ff4d79 0%, #ff1a53 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 26, 83, 0.45), 0 0 0 0 rgba(255, 77, 121, 0.6);
  animation: yesPulse 2s infinite;
  overflow: hidden;
  z-index: 10;
}

@keyframes yesPulse {
  0% {
    box-shadow: 0 10px 30px rgba(255, 26, 83, 0.45), 0 0 0 0 rgba(255, 77, 121, 0.6);
  }
  70% {
    box-shadow: 0 15px 40px rgba(255, 26, 83, 0.6), 0 0 0 18px rgba(255, 77, 121, 0);
  }
  100% {
    box-shadow: 0 10px 30px rgba(255, 26, 83, 0.45), 0 0 0 0 rgba(255, 77, 121, 0);
  }
}

.yes-btn:hover {
  transform: scale(1.08) translateY(-3px);
  background: linear-gradient(135deg, #ff3366 0%, #e60039 100%);
}

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

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

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

.btn-ring {
  font-size: 1.3rem;
  animation: ringBounce 1.5s infinite;
}

@keyframes ringBounce {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(15deg) scale(1.2); }
}

/* NO BUTTON (EVASIVE) */
.no-btn {
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-muted);
  border: 1.5px solid rgba(255, 182, 193, 0.8);
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2), left 0.22s ease, top 0.22s ease;
  z-index: 5;
  touch-action: none;
}

.no-btn.moving {
  position: fixed !important;
  z-index: 999;
}

.arena-footnote {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 18px;
}

/* CELEBRATION MODAL */
.celebration-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.celebration-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 10, 22, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  z-index: 1001;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 40px 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(255, 77, 121, 0.6);
  border-radius: 32px;
  box-shadow: 0 25px 70px rgba(255, 26, 83, 0.35);
  animation: modalPopIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(255, 182, 193, 0.25);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--deep-wine);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--primary-pink);
  color: white;
}

/* Sparkling Diamond Ring Box Animation */
.celebration-ring-box {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-rays {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
  animation: raysSpin 8s linear infinite;
}

@keyframes raysSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.diamond-ring-animated {
  font-size: 3.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: ringSparkleGlow 2s ease-in-out infinite;
}

.ring-jewel {
  font-size: 2.8rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.8));
}

.ring-band {
  font-size: 2.2rem;
  margin-top: -18px;
  color: #f5af19;
}

@keyframes ringSparkleGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 77, 121, 0.6)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.9)); }
}

.celebration-badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff4d79, #f5af19);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(255, 77, 121, 0.3);
}

.celebration-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  color: var(--primary-pink);
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(255, 77, 121, 0.2);
}

.celebration-love-letter {
  font-size: 0.98rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 25px;
}

.celebration-certificate {
  background: #fffbfd;
  padding: 16px;
  border-radius: 16px;
  box-shadow: inset 0 0 15px rgba(255, 182, 193, 0.2);
  margin-bottom: 25px;
}

.cert-border {
  border: 2px dashed rgba(255, 105, 180, 0.5);
  border-radius: 12px;
  padding: 20px 15px;
}

.cert-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-wine);
  margin-bottom: 6px;
}

.cert-names {
  font-family: var(--font-handwriting);
  font-size: 1.7rem;
  color: var(--primary-pink);
  margin-bottom: 8px;
}

.cert-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cert-seal {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b76e79;
  letter-spacing: 1.5px;
}

.celebration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.celebrate-share-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600;
}

.celebrate-share-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

/* FOOTER */
.romantic-footer {
  text-align: center;
  padding: 40px 15px 30px 15px;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 10;
}

/* ANIMATIONS & RESPONSIVE DESIGN */
@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 820px) {
  .comic-strip-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .panel-1, .panel-2, .panel-3, .panel-4 {
    transform: rotate(0deg);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 75vh;
    padding-top: 50px;
  }
  
  .proposal-card {
    padding: 35px 18px;
  }
  
  .proposal-action-arena {
    min-height: 120px;
    gap: 16px;
  }
  
  .yes-btn {
    padding: 15px 28px;
    font-size: 1.05rem;
  }
  
  .no-btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }
  
  .video-frame {
    max-height: 420px;
  }
  
  .audio-control-wrap {
    top: 12px;
    right: 12px;
  }
  
  .glass-pill-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .modal-content {
    padding: 28px 18px;
  }
}

@media (max-width: 480px) {
  .polaroid-item {
    width: 100%;
    max-width: 280px;
  }
  
  .proposal-question {
    font-size: 1.7rem;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .highlight-name {
    font-size: 1.15em;
  }
  
  .comic-starburst {
    font-size: 0.95rem;
    padding: 4px 8px;
  }
}
