/* ==========================================================================
   SHIYAS & PATHUU — 1ST ANNIVERSARY
   LUXURY ROMANTIC DESIGN SYSTEM & STYLING
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Great+Vibes&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #0a0612;
  --bg-secondary: #140c22;
  --bg-surface: rgba(26, 16, 42, 0.72);
  --bg-surface-elevated: rgba(38, 24, 60, 0.85);
  --bg-surface-glass: rgba(255, 255, 255, 0.05);

  --accent-rose: #ff3366;
  --accent-rose-glow: rgba(255, 51, 102, 0.35);
  --accent-rose-soft: #ff758f;
  --accent-blush: #f3a6b2;
  --accent-gold: #f9d371;
  --accent-gold-glow: rgba(249, 211, 113, 0.3);
  --accent-champagne: #fae1dd;

  --whatsapp-bg: #0b141a;
  --whatsapp-incoming: #202c33;
  --whatsapp-outgoing: #005c4b;
  --whatsapp-bubble-highlight: #701c38;
  --whatsapp-green: #25d366;
  --whatsapp-accent: #53bdeb;

  --text-primary: #ffffff;
  --text-secondary: #dcd0ea;
  --text-muted: #9f92b3;
  --text-gold: #fde8b3;

  --border-light: rgba(255, 182, 193, 0.16);
  --border-gold: rgba(249, 211, 113, 0.28);
  --border-glow: rgba(255, 51, 102, 0.4);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-script: 'Great Vibes', cursive;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 35px rgba(255, 51, 102, 0.35);
  --shadow-gold: 0 0 30px rgba(249, 211, 113, 0.3);

  --nav-height: 70px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at 50% 0%, #1f0d33 0%, var(--bg-primary) 70%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--nav-height) + 20px);
}

/* Locked state prevents scrolling before unlock */
body.locked {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed !important;
  width: 100% !important;
  touch-action: none !important;
  -webkit-overflow-scrolling: none !important;
}

/* Floating Particles Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Ambient Radial Glows in Background */
.bg-glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.orb-1 {
  top: -100px;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-rose), transparent 70%);
}

.orb-2 {
  bottom: 20%;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #7928ca, transparent 70%);
  animation-delay: -5s;
}

.orb-3 {
  top: 50%;
  left: 30%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent-gold), transparent 70%);
  opacity: 0.15;
  animation-delay: -9s;
}

@keyframes orbFloat {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(1.15); }
}

/* Containers & Typography */
.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 55px 0;
  position: relative;
}

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

.section-subtitle {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--accent-blush);
  display: block;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px var(--accent-rose-glow);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.section-title span {
  background: linear-gradient(135deg, #fff 0%, var(--accent-blush) 60%, var(--accent-rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Glass Card Utility */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   1. CINEMATIC OPENING GATE MODAL
   ========================================================================== */
.gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #240c38 0%, #080310 90%);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s ease;
  touch-action: none;
}

.gate-overlay.unlocked {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.08);
}

.gate-card {
  max-width: 380px;
  width: 100%;
  text-align: center;
  padding: 40px 24px;
  background: rgba(30, 15, 48, 0.85);
  border: 1px solid rgba(255, 182, 193, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(255, 51, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.gate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 51, 102, 0.18);
  border: 1px solid rgba(255, 51, 102, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-blush);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.gate-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 20%, #fbd5db 70%, var(--accent-rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gate-script {
  font-family: var(--font-script);
  font-size: 2.3rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: block;
  text-shadow: 0 2px 14px var(--accent-gold-glow);
}

.gate-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.gate-song-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--accent-gold);
  margin-bottom: 24px;
  border: 1px solid var(--border-gold);
}

.gate-btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(255, 65, 108, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

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

.gate-btn .heart-pulse {
  display: inline-block;
  animation: pulseBeat 1.2s infinite ease-in-out;
  font-size: 1.3rem;
}

@keyframes pulseBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.35); }
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 30px;
  padding-bottom: 40px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-gold);
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 10px #25d366;
  animation: pulseBeat 1.5s infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.hero-title .glow-names {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 8px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-blush) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 182, 193, 0.4);
}

