/* ========================================
   SYNU BIRTHDAY WEBSITE - MAIN STYLES
   Deep Red + Rose + Luxury Cinematic
   ======================================== */

:root {
  --crimson: #8B0000;
  --rose: #C2185B;
  --soft-rose: #E91E63;
  --blush: #F48FB1;
  --light-blush: #FCE4EC;
  --gold: #D4AF37;
  --gold-light: #F5E6A3;
  --dark: #0A0A0A;
  --dark2: #111111;
  --dark3: #1a0a0a;
  --dark4: #180808;
  --text-light: #f5e6e6;
  --text-muted: #c4a0a0;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,180,180,0.12);
  --glow-red: rgba(139,0,0,0.4);
  --glow-rose: rgba(194,24,91,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ---- CUSTOM CURSOR ---- */
#custom-cursor {
  position: fixed;
  width: 18px; height: 18px;
  background: radial-gradient(circle, #ff6b9d, #c2185b);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease;
  box-shadow: 0 0 12px rgba(194,24,91,0.8), 0 0 24px rgba(194,24,91,0.4);
  transform: translate(-50%, -50%);
}
#cursor-trail {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(194,24,91,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: all 0.15s ease;
  transform: translate(-50%, -50%);
}

/* ---- PARTICLES ---- */
#particles-container {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  font-size: 14px;
  animation: floatParticle linear infinite;
  opacity: 0.6;
  pointer-events: none;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* ---- PETALS ---- */
#petals-container {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.petal {
  position: absolute;
  top: -20px;
  font-size: 16px;
  animation: petalFall linear infinite;
  opacity: 0.5;
}
@keyframes petalFall {
  0% { transform: translateY(-20px) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: 0.5; }
  100% { transform: translateY(105vh) rotate(360deg) translateX(80px); opacity: 0; }
}

/* ---- PASSWORD PAGE ---- */
.password-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #1a0505 0%, #0a0000 100%);
  display: flex; align-items: center; justify-content: center;
}
#password-screen {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; width: 100%;
}
.password-box {
  background: linear-gradient(135deg, rgba(20,5,5,0.95), rgba(30,10,10,0.9));
  border: 1px solid rgba(194,24,91,0.3);
  border-radius: 24px;
  padding: 60px 50px;
  text-align: center;
  max-width: 440px; width: 90%;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 60px rgba(139,0,0,0.3), 0 0 120px rgba(139,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: fadeInUp 1s ease;
}
.lock-icon { font-size: 48px; margin-bottom: 20px; animation: pulse 2s ease infinite; }
.password-title {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 4px;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(212,175,55,0.4);
}
.password-subtitle {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 36px;
  font-weight: 300;
}
.password-input-wrap {
  display: flex; gap: 10px; flex-direction: column; align-items: center;
}
.password-input-wrap input {
  width: 100%;
  padding: 16px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(194,24,91,0.3);
  border-radius: 50px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  text-align: center;
  letter-spacing: 6px;
  outline: none;
  transition: all 0.3s;
}
.password-input-wrap input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 20px rgba(194,24,91,0.3);
}
.password-input-wrap button {
  width: 100%;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--crimson), var(--rose));
  border: none; border-radius: 50px;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: 3px;
  cursor: none;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(194,24,91,0.4);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.password-input-wrap button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(194,24,91,0.6);
}
.btn-heart { animation: pulse 1s ease infinite; }
.password-error { color: #ff6b6b; font-size: 12px; margin-top: 12px; opacity: 0; transition: opacity 0.3s; }
.password-error.show { opacity: 1; }
.password-hint { color: var(--text-muted); font-size: 11px; margin-top: 20px; letter-spacing: 1px; }

/* ---- LOADING SCREEN ---- */
#loading-screen {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: radial-gradient(ellipse at center, #1a0505 0%, #050000 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  flex-direction: column;
}
.loader-content { text-align: center; z-index: 10; }
.loader-hearts { font-size: 30px; margin-bottom: 30px; display: flex; gap: 15px; justify-content: center; }
.loader-hearts span { animation: pulseHeart 1.2s ease infinite; }
.loader-hearts span:nth-child(2) { animation-delay: 0.2s; }
.loader-hearts span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulseHeart { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }
.loader-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(20px, 4vw, 36px);
  color: var(--text-muted);
  letter-spacing: 8px;
  font-weight: 400;
}
.loader-subname {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 10vw, 90px);
  color: var(--gold);
  font-style: italic;
  text-shadow: 0 0 40px rgba(212,175,55,0.5);
  margin: 10px 0 40px;
}
.loader-bar-wrap {
  width: 280px; height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px; margin: 0 auto 20px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--rose), var(--gold));
  width: 0%; border-radius: 10px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(194,24,91,0.8);
}
.loader-text { color: var(--text-muted); font-size: 12px; letter-spacing: 2px; }

