/* =============================================
   ROMANTIC PROPOSAL WEBSITE — style.css
   Palette: Blush Pink · Lavender · Cream · Gold · White
   ============================================= */

/* ---- CSS Variables ---- */
:root {
  --blush:       #f7c5d0;
  --blush-deep:  #e8a0b8;
  --lavender:    #d4b8e0;
  --lavender-deep: #b89acc;
  --cream:       #fdf6ee;
  --cream-warm:  #f9ede0;
  --gold:        #c9a84c;
  --gold-light:  #e8d08a;
  --gold-pale:   #f5eccc;
  --white:       #ffffff;
  --text-dark:   #4a3540;
  --text-mid:    #7a5a6a;
  --text-light:  #a08090;
  --glass-bg:    rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.75);
  --shadow-soft: 0 8px 40px rgba(180,120,150,0.18);
  --shadow-glow: 0 0 40px rgba(230,160,190,0.35);
  --font-display: 'Great Vibes', cursive;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---- Custom Cursor ---- */
.cursor-glow {
  position: fixed;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,197,208,0.7) 0%, rgba(212,184,224,0.3) 60%, transparent 100%);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s ease, width 0.2s, height 0.2s;
  mix-blend-mode: multiply;
}

/* ---- Music Button ---- */
.music-btn {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 1000;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-mid);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}
.music-btn:hover { background: rgba(255,255,255,0.8); color: var(--text-dark); box-shadow: var(--shadow-glow); }
.music-icon { font-size: 1rem; animation: musicPulse 2s ease-in-out infinite; }
@keyframes musicPulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
.music-btn.playing .music-icon { color: var(--blush-deep); }

/* ---- Floating Petals ---- */
.petals-container {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -30px;
  font-size: 1.1rem;
  opacity: 0;
  animation: petalFall linear infinite;
  pointer-events: none;
  user-select: none;
}
@keyframes petalFall {
  0%   { opacity: 0; transform: translateY(-20px) rotate(0deg) scale(0.6); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(110vh) rotate(360deg) translateX(60px) scale(1); }
}

/* ---- Section Common ---- */
section { position: relative; overflow: hidden; }

.section-header {
  text-align: center;
  padding: 80px 20px 50px;
}
.section-pre {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.1;
}
.section-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 20px;
}
.section-divider span:not(.diamond) {
  display: block; width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.section-divider.light span:not(.diamond) {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}
.diamond { color: var(--gold); font-size: 0.55rem; }
.section-header.light .section-pre { color: rgba(255,255,255,0.8); }
.section-header.light .section-title { color: white; }
.section-header.light .diamond { color: rgba(255,255,255,0.8); }

/* ---- Scroll Reveal ---- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.scroll-reveal.delay-1 { transition-delay: 0.15s; }
.scroll-reveal.delay-2 { transition-delay: 0.3s; }
.scroll-reveal.delay-3 { transition-delay: 0.45s; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(135deg,
    #fff5f8 0%,
    #fce8f0 20%,
    #f5e8f5 45%,
    #fdf0e0 70%,
    #fff8ee 100%
  );
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(247,197,208,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(212,184,224,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 55% 50%, rgba(249,228,183,0.25) 0%, transparent 70%);
}

.hero-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.hero-hearts {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat ease-in-out infinite;
}
@keyframes particleFloat {
  0%,100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50%      { transform: translateY(-25px) scale(1.1); opacity: 1; }
}

.float-heart {
  position: absolute;
  font-size: 1.2rem;
  pointer-events: none;
  animation: heartFloat ease-in-out infinite;
  opacity: 0.35;
}
@keyframes heartFloat {
  0%,100% { transform: translateY(0) rotate(-10deg); opacity: 0.3; }
  50%      { transform: translateY(-18px) rotate(10deg); opacity: 0.55; }
}

.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  padding: 40px 24px;
  max-width: 780px;
}

.hero-pretext {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  line-height: 1.05;
  color: var(--text-dark);
  font-weight: 400;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(180,100,140,0.15);
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--blush-deep), var(--lavender-deep), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.hero-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 36px;
}
.hero-divider span:not(.diamond) {
  display: block; width: 70px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.scroll-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s, transform 0.3s;
}
.scroll-btn svg {
  width: 20px; height: 20px; stroke: var(--gold); stroke-width: 1.5;
  fill: none;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-btn:hover { color: var(--text-dark); transform: translateY(4px); }
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* reveal animations on hero */
.reveal-up { opacity: 0; transform: translateY(30px); animation: revealUp 0.9s cubic-bezier(0.4,0,0.2,1) forwards; }
.reveal-up.delay-1 { animation-delay: 0.2s; }
.reveal-up.delay-2 { animation-delay: 0.4s; }
.reveal-up.delay-3 { animation-delay: 0.6s; }
.reveal-up.delay-4 { animation-delay: 0.8s; }
@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.timeline-section {
  background: var(--white);
  padding-bottom: 100px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blush), var(--lavender), var(--blush), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}
