* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url(we.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    padding: 40px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

h2 {
    color: #444;
    font-family: "Roboto", sans-serif;
    font-style: normal;
    margin-bottom: 20px;
    font-weight: 600;
}

input[type="text"] {
    width: 100%;
    padding: 12px;
    margin: 12px 0;
    border: 2px solid #444;
    border-radius: 8px;
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    color: #444;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #1abc9c;
}

button {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    color: white;
    padding: 20px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #16a085, #1abc9c);
}

#nilaiContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.nilaiBox {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    width: 140px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.nilaiBox:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.nilaiBox label {
    font-size: 0.9em;
    margin-bottom: 8px;
    color: #444;
}

.nilaiBox input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: #444;
    font-size: 0.9em;
}

#hasil {
    margin-top: 25px;
    font-size: 1.2em;
    color: #444;
    font-weight: 600;
}
