﻿/* Match the dark homepage to the creators catalog without changing its layout. */
html[data-theme="dark"] body[data-showcase-page="home"]::before {
  background-color: #000000 !important;
  background-image:
    radial-gradient(1000px 700px at 10% -8%, rgba(41, 50, 43, .011), transparent 70%),
    radial-gradient(820px 700px at 90% 8%, rgba(84, 91, 73, .0015), transparent 68%),
    radial-gradient(1100px 800px at 50% 85%, rgba(31, 43, 35, .011), transparent 72%) !important;
}

html[data-theme="dark"] body[data-showcase-page="home"]::after {
  content: none;
}

html[data-theme="dark"] body[data-showcase-page="home"] main::before,
html[data-theme="dark"] body[data-showcase-page="home"] main::after,
html[data-theme="dark"] body[data-showcase-page="home"] #executors::before,
html[data-theme="dark"] body[data-showcase-page="home"] #executors::after {
  content: "";
  position: fixed;
  z-index: -1;
  border: 1px solid rgba(150, 205, 160, .08);
  border-radius: 50%;
  pointer-events: none;
}

html[data-theme="dark"] body[data-showcase-page="home"] main::before {
  width: 1500px;
  height: 1500px;
  left: -520px;
  top: -620px;
  animation: vs-home-arc-1 30s ease-in-out infinite alternate;
}

html[data-theme="dark"] body[data-showcase-page="home"] main::after {
  width: 1180px;
  height: 1180px;
  right: -360px;
  top: 80px;
  animation: vs-home-arc-2 30s ease-in-out infinite alternate;
}

html[data-theme="dark"] body[data-showcase-page="home"] #executors::before {
  width: 1350px;
  height: 1350px;
  left: -300px;
  bottom: -700px;
  animation: vs-home-arc-3 30s ease-in-out infinite alternate;
}

html[data-theme="dark"] body[data-showcase-page="home"] #executors::after {
  width: 900px;
  height: 900px;
  right: -150px;
  bottom: -380px;
  animation: vs-home-arc-4 30s ease-in-out infinite alternate;
}

@keyframes vs-home-arc-1 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(160px, 120px, 0) rotate(3deg); }
  100% { transform: translate3d(-110px, 180px, 0) rotate(-2deg); }
}

@keyframes vs-home-arc-2 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-140px, 90px, 0) rotate(-3deg); }
  100% { transform: translate3d(90px, -120px, 0) rotate(2deg); }
}

@keyframes vs-home-arc-3 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(130px, -100px, 0) rotate(2deg); }
  100% { transform: translate3d(-80px, -150px, 0) rotate(-3deg); }
}

@keyframes vs-home-arc-4 {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-100px, -70px, 0) rotate(-2deg); }
  100% { transform: translate3d(85px, 105px, 0) rotate(3deg); }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="dark"] body[data-showcase-page="home"] main::before,
  html[data-theme="dark"] body[data-showcase-page="home"] main::after,
  html[data-theme="dark"] body[data-showcase-page="home"] #executors::before,
  html[data-theme="dark"] body[data-showcase-page="home"] #executors::after {
    animation: none;
  }
}

html[data-theme="dark"]:root body[data-showcase-page="home"] :is(
  .home-news__lead, .home-news__text-feature, .news-card, .news-archive,
  .news-archive-sidecard, .home-finalists, .hybrid-steps,
  .home-concept__choice, .home-concept__paths button,
  .home-concept__flow, .home-concept__hire,
  .hybrid-card, .home-contest-carousel,
  .home-talent__section, .home-talent__match, .home-talent__mini,
  .home-talent .author-card, .home-guarantee
) {
  box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .12) !important;
}


