* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: 'Poppins', 'Playfair Display', serif;
    position: relative;
    background: linear-gradient(135deg, #fbf2e9 0%, #fce4ec 50%, #fbf2e9 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}


/* ========== BOTÓN DE MÚSICA ========== */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #FDA2BE;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(253, 162, 190, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    letter-spacing: 1px;
}

.music-control:hover {
    transform: scale(1.05) translateY(-3px);
    background: #e892ae;
    box-shadow: 0 8px 25px rgba(253, 162, 190, 0.5);
}

/* ========== CONTENEDOR PRINCIPAL ========== */
.invitation-container {
    max-width: 580px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========== TARJETA PRINCIPAL ========== */
.invitation-card {
    background-color: #fffafb;
    border-radius: 48px;
    padding: 35px 30px 45px 30px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(253, 162, 190, 0.1);
}

.invitation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 60px -15px rgba(253, 162, 190, 0.3);
}


/* ========== ILUSTRACIÓN SUPERIOR - MÁS GRANDE ========== */
.top-illustration {
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.top-bow {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(253, 162, 190, 0.2));
    transition: all 0.3s ease;
}

.top-bow:hover {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 12px 25px rgba(253, 162, 190, 0.3));
}

/* ========== NOMBRE ========== */
.baby-name {
    font-family: 'Parisienne', cursive;
    font-size: 3.8rem;
    font-weight: 400;
    background: linear-gradient(135deg, #D81B60, #C2185B);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 20px rgba(253, 162, 190, 0.25);
    margin: 8px 0;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

/* ========== FRASE DE INVITACIÓN ========== */
.invite-phrase {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #c2185b;
    display: inline-block;
    margin: 15px auto;
    font-style: italic;
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
    letter-spacing: 0.5px;
}

/* ========== RECTÁNGULO ROSA ========== */
.pink-rectangle {
    background: linear-gradient(135deg, #f5ccc6, #f2abaf);
    border-radius: 25px;
    padding: 18px 24px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 8px 20px rgba(242, 171, 175, 0.3);
    border: 1px solid rgba(255,255,255,0.6);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.pink-rectangle:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 28px rgba(242, 171, 175, 0.4);
}

.pink-rectangle p {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.08);
    letter-spacing: 0.3px;
}

/* ========== IMAGEN DE FECHA ========== */
.date-image-container {
    margin: 20px 0 25px 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.date-image {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.date-image:hover {
    transform: scale(1.02);
}

/* ========== BOTONES ========== */
.buttons-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-location, .btn-gifts {
    flex: 1;
    min-width: 180px;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: white;
    border: none;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1), 0 6px 15px rgba(253, 162, 190, 0.3);
    position: relative;
    top: 0;
    backdrop-filter: blur(2px);
}

.btn-location {
    background: linear-gradient(135deg, #FDA2BE, #e892ae);
}

.btn-gifts {
    background: linear-gradient(135deg, #FDA2BE, #e892ae);
}

.btn-location:hover, .btn-gifts:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 0 rgba(0, 0, 0, 0.1), 0 12px 25px rgba(253, 162, 190, 0.4);
}

.btn-location:active, .btn-gifts:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
}

/* ========== SECCIÓN DE CONFIRMACIÓN ========== */
.confirm-section {
    background: rgba(251, 242, 233, 0.98);
    backdrop-filter: blur(8px);
    border-radius: 35px;
    padding: 28px 24px;
    margin: 25px 0;
    border: 1px solid rgba(242, 171, 175, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.confirm-section:hover {
    box-shadow: 0 15px 35px rgba(253, 162, 190, 0.1);
    border-color: rgba(242, 171, 175, 0.7);
}

.confirm-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #D81B60;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.radio-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #a86a80;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.radio-opt:hover {
    color: #FDA2BE;
    transform: translateX(2px);
}

.radio-opt input {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #FDA2BE;
}

/* ========== BOTÓN WHATSAPP - SIN SUBRAYADO ========== */
.whatsapp-send {
    background: linear-gradient(135deg, #a8d8c8, #8bc0ae);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 5px 15px rgba(139, 192, 174, 0.4);
    letter-spacing: 1px;
    text-decoration: none;
}

.whatsapp-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 192, 174, 0.5);
    background: linear-gradient(135deg, #95caba, #7eb09c);
}

/* ========== MENSAJE FINAL ========== */
.footer-message {
    margin: 25px 0 15px;
    font-family: 'Parisienne', cursive;
    font-size: 2rem;
    font-weight: 400;
    color: #FDA2BE;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(253, 162, 190, 0.15);
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

/* ========== ILUSTRACIÓN INFERIOR - MÁS GRANDE ========== */
.bottom-illustration {
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.minnie-icon {
    max-width: 120px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(253, 162, 190, 0.2));
    transition: all 0.3s ease;
}

.minnie-icon:hover {
    transform: rotate(8deg) scale(1.08);
    filter: drop-shadow(0 10px 20px rgba(253, 162, 190, 0.3));
}

/* ========== TOAST ========== */
.toast-msg {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #333, #1a1a1a);
    color: white;
    padding: 12px 28px;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    transition: transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-family: 'Poppins', sans-serif;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
    .invitation-card {
        padding: 25px 20px 35px;
    }
    
    .baby-name {
        font-size: 2.5rem;
    }
    
    .top-bow {
        max-width: 140px;
    }
    
    .minnie-icon {
        max-width: 80px;
    }
    
    .invite-phrase {
        font-size: 0.85rem;
    }
    
    .buttons-row {
        flex-direction: column;
    }
    
    .btn-location, .btn-gifts {
        width: 100%;
    }
    
    .radio-group {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-message {
        font-size: 1.6rem;
    }
    
    .toast-msg {
        white-space: normal;
        text-align: center;
        max-width: 85%;
    }
}

/* ========== ANIMACIÓN DE ENTRADA ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invitation-card {
    animation: fadeInUp 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}