/* Ustawienia strony */
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background: radial-gradient(circle, #0f0c29, #302b63, #24243e);
    color: white;
    margin: 0;
    padding: 0;
}

/* Nagłówek */
h1 {
    font-size: 36px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Kontener kalkulatora */
.game-container {
    margin-top: 50px;
}

.calculator {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* Pole wyświetlania */
#display {
    width: 100%;
    height: 60px;
    font-size: 28px;
    text-align: right;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    outline: none;
}

/* Siatka przycisków */
.buttons {
    display: grid;
    grid-template-columns: repeat(4, 70px);
    gap: 12px;
    margin-top: 20px;
}

/* Styl przycisków */
.btn {
    width: 70px;
    height: 70px;
    font-size: 26px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease-out, background 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
    position: relative;
}

/* Efekt podświetlenia przycisku */
.btn:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Operatory matematyczne */
.operator {
    background: rgba(255, 184, 108, 0.6);
}

.operator:hover {
    background: rgba(255, 184, 108, 1);
}

/* Przycisk specjalny (C i =) */
.special {
    background: rgba(255, 108, 108, 0.6);
}

.special:hover {
    background: rgba(255, 108, 108, 1);
}

/* Komunikat */
#message {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