.timeline-item.left  { flex-direction: row-reverse; }
.timeline-item.right { flex-direction: row; }

.timeline-card {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 30px;
  width: calc(50% - 48px);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.timeline-item.left  .timeline-card { margin-left: 48px; }
.timeline-item.right .timeline-card { margin-right: 48px; }

.tl-icon { font-size: 1.8rem; margin-bottom: 10px; }
.tl-date {
  font-size: 0.68rem; font-weight: 300; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.tl-title {
  font-family: var(--font-serif); font-size: 1.3rem;
  font-weight: 500; color: var(--text-dark); margin-bottom: 10px;
}
.tl-text { font-size: 0.88rem; line-height: 1.8; color: var(--text-mid); font-weight: 300; }

.timeline-dot {
  position: absolute; left: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush-deep), var(--lavender-deep));
  border: 3px solid white;
  box-shadow: 0 0 14px rgba(230,160,190,0.6);
  transform: translateX(-50%);
  z-index: 2;
}

/* ============================================================
   GALLERY SECTION
============================================================ */

.gallery-section{
  background:
    linear-gradient(
      160deg,
      var(--cream) 0%,
      var(--cream-warm) 100%
    );

  padding-bottom:100px;

  position:relative;
  overflow:hidden;
}

/* Background Glow */
.gallery-section::before{
  content:"";

  position:absolute;

  width:500px;
  height:500px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(247,197,208,.22) 0%,
      transparent 70%
    );

  top:-180px;
  left:-120px;

  pointer-events:none;
}

.gallery-section::after{
  content:"";

  position:absolute;

  width:450px;
  height:450px;

  border-radius:50%;

  background:
    radial-gradient(
      circle,
      rgba(212,184,224,.2) 0%,
      transparent 70%
    );

  bottom:-160px;
  right:-120px;

  pointer-events:none;
}

/* Grid */
.gallery-grid{
  display:flex;
  flex-wrap:wrap;

  justify-content:center;

  gap:28px;

  max-width:1100px;

  margin:0 auto;

  padding:0 24px 40px;

  position:relative;
  z-index:2;
}

/* Card */
.polaroid{
  background:
    rgba(255,255,255,.92);

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  padding:12px 12px 40px;

  border-radius:22px;

  box-shadow:
    0 8px 32px rgba(160,100,130,.14),
    0 2px 8px rgba(0,0,0,.05);

  width:190px;

  cursor:pointer;

  transition:
    transform .45s cubic-bezier(.34,1.56,.64,1),
    box-shadow .35s ease;

  transform-origin:center bottom;

  position:relative;

  overflow:hidden;
}

/* Glow Border */
.polaroid::before{
  content:"";

  position:absolute;
  inset:-2px;

  border-radius:24px;

  background:
    linear-gradient(
      135deg,
      rgba(247,197,208,.18),
      rgba(212,184,224,.15),
      rgba(255,228,183,.18)
    );

  z-index:-1;

  filter:blur(12px);

  opacity:0;

  transition:.4s ease;
}

.polaroid:hover::before{
  opacity:1;
}

/* Tilt */
.polaroid:nth-child(odd){
  transform:rotate(-2.5deg);
}

.polaroid:nth-child(even){
  transform:rotate(2deg);
}

/* Hover */
.polaroid:hover{
  transform:
    rotate(0deg)
    translateY(-12px)
    scale(1.06) !important;

  box-shadow:
    0 20px 50px rgba(160,100,130,.24),
    0 8px 20px rgba(0,0,0,.08);

  z-index:10;
}

/* Image */
.polaroid-img{
  width:100%;

  aspect-ratio:1;

  border-radius:16px;

  overflow:hidden;

  position:relative;
}

/* Real Images */
.polaroid-img img{
  width:100%;
  height:100%;

  object-fit:cover;

  display:block;

  transition:
    transform .8s ease,
    filter .5s ease;
}

