body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg,#fff7f0, #ffe0cc);
    color: #333;
    text-align: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    margin: 10px 0;
}

.options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.options button {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fff7f0;
    font-size: 1em;
    transition: transform 0.1s, background-color 0.2s;
}

.options button.selected {
    border: 2px solid #ff5733;
    background: #fff3e6;
    transform: scale(1.1);
}

.options button:hover {
    background-color: #ffefdc;
    transform: scale(1.05);
}

input[type="range"] {
    width: 80%;
    margin: 10px 0 20px 0;
}

.actions button {
    padding: 8px 12px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #ff7f50;
    color: #fff;
    font-weight: bold;
    transition: all 0.2s;
}

.actions button:hover {
    background-color: #ff5733;
    transform: scale(1.05);
}

.result {
    margin: 20px 0;
    font-size: 1.2em;
    padding: 15px;
    border-radius: 10px;
    background: #fff3e6;
    animation: popIn 0.4s ease;
}

@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

ul#history {
    list-style: none;
    padding: 0;
}

ul#history li {
    background: #ffe0b3;
    margin: 5px 0;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s;
}

ul#history li:hover {
    transform: scale(1.02);
}