body {
  background-color: #233252;
  font-family: "DM Sans", sans-serif;
}

h1 {
  font-weight: 800;
  font-size: 38px;
  line-height: 1.5;
  color: #e5e7eb;
  text-align: center;
}

.container {
  margin: 120px auto;
  max-width: 600px;
  background: #171a21;
  padding: 34px 28px;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

input {
  width: 80%;
  margin: 0 auto;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  display: block;
  font-size: 15px;
}

select {
  width: 40%;
  display: block;
  margin: 0 auto;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #2a2f3a;
  outline: none;
  background: #242a36;
  color: #e5e7eb;
}

button {
  width: 40%;
  margin: 0 auto;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 2px solid #233252;
  outline: none;
  background: linear-gradient(135deg, #6d5dfc, #ff7a7a);
  color: #e5e7eb;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 1.35px;
}

button:hover {
  filter: brightness(1.3);
  transform: translateY(-2px);
  color: #e5e7eb;
  border: 2px solid #2a2f3a;
}

input::placeholder {
  color: #6b7280;
}

input:focus,
select:focus {
  border-color: #6d5dfc;
  box-shadow: 0 0 0 3px rgba(109, 93, 252, 0.5);
}

hr {
  border: none;
  height: 1px;
  margin-top: 30px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3));
}

.results {
  margin-top: 80px;
  color: #bdc1c9;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 244, 244, 0.05);
  padding: 12px 14px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
  box-shadow: 0px 20px 60px rgba(55, 101, 161, 0.18);
  border-left: 4px solid #233252;
  line-height: 1.8;
}

.hidden {
  display: none;
}

.blink-text {
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.results::before {
  content: "";
  inset: -2px;
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.results.active::before {
  opacity: 0.6;
}

.results strong {
  color: #6d5dfc;
}

a {
  color: #243a6b;
}

footer {
  margin-top: 100px;
  color: #aaafbb;
  text-align: center;
  font-size: 13px;
}