/* Hover Image */
.polaroid:hover img{
  transform:scale(1.08);
  filter:brightness(1.04);
}

/* Overlay */
.polaroid-img::after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.22),
      transparent 60%
    );

  opacity:0;

  transition:.4s ease;
}

.polaroid:hover .polaroid-img::after{
  opacity:1;
}

/* Caption */
.polaroid-caption{
  text-align:center;

  font-family:var(--font-serif);

  font-size:.82rem;
  font-style:italic;

  color:var(--text-mid);

  margin-top:12px;

  line-height:1.5;
}

/* ============================================================
   LIGHTBOX
============================================================ */

.lightbox{
  position:fixed;
  inset:0;

  background:
    rgba(74,53,64,.82);

  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);

  z-index:9999;

  display:flex;
  align-items:center;
  justify-content:center;

  opacity:0;

  pointer-events:none;

  transition:opacity .35s ease;

  padding:20px;
}

.lightbox.open{
  opacity:1;
  pointer-events:all;
}

/* Close Button */
.lightbox-close{
  position:absolute;

  top:20px;
  right:24px;

  background:
    rgba(255,255,255,.12);

  border:
    1px solid rgba(255,255,255,.3);

  color:white;

  font-size:1rem;

  width:42px;
  height:42px;

  border-radius:50%;

  cursor:pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  transition:.3s ease;
}

.lightbox-close:hover{
  background:
    rgba(255,255,255,.2);

  transform:
    rotate(90deg)
    scale(1.08);
}

/* Lightbox Card */
.lightbox-inner{
  background:
    rgba(255,255,255,.96);

  backdrop-filter:blur(12px);

  padding:16px 16px 56px;

  border-radius:24px;

  max-width:480px;
  width:90%;

  box-shadow:
    0 30px 80px rgba(0,0,0,.28);

  transform:scale(.85);

  transition:
    transform .35s cubic-bezier(.34,1.56,.64,1);
}

.lightbox.open .lightbox-inner{
  transform:scale(1);
}

/* Lightbox Image */
.lb-img{
  width:100%;

  aspect-ratio:1;

  border-radius:18px;

  overflow:hidden;
}

.lb-img img{
  width:100%;
  height:100%;

  object-fit:cover;

  display:block;
}

/* Caption */
.lb-caption{
  text-align:center;

  margin-top:14px;

  font-family:var(--font-serif);

  font-style:italic;

  color:var(--text-mid);

  font-size:.92rem;

  line-height:1.6;
}

/* Mobile */
@media(max-width:768px){

  .gallery-grid{
    gap:20px;
  }

  .polaroid{
    width:160px;
    padding:10px 10px 30px;
  }

  .lightbox-inner{
    width:95%;
    padding:14px 14px 42px;
  }

}

/* ============================================================
   LOVE LETTER SECTION
   ============================================================ */
.letter-section {
  background: var(--white);
  padding-bottom: 100px;
}

.letter-card {
  position: relative;
  max-width: 720px; margin: 0 auto;
  padding: 0 24px;
}

.letter-inner {
  background: linear-gradient(145deg, #fffdf8 0%, #fef6f0 60%, #fdf6fc 100%);
  border: 1px solid rgba(212,184,224,0.4);
  border-radius: 4px;
  padding: 56px 60px 64px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.9) inset,
    0 12px 50px rgba(180,120,150,0.15),
    4px 4px 0 rgba(212,184,224,0.25),
    8px 8px 0 rgba(247,197,208,0.15);
  position: relative;
}

.letter-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--lavender), var(--gold-light), var(--blush));
}

.letter-salutation {
  font-family: var(--font-display);
  font-size: 2rem; color: var(--blush-deep);
  margin-bottom: 24px;
}

.letter-body {
  font-family: var(--font-serif);
  font-size: 1.08rem; line-height: 2;
  color: var(--text-mid); font-weight: 300;
  min-height: 180px;
}

.letter-body .cursor-blink {
  display: inline-block; width: 2px; height: 1.1em;
  background: var(--blush-deep);
  margin-left: 2px; vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.letter-sign {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--text-mid);
  margin-top: 28px; line-height: 1.8;
}

.letter-decoration {
  position: absolute;
  font-size: 3rem; color: var(--blush);
  opacity: 0.3;
  animation: decoSpin 15s linear infinite;
}
.letter-dec-1 { bottom: 20px; right: 30px; animation-direction: reverse; }
.letter-dec-2 { top: 50px; left: 30px; font-size: 2rem; opacity: 0.2; }
@keyframes decoSpin { to { transform: rotate(360deg); } }

