/* Fuentes*/
@import url('https://fonts.googleapis.com/css2?family=Allison&family=Allura&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Allison&family=Allura&family=Oooh+Baby&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya+SC:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&family=Allison&family=Allura&family=Oooh+Baby&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-blue: #090127;
    --accent-light-blue: #79CDE9;
    --text-white: #FFFFFF;
}

body {
    background-color: var(--primary-blue);
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

.background-body{
    background-color: #050117;
}

.main-invite-container {
    max-width: 450px;
    background: linear-gradient(180deg, #090127 0%, #05011a 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden; /* Corta los globos que sobresalgan */
}

/* Tipografías */
.font-vibes { font-family: "Allison", cursive; }
.font-playfair { font-family: "Alegreya SC", serif;}
.date-large{ color:#79CDE9;}

.invitation-title { font-size: 2.8rem; }
.birthday-heading { color: #79CDE9; letter-spacing: 2px; }

/* Centro: 60 y Copa */
.balloon-60 { width: 85%; }
.champagne-glass {
    height: 120px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

/* Nombre Ricardo - MÁS GRANDE */
.name-callout {
    font-size: 6.5rem; /* Tamaño aumentado */
    line-height: 0.8;
    margin-bottom: 20px;
}

/* --- GLOBOS CELESTES POSICIONAMIENTO --- */
.side-balloons {
    position: absolute;
    width: 140px; /* Tamaño ajustable */
    bottom: 170px; /* Altura respecto a los botones */
    z-index: 1;
    pointer-events: none; /* No interfieren con los clics */
}

.balloons-left {
    left: -20px;
    transform: rotate(10deg);
}

.balloons-right {
    right: -20px;
    transform: rotate(-10deg);
}

/* Decoraciones extras */
.firework {
    position: absolute;
    width: 60px;
    top: 20px;
    opacity: 0.6;
}
.fw-left { left: 20px; }
.fw-right { right: 20px; }

.star { position: absolute; color: #79CDE9; font-size: 1rem; }
.star-1 { top: 200px; left: 30px; }
.star-2 { top: 300px; right: 40px; }


/* Botones */
.btn-primary-custom {
    background-color: var(--accent-light-blue) !important;
    color: var(--primary-blue) !important;
    border-radius: 30px !important;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 10; /* Por encima de los globos */
}

@media (max-width: 576px) {
    .name-callout { font-size: 5.5rem; }
    .side-balloons { width: 110px; }
}

/* Estilo de las estrellas de imagen */
.stars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star-img {
    position: absolute;
    width: 15px; /* Tamaño de la estrella */
    opacity: 0;
    animation: twinkle-move linear infinite;
}

/* Animación de parpadeo y movimiento */
@keyframes twinkle-move {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    50% { opacity: 0.8; transform: translateY(-10px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-20px) scale(0.5); }
}