body {
    font-family: 'Georgia', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(to bottom, #ffebee, #f8bbd0);
    color: #333;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.container {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 700px;
    width: 90%;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
    animation: fadeIn 1.5s ease-in-out;
}

.titel {
    color: #d81b60;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.ondertitel {
    font-size: 1.5rem;
    font-style: italic;
    color: #e91e63;
    margin-bottom: 2rem;
}

/* Styling voor de nieuwe Pomodoro-timer */
.pomodoro-timer {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#timer-display {
    font-size: 4rem;
    font-weight: bold;
    color: #d81b60;
    margin-bottom: 1rem;
}

.timer-controls button {
    background-color: #d81b60;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.timer-controls button:hover {
    background-color: #ad1457;
}

#timer-status {
    font-style: italic;
    margin-top: 1rem;
    color: #757575;
}

button#onthulKnop {
    background-color: #d81b60;
    color: white;
    border: none;
    padding: 18px 35px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.4s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

button#onthulKnop:hover {
    background-color: #ad1457;
    transform: translateY(-3px) scale(1.05);
}

.verborgen {
    display: none;
}

#cadeau-tekst {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInSlideUp 1.5s forwards;
}

#cadeau-tekst p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #d81b60;
    margin-bottom: 1rem;
}

.cadeau-afbeelding {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Animatie voor het containerpaneel */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animatie voor de onthulde tekst */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hardcoded bloemen stijl */
.bloem {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3E%3Cpath fill="%23e91e63" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5A5.4 5.4 0 0 1 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3A5.4 5.4 0 0 1 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"%3E%3C/path%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    animation: vallen-en-draaien 10s linear infinite;
    z-index: 5;
}

@keyframes vallen-en-draaien {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* De container voor de Lottie-animatie van de kat */
#kat-animatie { position: fixed; bottom: 0; left: 0; width: 300px; height: 300px; z-index: 5; /* De animatie wordt door JS geladen */ }


/* Media Query voor kleinere schermen (bijv. mobiele telefoons) */
@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
    }

    .titel {
        font-size: 2rem;
    }

    .ondertitel {
        font-size: 1rem;
    }

    .timer-controls button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    #timer-display {
        font-size: 3rem;
    }

    button#onthulKnop {
        padding: 12px 25px;
        font-size: 1rem;
    }

    #kat-animatie {
        width: 100px;
        height: 100px;
    }
}