/* ==========================================================================
   LISIELE & RICARDO • O NOSSO ESPAÇO (lisielericardo.space)
   Design System: Cosmic Rose Romance (Paleta Rosa Elegante & Glassmorphism)
   ========================================================================== */

:root {
  /* Fundo cósmico com toque aveludado e romântico */
  --bg-space: #0c0817;
  --bg-space-dark: #080510;
  
  /* Superfícies de vidro com leve matiz rosé */
  --bg-surface: rgba(26, 18, 38, 0.72);
  --bg-surface-hover: rgba(38, 26, 56, 0.88);
  --border-glass: rgba(255, 192, 203, 0.12);
  --border-glow: rgba(251, 113, 133, 0.4);

  /* Paleta Especial: Tons de Rosa & Rosé Elegantes */
  --accent-pink: #f472b6;       /* Rosa romântico */
  --accent-rose: #fb7185;       /* Rosa vívido floral */
  --accent-hot-pink: #ec4899;   /* Rosa intenso / magenta */
  --accent-blush: #fda4af;      /* Rosa blush delicado */
  --accent-sakura: #ffe4e6;     /* Rosa suave clarinho */
  --accent-magenta: #e879f9;    /* Rosa cósmico iluminado */
  --accent-gold: #fde047;       /* Ouro estelar para contrastes finos */

  --text-main: #fff5f7;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-glass: 0 16px 40px -10px rgba(0, 0, 0, 0.65), 0 0 1px 1px rgba(255, 192, 203, 0.08);
  --shadow-glow: 0 0 35px rgba(244, 63, 94, 0.28);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: radial-gradient(circle at 50% 0%, #170d28 0%, var(--bg-space) 50%, var(--bg-space-dark) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Canvas de Estrelas */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Brilhos de Nebulosa Suave (Predomínio Rosa / Blush / Magenta) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.38;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.glow-1 {
  top: -10%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  max-width: 580px;
  max-height: 580px;
  background: radial-gradient(circle, var(--accent-rose), transparent 70%);
}

.glow-2 {
  bottom: 10%;
  left: -10%;
  width: 75vw;
  height: 75vw;
  max-width: 650px;
  max-height: 650px;
  background: radial-gradient(circle, var(--accent-hot-pink), transparent 70%);
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-25px, 20px) scale(0.95); }
}

/* Container Principal */
.page-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem 1.25rem;
}

/* Painel de Vidro com reflexo Rosé (Glassmorphism) */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gradientes de Texto (Rosa Claro para Rosa Intenso) */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-blush) 0%, var(--accent-pink) 50%, var(--accent-rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 0.5rem 2rem 0.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(244, 114, 182, 0.15);
  border: 1px solid rgba(251, 113, 133, 0.35);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blush);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  box-shadow: 0 0 25px rgba(244, 114, 182, 0.2);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 3.2vw, 1.22rem);
  color: #e2e8f0;
  max-width: 580px;
  margin: 0 auto 1.75rem auto;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--accent-blush);
  font-weight: 600;
}

.couple-names {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4.5vw, 2.1rem);
  color: var(--text-main);
}

.couple-names .name {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.heart-pulse {
  color: var(--accent-rose);
  animation: pulseBeat 1.4s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(251, 113, 133, 0.7));
}

@keyframes pulseBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.24); }
  40% { transform: scale(0.96); }
  60% { transform: scale(1.16); }
}

/* ==========================================================================
   CONTADOR DE TEMPO
   ========================================================================== */
.counter-card {
  width: 100%;
  max-width: 600px;
  padding: 1.85rem 1.25rem;
  margin: 0 auto 2.5rem auto;
  border: 1px solid rgba(251, 113, 133, 0.3);
  box-shadow: var(--shadow-glow), var(--shadow-glass);
  background: linear-gradient(145deg, rgba(32, 20, 48, 0.75) 0%, rgba(20, 14, 32, 0.85) 100%);
  box-sizing: border-box;
}

.counter-title {
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  font-weight: 500;
  color: var(--accent-blush);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
  margin-bottom: 1.25rem;
  box-sizing: border-box;
}

.timer-box {
  background: rgba(244, 114, 182, 0.05);
  border: 1px solid rgba(251, 113, 133, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.timer-box:hover {
  border-color: rgba(251, 113, 133, 0.45);
  transform: translateY(-2px);
}

.timer-value {
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 4.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 0 16px rgba(251, 113, 133, 0.45);
  white-space: nowrap;
}

.timer-label {
  font-size: clamp(0.65rem, 1.8vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-blush);
  margin-top: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.counter-subtext {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent-pink);
  opacity: 0.95;
}

.scroll-down-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-blush);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.3s ease;
  margin-top: 0.5rem;
}

