:root {
    --cont-general-boxshadow:#4c4b4b;
    --rosa: #f6c1cc00;
    --lila: #e8dff500;
    --crema: #FFF6EF;
    --dorado: #C9A24D;
    --gris: #6B6B6B;
    --hero-title:#fff1f6;
    --hero-title-shadow: #f1d2dd;
    --btn-colo1:#e3a7c4;
    --btn-color2:#bcc8e388;
  }
  
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--crema);
    color: var(--gris);
    text-align: center;
  }

    /* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--crema);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Contenido */
.loader {
  text-align: center;
  color: var(--gris);
  font-family: 'Poppins', sans-serif;
}

/* Spinner animado */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid var(--dorado);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

  /* Oculta la invitación al inicio */
#mainContent {
  opacity: 0;
  transition: opacity 1.2s ease;

  max-width: 500px;
  margin: 0 auto;
  box-shadow: 5px 5px 10px var(--gris);
  border-radius: 25px;
}

  
  /* 🎵 BOTÓN MÚSICA */
  .music-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    border: none;
    background: rgba(255,255,255,.8);
    padding: 10px;
    border-radius: 50%;
    z-index: 10;
  }
  
  /* 👑 HERO */
  .hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
  }

  .hero-title {
    position: absolute;
    top: 65%;
    margin-top: 20px;
    color: var(--hero-title);
    z-index: 6;
    text-align: center;
    letter-spacing: 2px;
  }

  .hero-title.mis {
    left: 11%;
    font-size: 6rem;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-shadow: 3px 3px 3px var(--hero-title-shadow);
  }

  .hero-title.xv {
    top:60%;
    left: 34%;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    text-shadow: 3px 3px 3px var(--hero-title-shadow);
  }

  .hero-title.anios {
    left: 65%;
    font-size: 6rem;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-shadow: 3px 3px 3px var(--hero-title-shadow);
  }

  .hero-title {
    opacity: 0;
    transition: opacity 1.5s ease;
  }
  
  .hero.open .hero-title {
    opacity: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 3;
    top: 55%;
    transform: translateY(-50%);
  }
  
  .princess {
    width: 100%;
    height: auto;
    border-radius: 0%;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
    animation: fadeIn 2s ease forwards;
  }
  
  /* 🎭 CORTINAS */
  .curtain {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, var(--rosa), var(--lila));
    z-index: 5;
    transition: transform 2s ease-in-out;
  }

  .curtain img {
    width: 100%;
    height: 100vh;
  }
  
  .curtain.left { left: 0;}
  .curtain.right { right: -50%;}
  
  .hero.open .left { transform: translateX(-100vw); }
  .hero.open .right { transform: translateX(100vw); }
  
  /* 🌸 ESCENAS */
  .scene {
    padding: 90px 20px;
    animation: slideUp 1.2s ease both;
    
  }

  .scene-img{
    width: 90%;
    height: auto;
    box-shadow: 5px 5px 10px var(--cont-general-boxshadow);
    border-radius: 10px;
  }
  
  .soft {
    background: #FDF0EB;
  }
  
  h2 {
    font-family: 'Playfair Display', serif;
    color: var(--dorado);
    letter-spacing: 2px;
  }
  
  .phrase {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    max-width: 600px;
    margin: auto;
    font-size: 18px;
  }
  
  .parents {
    display: block;
    margin-top: 20px;
    color: var(--dorado);
  }
  
  /* ✨ BOTONES */
  .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 36px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--btn-colo1), var(--btn-color2));
    color: var(--gris);
    text-decoration: none;
  }
  
  .whatsapp {
    background: linear-gradient(135deg, var(--btn-colo1), var(--btn-color2));
  }
  
  /* ⏳ CONTADOR */
  #countdown {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: var(--dorado);
  }
  
  /* ✨ ANIMACIONES */
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(.95); }
    to { opacity: 1; transform: scale(1); }
  }
  