/* React Bits SpotlightCard davranışının mevcut statik proje kartlarına uyarlanmış görünüm katmanı. */
.project.spotlight-card {
  position: relative;
  isolation: isolate;
}

.spotlight-card__light,
.spotlight-card__grain,
.spotlight-card__edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.spotlight-card__light,
.spotlight-card__grain {
  z-index: 1;
  opacity: 0;
}

.spotlight-card__light {
  mix-blend-mode: screen;
}

html[data-theme="light"] .spotlight-card__light {
  mix-blend-mode: multiply;
}

.spotlight-card__grain {
  z-index: 1;
  background-size: 160px 160px;
  mix-blend-mode: overlay;
}

.project.spotlight-card > .project-art,
.project.spotlight-card > .project-info {
  position: relative;
  z-index: 2;
}

.spotlight-card__edge {
  z-index: 3;
  padding: 1px;
  opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

@media (prefers-reduced-motion: reduce) {
  .project.spotlight-card {
    scroll-behavior: auto;
  }
}
