* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: radial-gradient(circle at top, #020617, #020617, #020617, #0f172a);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  color: #fff;
}

.container {
  width: 100%;
  padding: 16px;
}

.card {
  background: linear-gradient(180deg, #020617, #020617);
  padding: 28px 24px;
  border-radius: 18px;
  width: 100%;
  max-width: 400px;
  box-shadow:
    0 0 40px rgba(56,189,248,.25),
    0 0 120px rgba(56,189,248,.15);
  text-align: center;
  animation: fadeIn .6s ease-out;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: .5px;
}

.tagline {
  opacity: .75;
  margin: 8px 0 18px;
  font-size: .95rem;
}

textarea {
  width: 100%;
  min-height: 120px;
  resize: none;
  padding: 14px;
  border-radius: 14px;
  background: #020617;
  border: 1px solid #38bdf8;
  color: #fff;
  font-size: .95rem;
  outline: none;
  transition: border .2s, box-shadow .2s;
}

textarea:focus {
  border-color: #7dd3fc;
  box-shadow: 0 0 0 2px rgba(56,189,248,.25);
}

.btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s, filter .1s;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56,189,248,.35);
  filter: brightness(1.05);
}

.btn:active {
  transform: scale(.98);
}

.result {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(15,23,42,.85);
  border: 1px dashed rgba(56,189,248,.6);
  animation: fadeIn .4s ease-out;
}

.result h2 {
  margin: 6px 0 4px;
  letter-spacing: 2px;
  color: #7dd3fc;
}

.result a {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  color: #38bdf8;
  font-weight: 600;
}

footer {
  margin-top: 14px;
  font-size: .75rem;
  opacity: .55;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
