.fiup-credit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  margin: 28px 0 64px;
  padding: 12px clamp(16px, 3vw, 36px);
  border: 1px solid #b3896938;
  border-radius: 18px;
  background: linear-gradient(110deg, #212829, #302018 70%);
}

.fiup-credit-art {
  display: flex;
  align-items: center;
  gap: 12px;
  perspective: 380px;
}

.fiup-credit-logo {
  display: block;
  width: clamp(110px, 13vw, 154px);
  height: auto;
}

.fiup-credit-robot {
  display: block;
  width: clamp(82px, 10vw, 110px);
  height: auto;
  transform-origin: center;
  animation: fiup-robot-turn 5s ease-in-out infinite;
}

.fiup-credit-copy {
  min-width: 0;
  color: #efdfcc;
  font: 500 13px/1.75 var(--sans);
}

.fiup-credit-copy p + p {
  margin-top: 5px;
}

.fiup-credit-copy a {
  color: #7ce1cd;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.fiup-credit-copy a:hover,
.fiup-credit-copy a:focus-visible {
  color: #b5f3e7;
}

@keyframes fiup-robot-turn {
  0%, 80% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

@media (max-width: 800px) {
  .site-footer .footer-bottom { padding-bottom: 0; }
  .fiup-credit { margin-bottom: 84px; }
}

@media (max-width: 600px) {
  .fiup-credit {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 4px;
    padding-block: 10px 20px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fiup-credit-robot { animation: none; }
}
