/* 
 * proposal.css - Estilos simplificados para la propuesta
 */

/* Sección de propuesta */
.proposal-container {
    width: min(90%, 500px);
    margin: 2rem auto;
    transition: all 0.5s ease;
    perspective: 1000px;
}

.proposal-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px var(--shadow-color);
    text-align: center;
    transition: transform 0.5s ease;
    transform-style: preserve-3d;
    border: 2px solid rgba(255, 107, 149, 0.3);
    position: relative;
}

/* Cuando tenga class="no-hover", desactivar el efecto hover */
.proposal-card.no-hover:hover {
    transform: none;
}

/* Si no tiene class="no-hover", aplicar efecto hover normal */
.proposal-card:not(.no-hover):hover {
    transform: translateY(-10px) rotateY(5deg);
}

.proposal-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.proposal-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    color: var(--primary-color);
    position: relative;
}

.proposal-image::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 107, 149, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: pulse-soft 3s infinite;
}

.proposal-image i {
    font-size: 4rem;
    position: relative;
    z-index: 1;
}

/* Contenedor para los botones */
.proposal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    position: relative;
    min-height: 60px; /* Altura mínima para evitar saltos */
}

/* Estilos comunes para los botones */
.proposal-btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative; /* Para animaciones de transformación */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Botón SÍ */
.yes-btn {
    background: var(--gradient);
    color: white;
    z-index: 10;
}

.yes-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 149, 0.4);
}

/* Botón NO */
.no-btn {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    z-index: 9;
}

/* Mensaje de respuesta */
.proposal-message {
    min-height: 60px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

/* Animación suave para el pulso */
@keyframes pulse-soft {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* Efectos de confeti para cuando dice "sí" */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    opacity: 0.8;
    z-index: 1000;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Pantalla de celebración cuando dice "SÍ" */
.yes-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 2rem;
}

.yes-screen.show {
    opacity: 1;
}

.yes-screen h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.yes-screen p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
}

.big-heart {
    font-size: 8rem;
    color: var(--primary-color);
    margin: 2rem;
    animation: pulse 2s infinite;
}

/* Respuestas específicas para dispositivos móviles */
@media (max-width: 768px) {
    .proposal-buttons {
        gap: 1rem;
    }
    
    .proposal-btn {
        padding: 0.7rem 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .proposal-card h3 {
        font-size: 1.5rem;
    }
}

/* Modo oscuro */
@media (prefers-color-scheme: dark) {
    .proposal-card {
        background: rgba(32, 19, 30, 0.95);
        border-color: rgba(255, 107, 149, 0.3);
    }
    
    .no-btn {
        background: rgba(32, 19, 30, 0.9);
        color: var(--primary-color);
    }
    
    .yes-screen {
        background: rgba(32, 19, 30, 0.9);
    }
}