.circular-text {
  margin: 0 auto;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  position: relative;
  font-weight: 900;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  animation: circular-text-spin linear infinite;
  will-change: transform;
}

.circular-text span {
  position: absolute;
  display: inline-block;
  inset: 0;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.5s cubic-bezier(0, 0, 0, 1);
}

.circular-text--bonkers {
  transform: scale(0.88);
}

@keyframes circular-text-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .circular-text {
    animation: none;
  }
}

/* Floating cow badge */
.floating-cow {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 7.5rem;
  height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.floating-cow:hover {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.5));
}

.floating-cow__ring {
  width: 7.5rem;
  height: 7.5rem;
  color: rgb(var(--accent-rgb));
  font-family: 'Archivo', system-ui, sans-serif;
  letter-spacing: 0.08em;
}

.floating-cow__ring span {
  font-size: 10.5px;
}

.floating-cow__logo {
  position: absolute;
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 768px) {
  .floating-cow {
    bottom: 2rem;
    right: 2rem;
    width: 8.75rem;
    height: 8.75rem;
  }

  .floating-cow__ring {
    width: 8.75rem;
    height: 8.75rem;
  }

  .floating-cow__ring span {
    font-size: 11.5px;
  }

  .floating-cow__logo {
    width: 3.75rem;
    height: 3.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cow:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .floating-cow {
    display: none;
  }
}