.hero-subtitle {
  font-family: var(--font-script);
  font-size: 2.3rem;
  color: var(--accent-blush);
  margin-bottom: 25px;
  text-shadow: 0 2px 12px var(--accent-rose-glow);
}

/* Hero Portrait Frame */
.hero-portrait-wrapper {
  position: relative;
  width: 250px;
  height: 310px;
  margin: 0 auto 30px auto;
}

.hero-portrait-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--accent-rose), #9d4edd, var(--accent-gold));
  filter: blur(16px);
  opacity: 0.65;
  animation: borderRotate 8s linear infinite;
  z-index: 0;
}

@keyframes borderRotate {
  0% { filter: hue-rotate(0deg) blur(16px); }
  100% { filter: hue-rotate(360deg) blur(16px); }
}

.hero-portrait {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-portrait:hover img {
  transform: scale(1.05);
}

.hero-portrait-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 8, 26, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-champagne);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Live Anniversary Ticker */
.ticker-card {
  padding: 24px 20px;
  margin-top: 10px;
  border: 1px solid var(--border-gold);
}

.ticker-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ticker-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
  transition: var(--transition-smooth);
}

.ticker-box:hover {
  background: rgba(255, 51, 102, 0.1);
  border-color: var(--accent-rose);
  transform: translateY(-2px);
}

.ticker-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.ticker-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.ticker-subtext {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 16px;
  font-style: italic;
}

/* ==========================================================================
   3. PROPOSAL SPOTLIGHT: INTERACTIVE WHATSAPP CHAT
   ========================================================================== */
.whatsapp-phone-frame {
  max-width: 390px;
  margin: 0 auto;
  background: var(--whatsapp-bg);
  border-radius: 36px;
  border: 8px solid #222026;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(37, 211, 102, 0.2);
  overflow: hidden;
  position: relative;
}

/* Dynamic Notch */
.phone-notch {
  height: 26px;
  background: #222026;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notch-pill {
  width: 70px;
  height: 12px;
  background: #0d0c0f;
  border-radius: var(--radius-full);
}

/* WhatsApp Header */
.wa-header {
  background: #202c33;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #25d366;
}

.wa-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wa-user-info .wa-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e9edef;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-user-info .wa-status {
  font-size: 0.75rem;
  color: #8696a0;
}

.wa-header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #aebac1;
  font-size: 1.1rem;
}

/* Chat Body */
.wa-chat-body {
  padding: 18px 12px;
  min-height: 420px;
  background-color: #0b141a;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wa-date-chip {
  align-self: center;
  background: #182229;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: #8696a0;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-bottom: 6px;
}

/* Message Bubbles */
.wa-msg {
  max-width: 82%;
  padding: 8px 12px 6px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  line-height: 1.35;
  position: relative;
  word-break: break-word;
  animation: msgPop 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes msgPop {
  0% { opacity: 0; transform: translateY(10px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-msg.incoming {
  align-self: flex-start;
  background: var(--whatsapp-incoming);
  color: #e9edef;
  border-top-left-radius: 0;
}

.wa-msg.outgoing {
  align-self: flex-end;
  background: var(--whatsapp-outgoing);
  color: #e9edef;
  border-top-right-radius: 0;
}

.wa-msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 3px;
}

.wa-check {
  color: var(--whatsapp-accent);
  font-size: 0.75rem;
}

/* Highlighted Proposal Message */
.wa-msg.highlight-proposal {
  background: linear-gradient(135deg, #401026 0%, #681735 100%);
  border: 1px solid rgba(255, 51, 102, 0.5);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
  position: relative;
}

.wa-msg.highlight-proposal .proposal-badge {
  font-size: 0.68rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wa-msg.highlight-proposal .proposal-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.wa-msg-sticker {
  align-self: flex-start;
  max-width: 140px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  margin: 4px 0;
}

.wa-msg-sticker img {
  width: 100%;
  display: block;
}

/* Quoted Reply inside WhatsApp */
.wa-quote {
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid var(--accent-rose);
  border-radius: 4px;
  padding: 4px 8px;
  margin-bottom: 6px;
  font-size: 0.75rem;
}

.wa-quote-author {
  color: var(--accent-blush);
  font-weight: 600;
}

.wa-quote-text {
  color: #8696a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* WhatsApp Typing Bar */
.wa-input-bar {
  background: #202c33;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wa-input-mock {
  flex: 1;
  background: #2a3942;
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: #8696a0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #00a884;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

/* Replay & Original Screenshot Action Buttons */
.proposal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-light);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-rose), #9d4edd);
  border: none;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.4);
  transition: var(--transition-bounce);
}

.btn-primary-glow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 51, 102, 0.6);
}

/* ==========================================================================
   4. INTERACTIVE MEMORY CARD DECK (PHONE-FIRST)
   ========================================================================== */
.deck-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 480px;
  margin: 0 auto 25px auto;
  perspective: 1000px;
  touch-action: pan-y;
}

