* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: #0f1117;
  color: #e2e8f0;
  min-height: 100vh;
}

header {
  background: #1a1d27;
  border-bottom: 1px solid #2d3148;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header a.logo {
  color: #7c6af7;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

nav a {
  color: #94a3b8;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

nav a:hover { color: #e2e8f0; }

.container {
  max-width: 860px;
  margin: 48px auto;
  padding: 0 24px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  color: #94a3b8;
  font-size: 15px;
  margin-bottom: 32px;
}

.tool-card {
  background: #1a1d27;
  border: 1px solid #2d3148;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
  font-weight: 500;
}

input, select {
  width: 100%;
  background: #0f1117;
  border: 1px solid #2d3148;
  border-radius: 8px;
  padding: 10px 14px;
  color: #e2e8f0;
  font-size: 15px;
  outline: none;
}

input:focus, select:focus {
  border-color: #7c6af7;
}

.result-box {
  background: #0f1117;
  border: 1px solid #2d3148;
  border-radius: 8px;
  padding: 14px;
  font-family: monospace;
  font-size: 18px;
  color: #7c6af7;
  margin-top: 16px;
  word-break: break-all;
}

button.copy-btn {
  margin-top: 12px;
  background: #7c6af7;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
}

button.copy-btn:hover { background: #6a58e0; }

.description {
  margin-top: 40px;
  color: #94a3b8;
  line-height: 1.7;
  font-size: 15px;
}

.description h2 {
  color: #e2e8f0;
  font-size: 18px;
  margin: 24px 0 8px;
}

footer {
  text-align: center;
  padding: 32px;
  color: #475569;
  font-size: 13px;
  border-top: 1px solid #2d3148;
  margin-top: 60px;
}