/* ---- NAVIGATION ---- */
nav {
  position: fixed; top: 0; left: 0;
  width: 100%; z-index: 1000;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(5,0,0,0.95) 0%, transparent 100%);
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}
nav.scrolled {
  background: rgba(8,0,0,0.95);
  padding: 14px 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  color: var(--gold);
  font-style: italic;
  text-decoration: none;
  letter-spacing: 2px;
}
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  font-weight: 300;
}
.nav-links a:hover { color: var(--blush); }
.nav-music-btn {
  background: rgba(194,24,91,0.2);
  border: 1px solid rgba(194,24,91,0.4);
  color: var(--blush);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 1px;
  cursor: none;
  transition: all 0.3s;
}
.nav-music-btn:hover { background: rgba(194,24,91,0.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; }
.hamburger span { width: 24px; height: 2px; background: var(--blush); transition: all 0.3s; display: block; }

/* ---- HERO SECTION ---- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(139,0,0,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(194,24,91,0.15) 0%, transparent 60%),
              linear-gradient(180deg, #050000 0%, #0a0000 50%, #050000 100%);
}
.hero-content {
  position: relative; z-index: 5;
  text-align: center;
  padding: 0 20px;
}
.hero-photo-ring {
  position: relative;
  width: clamp(200px, 35vw, 300px);
  height: clamp(200px, 35vw, 300px);
  margin: 0 auto 40px;
}
.hero-photo-ring::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: conic-gradient(var(--crimson), var(--rose), var(--gold), var(--rose), var(--crimson));
  animation: rotateBorder 4s linear infinite;
}
.hero-photo-ring::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--dark);
}
@keyframes rotateBorder { to { transform: rotate(360deg); } }
.hero-photo {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(212,175,55,0.3);
}
.hero-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeInUp 1s ease 0.3s both;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(36px, 7vw, 72px);
  color: var(--gold);
  letter-spacing: 6px;
  text-shadow: 0 0 40px rgba(212,175,55,0.3);
  margin-bottom: 10px;
  animation: fadeInUp 1s ease 0.5s both;
}
.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(50px, 12vw, 120px);
  font-style: italic;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 60px rgba(194,24,91,0.5);
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.7s both;
}
.hero-date {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 4px;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.9s both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, rgba(139,0,0,0.3), rgba(194,24,91,0.3));
  border: 1px solid rgba(194,24,91,0.5);
  border-radius: 50px;
  color: var(--blush);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s;
  animation: fadeInUp 1s ease 1.1s both;
  box-shadow: 0 0 30px rgba(194,24,91,0.2);
}
.hero-cta:hover {
  background: linear-gradient(135deg, rgba(139,0,0,0.6), rgba(194,24,91,0.5));
  box-shadow: 0 0 50px rgba(194,24,91,0.4);
  transform: translateY(-3px);
}
.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span { font-size: 10px; letter-spacing: 3px; color: var(--text-muted); }
.scroll-arrow { width: 1px; height: 50px; background: linear-gradient(180deg, var(--rose), transparent); animation: scrollPulse 2s ease infinite; }
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ---- SECTION STYLES ---- */
section { position: relative; padding: 100px 0; overflow: hidden; }
.section-label {
  font-size: 10px; letter-spacing: 5px;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 5vw, 52px);
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(212,175,55,0.3);
}
.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 3vw, 26px);
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 60px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.text-center { text-align: center; }

/* ---- DIVIDER ---- */
.divider {
  width: 100px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rose), transparent);
  margin: 0 auto 20px;
}
.divider-heart {
  text-align: center; color: var(--rose);
  font-size: 18px; margin: 20px 0;
}