.story-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  background: #1d132b;
  border: 1px solid rgba(255, 182, 193, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  padding: 14px;
  display: flex;
  flex-direction: column;
  cursor: grab;
  user-select: none;
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.45s ease;
  will-change: transform, opacity;
}

.story-card:active {
  cursor: grabbing;
}

.card-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: rgba(255, 230, 200, 0.45);
  backdrop-filter: blur(4px);
  border-left: 2px dashed rgba(255, 255, 255, 0.4);
  border-right: 2px dashed rgba(255, 255, 255, 0.4);
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card-photo {
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #11091d;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 5, 18, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold);
}

.card-content {
  padding: 12px 6px 4px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.card-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.card-date {
  font-size: 0.75rem;
  color: var(--accent-blush);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

/* Deck Controls */
.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.deck-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(30, 16, 48, 0.75);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.deck-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 51, 102, 0.2);
  border-color: var(--accent-rose);
}

.deck-btn.like-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff3366 0%, #ff5e62 100%);
  border: none;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.45);
}

.deck-btn.like-btn:active {
  transform: scale(0.9);
}

.deck-counter {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   5. ROMANTIC TIMELINE: "OUR FIRST YEAR IN CHAPTERS"
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-rose) 0%, var(--accent-gold) 50%, #9d4edd 100%);
  box-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: -28px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #140c22;
  border: 3px solid var(--accent-rose);
  box-shadow: 0 0 12px var(--accent-rose);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.timeline-content {
  padding: 18px 20px;
}

.timeline-chapter {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--accent-blush);
  font-weight: 500;
  margin-bottom: 10px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.timeline-img-thumb {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.timeline-img-thumb:hover {
  transform: scale(1.02);
}

.timeline-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   6. FULL 36-PHOTO MASONRY GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(135deg, var(--accent-rose), #9d4edd);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.35);
}

.gallery-grid {
  columns: 2 160px;
  column-gap: 12px;
}

@media (min-width: 640px) {
  .gallery-grid {
    columns: 3 180px;
    column-gap: 16px;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-rose-glow);
  border-color: var(--accent-rose);
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  padding: 6px 10px;
  background: rgba(12, 6, 20, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  font-size: 0.72rem;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.9;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 2, 10, 0.96);
  backdrop-filter: blur(20px);
  z-index: 20000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.lightbox-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  z-index: 2;
}

.lightbox-counter {
  font-size: 0.9rem;
  color: var(--accent-blush);
  font-weight: 600;
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  background: var(--accent-rose);
}

.lightbox-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
}

.lightbox-img-wrapper {
  max-width: 90vw;
  max-height: 72vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
  z-index: 3;
}

.lightbox-nav-btn:hover {
  background: var(--accent-rose);
}

.lightbox-nav-btn.prev {
  left: 14px;
}

.lightbox-nav-btn.next {
  right: 14px;
}

.lightbox-footer {
  padding: 14px 20px 20px 20px;
  text-align: center;
  z-index: 2;
}

