/* RESET GENERAL */
* {
    box-sizing: border-box;
}

/* CUERPO */
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #fde0e8, #f8bbd0);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

/* TARJETA */
.card {
    background: #ffffff;
    padding: 30px;
    border-radius: 24px;
    display: flex;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
    flex-wrap: wrap;
    max-width: 800px;
}

/* TEXTO */
.text {
    max-width: 300px;
}

.text h2 {
    color: #c2185b;
}

.timer {
    margin-top: 20px;
    font-weight: bold;
    color: #880e4f;
}

/* ÁRBOL */
.tree {
    position: relative;
    width: 300px;
    height: 380px;
}

/* TRONCO */
.trunk {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70px;
    height: 170px;
    transform: translateX(-50%);
    background: linear-gradient(to right,#4e342e,#8d6e63,#5d4037);
    border-radius: 0 0 28px 28px;
    clip-path: polygon(25% 0%,75% 0%,100% 100%,0% 100%);
}

/* COPA */
.hearts {
    position: absolute;
    bottom: 110px;
    left: 50%;
    width: 260px;
    height: 260px;
    transform: translateX(-50%);
    pointer-events: none;
}

/* CORAZONES */
.heart {
    position: absolute;
    width: 16px;
    height: 16px;
    background: red;
    transform: rotate(45deg);
}

.heart::before,
.heart::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: inherit;
    border-radius: 50%;
}

.heart::before {
    top: -8px;
    left: 0;
}

.heart::after {
    left: -8px;
    top: 0;
}

.falling {
    animation: fall 6s linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(180px) rotate(45deg);
        opacity: 0;
    }
}
