/* Plik: style.css */

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    /* Ciemne tło dla lepszego kontrastu */
    background-color: #111;
    color: #fff;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.container {
    position: relative;
    text-align: center;
    width: 300px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Stylizacja kupy */
.poop {
    font-size: 250px;
    line-height: 1;
    position: relative;
    z-index: 10;
    animation: breathe 3s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
    cursor: default;
    user-select: none;
}

/* Kontener pary */
.steam-container {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 100px;
    z-index: 5;
    pointer-events: none;
}

/* Wygląd cząsteczki pary */
.vapor {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 65%);
    border-radius: 50%;
    opacity: 0;
    filter: blur(8px);
    transform-origin: center bottom;
}

/* Sekwencja cząsteczek */
.v1 {
    animation: vapor-rise 3.5s infinite;
    animation-delay: 0s;
    width: 60px;
    left: 45%;
}

.v2 {
    animation: vapor-rise 3.5s infinite;
    animation-delay: 0.6s;
    width: 80px;
    left: 55%;
}

.v3 {
    animation: vapor-rise 3.5s infinite;
    animation-delay: 1.2s;
    width: 55px;
    left: 35%;
}

.v4 {
    animation: vapor-rise 3.5s infinite;
    animation-delay: 1.8s;
    width: 70px;
    left: 60%;
}

.v5 {
    animation: vapor-rise 3.5s infinite;
    animation-delay: 2.4s;
    width: 65px;
    left: 40%;
}

.v6 {
    animation: vapor-rise 3.5s infinite;
    animation-delay: 3.0s;
    width: 75px;
    left: 50%;
}

/* Animacja ruchu */
@keyframes vapor-rise {
    0% {
        transform: translateY(20px) translateX(-50%) scale(0.4);
        opacity: 0;
    }

    15% {
        opacity: 0.9;
    }

    50% {
        transform: translateY(-100px) translateX(-60%) scale(1.8);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-220px) translateX(-20%) scale(3);
        opacity: 0;
    }
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}