/* ---- STORY SECTION ---- */
.story-section { background: linear-gradient(180deg, var(--dark) 0%, var(--dark3) 50%, var(--dark) 100%); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-photo-collage {
  position: relative;
  height: 500px;
}
.story-photo {
  position: absolute;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.4s ease;
}
.story-photo:hover { transform: scale(1.03) rotate(0deg) !important; z-index: 10; }
.story-photo-1 { width: 65%; height: 65%; top: 0; left: 0; transform: rotate(-3deg); border: 3px solid rgba(212,175,55,0.2); }
.story-photo-2 { width: 55%; height: 55%; bottom: 0; right: 0; transform: rotate(3deg); border: 3px solid rgba(194,24,91,0.3); }
.story-photo-3 { width: 40%; height: 40%; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(1deg); border: 3px solid rgba(255,255,255,0.1); z-index: 5; }
.story-text p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 20px;
}
.story-text p em { color: var(--blush); font-style: italic; }
.story-text p strong { color: var(--gold); font-weight: 400; }
.story-date-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(139,0,0,0.3), rgba(194,24,91,0.2));
  border: 1px solid rgba(194,24,91,0.4);
  border-radius: 50px;
  padding: 10px 24px;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 3px;
  margin: 20px 0;
  box-shadow: 0 0 20px rgba(194,24,91,0.2);
}

/* ---- TIMELINE ---- */
.timeline-section {
  background: linear-gradient(180deg, var(--dark) 0%, #0d0003 50%, var(--dark) 100%);
}
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--rose), var(--gold), var(--rose), transparent);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
  opacity: 0; transform: translateY(30px);
  transition: all 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1;
  background: linear-gradient(135deg, rgba(20,5,5,0.8), rgba(30,10,10,0.6));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.timeline-content:hover {
  border-color: rgba(194,24,91,0.4);
  box-shadow: 0 10px 40px rgba(194,24,91,0.1);
  transform: translateY(-4px);
}
.timeline-dot {
  width: 50px; height: 50px; min-width: 50px;
  background: linear-gradient(135deg, var(--crimson), var(--rose));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(194,24,91,0.5);
  z-index: 5;
}
.timeline-date {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: var(--rose);
  letter-spacing: 3px;
  margin-bottom: 8px;
}
.timeline-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
}
.timeline-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 300;
}

/* ---- GALLERY ---- */
.gallery-section {
  background: linear-gradient(180deg, var(--dark) 0%, #080005 50%, var(--dark) 100%);
}
.gallery-grid {
  columns: 3; gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: none;
  transition: transform 0.3s ease;
  opacity: 0; transform: scale(0.9);
  transition: all 0.5s ease;
}
.gallery-item.visible { opacity: 1; transform: scale(1); }
.gallery-item:hover { transform: scale(1.02) !important; z-index: 10; }
.gallery-item img {
  width: 100%; display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.7));
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-size: 18px; }
.gallery-frame {
  border: 2px solid rgba(212,175,55,0.2);
  border-radius: 12px;
}
/* Polaroid style */
.polaroid {
  background: #fff;
  padding: 12px 12px 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.polaroid:hover { transform: rotate(0deg) scale(1.05); }
.polaroid img { width: 100%; display: block; }
.polaroid-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; font-style: italic;
  color: #333; text-align: center;
  margin-top: 8px;
}

/* ---- LIGHTBOX ---- */
#lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99998;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
#lightbox.active { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 0 60px rgba(194,24,91,0.3);
  animation: fadeIn 0.3s ease;
}
#lightbox-close {
  position: absolute; top: 20px; right: 30px;
  color: #fff; font-size: 40px; cursor: none;
  transition: color 0.3s;
}
#lightbox-close:hover { color: var(--rose); }

/* ---- VIDEO SECTION ---- */
.video-section {
  background: linear-gradient(180deg, var(--dark) 0%, #05000a 50%, var(--dark) 100%);
}
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--dark3);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  cursor: none;
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194,24,91,0.4);
  box-shadow: 0 20px 60px rgba(194,24,91,0.2);
}
.video-card video {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
}
.video-card-label {
  padding: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--blush);
  font-style: italic;
}

