body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #e0e7ff 0%, #f8f9fa 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  padding: 32px 36px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60, 72, 88, 0.18);
  text-align: center;
  width: 340px;
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #a5b4fc 0%, transparent 70%);
  opacity: 0.5;
  z-index: 0;
}

.container::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #fca5a5 0%, transparent 70%);
  opacity: 0.4;
  z-index: 0;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 18px;
  letter-spacing: 1px;
  animation: fadeInDown 1s;
}

input {
  padding: 12px;
  width: 100%;
  margin-bottom: 14px;
  border: 1.5px solid #a5b4fc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: #f3f4f6;
}

input:focus {
  border-color: #6366f1;
  outline: none;
}

button {
  padding: 14px 0;
  width: 100%; /* Tombol jadi selebar form */
  background: linear-gradient(90deg, #6366f1 0%, #3b82f6 100%);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.15rem; /* Perbesar font */
  box-shadow: 0 2px 8px rgba(99,102,241,0.08);
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: linear-gradient(90deg, #4f46e5 0%, #2563eb 100%);
  transform: translateY(-2px) scale(1.03);
}

#hasil {
  margin-top: 18px;
  min-height: 48px;
  font-size: 1.08rem;
  font-weight: 500;
  animation: fadeIn 1s;
  z-index: 1;
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px);}
  to { opacity: 1; transform: translateY(0);}
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px);}
  to { opacity: 1; transform: translateY(0);}
}

.container input,
.container button {
  box-sizing: border-box;
  width: 100%;
  display: block;
}