.scroll-down-btn:hover {
  color: #fff;
  transform: translateY(3px);
}

.scroll-down-btn i {
  animation: bounceDown 1.8s infinite;
}

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

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-rose);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--accent-blush);
  margin-top: 0.4rem;
}

/* ==========================================================================
   2. COMO NOS CONHECEMOS (UBS & DM DO INSTAGRAM)
   ========================================================================== */
.origin-card {
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-color: rgba(251, 113, 133, 0.25);
}

.origin-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(244, 114, 182, 0.15);
  border: 1px solid rgba(251, 113, 133, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-blush);
  margin-bottom: 1.25rem;
}

.origin-text-block p {
  color: #f1f5f9;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.fun-quote {
  background: rgba(251, 113, 133, 0.06);
  border-left: 3px solid var(--accent-rose);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.fun-quote .quote-icon {
  color: var(--accent-rose);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.fun-quote div {
  font-size: 0.92rem;
  color: #f8fafc;
  line-height: 1.6;
}

.first-dm-card {
  background: linear-gradient(145deg, rgba(35, 18, 42, 0.9) 0%, rgba(20, 12, 28, 0.95) 100%);
  border: 1px solid rgba(251, 113, 133, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 25px rgba(244, 114, 182, 0.15);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.first-dm-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 192, 203, 0.1);
}

.instagram-icon {
  font-size: 1.4rem;
  color: var(--accent-rose);
}

.dm-contact {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}

.dm-date {
  font-size: 0.75rem;
  color: var(--accent-blush);
}

.dm-balloon {
  background: linear-gradient(135deg, #4c1d38 0%, #291225 100%);
  border: 1px solid rgba(251, 113, 133, 0.3);
  padding: 0.85rem 1.1rem;
  border-radius: 18px 18px 4px 18px;
  font-size: 0.92rem;
  color: #fff;
  font-weight: 500;
  margin: 1rem 0 0.5rem 0;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.2);
}

.dm-caption {
  font-size: 0.82rem;
  color: var(--accent-blush);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ==========================================================================
   3. O CÉU DO MOMENTO EXATO & A PRIMEIRA ROSA DE ORIGAMI
   ========================================================================== */
.sky-moment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 760px) {
  .sky-moment-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}

.sky-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(251, 113, 133, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(251, 113, 133, 0.15);
}

.sky-card .photo-container {
  margin-bottom: 1rem;
  border: 1px solid rgba(251, 113, 133, 0.3);
}

.sky-info {
  text-align: center;
}

.coordinates-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(251, 113, 133, 0.15);
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-blush);
  margin-bottom: 0.75rem;
}

.sky-caption {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.origami-card {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: rgba(251, 113, 133, 0.35);
  background: linear-gradient(155deg, rgba(34, 18, 44, 0.88) 0%, rgba(20, 10, 30, 0.95) 100%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(236, 72, 153, 0.18);
}

.origami-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 192, 203, 0.15);
}

.origami-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(251, 113, 133, 0.6));
}

.origami-header h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
}

.origami-subtitle {
  font-size: 0.78rem;
  color: var(--accent-blush);
}

/* Estilo Pergaminho / Carta Fofa */
.parchment-letter {
  background: rgba(255, 240, 245, 0.05);
  border: 1px dashed rgba(251, 113, 133, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  margin-bottom: 1rem;
}

.parchment-greeting {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent-blush);
  margin-bottom: 0.75rem;
}

.parchment-text {
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.parchment-highlight {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.25) 0%, rgba(236, 72, 153, 0.15) 100%);
  border: 1px solid rgba(251, 113, 133, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.parchment-highlight i {
  color: var(--accent-rose);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.parchment-highlight span {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.parchment-highlight p {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--accent-blush);
  margin-top: 0.2rem;
}

.parchment-sign {
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #fff;
}

.origami-note {
  font-size: 0.82rem;
  color: var(--accent-blush);
  font-style: italic;
  text-align: center;
}

/* ==========================================================================
   4. DISTÂNCIA: PORTO ALEGRE ↔ CHAPECÓ (FEIXE ROSA)
   ========================================================================== */
.distance-card {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-color: rgba(251, 113, 133, 0.25);
}

.cities-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .cities-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
  }
}

.city-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.city-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(244, 114, 182, 0.1);
  border: 1px solid rgba(251, 113, 133, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-blush);
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.2);
}

.city-icon.highlight {
  color: #fff;
  background: var(--accent-rose);
  border-color: var(--accent-rose);
  box-shadow: 0 0 30px rgba(251, 113, 133, 0.6);
}

.city-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.city-role {
  font-size: 0.82rem;
  color: var(--accent-blush);
}

.connection-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 260px;
  padding: 1rem 0;
}