/* ---- LETTER SECTION ---- */
.letter-section {
  background: linear-gradient(180deg, var(--dark) 0%, #0a0005 50%, var(--dark) 100%);
}
.letter-wrapper {
  max-width: 760px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(20,5,5,0.9), rgba(15,3,3,0.95));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 20px;
  padding: 60px 70px;
  position: relative;
  box-shadow: 0 0 80px rgba(139,0,0,0.2), inset 0 1px 0 rgba(212,175,55,0.1);
}
.letter-wrapper::before {
  content: '♥';
  position: absolute; top: 20px; left: 50%;
  transform: translateX(-50%);
  font-size: 24px; color: var(--rose);
  opacity: 0.5;
}
.letter-greeting {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-style: italic;
  color: var(--gold);
  margin-bottom: 30px;
}
.letter-body {
  color: var(--text-muted);
  line-height: 2;
  font-size: 15px;
  font-weight: 300;
  white-space: pre-line;
}
.letter-body p { margin-bottom: 20px; }
.letter-body em { color: var(--blush); font-style: italic; }
.letter-body strong { color: var(--gold-light); font-weight: 400; }
.letter-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-style: italic;
  color: var(--rose); margin-top: 40px;
  text-align: right;
}
.letter-infinity {
  font-size: 36px; text-align: center;
  color: var(--gold); margin-top: 20px;
  animation: pulse 2s ease infinite;
}

/* ---- MEMORIES CARDS ---- */
.memories-section {
  background: var(--dark);
}
.memories-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.memory-card {
  background: linear-gradient(135deg, rgba(20,5,5,0.8), rgba(30,10,10,0.6));
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.4s ease;
  cursor: none;
  opacity: 0; transform: translateY(20px);
  position: relative; overflow: hidden;
}
.memory-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(194,24,91,0.05), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.memory-card:hover::before { opacity: 1; }
.memory-card.visible { opacity: 1; transform: translateY(0); }
.memory-card:hover {
  border-color: rgba(194,24,91,0.5);
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 60px rgba(194,24,91,0.15);
}
.memory-emoji { font-size: 40px; margin-bottom: 16px; display: block; }
.memory-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--gold);
  margin-bottom: 12px; font-style: italic;
}
.memory-text { color: var(--text-muted); font-size: 13px; line-height: 1.8; font-weight: 300; }

/* ---- FLIP CARDS ---- */
.flip-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.flip-card {
  height: 200px; perspective: 1000px; cursor: none;
}
.flip-card-inner {
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
  position: relative;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px; padding: 20px; text-align: center;
}
.flip-front {
  background: linear-gradient(135deg, rgba(20,5,5,0.9), rgba(139,0,0,0.2));
  border: 1px solid rgba(194,24,91,0.3);
}
.flip-back {
  background: linear-gradient(135deg, var(--crimson), var(--rose));
  transform: rotateY(180deg);
}
.flip-front span { font-size: 36px; }
.flip-front p { font-family: 'Cinzel', serif; font-size: 12px; color: var(--text-muted); letter-spacing: 2px; }
.flip-back p { color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 16px; font-style: italic; line-height: 1.6; }

/* ---- COUNTDOWN ---- */
.countdown-section {
  background: linear-gradient(135deg, #050000, #0a0005, #050000);
  text-align: center; padding: 120px 0;
}
.countdown-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin: 50px 0; }
.countdown-box {
  background: linear-gradient(135deg, rgba(20,5,5,0.9), rgba(139,0,0,0.2));
  border: 1px solid rgba(194,24,91,0.4);
  border-radius: 16px;
  padding: 30px 40px;
  min-width: 120px;
  box-shadow: 0 0 30px rgba(194,24,91,0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}
.countdown-number {
  font-family: 'Cinzel', serif;
  font-size: clamp(36px, 6vw, 60px);
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
  display: block; line-height: 1;
}
.countdown-label {
  font-size: 10px; letter-spacing: 3px; color: var(--text-muted);
  text-transform: uppercase; margin-top: 10px; display: block;
}
.birthday-msg { display: none; }
.birthday-msg.show { display: block; }
.birthday-msg h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 8vw, 80px);
  color: var(--gold); font-style: italic;
  animation: glow 2s ease infinite;
}
@keyframes glow { 0%,100%{text-shadow:0 0 20px rgba(212,175,55,0.4)} 50%{text-shadow:0 0 60px rgba(212,175,55,0.9), 0 0 100px rgba(212,175,55,0.4)} }

