body {
  background-color: #0a0a1f;
  color: #d1d1f0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#hubtitle {
  text-align: center;
  font-size: 2.4rem;
  margin: 2rem 0 1rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  text-transform: uppercase;
  background: linear-gradient(90deg, #00f7ff, #cc00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(0, 247, 255, 0.3));
}

#container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

ul {
  list-style: none;
  background: linear-gradient(145deg, #1c1c3a, #14142b);
  border: 2px solid #2a2a5e;
  border-radius: 12px;
  padding: 1.5rem;
  min-height: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

ul:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 247, 255, 0.2);
  border-color: #00f7ff;
}

ul h3 {
  font-weight: 700;
  font-size: 1.3rem;
  color: #e0e0ff;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

ul br {
  display: none; /* Removed <br> as h3 handles spacing */
}

ul li {
  margin-top: 0.8rem;
}

ul li a {
  color: #00f7ff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease, padding-left 0.3s ease, text-shadow 0.3s ease;
  display: block; /* Ensures links are full-width for better clickability */
}

ul li a:hover {
  color: #cc00ff;
  padding-left: 0.5rem;
  text-shadow: 0 0 6px rgba(204, 0, 255, 0.5);
}

#github {
  display: inline-block;
  text-align: center;
  margin: 1.5rem auto;
  text-decoration: none;
  color: #0a0a1f;
  background: linear-gradient(45deg, #00f7ff, #cc00ff);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  max-width: 140px;
}

#github:hover {
  background: linear-gradient(45deg, #cc00ff, #00f7ff);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 247, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  #hubtitle {
    font-size: 2rem;
    margin: 1.5rem 0 0.8rem;
  }

  #container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  ul {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  #github {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    max-width: 130px;
  }
}

/* Extra Small Screens */
@media (max-width: 480px) {
  #hubtitle {
    font-size: 1.7rem;
    margin: 1.2rem 0 0.6rem;
  }

  ul {
    padding: 1rem;
    min-height: 160px;
  }

  ul h3 {
    font-size: 1.1rem;
  }

  ul li a {
    font-size: 0.95rem;
  }

  #github {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    max-width: 120px;
  }
}