:root {
    --bg-pink: #fff0f3;
    --accent-red: #ff4d6d;
    --cat-color: #f2ccb6;
    --text-brown: #5b4034;
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-pink);
    font-family: 'Fredoka', sans-serif;
    color: var(--text-brown);
    overflow: hidden;
    position: relative;
}

/* --- LÉTAJÍCÍ SRDÍČKA --- */
.hearts-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-heart {
    position: absolute;
    bottom: -50px;
    color: #ffccd5;
    font-size: 20px;
    opacity: 0.6;
    animation: flyUp linear forwards;
}

@keyframes flyUp {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}

.card {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 40px 20px;
    border-radius: 40px;
    box-shadow: 0 15px 40px rgba(255, 77, 109, 0.1);
    border: 5px solid #ffccd5;
    text-align: center;
    position: relative;
    z-index: 10; /* Karta musí být nad srdíčky */
}

/* ... (zbytek CSS z předchozí verze zůstává stejný) ... */
.header-pill { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); background: var(--accent-red); color: white; padding: 8px 30px; border-radius: 20px; font-family: 'Pacifico', cursive; font-size: 1.6rem; }
.cat-container { height: 160px; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 20px; }
.cat { position: relative; width: 100px; height: 130px; }
.cat-body { width: 90px; height: 80px; background: var(--cat-color); border-radius: 50% 50% 35% 35%; position: absolute; bottom: 0; left: 5px; }
.cat-head { width: 90px; height: 75px; background: var(--cat-color); border-radius: 50%; position: absolute; top: 15px; left: 5px; z-index: 2; }
.ear { width: 30px; height: 35px; background: var(--cat-color); position: absolute; top: 5px; border-radius: 50% 50% 10% 10%; }
.ear.l { left: 8px; transform: rotate(-15deg); }
.ear.r { right: 8px; transform: rotate(15deg); }
.eye { width: 7px; height: 7px; background: #2b1b15; border-radius: 50%; position: absolute; top: 35px; }
.eye.l { left: 25px; } .eye.r { right: 25px; }
.nose { width: 10px; height: 10px; background: #ff8fa3; border-radius: 50%; position: absolute; top: 45px; left: 40px; }
.mouth { width: 12px; height: 6px; border: 2.5px solid #2b1b15; border-top: 0; border-radius: 0 0 10px 10px; position: absolute; top: 58px; left: 37px; }
.tail { width: 40px; height: 60px; border: 12px solid var(--cat-color); border-left: 0; border-bottom: 0; border-radius: 0 50px 50px 0; position: absolute; right: -20px; bottom: 15px; transform: rotate(10deg); }
.poem-box { background: #fffafa; border: 2px dashed #ffccd5; border-radius: 20px; padding: 15px; margin: 20px 0; font-size: 0.95rem; line-height: 1.4; }
.grid-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }
.info-item { background: #fff8f9; padding: 10px; border-radius: 15px; font-size: 0.85rem; }
.buttons { display: flex; justify-content: center; gap: 15px; min-height: 60px; }
button { padding: 12px 30px; border-radius: 50px; border: none; font-family: inherit; font-weight: 700; cursor: pointer; transition: 0.3s; }
#yesBtn { background: var(--accent-red); color: white; box-shadow: 0 10px 20px rgba(255, 77, 109, 0.2); }
#noBtn { background: #eee; color: #999; }
.overlay { position: fixed; inset: 0; background: white; display: none; flex-direction: column; justify-content: center; align-items: center; z-index: 1000; }