.lightbox-caption {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
  max-width: 500px;
  margin: 0 auto;
}

.lightbox-tip {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Double-tap Heart Animation on Lightbox */
.heart-burst-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 5rem;
  color: #ff3366;
  text-shadow: 0 0 30px rgba(255, 51, 102, 0.8);
  pointer-events: none;
  opacity: 0;
}

.heart-burst-icon.burst {
  animation: heartPopAnim 0.75s ease-out forwards;
}

@keyframes heartPopAnim {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* ==========================================================================
   7. INTERACTIVE WAX SEAL LOVE LETTER
   ========================================================================== */
.letter-section {
  text-align: center;
}

.envelopes-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 380px;
  margin: 0 auto;
}

.envelope-card-wrapper {
  position: relative;
  text-align: center;
}

.envelope-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.envelope-wrapper {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  cursor: pointer;
  perspective: 1000px;
}

.envelope {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #2b1638 0%, #170b24 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 182, 193, 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.envelope::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-left: 190px solid transparent;
  border-right: 190px solid transparent;
  border-top: 105px solid #3d214f;
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}

.envelope.open::before {
  transform: rotateX(180deg);
  z-index: 1;
}

.wax-seal {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at 35% 35%, #e63946, #9b111e);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fbd5db;
  z-index: 4;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.wax-seal.seal-crimson {
  background: radial-gradient(circle at 35% 35%, #d90429, #720026);
  color: #ffcad4;
}

.wax-seal:hover {
  transform: translateX(-50%) scale(1.08);
}

.envelope.open .wax-seal {
  opacity: 0;
  transform: translateX(-50%) scale(1.4);
  pointer-events: none;
}

.envelope-prompt {
  font-size: 0.85rem;
  color: var(--accent-champagne);
  margin-top: 10px;
  font-weight: 500;
}

/* Letter Nav Tabs inside Modal */
.letter-nav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ebd9c8;
  padding-bottom: 12px;
}

.letter-tab-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #d8c2af;
  background: #fdfaf6;
  color: #6a5a58;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.letter-tab-btn.active {
  background: #b02a37;
  color: #fff;
  border-color: #b02a37;
  box-shadow: 0 3px 10px rgba(176, 42, 55, 0.3);
}

.letter-content-pane {
  display: none;
}

.letter-content-pane.active {
  display: block;
  animation: fadeIn 0.35s ease forwards;
}

.letter-apology-box {
  background: #fff2f2;
  border-left: 3px solid #b02a37;
  padding: 12px 14px;
  margin: 16px 0;
  border-radius: 6px;
  font-size: 0.93rem;
  line-height: 1.65;
  color: #55181f;
  font-style: italic;
}

