body, html {
    height: 100%;
    margin: 0;
}
.bg-fullscreen {
	position: relative; /* NOWE! pozwala na warstwy wewnątrz */
    z-index: 1;
    background-image: url('twojaparowatlo.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

.overlay {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
	position: relative;
    z-index: 10;  /* obraz nad dymem */
}

.center-image {
    max-width: 65%;
    height: auto;
    border-radius: 35px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4); /* lekki cień, lepszy wygląd */
}
.center-image:hover {
    transform: scale(1.03);
    transition: 0.3s;
}
.fun-bubble {
    position: absolute;
    bottom: 20px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 12px 22px;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    font-size: 18px;
    text-align: center;
    line-height: 1.6;
	z-index: 20;  /* dymek nad obrazem */
}

/* Aktywacja */
.fun-bubble.show {
    opacity: 1;
    transform: translateY(0);
}

/* Link wewnątrz dymka */
.fb-tag {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

/* Niebieskie wyróżnienie słowa "Facebooku" */
.fb-word {
    background: #1877F2;
    color: white;
    padding: 5px 6px;
    border-radius: 6px;
    margin-left: 4px;
}
.smoke-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.smoke {
    position: absolute;
    bottom: -150px;
    left: 50%;
    width: 240px;
    height: 240px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.75) 0%,
        rgba(255, 255, 255, 0.35) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50%;
    animation: smokeMove 12s infinite ease-in-out;
    filter: blur(12px);

    /* WAŻNE → po starcie nic nie jest widoczne */
    opacity: 0;
}

/* Losowe pozycje */
.smoke:nth-child(1) {
    top: 400px;
    left: 20%;
}

.smoke:nth-child(2) {
    top: 120px;
    left: 43%;
}

.smoke:nth-child(3) {
    top: 110px;
    left: 60%;
}

/* ANIMACJA:
   0%  → niewidoczny
   20% → pojawia się w pełni
   70% → wciąż mocny
   100% → znika
*/
@keyframes smokeMove {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
    20% {
        opacity: 1;
    }
    70% {
        opacity: 1;
        transform: translateY(-300px) scale(1.4);
    }
    100% {
        opacity: 0;
        transform: translateY(-500px) scale(1.8);
    }
}

@media (max-width: 768px) {
    .center-image {
        max-width: 85%;
    }
}
