.site-credit {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 0;
  padding-top: 22px;
  border-top: 1px solid #294451;
  color: #91a1a9;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-credit__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #62eadc;
  font-weight: 700;
  text-decoration: none;
}

.site-credit__mark {
  position: relative;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #0a1d20;
  color: #eafffb;
  font-size: 12px;
  box-shadow: 0 0 10px rgba(98, 234, 220, 0.25);
}

.site-credit__mark::before {
  content: "";
  position: absolute;
  inset: -2px;
  border: 1px solid transparent;
  border-top-color: #62eadc;
  border-right-color: #3fa9f5;
  border-radius: inherit;
  animation: site-credit-ring 4.5s linear infinite;
}

.site-credit__name {
  color: #62eadc;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .site-credit__name {
    background: linear-gradient(
      90deg,
      #62eadc 0%,
      #67e8f9 34%,
      #f2ffff 50%,
      #60a5fa 68%,
      #62eadc 100%
    );
    background-size: 240% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 4px rgba(98, 234, 220, 0.35));
    animation: site-credit-shine 5.5s linear infinite;
  }
}

.site-credit__link:hover .site-credit__name,
.site-credit__link:focus-visible .site-credit__name {
  filter: drop-shadow(0 0 8px rgba(98, 234, 220, 0.7));
}

@keyframes site-credit-ring {
  to {
    transform: rotate(360deg);
  }
}

@keyframes site-credit-shine {
  to {
    background-position: 240% center;
  }
}

@media (max-width: 700px) {
  .site-credit {
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-credit__mark::before,
  .site-credit__name {
    animation: none;
  }
}
