
body {
    background-color: #000;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    z-index: -1;
}

.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 90%;
    min-height: 80vh;
}

.text-with-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(255, 110, 196, 0.3);
    animation: pulse 2s infinite; 
}

.centered-image {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(255, 110, 196, 0.5));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


button {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(106, 17, 203, 0.4);
    margin-top: 20px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(106, 17, 203, 0.6);
}

button:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .centered-image {
        width: 50px;
    }
    
    button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7rem;
    }
    
    .centered-image {
        width: 45px;
    }
    
    button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
.buttons-container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
    margin-top: 20px;
}

#yesButton {
    transition: transform 0.3s ease, font-size 0.3s ease;
    z-index: 100; 
}

#noButton {
    background: linear-gradient(45deg, #ff416c, #ff4b2b); 
    box-shadow: 0 4px 20px rgba(255, 65, 108, 0.4);
}

.valentine-gif {
    width: 200px; /* Dimensione ideale per questa GIF */
    max-width: 80%; /* Si adatta se lo schermo è piccolo */
    height: auto;
    margin-bottom: 10px;
    border-radius: 15px; /* Sta bene con lo stile "morbido" dei Minions */
}