body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #001f3f, #003366);
  color: #ecf0f1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

header {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  width: 80px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px gold);
}

h1 {
  font-size: 1.8em;
  margin: 0;
  color: #f1c40f;
}

p {
  font-size: 0.95em;
  color: #bdc3c7;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input[type="number"],
input[type="range"] {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #0a2a4a;
  color: #ecf0f1;
  font-size: 1em;
  transition: background 0.3s;
}

input[type="number"]:focus {
  background: #123b66;
  outline: none;
}

input[type="range"] {
  accent-color: #f1c40f;
}

.output {
  background: #0b1f3a;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: inset 0 0 10px rgba(241, 196, 15, 0.2);
}

.output div {
  margin: 8px 0;
  font-size: 1.1em;
}

button {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  background: #f1c40f;
  color: #001f3f;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

button:disabled {
  background: #7f8c8d;
  cursor: not-allowed;
}

button:hover:enabled {
  background: #f39c12;
  transform: scale(1.03);
}
