:root {
  --bg: #060606;
  --fg: #f2f2f2;
  --muted: #8a8a8a;
  --accent: #7cff00;
  --radius: 6px;
  --ui: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}
}html, body {
  min-height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ui);
}

.page {
  flex: 1;
  padding-top: 64px;
}

.centered-container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.form-group {
  width: 100%;
  margin-bottom: 24px;
}

label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  min-width: 400px;
  max-width: 100%;
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--fg);
  font-family: var(--ui);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(124, 255, 0, 0.4);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  width: 100%;
}

button {
  flex: 1;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background 0.2s, transform 0.15s;
}

#generate {
  background: var(--accent);
  color: #000;
}

#copy {
  background: transparent;
  color: var(--accent);
}

#copy.copied {
  background: #000;
  color: var(--accent);
}

button:hover {
  transform: translateY(-2px);
}

pre {
  width: 100%;
  margin-top: 40px;
  padding: 32px;
  background: #0a0a0a;
  border: 1px solid #1f1f1f;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  color: #b9ff8f;
}

pre::selection {
  background: var(--accent);
  color: #000;
}

@media (max-width: 700px) {
  input,
  textarea {
    min-width: 100%;
  }

  .actions {
    flex-direction: column;
  }
}