/* ============================================================
   COUNTDOWN SECTION
   ============================================================ */
.countdown-section {
  position: relative;
  padding-bottom: 100px;
  background: linear-gradient(160deg,
    #c9a8d8 0%,
    #b89acc 30%,
    #d4a8b8 65%,
    #c8a090 100%
  );
  overflow: hidden;
}

.countdown-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(255,255,255,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(255,220,230,0.15) 0%, transparent 60%);
}

.countdown-cards {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  padding: 0 24px 20px;
}

.cd-card {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 20px;
  padding: 32px 28px;
  min-width: 120px; text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 0.3s ease;
}
.cd-card:hover { transform: translateY(-6px); }

.cd-number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 300; color: white;
  line-height: 1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.cd-number.pop {
  animation: numPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes numPop {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.15); color: #ffe0ed; }
}
.cd-label {
  font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.8); margin-top: 8px;
}

.cd-sep {
  font-family: var(--font-serif);
  font-size: 2.5rem; color: rgba(255,255,255,0.6);
  font-weight: 300; padding-bottom: 20px;
  animation: sepPulse 2s ease-in-out infinite;
}
@keyframes sepPulse { 0%,100%{opacity:0.6} 50%{opacity:1} }

.countdown-caption {
  text-align: center;
  font-family: var(--font-serif); font-style: italic;
  color: rgba(255,255,255,0.85); font-size: 1rem;
  padding: 0 24px;
}
.countdown-caption strong { color: white; font-weight: 500; }

/* ============================================================
   MEMORY CARDS
   ============================================================ */
.memory-section {
  background: var(--cream);
  padding-bottom: 100px;
}

.memory-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px; max-width: 1000px; margin: 0 auto;
  padding: 0 24px 40px;
}

.memory-card {
  width: 220px; height: 240px;
  perspective: 800px;
  cursor: pointer;
}
.mc-front, .mc-back {
  position: absolute; inset: 0;
  border-radius: 20px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 28px 22px;
  backface-visibility: hidden;
  transition: transform 0.65s cubic-bezier(0.4,0,0.2,1);
}
.mc-front {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  background: linear-gradient(145deg, white 0%, color-mix(in srgb, var(--card-hue) 20%, white) 100%);
}
.mc-back {
  background: linear-gradient(145deg,
    color-mix(in srgb, var(--card-hue) 70%, white) 0%,
    color-mix(in srgb, var(--card-hue) 90%, white) 100%
  );
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow-glow);
  transform: rotateY(180deg);
  text-align: center;
}
.memory-card { position: relative; }
.mc-front, .mc-back { position: absolute; }
.memory-card:hover .mc-front { transform: rotateY(-180deg); }
.memory-card:hover .mc-back  { transform: rotateY(0deg); }

.mc-icon { font-size: 2.5rem; margin-bottom: 14px; }
.mc-title {
  font-family: var(--font-serif); font-size: 1.1rem;
  font-weight: 500; color: var(--text-dark); text-align: center;
}
.mc-back p {
  font-family: var(--font-serif); font-size: 0.85rem;
  line-height: 1.75; color: var(--text-dark);
  font-weight: 400;
}

/* ============================================================
   PROPOSAL SECTION
   ============================================================ */
.proposal-section {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(155deg,
    #fce8f0 0%,
    #f5e8f5 35%,
    #fdf0e0 70%,
    #fce8f0 100%
  );
  overflow: hidden;
  padding: 80px 24px;
}

