/* ==========================================================================
   Fillipe & Isabella - 6 Meses de Amor
   Estilo Romântico Claro (Branco & Rosado), Otimizado para iPhone 17 Pro Max
   Fonte Arredondada, Delicada e Fofa (Fredoka & Nunito & Caveat)
   ========================================================================== */

/* --- Variáveis de Design System (Tema Branco & Rosado) --- */
:root {
  --bg-gradient: linear-gradient(135deg, #fff5f7 0%, #ffeef2 35%, #ffd6e0 75%, #fff0f3 100%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(255, 182, 193, 0.6);
  --card-glow: rgba(255, 117, 140, 0.2);
  
  --primary-rose: #ff4b6e;
  --secondary-rose: #ff758c;
  --soft-pink: #ffd6e0;
  --rose-gold: #e64a70;
  --deep-pink: #521528;
  --text-primary: #4a1224;
  --text-secondary: #6e2038;
  --text-muted: #9c4d65;
  
  --font-sans: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-rounded: 'Fredoka', 'Nunito', sans-serif;
  --font-cursive: 'Caveat', cursive;
  
  --safe-top: max(16px, env(safe-area-inset-top));
  --safe-bottom: max(20px, env(safe-area-inset-bottom));
}

/* --- Reset & Configurações Globais --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-gradient);
  font-family: var(--font-sans);
  color: var(--text-primary);
  position: fixed;
}

/* --- Canvas de Corações Subindo na Tela --- */
#heartsCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* --- Luzes Ambientais Suaves e Rosadas --- */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
  animation: pulseGlow 8s ease-in-out infinite alternate;
}

.glow-1 {
  top: -10%;
  left: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(255, 182, 193, 0.5) 0%, transparent 70%);
}

.glow-2 {
  bottom: -15%;
  right: -10%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(255, 214, 224, 0.6) 0%, transparent 70%);
  animation-delay: -4s;
}

.glow-3 {
  top: 40%;
  left: 20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255, 240, 243, 0.7) 0%, transparent 70%);
  animation-delay: -2s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
  50% { transform: scale(1.15) translate(10px, 15px); opacity: 0.75; }
  100% { transform: scale(0.95) translate(-10px, -10px); opacity: 0.5; }
}

/* --- Player de Música Flutuante --- */
.music-toggle-btn {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  right: 16px;
  z-index: 100;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 117, 140, 0.4);
  color: var(--primary-rose);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 75, 110, 0.2);
  transition: all 0.3s ease;
}

.music-toggle-btn:active {
  transform: scale(0.9);
}

.music-icon {
  font-size: 1.3rem;
}

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

.music-toggle-btn.playing .music-icon {
  display: none;
}

.music-toggle-btn.playing .music-waves {
  display: flex;
}

.music-waves span {
  width: 3px;
  background: var(--primary-rose);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}

.music-waves span:nth-child(1) { height: 60%; animation-delay: 0s; }
.music-waves span:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.music-waves span:nth-child(3) { height: 40%; animation-delay: 0.6s; }

@keyframes waveBar {
  0% { height: 20%; }
  100% { height: 100%; }
}

/* --- App Container Principal --- */
.app-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--safe-top) 20px var(--safe-bottom) 20px;
  overflow: hidden;
}

/* --- Header & Barra de Progresso --- */
.romantic-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  z-index: 20;
}

.badge-tag {
  font-family: var(--font-rounded);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-rose);
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 12px rgba(255, 75, 110, 0.12);
}

.step-progress-bar {
  width: 80%;
  height: 6px;
  background: rgba(255, 182, 193, 0.4);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  width: 11.1%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-rose), var(--secondary-rose));
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Cards das Etapas (Branco + Rosado) --- */
.step-card {
  position: absolute;
  top: 72px;
  left: 20px;
  right: 20px;
  bottom: calc(var(--safe-bottom) + 10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid var(--card-border);
  border-radius: 36px;
  padding: 32px 24px;
  box-shadow: 0 20px 45px rgba(255, 117, 140, 0.18),
              inset 0 1px 2px rgba(255, 255, 255, 0.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.5s;
  overflow: hidden;
}

.step-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto 0;
  gap: 16px;
}

/* --- Tipografia Arredondada & Fofa --- */
.heart-pulse-icon {
  font-size: 3.8rem;
  animation: heartPulse 1.5s infinite ease-in-out;
  filter: drop-shadow(0 4px 15px rgba(255, 75, 110, 0.3));
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  14% { transform: scale(1.2); }
  28% { transform: scale(1); }
  42% { transform: scale(1.25); }
  70% { transform: scale(1); }
}

.romantic-title {
  font-family: var(--font-rounded);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

.glow-title {
  color: var(--primary-rose);
}

.romantic-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 600;
}

.highlight-text {
  font-size: 1.35rem;
  color: var(--text-primary);
}

.highlight-text strong {
  color: var(--primary-rose);
  font-size: 1.45rem;
  font-weight: 800;
}

.lead-text {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-rounded);
  line-height: 1.5;
  color: var(--text-primary);
}

.romantic-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 600;
}

