body:has(.dev-home) {
  background: #18181d;
}

.dev-home {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  padding: 3rem 1.5rem;
  color: #f8f7fb;
  background:
    radial-gradient(circle at 18% 15%, rgba(118, 83, 156, 0.26), transparent 32rem),
    radial-gradient(circle at 82% 80%, rgba(218, 60, 142, 0.12), transparent 28rem),
    #18181d;
}

.dev-home__card {
  width: min(100%, 42rem);
  text-align: center;
}

.dev-home__logo {
  display: block;
  width: clamp(7rem, 22vw, 11rem);
  height: auto;
  margin: 0 auto 1.75rem;
}

.dev-home__eyebrow {
  margin: 0 0 1rem;
  color: #da3c8e;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.dev-home h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.dev-home__description {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  color: rgba(248, 247, 251, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.dev-home__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dev-home__primary,
.dev-home__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border-radius: 0.55rem;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 120ms ease, filter 120ms ease;
}

.dev-home__primary {
  color: #fff;
  background: linear-gradient(135deg, #76539c, #da3c8e);
}

.dev-home__secondary {
  color: #f8f7fb;
  border: 1px solid rgba(248, 247, 251, 0.25);
}

.dev-home__primary:hover,
.dev-home__secondary:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* Official Desenvolva mark in the Forgejo navbar. */
#navbar-logo img {
  display: none;
}

#navbar-logo::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("/assets/img/dev-navbar-logo.svg?v=1") center / contain no-repeat;
}

/* Keep the official mark visible in the fixed-size Forgejo navbar slot. */
#navbar-logo {
  display: flex !important;
  min-width: 48px !important;
  min-height: 48px !important;
  align-items: center;
  justify-content: center;
  background-image: url("/assets/img/dev-favicon.svg?v=2");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 30px 30px;
}

#navbar-logo img,
#navbar-logo::before {
  display: none !important;
}
