/* Custom futuristic theme styles */
.dark-mode-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background-color: #00ffc8;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.3s;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
  background-color: #00b894;
}

body.dark .dark-mode-toggle {
  background-color: #0d1117;
  color: #00ffc8;
}

body {
  background: #f5f5f5;
}

body.dark {
  background: #0d1117;
}

a {
  position: relative;
  color: #00b894;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #00ffc8;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out;
}

a:hover:before {
  visibility: visible;
  transform: scaleX(1);
}

a:hover {
  color: #00ffc8;
}

h1 {
  font-family: 'Orbitron', sans-serif;
  color: #00b894;
}

h2 {
  font-family: 'Orbitron', sans-serif;
  color: #00ffc8;
  margin-bottom: 1rem;
}

/* Animation on category titles */
h2 {
  position: relative;
}

h2:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  top: 100%;
  left: 0;
  background-color: #00b894;
  visibility: hidden;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

h2:hover:before {
  visibility: visible;
  transform: scaleX(1);
}
