/* === TŁO Z GRADIENTEM ANIMOWANYM === */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

/* Gradient animowany */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #4e54c8, #8f94fb, #6a11cb, #2575fc);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    z-index: -1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === KONTENER === */
.content {
    text-align: center;
    padding: 20px;
    max-width: 600px;
}

/* === OBRAZEK === */
.hero-img {
    width: 230px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

/* Animacja kołysania */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* === NAPISY === */
h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* === NOWOCZESNY LOADER === */
.loader {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