/* ---- WISHES ---- */
.wishes-section {
  background: var(--dark3);
}
.wishes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.wish-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}
.wish-card:hover {
  border-color: rgba(194,24,91,0.4);
  transform: translateY(-4px);
}
.wish-card::before {
  content: '"';
  position: absolute; top: 10px; left: 20px;
  font-size: 60px; color: var(--rose); opacity: 0.2;
  font-family: 'Cormorant Garamond', serif; line-height: 1;
}
.wish-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-style: italic;
  color: var(--text-light); line-height: 1.7;
  margin-bottom: 16px;
}
.wish-from { font-size: 12px; color: var(--rose); letter-spacing: 2px; }

/* ---- EASTER EGG ---- */
.easter-egg-hint {
  position: fixed; bottom: 20px; right: 20px;
  font-size: 11px; color: rgba(255,255,255,0.15);
  letter-spacing: 1px; z-index: 100;
  animation: float 4s ease infinite;
}
.easter-egg-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 99999;
  display: none; align-items: center; justify-content: center;
}
.easter-egg-modal.active { display: flex; animation: fadeIn 0.5s ease; }
.easter-egg-content {
  text-align: center; padding: 40px;
  max-width: 500px;
}
.easter-egg-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; color: var(--gold); font-style: italic;
  margin-bottom: 20px;
}
.easter-egg-content p { color: var(--text-muted); font-size: 16px; line-height: 1.8; }

/* ---- QUIZ SECTION ---- */
.quiz-section { background: var(--dark4); }
.quiz-wrapper {
  max-width: 700px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(20,5,5,0.8), rgba(30,10,10,0.6));
  border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 50px;
}
.quiz-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; color: var(--gold);
  margin-bottom: 30px; font-style: italic;
}
.quiz-options { display: grid; gap: 12px; margin-bottom: 20px; }
.quiz-btn {
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(194,24,91,0.2);
  border-radius: 12px;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-align: left; cursor: none;
  transition: all 0.3s;
}
.quiz-btn:hover { background: rgba(194,24,91,0.15); border-color: rgba(194,24,91,0.5); }
.quiz-btn.correct { background: rgba(0,200,100,0.2); border-color: #00c864; color: #00c864; }
.quiz-btn.wrong { background: rgba(200,0,0,0.2); border-color: #c80000; color: #ff6b6b; }
.quiz-score {
  font-family: 'Cinzel', serif;
  font-size: 20px; color: var(--gold);
  text-align: center; margin-top: 20px;
}
#quiz-progress { color: var(--text-muted); font-size: 12px; letter-spacing: 2px; margin-bottom: 20px; }

/* ---- PROMISES ---- */
.promises-section {
  background: linear-gradient(135deg, #050000, #08000d);
  text-align: center;
}
.promises-list { max-width: 700px; margin: 0 auto; }
.promise-item {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 24px 28px;
  margin-bottom: 16px;
  text-align: left;
  transition: all 0.3s;
  opacity: 0; transform: translateX(-20px);
}
.promise-item.visible { opacity: 1; transform: translateX(0); }
.promise-item:hover { border-color: rgba(212,175,55,0.3); transform: translateX(8px) !important; }
.promise-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.promise-text { color: var(--text-muted); font-size: 15px; line-height: 1.7; font-weight: 300; }
.promise-text strong { color: var(--blush); font-weight: 400; }

/* ---- FINAL PAGE ---- */
.final-section {
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #1a0005 0%, #050000 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 20px;
  position: relative; overflow: hidden;
}
.final-content { position: relative; z-index: 5; }
.final-photo-wrap {
  width: 180px; height: 180px;
  border-radius: 50%; margin: 0 auto 40px;
  position: relative;
  animation: floatPhoto 4s ease infinite;
}
@keyframes floatPhoto { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }
.final-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 50%;
  border: 3px solid rgba(212,175,55,0.4);
  box-shadow: 0 0 40px rgba(194,24,91,0.4), 0 0 80px rgba(139,0,0,0.2);
}
.final-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 5vw, 48px);
  color: var(--gold);
  letter-spacing: 5px;
  margin-bottom: 20px;
  animation: glow 3s ease infinite;
}
.final-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 7vw, 72px);
  font-style: italic;
  color: #fff;
  margin-bottom: 30px;
  text-shadow: 0 0 40px rgba(194,24,91,0.5);
}
.final-message {
  max-width: 600px; margin: 0 auto 40px;
  color: var(--text-muted); font-size: 16px;
  line-height: 2; font-weight: 300;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.final-infinity {
  font-size: 60px; color: var(--gold);
  animation: spin 8s linear infinite;
  display: inline-block;
}
@keyframes spin { 0%{transform:rotate(0deg) scale(1)} 50%{transform:rotate(180deg) scale(1.2)} 100%{transform:rotate(360deg) scale(1)} }
.firework-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 18px 48px;
  background: linear-gradient(135deg, var(--crimson), var(--rose));
  border: none; border-radius: 50px;
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 14px; letter-spacing: 3px;
  cursor: none; transition: all 0.3s;
  box-shadow: 0 4px 30px rgba(194,24,91,0.4);
}
.firework-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 50px rgba(194,24,91,0.7); }