.letter-comeback-callout {
  background: linear-gradient(135deg, #fff0f3, #ffe4ea);
  border: 1px dashed #b02a37;
  padding: 14px;
  border-radius: 12px;
  margin: 20px 0 14px 0;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #b02a37;
  box-shadow: 0 4px 12px rgba(176, 42, 55, 0.1);
}

/* Unfolded Letter Paper Modal */
.letter-paper-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 3, 15, 0.9);
  backdrop-filter: blur(16px);
  z-index: 25000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.letter-paper-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.letter-sheet {
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  background: linear-gradient(135deg, #fffdfa 0%, #faf3eb 100%);
  color: #2b1f1d;
  border-radius: 20px;
  padding: 36px 26px 30px 26px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(255, 182, 193, 0.3);
  position: relative;
  overflow-y: auto;
  border: 1px solid #ebd9c8;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.letter-paper-modal.active .letter-sheet {
  transform: translateY(0) scale(1);
}

.letter-stamp {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 2px dashed #d9777f;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transform: rotate(8deg);
}

.letter-salutation {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: #b02a37;
  margin-bottom: 12px;
  line-height: 1.1;
}

.letter-paragraph {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #3f3230;
  margin-bottom: 16px;
  font-family: var(--font-sans);
}

.letter-quote-box {
  background: #fdf0ed;
  border-left: 3px solid #b02a37;
  padding: 10px 14px;
  margin: 18px 0;
  border-radius: 4px;
  font-style: italic;
  font-size: 0.92rem;
  color: #6a1b24;
}

.letter-signoff {
  margin-top: 24px;
  text-align: right;
}

.letter-signoff .closing {
  font-size: 0.95rem;
  color: #6a5a58;
}

.letter-signoff .signature {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: #b02a37;
  display: block;
  margin-top: 2px;
}

.letter-close-btn {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border-radius: var(--radius-full);
  background: #b02a37;
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(176, 42, 55, 0.4);
  transition: var(--transition-smooth);
}

.letter-close-btn:hover {
  background: #8e1f2b;
}

/* ==========================================================================
   8. "WHY I LOVE YOU" REASONS GRID
   ========================================================================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 600px) {
  .reasons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.reason-card {
  padding: 18px 14px;
  text-align: center;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.reason-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-rose);
  background: rgba(38, 20, 58, 0.85);
  box-shadow: var(--shadow-glow);
}

.reason-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: inline-block;
  animation: floatSmall 3s ease-in-out infinite alternate;
}

@keyframes floatSmall {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.reason-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.reason-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.reason-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   9. FLOATING CONTROLS & BOTTOM NAVIGATION DOCK
   ========================================================================== */
/* Music Floating Disc */
.music-toggle-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 10, 32, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.music-toggle-btn.playing {
  animation: vinylSpin 4s linear infinite;
  border-color: var(--accent-rose);
  color: var(--accent-rose);
  box-shadow: 0 0 20px var(--accent-rose-glow);
}

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

/* Song Toast */
.song-toast {
  position: fixed;
  top: 74px;
  right: 18px;
  background: rgba(22, 10, 36, 0.92);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  backdrop-filter: blur(12px);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-bounce);
}

.song-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.song-toast .music-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.song-toast .music-bar {
  width: 3px;
  background: var(--accent-rose);
  border-radius: 2px;
  animation: soundBar 0.8s ease-in-out infinite alternate;
}

.song-toast .music-bar:nth-child(2) { animation-delay: 0.2s; height: 10px; }
.song-toast .music-bar:nth-child(3) { animation-delay: 0.4s; height: 14px; }
.song-toast .music-bar:nth-child(4) { animation-delay: 0.1s; height: 8px; }

@keyframes soundBar {
  0% { height: 4px; }
  100% { height: 14px; }
}

/* Floating Heart Cannon Button */
.heart-cannon-btn {
  position: fixed;
  bottom: calc(var(--nav-height) + 16px);
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3366, #ff758f);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.5);
  z-index: 990;
  transition: var(--transition-bounce);
}

.heart-cannon-btn:active {
  transform: scale(0.85);
}

/* Bottom Navigation Dock (Mobile-First) */
.bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  max-width: 440px;
  height: var(--nav-height);
  background: rgba(18, 10, 30, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 182, 193, 0.2);
  border-radius: var(--radius-full);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 51, 102, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
  z-index: 999;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.nav-item .nav-icon {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.nav-item:hover, .nav-item.active {
  color: #fff;
}

.nav-item.active .nav-icon, .nav-item:hover .nav-icon {
  transform: translateY(-2px) scale(1.15);
  color: var(--accent-rose);
}

/* Flying Hearts Spawned on Click */
.flying-heart {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 1.5rem;
  animation: flyUpAndFade 1.4s ease-out forwards;
}

@keyframes flyUpAndFade {
  0% { transform: translate(0, 0) scale(0.8) rotate(0deg); opacity: 1; }
  50% { opacity: 0.9; }
  100% { transform: translate(var(--tx, 0px), -160px) scale(1.4) rotate(var(--rot, 25deg)); opacity: 0; }
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
  text-align: center;
  padding: 30px 20px 20px 20px;
  position: relative;
  z-index: 2;
}

.footer-script {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--accent-blush);
  margin-bottom: 6px;
  display: block;
}

.footer-names {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 8px;
}

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