
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, #2a2a40, #1e1e2f);
  color: white;
  transition: background 0.5s ease-in-out;
}
header {
  background: #12121e;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.logo {
  font-size: 1.25rem;
  font-weight: bold;
}
main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 60px);
  animation: fadeIn 1s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  animation: floatIn 1.2s ease;
}
@keyframes floatIn {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.card h2 {
  margin-bottom: 1rem;
}
.card label {
  display: block;
  margin: 0.75rem 0 0.25rem;
}
.card input, .card select {
  width: 100%;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: none;
  margin-bottom: 1rem;
  font-size: 1rem;
  background: #2e2e48;
  color: #fff;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}
.card input:focus, .card select:focus {
  background: #3b3b5a;
}
.card button {
  width: 100%;
  padding: 0.75rem;
  background-color: #7b3fe4;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 0 #5c2dbd;
  transition: all 0.2s ease;
}
.card button:hover {
  background-color: #612ec2;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(123, 63, 228, 0.4);
}
.card button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 6px rgba(123, 63, 228, 0.2);
}
#results {
  margin-top: 1.5rem;
}
.result-card {
  background-color: #252538;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInCard 0.5s ease-in-out;
}
.result-card p {
  margin: 0.25rem 0;
  color: #e3e3f3;
  font-size: 0.95rem;
  line-height: 1.4;
}
.result-card span.label {
  display: inline-block;
  font-weight: bold;
  color: #9f8fff;
  margin-right: 0.5rem;
}
@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.card .whois {
  white-space: pre-wrap;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 1rem;
  background: #1c1c2c;
  border-left: 4px solid #7b3fe4;
  padding: 1rem;
  border-radius: 0.5rem;
}
