body {
    background: linear-gradient(135deg, #dff2e1 0%, #bce2c7 100%);
    background-image: url("https://www.transparenttextures.com/patterns/bamboo.png");
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #1b3326;
}

.quizContainer {
    max-width: 460px;
    margin: 60px auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    padding: 36px 26px;
    border: 2px solid #88c999;
    position: relative;
    overflow: hidden;
}

.quizContainer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #8bc34a 0%, #4caf50 100%);
    border-radius: 6px 0 0 6px;
}

h1 {
    text-align: center;
    color: #2e7d32;
    font-size: 2rem;
    letter-spacing: 1.2px;
    margin-bottom: 28px;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.pytanieTekst {
    font-size: 1.1em;
    margin-bottom: 14px;
    text-align: center;
    font-weight: 600;
}

.poleOdpowiedzi {
    width: 100%;
    padding: 10px 12px;
    font-size: 1em;
    margin-bottom: 12px;
    border: 1.6px solid #a5d6a7;
    border-radius: 8px;
    background: #f6fff7;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.poleOdpowiedzi:focus {
    border-color: #66bb6a;
    box-shadow: 0 0 6px rgba(102, 187, 106, 0.4);
    outline: none;
}

.przyciskNastepne {
    background: linear-gradient(90deg, #81c784 0%, #4caf50 100%);
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 1.05em;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
    display: block;
    margin: 0 auto;
}

.przyciskNastepne:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(56, 142, 60, 0.35);
}

.przyciskNastepne:active {
    transform: scale(0.98);
}

.komunikatZwrotny {
    margin-top: 16px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.wynikContainer {
    text-align: center;
    display: none;
}

.wynikTekst {
    font-size: 1.3em;
    color: #2e7d32;
    margin-top: 20px;
    font-weight: 700;
}

.quizContainer::after {
    content: "🎋";
    position: absolute;
    bottom: 10px;
    right: 18px;
    font-size: 1.4rem;
    opacity: 0.7;
}

@media (max-width: 600px) {
    .quizContainer {
        max-width: 92%;
        margin: 30px auto;
        padding: 24px 18px;
        border-radius: 14px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .przyciskNastepne {
        font-size: 1em;
        padding: 10px 18px;
    }
}