.pulse-beam {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, 
    var(--accent-blush) 0%, 
    var(--accent-rose) 50%, 
    var(--accent-hot-pink) 100%);
  transform: translateY(-50%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 14px rgba(251, 113, 133, 0.8);
}

.distance-badge {
  position: relative;
  z-index: 2;
  padding: 0.45rem 1rem;
  background: #1c0d24;
  border: 1px solid var(--accent-rose);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.4);
}

.quote-box {
  position: relative;
  background: rgba(251, 113, 133, 0.05);
  border-left: 3px solid var(--accent-rose);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  text-align: left;
  max-width: 680px;
  margin: 0 auto;
}

.quote-icon {
  font-size: 1.1rem;
  color: var(--accent-rose);
  opacity: 0.8;
  margin-bottom: 0.5rem;
  display: block;
}

.quote-box p {
  font-style: italic;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.6;
}

/* ==========================================================================
   5. LINHA DO TEMPO (TONS ROSÉ, FOTOS & CARTAS)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, 
    rgba(253, 164, 175, 0.8) 0%, 
    rgba(251, 113, 133, 0.8) 50%, 
    rgba(236, 72, 153, 0.8) 100%);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.75rem;
  padding-left: 55px;
}

.timeline-dot {
  position: absolute;
  top: 18px;
  left: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-space);
  border: 3px solid var(--accent-rose);
  box-shadow: 0 0 14px var(--accent-rose);
  z-index: 2;
}

.timeline-content {
  padding: 1.5rem;
  border-color: rgba(251, 113, 133, 0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 113, 133, 0.45);
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.18);
}

/* Cards Especiais de Cartas na Timeline */
.letter-milestone-panel {
  background: linear-gradient(150deg, rgba(35, 18, 44, 0.82) 0%, rgba(22, 12, 32, 0.9) 100%);
  border-color: rgba(251, 113, 133, 0.32);
}

.moissanite-panel {
  background: linear-gradient(155deg, rgba(38, 16, 48, 0.88) 0%, rgba(18, 8, 28, 0.95) 100%);
  border: 1px solid rgba(251, 113, 133, 0.45);
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.2), var(--shadow-glass);
}

.highlight-panel {
  border: 1px solid rgba(251, 113, 133, 0.5) !important;
  box-shadow: 0 0 35px rgba(251, 113, 133, 0.25), var(--shadow-glass) !important;
  background: linear-gradient(160deg, rgba(38, 20, 48, 0.85) 0%, rgba(24, 14, 34, 0.95) 100%) !important;
}

.highlight-tag {
  color: var(--accent-rose) !important;
  font-weight: 800 !important;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-blush);
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

/* Bloco de Citação das Cartas */
.letter-quote-box {
  background: rgba(251, 113, 133, 0.05);
  border: 1px solid rgba(251, 113, 133, 0.25);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.15rem;
}

.letter-quote-box.mini-box {
  margin-top: 1rem;
}

.letter-quote-box.special-border {
  border: 1px solid rgba(251, 113, 133, 0.4);
  background: linear-gradient(145deg, rgba(251, 113, 133, 0.08) 0%, rgba(236, 72, 153, 0.04) 100%);
}

.paper-header {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255, 192, 203, 0.1);
}

.paper-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(251, 113, 133, 0.18);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blush);
  margin-bottom: 0.4rem;
}

.paper-badge.star-badge {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.3) 0%, rgba(236, 72, 153, 0.3) 100%);
  color: #fff;
  box-shadow: 0 0 12px rgba(251, 113, 133, 0.4);
}

.paper-work-title {
  display: block;
  font-size: 0.82rem;
  font-style: italic;
  color: #e2e8f0;
}

.paper-content p {
  font-size: 0.92rem;
  color: #f1f5f9;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.paper-sign {
  text-align: right;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent-blush) !important;
  margin-top: 0.5rem;
}

/* Rolagem suave para a carta mais longa de Truque de Mestre */
.letter-scrollable {
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.letter-scrollable::-webkit-scrollbar {
  width: 5px;
}

.letter-scrollable::-webkit-scrollbar-thumb {
  background: rgba(251, 113, 133, 0.4);
  border-radius: var(--radius-full);
}

/* Container de Fotos com Zoom / Lightbox */
.photo-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin-bottom: 1.15rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 192, 203, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.photo-container img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-container:hover img {
  transform: scale(1.025);
}

.zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(18, 10, 24, 0.85);
  border: 1px solid rgba(251, 113, 133, 0.3);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-blush);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.photo-container:hover .zoom-badge {
  opacity: 1;
}

.timeline-item-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #fff;
}

.timeline-item-desc {
  font-size: 0.94rem;
  color: #f1f5f9;
  line-height: 1.65;
}

