body {
    background: linear-gradient(to bottom right, #1e1e2f, #2d1a2c);
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#container {
    width: 90%;
    max-width: 600px;
    margin: 80px auto;
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    border-radius: 20px;
    text-align: center;
    color: #f0f0f0;
}

#container > h1 {
    font-size: 3rem;
    color: #f3f3f3;
    margin-bottom: 20px;
    text-shadow: 0px 2px 4px rgba(0,0,0,0.4);
    text-decoration: underline;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #ccc;
}

input {
    font-size: 1.6rem;
    padding: 8px 14px;
    width: 120px;
    text-align: center;
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
    background-color: #eee;
    color: #333;
}

button {
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    background-color: hsl(241, 65%, 55%);
    color: white;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
}

button:hover {
    cursor: pointer;
    background-color: hsl(241, 65%, 60%);
    transform: scale(1.03);
}

button:active {
    background-color: hsl(241, 65%, 75%);
    transform: scale(0.97);
}

#diceResult {
    font-size: 1.7rem;
    margin: 20px 0;
    color: #e2e2e2;
}

#diceImages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#diceImages img {
    width: 60px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4));
    transition: transform 0.2s ease;
}

#diceImages img:hover {
    transform: scale(1.1);
}
