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

:root {
  --acid: #39FF14;
  --black: #000000;
  --white: #ffffff;
  --muted: rgba(255,255,255,0.55);
  --border: rgba(255,255,255,0.12);
}

html, body {
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
}

header {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.back-link:hover { color: var(--acid); }

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, var(--acid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.acid { color: var(--acid); font-weight: 600; }

#drip-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#addr {
  flex: 1;
  min-width: 280px;
  padding: 1rem 1.25rem;
  background: #060606;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--white);
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 1rem;
}

#addr:focus {
  outline: none;
  border-color: var(--acid);
}

button {
  padding: 1rem 2rem;
  background: var(--acid);
  color: var(--black);
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

button:hover { transform: translateY(-1px); box-shadow: 0 0 24px rgba(57,255,20,0.4); }
button:active { transform: translateY(0); }
button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.result {
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.5;
}

.result.hidden { display: none; }
.result.success { border-color: var(--acid); color: var(--acid); }
.result.error { border-color: #ff6464; color: #ff8080; }
.result code {
  font-family: 'SF Mono', Consolas, monospace;
  background: rgba(255,255,255,0.05);
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  word-break: break-all;
}
.result a { color: var(--acid); text-decoration: underline; }

.status, .hint {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.status h2, .hint h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.status ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.status code {
  font-family: 'SF Mono', Consolas, monospace;
  color: var(--acid);
}

.hint p { color: rgba(255,255,255,0.85); line-height: 1.55; font-size: 0.95rem; }
.hint a { color: var(--acid); }

footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

footer a { color: var(--acid); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  main { padding: 2.5rem 1rem; gap: 2rem; }
  h1 { font-size: 2.2rem; }
  #drip-form { flex-direction: column; }
  #addr { min-width: 0; width: 100%; }
  button { width: 100%; }
}
