:root {
  --bg: #0f172a;
  --surface: #1e293b;
  --surface-alt: #0b1220;
  --border: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --badge-bg: rgba(56, 189, 248, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #172554 0%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 680px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.badge {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.info-item {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.value {
  font-weight: 600;
  font-size: 0.95rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

button,
.btn-link {
  background: var(--accent);
  color: #082f49;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
  display: inline-block;
}

button:hover,
.btn-link:hover {
  background: var(--accent-hover);
  text-decoration: none;
}

.output {
  min-height: 1.4rem;
  color: #86efac;
  font-size: 0.9rem;
  font-weight: 500;
}
