body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #0e0f12;
  color: #e5e7eb;
  margin: 0;
  padding: 0;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 15, 18, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1f2933;
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: #e5e7eb;
}

.nav-logo-img {
  width: 26px;
  height: 26px;
}

.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #9ca3af;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #5eead4;
}

.minecraft-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.minecraft-inner {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 24px;
}

/* FILTERS LEFT */
.filters {
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.type-buttons button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #1f2933;
  background: #15171c;
  color: #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.type-buttons button.selected {
  background: #5eead4;
  color: #0e0f12;
  border-color: #5eead4;
}

.type-buttons button:hover {
  transform: translateY(-2px);
}

.loader-filter, .version-filter {
  display: flex;
  flex-direction: column;
}

.loader-filter.hidden {
  display: none;
}

select {
  margin-top: 6px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #1f2933;
  background: #15171c;
  color: #e5e7eb;
}

/* PROJECTS RIGHT */
.projects-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#searchInput {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #1f2933;
  background: #15171c;
  color: #e5e7eb;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* PROJECT CARD */
.project-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #15171c;
  border: 1px solid #1f2933;
  border-radius: 14px;
  padding: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.animate-card {
  animation: fadeInUp 0.4s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-info h3 {
  margin: 8px 0;
}

.project-info h3 a {
  color: #e5e7eb;
  text-decoration: none;
}

.project-info p {
  font-size: 0.9rem;
  color: #9ca3af;
}

.project-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: 20px;
}

.project-buttons .btn span {
  font-size: 0.8rem;
  margin-left: 4px;
}

.project-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: #1f2933;
}

.project-logo.placeholder {
  display: inline-block;
  background: #1f2933;
  width: 64px;
  height: 64px;
  border-radius: 12px;
}

/* NO DATA CARD CENTERED */
.project-card.no-data {
  justify-content: center;
  text-align: center;
  font-style: italic;
  padding: 40px 0;
  background: #1f1f1f;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  font-size: 1.1rem;
  color: #9ca3af;
  animation: fadeInUp 0.4s forwards;
}

@media (max-width: 900px) {
  .minecraft-inner {
    flex-direction: column;
  }

  .filters {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .projects-container {
    width: 100%;
  }
}

.btn-modrinth,
.btn-curseforge {
  border-radius: 10px;
  padding: 10px;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Specific background colors */
.btn-modrinth {
  background-color: #1bca64;
}

.btn-curseforge {
  background-color: #f16436;
}

/* Hover effects */
.btn-modrinth:hover {
  background-color: #179e50; /* Darker green */
  transform: translateY(-5px); /* Float 20px up */
}

.btn-curseforge:hover {
  background-color: #c04b2b; /* Darker orange/red */
  transform: translateY(-5px); /* Float 20px up */
}