/* --- Botão Estilizado Arredondado --- */
.romantic-btn {
  width: 100%;
  max-width: 320px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-rounded);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(255, 75, 110, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-rose) 0%, #ff6b8b 100%);
  color: #ffffff;
}

.primary-btn:active {
  transform: scale(0.96);
  box-shadow: 0 4px 15px rgba(255, 75, 110, 0.5);
}

.discover-btn {
  background: linear-gradient(135deg, #ff6b8b 0%, #ff9233 100%);
  color: #ffffff;
  font-size: 1.2rem;
}

.celebrate-btn {
  background: linear-gradient(135deg, #ff2e63 0%, #ff758c 100%);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(255, 46, 99, 0.4);
}

.btn-sparkle {
  font-size: 1.3rem;
}

/* --- Swipe Prompts --- */
.swipe-prompt-container {
  width: 100%;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px dashed var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(255, 117, 140, 0.1);
}

.swipe-prompt-container:active {
  background: rgba(255, 240, 243, 0.95);
  transform: scale(0.98);
}

.swipe-arrow-animated {
  font-size: 3.2rem;
  filter: drop-shadow(0 4px 10px rgba(255, 75, 110, 0.3));
}

.left-arrow {
  animation: swipeLeftAnim 1.5s infinite ease-in-out;
}

@keyframes swipeLeftAnim {
  0% { transform: translateX(0); opacity: 0.7; }
  50% { transform: translateX(-15px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.7; }
}

.up-arrow {
  animation: swipeUpAnim 1.5s infinite ease-in-out;
}

@keyframes swipeUpAnim {
  0% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-15px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.7; }
}

.swipe-hint {
  font-family: var(--font-rounded);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-rose);
}

.swipe-subhint {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- STEP 3: Emoji Sorrindo --- */
.smile-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.emoji-smile {
  font-size: 5.5rem;
  opacity: 0;
  transform: scale(0.3) rotate(-15deg);
  transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 6px 20px rgba(255, 182, 193, 0.8));
}

.step-card.active .emoji-smile {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* --- STEP 4: Input de Número --- */
.quiz-badge {
  font-family: var(--font-rounded);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-rose);
  background: rgba(255, 182, 193, 0.3);
  padding: 6px 14px;
  border-radius: 14px;
}

.romantic-question {
  font-family: var(--font-rounded);
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.input-group {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-top: 10px;
}

.input-group input {
  width: 100%;
  height: 60px;
  background: #ffffff;
  border: 2px solid var(--card-border);
  border-radius: 24px;
  color: var(--text-primary);
  font-family: var(--font-rounded);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.input-group input:focus {
  border-color: var(--primary-rose);
  box-shadow: 0 0 20px rgba(255, 75, 110, 0.3);
}

.input-group input::placeholder {
  font-size: 1rem;
  font-weight: 500;
  color: #c7889b;
}

.quiz-warning-text {
  font-size: 0.95rem;
  color: #ff3355;
  font-weight: 700;
  min-height: 20px;
}

/* --- STEP 5: ERROU + Zeros Voando --- */
.errou-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 245, 247, 0.96);
  backdrop-filter: blur(15px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.errou-overlay.show {
  opacity: 1;
  visibility: visible;
  animation: shakeScreen 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shakeScreen {
  10%, 90% { transform: translate3d(-2px, 0, 0); }
  20%, 80% { transform: translate3d(4px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.errou-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.red-x-icon {
  font-size: 6.5rem;
  animation: popX 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 8px 25px rgba(255, 0, 51, 0.4));
}

@keyframes popX {
  0% { transform: scale(0.2); }
  100% { transform: scale(1); }
}

.errou-text {
  font-family: var(--font-rounded);
  font-size: 3.2rem;
  font-weight: 900;
  color: #ff1a40;
  letter-spacing: 4px;
}

.zeros-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: auto 0;
}

.zeros-intro-text {
  font-family: var(--font-rounded);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text-primary);
  text-align: center;
}

.accent-love {
  color: var(--primary-rose);
  font-weight: 800;
}

.zeros-stream-viewport {
  width: 100%;
  height: 180px;
  perspective: 600px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.03);
}

.zeros-wall {
  position: absolute;
  width: 120%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-rounded);
  font-weight: 800;
  color: #ff4b6e;
  transform-style: preserve-3d;
}

.zero-particle {
  font-size: 1.5rem;
  display: inline-block;
  opacity: 0;
  transform: translateZ(-500px) scale(0.1);
  animation: flyOutScreen 3s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
}

@keyframes flyOutScreen {
  0% {
    opacity: 0;
    transform: translateZ(-400px) scale(0.2) rotate(0deg);
  }
  30% {
    opacity: 1;
    color: #ff2e63;
  }
  100% {
    opacity: 0;
    transform: translateZ(300px) scale(2.5) rotate(15deg);
    color: #ff85a2;
  }
}

.zeros-footer-text {
  font-size: 1rem;
  color: var(--primary-rose);
  text-align: center;
  font-weight: 700;
}

/* --- NOVA ETAPA 6: Isso prova que EU AMO MAIS 😜 --- */
.tongue-emoji-container {
  font-size: 5.5rem;
  animation: pulseEmoji 1.4s infinite ease-in-out;
  filter: drop-shadow(0 6px 20px rgba(255, 117, 140, 0.4));
}

@keyframes pulseEmoji {
  0%, 100% { transform: scale(1) rotate(-5deg); }
  50% { transform: scale(1.12) rotate(5deg); }
}

.amo-mais-title {
  font-size: 2.2rem;
  color: var(--text-primary);
}

.highlight-amo-mais {
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-rose) 0%, #ff1a40 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- STEP 7: 182 Dias Counter --- */
.days-icon {
  font-size: 3.2rem;
}

.counter-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}

.counter-number {
  font-family: var(--font-rounded);
  font-size: 5.5rem;
  font-weight: 900;
  color: var(--primary-rose);
  text-shadow: 0 4px 15px rgba(255, 75, 110, 0.3);
}

.counter-unit {
  font-family: var(--font-rounded);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-rose);
}

