/* =========================================
   VARIABLES - CHANGE LES COULEURS ICI
   ========================================= */
:root {
  /* Palette Bleue "Nuage & Océan" pour Manon */
  --blue-light: #EBF5FB;
  /* Bleu très clair, presque blanc */
  --blue-pastel: #D6EAF8;
  /* Bleu ciel doux */
  --blue-medium: #85C1E9;
  /* Bleu accentuation */
  --blue-vibrant: #5DADE2;
  /* Bleu vif pour les textes importants */
  --blue-dark: #2874A6;
  /* Bleu profond pour le contraste */

  /* Couleurs de fond et de texte */
  --bg-color: var(--blue-light);
  --text-main: #2C3E50;
  --text-muted: #5D6D7E;

  /* Effets et composants */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --shadow-color: rgba(93, 173, 226, 0.25);
  --heart-color: var(--blue-medium);


  --blue-glow: rgba(93, 173, 226, 0.35);
  --blue-deep-glow: rgba(40, 116, 166, 0.25);
}

/* =========================================
   RESET & FOND GÉNÉRAL
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  min-height: 100vh;
  /* Un fond doux avec des halos de lumière bleue */
  background:
    radial-gradient(circle at top left, #FFFFFF 0%, transparent 45%),
    radial-gradient(circle at bottom right, var(--blue-pastel) 0%, transparent 45%),
    linear-gradient(135deg, var(--blue-light), var(--blue-pastel));

  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: var(--text-main);
}

/* =========================================
   FIORETURES : COEURS FLOTTANTS (Bleus)
   ========================================= */
.hearts {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.heart {
  position: absolute;
  color: var(--heart-color);
  opacity: 0.4;
  /* Petit effet de lueur autour des coeurs */
  text-shadow: 0 0 15px var(--blue-medium);
  animation: float 9s infinite ease-in-out;
}

.heart:nth-child(1) {
  left: 10%;
  top: 20%;
  font-size: 40px;
  animation-duration: 8s;
}

.heart:nth-child(2) {
  right: 15%;
  top: 15%;
  font-size: 60px;
  animation-delay: 2s;
}

.heart:nth-child(3) {
  left: 20%;
  bottom: 20%;
  font-size: 75px;
  animation-delay: 4s;
}

.heart:nth-child(4) {
  right: 10%;
  bottom: 25%;
  font-size: 50px;
  animation-delay: 1s;
  animation-duration: 11s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    /* Ajout d'une légère rotation pour rendre ça plus "mignon" et naturel */
    transform: translateY(-25px) rotate(15deg);
  }
}

/* =========================================
   TEXTES & TITRES
   ========================================= */

.love-title {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -1px;

  /* Dégradé de bleu sur le texte */
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-vibrant));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Ombre portée subtile pour détacher le texte */
  /* text-shadow: 0 10px 30px var(--shadow-color); */



  /* 1. On crée le dégradé (ici de bleu à rose) */
  background: linear-gradient(90deg, var(--blue-medium), var(--blue-vibrant));

  /* 2. On découpe le fond pour qu'il prenne la forme du texte */
  background-clip: text;
  -webkit-background-clip: text;
  /* Pour la compatibilité avec certains navigateurs */

  /* 3. On rend le texte d'origine transparent pour voir le fond */
  color: transparent;
  -webkit-text-fill-color: transparent;

}

.love-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* =========================================
   CARTE PRINCIPALE (Glassmorphism)
   ========================================= */
.countdown-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-radius: 40px;
  padding: 50px;

  border: 2px solid var(--glass-border);
  box-shadow: 0 25px 60px var(--shadow-color);

  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

/* Petit effet au survol de la carte globale */
.countdown-card:hover {
  transform: translateY(-5px);
}

/* =========================================
   COMPTEUR : JOURS, HEURES, MINUTES
   ========================================= */
.days-number {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1.1;

  background: linear-gradient(180deg, var(--blue-vibrant), var(--blue-medium));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 20px rgba(80, 140, 255, 0.15);

  /* Animation de pulsation douce sur les jours */
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% {
    /* text-shadow: 0 0 20px rgba(93, 173, 226, 0.2); */
  }

  100% {
    /* text-shadow: 0 0 40px rgba(93, 173, 226, 0.6); */
  }
}

.days-label {
  font-size: 1.5rem;
  color: var(--blue-medium);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.time-box {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;

  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 25px var(--shadow-color);
  background: #FFFFFF;
}


.time-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--blue-vibrant);
}

.time-label {
  color: var(--blue-medium);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
}

.time-message {

  color: var(--blue-vibrant);
}

/* =========================================
   CITATION & MESSAGES
   ========================================= */
.love-quote {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 25px 40px;
  border-radius: 30px;
  /* border: 1px dashed var(--blue-medium); */

  font-style: italic;
  font-size: 1.2rem;
  color: var(--blue-vibrant);
  font-weight: 600;
  box-shadow: 0 10px 20px var(--shadow-color);
}

.message-card {
  background: var(--glass-bg);
  border-radius: 25px;
  padding: 20px;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   BOUTONS & FOOTER (Au cas où tu en ajoutes)
   ========================================= */
.btn-love {
  background: linear-gradient(90deg, var(--blue-vibrant), var(--blue-medium));
  border: none;
  color: white;
  border-radius: 50px;
  padding: 12px 35px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.btn-love:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 15px 25px rgba(93, 173, 226, 0.4);
}

.footer-love {
  color: var(--blue-medium);
  opacity: 0.8;
  font-size: 0.9rem;
}