/* Shared return-home button cleanup.
   Keeps the same button text/function while removing the glassmorphic look. */
.page-nav,
.credits-page .navbar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  text-align: center !important;
}

.page-nav {
  margin-bottom: clamp(28px, 4vw, 52px) !important;
}

.credits-page .navbar {
  padding: 12px clamp(18px, 4vw, 40px) 24px !important;
}

.back-home {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: fit-content !important;
  min-height: 46px !important;
  padding: 12px 22px !important;

  border: 2px solid rgba(166, 111, 229, .42) !important;
  border-bottom-color: rgba(25, 13, 38, .95) !important;
  border-radius: 14px !important;

  background: #1a1028 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;

  color: #f7f0ff !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .45) !important;

  box-shadow:
    0 5px 0 #07030d,
    0 14px 26px rgba(0, 0, 0, .34) !important;

  transition:
    transform .16s ease,
    background-color .16s ease,
    border-color .16s ease,
    box-shadow .16s ease !important;
}

.back-home::before {
  color: #d8b4fe !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.back-home:hover,
.back-home:focus-visible {
  transform: translateY(-2px) !important;
  background: #211533 !important;
  border-color: rgba(199, 149, 255, .72) !important;
  border-bottom-color: rgba(25, 13, 38, .95) !important;
  box-shadow:
    0 7px 0 #07030d,
    0 18px 30px rgba(0, 0, 0, .38) !important;
  outline: none !important;
}

.back-home:active {
  transform: translateY(2px) !important;
  box-shadow:
    0 2px 0 #07030d,
    0 10px 20px rgba(0, 0, 0, .30) !important;
}

@media (max-width: 640px) {
  .back-home {
    min-height: 44px !important;
    padding: 11px 18px !important;
    font-size: .92rem !important;
  }
}
