/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins',sans-serif;
    background:#ffffff;
    color:#111;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    padding:40px 20px;
    overflow-x:hidden;
    position:relative;
}

.container{
    width:100%;
    max-width:650px;
    text-align:center;
    position:relative;
    z-index:2;
}

h1{
    font-size:2.4rem;
    line-height:1.35;
    font-weight:700;
    margin-bottom:35px;
}

img{
    width:300px;
    max-width:100%;
    border-radius:24px;
    object-fit:cover;
    box-shadow:0 12px 30px rgba(0,0,0,0.15);
    margin-bottom:25px;
    transition:.3s;
}

img:hover{
    transform:scale(1.03);
}

p{
    color:#666;
    font-size:1rem;
    margin-bottom:30px;
}

#countdown{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.time-box{
    min-width:90px;
}

.number{
    font-size:3.4rem;
    font-weight:700;
    line-height:1;
}

.label{
    margin-top:10px;
    font-size:0.85rem;
    color:#777;
    letter-spacing:2px;
    text-transform:uppercase;
}

/* -------------------- */
/* Floating Hearts */
/* -------------------- */

.hearts{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:hidden;
    pointer-events:none;
    z-index:1;
}

.heart{
    position:absolute;
    bottom:-50px;
    color:#ff4d6d;
    font-size:22px;
    animation:floatUp linear forwards;
    opacity:.8;
}

@keyframes floatUp{

    0%{
        transform:translateY(0) scale(1);
        opacity:0;
    }

    10%{
        opacity:1;
    }

    100%{
        transform:translateY(-120vh) rotate(360deg) scale(1.6);
        opacity:0;
    }

}

/* Mobile */

@media(max-width:768px){

    h1{
        font-size:1.8rem;
    }

    img{
        width:260px;
    }

    .number{
        font-size:2.5rem;
    }

    .time-box{
        min-width:70px;
    }

}

@media(max-width:480px){

    h1{
        font-size:1.5rem;
    }

    img{
        width:220px;
    }

    #countdown{
        gap:15px;
    }

    .number{
        font-size:2rem;
    }

    .label{
        font-size:.75rem;
    }

}
