/* ============================================================
   Zerolands Git — Custom Styles
   Navbar color: #66cc8a (matches zerolands.duckdns.org emerald theme)
   ============================================================ */

/* --- Navbar logo: replace built-in SVG with custom favicon-32x32 --- */
#navbar-logo img {
  content: url('/git/assets/img/favicon-32x32.png');
  width: 30px !important;
  height: 30px !important;
  object-fit: contain;
}

/* --- Navbar --- */
#navbar {
  background-color: #66cc8a !important;
  border-bottom: 2px solid #4ab872 !important;
}

#navbar a.item,
#navbar .item,
#navbar button {
  color: #1a3d2b !important;
}

#navbar a.item:hover,
#navbar .item:hover {
  background-color: rgba(0, 0, 0, 0.10) !important;
  color: #0d2218 !important;
}

#navbar a.item.active {
  background-color: rgba(0, 0, 0, 0.16) !important;
}

/* Zerolands link — slight separator */
.zl-navbar-home {
  font-weight: 600 !important;
  border-left: 1px solid rgba(0, 0, 0, 0.18) !important;
  margin-left: 6px !important;
  padding-left: 14px !important;
}

/* --- Hero (centered column) --- */
.zl-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1rem 2rem;
  gap: 1rem;
}

.zl-logo {
  display: block;
}

.zl-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0;
  color: #66cc8a;
}

.zl-signin-btn {
  display: inline-block;
  background-color: #66cc8a;
  color: #1a3d2b !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 2rem;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background-color 0.2s, transform 0.15s;
  margin-top: 0.4rem;
}

.zl-signin-btn:hover {
  background-color: #4ab872;
  transform: translateY(-1px);
}

/* --- Server section --- */
.zl-section {
  max-width: 860px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.zl-section-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.zl-mc-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.zl-section-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.zl-section-desc {
  color: var(--color-text-light-2);
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
}

/* --- Repo cards grid --- */
.zl-repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}

.zl-repo-card {
  display: block;
  border: 1px solid var(--color-secondary);
  border-radius: 10px;
  padding: 1.3rem 1.5rem;
  text-decoration: none !important;
  color: inherit !important;
  background: var(--color-box-body);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.zl-repo-card:hover {
  border-color: #66cc8a;
  box-shadow: 0 4px 18px rgba(102, 204, 138, 0.2);
  transform: translateY(-2px);
}

.zl-repo-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.zl-repo-name {
  font-weight: 700;
  font-size: 0.97rem;
  color: #3a9e62;
}

.zl-repo-owner {
  font-size: 0.8rem;
  color: var(--color-text-light-2);
}

.zl-repo-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-text-light-1);
  margin: 0 0 0.8rem;
}

.zl-repo-meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--color-text-light-2);
}
