:root {
  --bg: #0a0a0a;
  --text: #e0e0e0;
  --accent: #00e676;
  --surface: #1a1a1a;
  --surface-hover: #2a2a2a;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
}

.card {
  background-color: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.75rem;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  background-color: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
}

.btn-accent {
  background-color: var(--accent);
  color: #0a0a0a;
  font-weight: 600;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-accent:hover {
  box-shadow: 0 0 15px #00e676;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  transition: box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.btn-outline:hover {
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.5);
  transform: translateY(-1px);
}

.nav-link {
  color: rgba(224, 224, 224, 0.7);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link-active {
  color: var(--accent);
}

.glow-text {
  text-shadow: 0 0 15px rgba(0, 230, 118, 0.6);
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-family: "Fira Code", monospace;
  font-size: 0.875rem;
  background-color: var(--surface);
  color: rgba(224, 224, 224, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover {
  background-color: var(--surface-hover);
  color: var(--text);
}

.filter-active {
  background-color: var(--accent);
  color: #0a0a0a;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.35);
}

.tag {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-family: "Fira Code", monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-synth {
  background-color: rgba(0, 230, 118, 0.15);
  color: var(--accent);
}

.tag-effect {
  background-color: rgba(224, 224, 224, 0.1);
  color: rgba(224, 224, 224, 0.8);
}

.input-field {
  width: 100%;
  background-color: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  padding: 0.625rem 0.875rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field::placeholder {
  color: rgba(224, 224, 224, 0.35);
}

.input-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.25);
}

#contact-form {
  transition: box-shadow 0.25s ease;
}

#contact-form:focus-within {
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
