/* ================================
   TWÓJ ORYGINALNY WYGLĄD NA KOMPUTERZE
   =============================== */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f6f7fb;
    margin: 0;
    text-align: center;
}

.container {
    position: relative;
    max-width: 650px;
    margin: 60px auto;
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

h1 {
    font-size: 26px;
    color: #222;
    margin-bottom: 25px;
}

#quickRestart {
    position: absolute;
    top: 20px;
    right: 25px;
    background: #f2f2f2;
    border: none;
    color: #333;
    font-size: 20px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

    #quickRestart:hover {
        background: #e0e0e0;
        transform: scale(1.1);
    }

#scoreDisplay {
    position: fixed;
    top: 15px;
    right: 25px;
    background: #0078d7;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    z-index: 999;
}

button {
    margin: 10px;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: #0078d7;
    color: white;
    transition: background 0.2s, transform 0.1s;
}

    button:hover {
        background-color: #005bb5;
        transform: scale(1.03);
    }

.hidden {
    display: none;
}

#answers {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
}

    #answers button {
        width: 90%;
        text-align: left;
        background: #f2f4f8;
        color: #222;
        border: 1px solid #ccc;
        border-radius: 10px;
        padding: 12px 15px;
        margin: 6px 0;
        font-size: 15px;
        transition: all 0.2s;
    }

        #answers button:hover {
            background: #e6e9f0;
            border-color: #aaa;
        }

.correct {
    background-color: #4CAF50 !important;
    color: white !important;
    border: none;
}

.wrong {
    background-color: #f44336 !important;
    color: white !important;
    border: none;
}

.neutral {
    background-color: #ffc107 !important;
    color: black !important;
    border: none;
}

#result {
    text-align: left;
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0078d7;
    border-radius: 6px;
    font-size: 15px;
}

.source {
    font-size: 13px;
    font-style: italic;
    color: #555;
    margin-top: 5px;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

.question-text {
    font-size: 1.4em;
    margin: 25px 0;
    font-weight: normal;
    line-height: 1.6;
    color: #222;
}

/* ================================
   TYLKO NA TELEFONIE – wersja bezpieczna + poprawki
   =============================== */
@media (max-width: 768px) {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }

    .container {
        margin: 0;
        padding: 20px;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
        padding-top: 80px;
    }

    #scoreDisplay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 16px;
        font-size: 1.2em;
        z-index: 100;
    }

  #quickRestart {
    position: fixed;
    top: 8px;           lekko wyżej niż było
    right: 12px;
    z-index: 101;
    background: white;
    width: 44px;
    height: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

  h1 {
    margin-top: 20px;
    font-size: 22px;
  }

  .question-text {
    font-size: 1.35em !important;
    margin: 25px 0;
    line-height: 1.55;
  }

  Zmniejszone odstępy między odpowiedziami
  #answers button {
    width: 100%;
    padding: 16px;
    font-size: 1.15em !important;
    margin: 6px 0 !important;   było 10–12px, teraz 6px
    min-height: 60px;
  }

  #nextBtn,
  button[onclick="location.reload()"] {
    padding: 18px;
    font-size: 1.25em !important;
    margin-top: 25px;
  }

  footer {
    margin-top: 40px;
    padding: 20px 0;
  }
}