/* Master rounded corners */
.service-card, li.bookmark a {
  border-radius: 20px !important;
  overflow: hidden !important;
  isolation: isolate !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Per-service color glow: transparent card + inset tinted ::before layer.
   Colors are each service's real brand color. */
#proxmox1-card, #proxmox2-card, #pihole-hw-card, #pi03-card,
#swdown-card, #swup-card, #ebooks-card, #seerr-card, #jellyfin-card,
#portfolio-card {
  position: relative !important;
  background-color: transparent !important;
}

#proxmox1-card::before, #proxmox2-card::before, #pihole-hw-card::before,
#pi03-card::before, #swdown-card::before, #swup-card::before,
#ebooks-card::before, #seerr-card::before, #jellyfin-card::before,
#portfolio-card::before {
  content: "";
  position: absolute;
  top: 2px; left: 2px; right: 2px; bottom: 6px;
  z-index: 0;
  border-radius: 18px !important;
  opacity: 0.35;
}

#proxmox1-card::before, #proxmox2-card::before  { background-color: #E57000; }
#pihole-hw-card::before                          { background-color: #96060C; }
#pi03-card::before                               { background-color: #C51A4A; }
#swdown-card::before, #swup-card::before         { background-color: #049FD9; }
#ebooks-card::before                             { background-color: #6A9F58; }
#seerr-card::before                              { background-color: #7B5EA7; }
#jellyfin-card::before                           { background-color: #3e0950; }
#portfolio-card::before                          { background-color: #f8f1e3; }

.service-card > div {
  position: relative;
  z-index: 1;
}