.counter-subtext {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* --- STEP 9: Grand Finale (Carta + Motivos + Estatísticas + Fotos) --- */
.step-card.finale-card {
  padding: 0;
  background: rgba(255, 250, 252, 0.94);
}

.finale-scroll-area {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 24px 20px 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.letter-header-badge {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}

.letter-heart-tag {
  font-family: var(--font-rounded);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-rose);
  background: rgba(255, 182, 193, 0.3);
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid var(--card-border);
}

.finale-headline {
  font-family: var(--font-rounded);
  font-size: 1.9rem;
  color: var(--text-primary);
  font-weight: 800;
}

/* Carta em Cartão Fofo */
.romantic-letter-card {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--card-border);
  border-radius: 28px;
  padding: 28px 22px;
  box-shadow: 0 12px 35px rgba(255, 117, 140, 0.15);
}

.letter-decoration {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.8;
}

.top-left { top: 12px; left: 12px; }
.top-right { top: 12px; right: 12px; }
.bottom-right { bottom: 12px; right: 12px; }

.letter-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.letter-paragraph {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: justify;
  text-justify: inter-word;
  font-weight: 600;
}

.lead-p {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
}

.highlight-quote {
  font-size: 1.12rem;
  color: var(--primary-rose);
  border-left: 4px solid var(--primary-rose);
  padding-left: 14px;
  background: rgba(255, 240, 243, 0.8);
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0 16px 16px 0;
}

.letter-signature {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.signature-name {
  font-family: var(--font-cursive);
  font-size: 2.2rem;
  color: var(--primary-rose);
  align-self: flex-end;
}

/* NOVO: Alguns dos Motivos Pelos Quais Eu Te Amo */
.reasons-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title {
  font-family: var(--font-rounded);
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 800;
  text-align: center;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
}

.reasons-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.reason-chip {
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(255, 117, 140, 0.1);
  transition: transform 0.2s ease;
}

.reason-chip:active {
  transform: scale(0.96);
}

.highlight-reason {
  background: linear-gradient(135deg, var(--primary-rose) 0%, #ff6b8b 100%);
  color: #ffffff;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 6px 18px rgba(255, 75, 110, 0.35);
  width: 100%;
  text-align: center;
  padding: 12px 20px;
}

/* Galeria de Fotos Polaroid */
.photo-gallery-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-header {
  text-align: center;
}

.polaroid-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.polaroid-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  padding: 12px 12px 16px 12px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(255, 117, 140, 0.18);
  border: 1.5px solid rgba(255, 182, 193, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

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

.polaroid-card:nth-child(odd) {
  transform: rotate(-1.5deg);
}

.polaroid-card:active {
  transform: scale(0.98) rotate(0deg);
  z-index: 10;
}

.polaroid-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff0f3;
}

.polaroid-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.polaroid-caption {
  font-family: var(--font-cursive);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 10px;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  width: 100%;
  padding: 0 6px;
}

.photo-like-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 0.95rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.photo-like-btn.liked {
  background: var(--primary-rose);
  border-color: var(--primary-rose);
}

/* NOVO: Estatísticas do Namoro */
.stats-section {
  background: #ffffff;
  border-radius: 28px;
  padding: 22px;
  border: 2px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(255, 117, 140, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 240, 243, 0.6);
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 182, 193, 0.3);
  font-weight: 600;
}

.stat-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-text strong {
  color: var(--primary-rose);
  font-weight: 800;
}

.highlight-stat {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe3e8 100%);
  border: 2px solid var(--primary-rose);
}

.highlight-stat .stat-text {
  color: var(--primary-rose);
  font-weight: 800;
}

.finale-actions {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.romantic-footer {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
  line-height: 1.4;
  font-weight: 600;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 245, 247, 0.95);
  backdrop-filter: blur(15px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  right: 20px;
  background: #ffffff;
  border: 2px solid var(--card-border);
  color: var(--primary-rose);
  font-size: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(255, 75, 110, 0.25);
  object-fit: contain;
}

.lightbox-caption {
  font-family: var(--font-cursive);
  font-size: 1.7rem;
  color: var(--primary-rose);
  text-align: center;
}