.proposal-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(247,197,208,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.proposal-hearts { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.proposal-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 680px;
}

.proposal-pre {
  font-size: 0.68rem; font-weight: 300;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}

.proposal-question {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  color: var(--text-dark); font-weight: 400;
  line-height: 1.1; margin-bottom: 24px;
}
.proposal-question em {
  background: linear-gradient(135deg, var(--blush-deep), var(--lavender-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proposal-text {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.1rem; line-height: 1.9; color: var(--text-mid);
  margin-bottom: 36px;
}

.proposal-ring {
  font-size: 3.5rem; margin-bottom: 36px;
  animation: ringFloat 3s ease-in-out infinite;
  display: block;
}
@keyframes ringFloat {
  0%,100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-14px) rotate(5deg); }
}

.yes-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 20px 56px;
  background: linear-gradient(135deg, var(--blush-deep) 0%, var(--lavender-deep) 50%, #d4a0b8 100%);
  border: none; border-radius: 60px;
  color: white; cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.25rem; font-style: italic;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 30px rgba(200,130,160,0.5), 0 2px 8px rgba(200,130,160,0.3);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.yes-btn:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 16px 50px rgba(200,130,160,0.6), 0 4px 16px rgba(200,130,160,0.35);
}
.yes-btn:active { transform: scale(0.97); }

.yes-btn-ripple {
  position: absolute; inset: 0; border-radius: 60px;
  background: rgba(255,255,255,0.25);
  transform: scale(0); opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.yes-btn:active .yes-btn-ripple {
  transform: scale(2.5); opacity: 0;
  transition: none;
}

.proposal-response {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 2.5rem; color: var(--blush-deep);
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
}
.proposal-response.show { opacity: 1; transform: scale(1); }

/* ============================================================
   CONFETTI CANVAS
   ============================================================ */
#confettiCanvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  width: 100%; height: 100%;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #4a3540 0%, #3a2840 50%, #4a3530 100%);
  padding: 80px 24px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blush), var(--lavender), var(--gold-light), var(--lavender), var(--blush));
}

.footer-florals {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.floral {
  position: absolute;
  font-size: 3rem; opacity: 0.06; color: var(--blush);
  animation: floralDrift 20s ease-in-out infinite;
}
.fl-1 { top: 10%; left: 5%; animation-delay: 0s; }
.fl-2 { top: 30%; left: 85%; animation-delay: 3s; font-size: 2rem; }
.fl-3 { top: 70%; left: 12%; animation-delay: 6s; font-size: 2.5rem; }
.fl-4 { top: 60%; left: 78%; animation-delay: 9s; }
.fl-5 { top: 85%; left: 45%; animation-delay: 12s; font-size: 2rem; }
@keyframes floralDrift {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(180deg); }
}

.footer-content { position: relative; z-index: 1; }

.footer-names {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 20px;
}
.footer-names span {
  font-family: var(--font-display);
  font-size: 2.4rem; color: var(--blush);
}
.footer-heart { color: var(--gold) !important; font-size: 1.4rem !important; animation: heartbeat 1.8s ease-in-out infinite; }
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  15%      { transform: scale(1.25); }
  30%      { transform: scale(1); }
  45%      { transform: scale(1.15); }
}

.footer-quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.95rem; color: rgba(255,255,255,0.55);
  max-width: 520px; margin: 0 auto 28px;
  line-height: 1.8;
}

.footer-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 28px;
}
.footer-divider span:not(.diamond) {
  display: block; width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,184,224,0.4), transparent);
}
.footer-divider .diamond { color: var(--lavender); }

.footer-icons {
  display: flex; justify-content: center; gap: 16px;
  margin-bottom: 32px;
}
.footer-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(212,184,224,0.3);
  border-radius: 50%;
  color: rgba(212,184,224,0.6);
  transition: all 0.3s ease;
}
.footer-icon:hover {
  border-color: rgba(212,184,224,0.7);
  color: var(--lavender);
  background: rgba(212,184,224,0.1);
  transform: translateY(-3px);
}
.footer-icon svg { width: 18px; height: 18px; }

.footer-copy {
  font-size: 0.72rem; font-weight: 300; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .timeline::before { left: 28px; }
  .timeline-item { flex-direction: column !important; padding-left: 58px; }
  .timeline-card { width: 100% !important; margin: 0 0 0 0 !important; }
  .timeline-dot { left: 28px; top: 28px; position: absolute; }
  .timeline-item.left  .timeline-card { margin-left: 0 !important; }
  .timeline-item.right .timeline-card { margin-right: 0 !important; }

  .letter-inner { padding: 36px 28px 48px; }

  .countdown-cards { gap: 6px; }
  .cd-card { padding: 22px 16px; min-width: 80px; }

  .memory-card { width: 165px; height: 185px; }
  .mc-icon { font-size: 2rem; }
  .mc-title { font-size: 0.95rem; }
  .mc-back p { font-size: 0.78rem; }

  body { cursor: auto; }
  .cursor-glow { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { gap: 16px; }
  .polaroid { width: 150px; }
  .cd-sep { display: none; }
  .countdown-cards { gap: 10px; }
  .footer-names span { font-size: 1.8rem; }
}
