:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.15), transparent 40%),
    radial-gradient(circle at 80% 100%, rgba(16, 185, 129, 0.16), transparent 35%),
    #020617;
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.8), rgba(16, 185, 129, 0.8));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: #67e8f9;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.tool-card {
  border: 1px solid rgba(51, 65, 85, 0.75);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8));
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow:
    inset 0 1px 0 rgba(148, 163, 184, 0.08),
    0 22px 40px -24px rgba(6, 182, 212, 0.35);
}

.tool-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
}

.tool-description {
  margin-top: 0.35rem;
  color: #94a3b8;
  font-size: 0.925rem;
}

.tool-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  background: rgba(15, 23, 42, 0.7);
  color: #f8fafc;
  padding: 0.65rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-input::placeholder {
  color: #64748b;
}

.tool-input:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.check-option {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 0.65rem;
  padding: 0.5rem 0.6rem;
  background: rgba(2, 6, 23, 0.45);
}

.check-option input {
  accent-color: #22d3ee;
}

.action-btn {
  border: 0;
  border-radius: 0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}

.action-btn:active {
  transform: translateY(1px);
}

.action-btn-primary {
  background: linear-gradient(90deg, #0891b2, #06b6d4);
  color: #ecfeff;
  box-shadow: 0 8px 18px -10px rgba(34, 211, 238, 0.85);
}

.action-btn-secondary {
  background: linear-gradient(90deg, #14532d, #059669);
  color: #ecfdf5;
  box-shadow: 0 8px 18px -10px rgba(16, 185, 129, 0.85);
}

.hash-output {
  min-height: 2.5rem;
  overflow-wrap: anywhere;
  border: 1px solid rgba(51, 65, 85, 0.85);
  border-radius: 0.65rem;
  background: rgba(2, 6, 23, 0.5);
  padding: 0.55rem 0.65rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: #cbd5e1;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.footer-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.45rem;
}

.footer-link {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #67e8f9;
}

@media (max-width: 640px) {
  .action-btn {
    width: 100%;
  }
}