/* ==========================================================================
   6. A CARTA & O SINETE COM FITA
   ========================================================================== */
.letter-custom-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.seal-photo-card {
  padding: 1.5rem;
  text-align: center;
  border-color: rgba(251, 113, 133, 0.25);
}

.seal-caption {
  font-size: 0.92rem;
  color: #f8fafc;
  line-height: 1.6;
  margin-top: 1rem;
}

.seal-caption strong {
  color: var(--accent-rose);
}

.envelope-card {
  padding: 2.5rem 1.75rem;
  position: relative;
  background: linear-gradient(160deg, rgba(34, 18, 44, 0.92) 0%, rgba(20, 10, 28, 0.96) 100%);
  border: 1px solid rgba(251, 113, 133, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(251, 113, 133, 0.2);
}

.letter-badge {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-rose);
  border: 3px solid var(--bg-space);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.7);
}

.letter-recipient {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent-blush);
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.letter-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 0.98rem;
  color: #fff;
  line-height: 1.8;
}

.letter-highlight {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--accent-rose);
  margin-top: 0.5rem;
}

.letter-footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 192, 203, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.letter-signature {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--accent-blush);
}

.letter-author {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   7. BOTÃO DE CELEBRAÇÃO & CHUVA DE PARTÍCULAS
   ========================================================================== */
.celebration-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1.5rem;
  border: 1px solid rgba(251, 113, 133, 0.4);
  box-shadow: 0 0 45px rgba(251, 113, 133, 0.25);
  background: linear-gradient(145deg, rgba(32, 18, 44, 0.8) 0%, rgba(18, 10, 26, 0.9) 100%);
}

.cel-icon-big {
  font-size: 2.25rem;
  color: var(--accent-rose);
  margin-bottom: 1rem;
  display: inline-block;
  animation: pulseBeat 2s infinite;
}

.celebration-box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 1.15rem;
  color: #fff;
}

.celebration-truth {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--accent-rose);
  text-shadow: 0 0 16px rgba(251, 113, 133, 0.45);
  max-width: 520px;
  margin: 0 auto 1.85rem auto;
  line-height: 1.4;
}

.celebration-box p {
  font-size: 0.95rem;
  color: var(--accent-blush);
  max-width: 440px;
  margin: 0 auto 1.75rem auto;
}

.glow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.15rem 2.3rem;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-rose) 0%, var(--accent-hot-pink) 60%, #db2777 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px -5px rgba(251, 113, 133, 0.6), 0 0 25px rgba(244, 63, 94, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.glow-button:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 35px -5px rgba(251, 113, 133, 0.75), 0 0 35px rgba(244, 63, 94, 0.65);
}

.glow-button:active {
  transform: scale(0.98);
}

.hidden-love-msg {
  margin-top: 1.75rem;
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(251, 113, 133, 0.2);
  border: 1px solid rgba(251, 113, 133, 0.45);
  color: #fff;
  font-weight: 600;
  display: none;
  animation: fadeInPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hidden-love-msg.show {
  display: block;
}

@keyframes fadeInPop {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  user-select: none;
  animation: floatParticle 2.5s ease-out forwards;
}

@keyframes floatParticle {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x-end), var(--y-end)) scale(0.4) rotate(var(--rot-end));
  }
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 6, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.25s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(251, 113, 133, 0.2);
  border: 1px solid rgba(251, 113, 133, 0.25);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: -5px;
  background: rgba(251, 113, 133, 0.2);
  border: 1px solid rgba(251, 113, 133, 0.4);
  color: #fff;
  font-size: 1.8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

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

.lightbox-caption {
  margin-top: 1rem;
  color: var(--accent-blush);
  font-size: 0.95rem;
  text-align: center;
  max-width: 500px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer {
  text-align: center;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 192, 203, 0.1);
}

.footer-domain {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-rose);
  margin-bottom: 0.35rem;
}

.footer-sub {
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   9. RESPONSIVIDADE ULTRA-COMPACTA PARA CELULARES PEQUENOS (< 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .page-wrapper {
    padding: 0 0.75rem 3.5rem 0.75rem;
  }

  .counter-card {
    padding: 1.25rem 0.5rem;
  }

  .counter-title {
    font-size: 0.82rem;
  }

  .timer-grid {
    gap: 0.35rem;
  }

  .timer-box {
    padding: 0.65rem 0.15rem;
    border-radius: var(--radius-sm);
  }

  .timer-value {
    font-size: 1.35rem;
  }

  .timer-label {
    font-size: 0.62rem;
    letter-spacing: 0.3px;
  }

  .timeline-item {
    padding-left: 42px;
  }

  .timeline::before {
    left: 14px;
  }

  .timeline-dot {
    left: 7px;
    width: 14px;
    height: 14px;
  }
}