/* ---- FIREWORKS CANVAS ---- */
#fireworks-canvas {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9997;
  display: none;
}

/* ---- SONG LYRICS SECTION ---- */
.lyrics-section {
  background: var(--dark3);
  text-align: center; padding: 100px 0;
}
.lyrics-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 3vw, 28px);
  font-style: italic;
  color: var(--text-muted);
  line-height: 2.2;
  max-width: 700px; margin: 0 auto;
}
.lyrics-text .highlight {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(212,175,55,0.3);
}
.lyrics-text .rose { color: var(--blush); }

/* ---- MUSIC PLAYER ---- */
#music-player {
  position: fixed; bottom: 20px; left: 20px;
  z-index: 1001;
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, rgba(10,0,0,0.95), rgba(20,5,5,0.95));
  border: 1px solid rgba(194,24,91,0.3);
  border-radius: 50px;
  padding: 12px 20px;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
  transition: all 0.3s;
}
#music-player:hover { border-color: rgba(194,24,91,0.6); }
.music-icon { font-size: 20px; animation: spin 4s linear infinite; }
.music-info { display: flex; flex-direction: column; }
.music-title { font-size: 11px; color: var(--blush); letter-spacing: 1px; font-weight: 300; }
.music-artist { font-size: 10px; color: var(--text-muted); }
.music-toggle {
  background: var(--rose); border: none; border-radius: 50%;
  width: 32px; height: 32px;
  cursor: none; color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; flex-shrink: 0;
}
.music-toggle:hover { background: var(--crimson); transform: scale(1.1); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--crimson), var(--rose)); border-radius: 10px; }

/* ---- TYPEWRITER ---- */
.typewriter { overflow: hidden; border-right: 2px solid var(--rose); white-space: nowrap; animation: typing 3s steps(40,end), blink 0.75s step-end infinite; }
@keyframes typing { from{width:0} to{width:100%} }
@keyframes blink { 0%,100%{border-color:transparent} 50%{border-color:var(--rose)} }

/* ---- QR CODE SECTION ---- */
.qr-section {
  background: var(--dark4); text-align: center; padding: 80px 0;
}
.qr-wrapper {
  display: inline-block;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(194,24,91,0.3);
  margin: 30px auto;
}
#qr-canvas { display: block; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(5,0,0,0.98); align-items: center; justify-content: center; z-index: 9998; gap: 30px; }
  .nav-links a { font-size: 16px; }
  .hamburger { display: flex; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo-collage { height: 300px; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column !important; padding-left: 60px; }
  .timeline-dot { position: absolute; left: 0; }
  .gallery-grid { columns: 2; }
  .letter-wrapper { padding: 40px 24px; }
  .password-box { padding: 40px 24px; }
  .music-info { display: none; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 1; }
  .countdown-grid { gap: 12px; }
  .countdown-box { padding: 20px 24px; min-width: 80px; }
}
