body {
  background: #0f172a;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 40px 20px;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
}

.divider {
  border: none;
  height: 1px;
  background: #1e293b;
  margin: 20px 0 30px;
}

.top-nav a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.top-nav a:hover {
  text-decoration: underline;
}

textarea {
  width: 100%;
  min-height: 140px;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 14px;
  font-family: monospace;
  font-size: 14px;
  resize: vertical;
  transition: all 0.2s ease;
}

textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

textarea::placeholder {
  color: #64748b;
}

button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

pre {
  width: 100%;
  min-height: 120px;
  margin-top: 25px;
  padding: 18px;

  background: #0b1220;
  color: #22d3ee;

  border: 1px solid #1e293b;
  border-radius: 14px;

  font-family: monospace;
  font-size: 14px;

  white-space: pre-wrap;
  word-break: break-word;

  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.card {
  background: #0b1220;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tool-card {
  background: #111827;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #e2e8f0;
  transition: 0.2s ease;
  border: 1px solid #1e293b;
}

.tool-card:hover {
  background: #1e293b;
  transform: translateY(-4px);
}

.tool-card h2 {
  margin: 0 0 10px 0;
  font-size: 18px;
}

.tool-card p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

input,
select {
  background: #0f172a;
  color: #e2e8f0;

  border: 1px solid #1e293b;
  border-radius: 10px;

  padding: 10px 14px;
  font-size: 14px;

  transition: all 0.2s ease;
}

input::placeholder {
  color: #64748b;
}

input:focus,
select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}