* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505; /* Bardzo ciemny szary dla lepszego kontrastu animacji tła */
    color: #ffffff;
    font-family: 'Minecraft', sans-serif;
    overflow: hidden;
    position: relative;
}

/* Pulsujące tło (dodaje głębi) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    z-index: -2;
    animation: pulseBackground 8s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

/* Styl dla kontenera cząsteczek w tle */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Pojedynczy lewitujący piksel/blok */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.05); /* Bardzo delikatnie widoczne, żeby nie odciągać uwagi */
    bottom: -50px;
    animation: floatUp linear infinite;
}

/* Animacja unoszenia pikseli z tła w stylu "Endu" lub kurzu */
@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(180deg);
        opacity: 0;
    }
}

.container {
    text-align: center;
    padding: 20px;
    z-index: 1;
}

/* Ulepszony, większy i dokładniejszy napis */
.minecraft-text {
    /* Znacznie większy napis */
    font-size: 8vw;
    /* Efekt przestrzenny - grubszy, blokowy cień 3D */
    text-shadow: 
        0px 6px 0px #333333,
        0px 10px 20px rgba(0, 0, 0, 0.9);
    /* Dużo delikatniejsze bujanie */
    animation: gentleFloat 6s ease-in-out infinite;
    line-height: 1.2;
    letter-spacing: 2px;
}

/* Interaktywne litery robiące falę */
.wave-letter {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), text-shadow 0.25s, color 0.25s;
    cursor: default; /* Zwykły kursor nad tekstem */
}

/* Podniesienie litery przy najechaniu (fala) */
.wave-letter:hover {
    transform: translateY(-25px);
    /* Wydłużamy cień, żeby wyglądało, że klocek "wyskakuje" do góry */
    text-shadow: 
        0px 31px 0px #333333,
        0px 35px 20px rgba(0, 0, 0, 0.9);
    color: #fffacd; /* Subtelny złoto-żółty odcień na hoverze */
}

/* Delikatne bujanie całości (mniejszy zakres ruchu) */
@keyframes gentleFloat {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
    .minecraft-text {
        /* Ekstremalnie duży dla telefonów */
        font-size: 13vw;
        text-shadow: 
            0px 4px 0px #333333,
            0px 8px 15px rgba(0, 0, 0, 0.9);
    }
    /* Mniejsza fala na mobilce ze względu na wielkość liter */
    .wave-letter:hover {
        transform: translateY(-15px);
        text-shadow: 
            0px 19px 0px #333333,
            0px 23px 15px rgba(0, 0, 0, 0.9);
    }
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
}

.quotes-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.quotes-section.visible {
    opacity: 1;
}

.quotes-title {
    font-size: 4vw;
    margin-bottom: 60px;
    text-shadow: 0px 4px 0px #333333, 0px 8px 15px rgba(0, 0, 0, 0.9);
    text-align: center;
    animation: none;
    line-height: 1.2;
}

.quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
}

.quote-card {
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid #333;
    padding: 40px 30px;
    border-radius: 0px;
    font-size: 1.2rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    line-height: 1.6;
    position: relative;
    text-align: center;
    backdrop-filter: blur(5px);
}

.quote-card::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    color: rgba(255, 255, 255, 0.2);
    font-family: sans-serif;
}

.quote-card:hover {
    transform: translateY(-10px);
    border-color: #fffacd;
    background: rgba(255, 255, 255, 0.1);
}

.author {
    display: block;
    margin-top: 20px;
    font-size: 1rem;
    color: #aaa;
    text-align: right;
    font-style: italic;
}

@media (max-width: 768px) {
    .quotes-title {
        font-size: 8vw;
    }
    #ciupa-text {
        font-size: 5vw;
    }
}

/* Styl dla ukrytego napisu Ciupa */
#ciupa-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 6vw;
    color: #ff69b4; /* Różowy / miłosny kolor */
    text-shadow: 0px 6px 0px #333333, 0px 10px 20px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease-out;
    z-index: 1000;
    pointer-events: none;
    text-align: center;
    width: 100%;
}

#ciupa-text.visible {
    opacity: 1;
    animation: heartbeat 0.6s infinite alternate ease-in-out;
}

@keyframes heartbeat {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-50%, -50%) scale(1.15); }
}
