
/* Page background */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Main card */
#container {
    background: linear-gradient(135deg, #ffffff, #fff4ec);
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    font-size: 1.8rem;
    font-weight: bold;
}

/* Title */
h1 {
    margin-bottom: 20px;
    color: #ff6f61;
}

/* Label */
label {
    color: #444;
}

/* Input */
input {
    font-size: 1.6rem;
    width: 120px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
    border: 2px solid #ffb703;
    padding: 5px;
    outline: none;
}

input:focus {
    border-color: #ff6f61;
}

/* Button */
button {
    margin-top: 15px;
    font-size: 1.4rem;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(135deg, #ff6f61, #ff9f1c);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: scale(0.97);
}

/* Dice result text */
#diceResult {
    margin: 20px 0;
    color: #333;
}

/* Dice images */
#diceImgs img {
    width: 90px;
    margin: 8px;
    transition: transform 0.2s ease;
}

#diceImgs img:hover {
    transform: rotate(-5deg) scale(1.05);
}




