




.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 20px;
  justify-content: center;
  margin: 10px auto;
}

.cd {
  width: 200px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2pt solid white;
}

.cd:hover {
  border: 2pt solid #fec76f;
}

.cd img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease;
  filter:
    grayscale(100%)
    sepia(100%)
    saturate(550%)
    hue-rotate(160deg)
    brightness(105%)
    contrast(95%);
}

.cd:hover img {
  animation: spin 10s linear infinite;
  filter: none;
}

.cd::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: skyblue;
  z-index: 2;
  border: 2pt solid white;
}


.cd::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      transparent 18%,
      rgba(255, 255, 255, 0.35) 19%,
      transparent 21%
    ),
    conic-gradient(
      from 20deg,
      transparent,
      rgba(255, 255, 255, 0.25),
      transparent,
      rgba(0, 0, 0, 0.15),
      transparent
    );
  pointer-events: none;
  z-index: 1;
}

.cd-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: white;
  -webkit-text-stroke: 1pt #02bfff;
  font-family: 'Super Trend';
  white-space: nowrap;
  font-size: 30px;
  font-weight: normal;
  text-align: center;
  pointer-events: none;
}

.cd:hover .cd-label {
  opacity: 1;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}