/* =========================================================
   ARTISTS PAGE
========================================================= */

.artists-page-body {
  --artists-bg: #060708;
  --artists-line: rgba(255, 255, 255, 0.12);
  --artists-line-soft: rgba(255, 255, 255, 0.075);
  --artists-text: #f4f1ec;
  --artists-accent: #c9ff00;

  background: #111211;
  color: var(--artists-text);
}

.artists-page {
  background: linear-gradient(180deg, #050505 0%, #080909 48%, #111211 100%);
}

.artists-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--artists-text);
  background: var(--artists-bg);
  border-bottom: 1px solid var(--artists-line-soft);
}

.artists-hero__background,
.artists-hero__glow,
.artists-hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.artists-hero__background {
  z-index: -4;
  background-image: url("../assets/img/artists-bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  transform: scale(1.02);
  transform-origin: center top;
  will-change: opacity, transform;
}

.artists-hero__glow {
  z-index: -3;
  opacity: 1;
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.48) 0%, rgba(4, 5, 6, 0.08) 38%, rgba(4, 5, 6, 0.16) 68%, rgba(4, 5, 6, 0.48) 100%),
    linear-gradient(180deg, rgba(4, 5, 6, 0.1) 0%, rgba(4, 5, 6, 0.02) 58%, rgba(4, 5, 6, 0.42) 100%);
}

.artists-hero__noise {
  z-index: -2;
  opacity: 0.055;
  background-image: url("../assets/img/noise.png");
  background-size: 280px 280px;
  mix-blend-mode: screen;
}

/* HEADER */

.artists-header {
  color: var(--artists-text);
}

.artists-header .logo__image {
  filter: none;
}

.artists-header .nav__link,
.artists-header .join-link,
.artists-header .language-btn {
  color: var(--artists-text);
}

.artists-header .nav__link::after {
  bottom: 9px;
  background: var(--artists-accent);
}

.artists-header .menu-btn {
  border-color: rgba(255, 255, 255, 0.34);
}

.artists-header .menu-btn span {
  background: var(--artists-text);
}

.artists-header .menu-btn:hover {
  border-color: var(--artists-accent);
  box-shadow: 0 0 26px rgba(201, 255, 0, 0.1);
}

.artists-page-body .mobile-menu {
  background: rgba(5, 6, 7, 0.94);
}

.artists-page-body .mobile-menu a[aria-current="page"] {
  color: var(--artists-accent);
}

/* LEFT SIDEBAR SOCIAL */

/* HERO */

.artists-hero__main {
  position: relative;
  z-index: 10;
  min-height: calc(100% - var(--header-height));
  margin-left: var(--side-width);
  padding: clamp(48px, 5.8vh, 72px) clamp(48px, 5.3vw, 92px) 42px clamp(54px, 4.4vw, 78px);
  display: grid;
  grid-template-columns: minmax(430px, 1.08fr) minmax(320px, 0.9fr) minmax(250px, 0.58fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(24px, 3.2vw, 58px);
  row-gap: 42px;
}

.artists-hero__intro {
  align-self: center;
  min-width: 0;
}

.artists-hero__title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--font-display);
  font-size: clamp(72px, 7.2vw, 120px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--artists-text);
}

.artists-hero__title-outline {
  color: transparent;
  -webkit-text-stroke: 1.25px rgba(244, 241, 236, 0.76);
  opacity: 0.9;
}

.artists-hero__lead {
  margin-top: 25px;
  max-width: 620px;
  font-size: clamp(18px, 1.34vw, 23px);
  line-height: 1.35;
  font-weight: 500;
  color: rgba(244, 241, 236, 0.86);
}

/* COLUMN CENTER */

.artists-hero__visual {
  position: relative;
  min-height: 290px;
  pointer-events: none;
}

/* STATS */

.artists-hero__stats {
  align-self: stretch;
  min-height: 290px;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  border-left: 1px solid var(--artists-line-soft);
  border-right: 1px solid rgba(255, 255, 255, 0.035);
}

.artists-hero__stat {
  min-height: 92px;
  padding: 18px 16px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--artists-line-soft);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.012), transparent 75%);
}

.artists-hero__stat:last-child {
  border-bottom: 1px solid var(--artists-line-soft);
}

.artists-hero__stat > div {
  min-width: 0;
}

.artists-hero__stat span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.62);
}

.artists-hero__stat span i {
  color: var(--artists-accent);
  font-style: normal;
  font-size: 9px;
}

.artists-hero__stat strong {
  display: block;
  font-size: clamp(31px, 2.65vw, 43px);
  line-height: 0.95;
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
  color: var(--artists-text);
}

.artists-hero__stat > i {
  flex: 0 0 auto;
  margin-right: 3px;
  font-size: 18px;
  color: rgba(244, 241, 236, 0.58);
}

.artists-hero__stat--sound strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* FILTERS */

.artists-hero__filters {
  grid-column: 1 / 3;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.artists-filter {
  position: relative;
  min-height: 45px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: rgba(244, 241, 236, 0.9);
  background: rgba(255, 255, 255, 0.008);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.artists-filter:hover {
  color: var(--artists-accent);
  border-color: rgba(201, 255, 0, 0.5);
  transform: translateY(-2px);
}

.artists-filter.is-active {
  color: #080908;
  background: var(--artists-accent);
  border-color: var(--artists-accent);
  box-shadow: 0 0 25px rgba(201, 255, 0, 0.23);
}

.artists-filter--settings {
  padding-inline: 22px;
}

.artists-filter--settings i {
  font-size: 12px;
}

.artists-filter__count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #080908;
  background: var(--artists-accent);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
}

.artists-filter--settings.is-active .artists-filter__count {
  color: var(--artists-accent);
  background: #080908;
}

/* =========================================================
   ADVANCED ARTIST FILTER
========================================================= */

body.artists-filter-open {
  overflow: hidden;
}

.artists-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 470px);
  visibility: hidden;
  pointer-events: none;
}

.artists-filter-drawer[hidden] {
  display: none;
}

.artists-filter-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.artists-filter-drawer__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  backdrop-filter: blur(7px);
  transition: opacity 0.32s ease;
}

.artists-filter-drawer.is-open .artists-filter-drawer__backdrop {
  opacity: 1;
}

.artists-filter-drawer__panel {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 52px);
  color: var(--artists-text);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 255, 0, 0.075), transparent 28%),
    linear-gradient(180deg, rgba(11, 12, 13, 0.985), rgba(6, 7, 8, 0.995));
  border-left: 1px solid rgba(201, 255, 0, 0.22);
  box-shadow: -28px 0 75px rgba(0, 0, 0, 0.52);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.48s cubic-bezier(0.16, 1, 0.3, 1);
}

.artists-filter-drawer.is-open .artists-filter-drawer__panel {
  transform: translate3d(0, 0, 0);
}

.artists-filter-drawer__header {
  padding-bottom: 25px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.artists-filter-drawer__header span,
.artists-filter-form__section legend,
.artists-filter-form__label,
.artists-filter-form__summary span {
  color: rgba(244, 241, 236, 0.48);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.artists-filter-drawer__header h2 {
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: clamp(31px, 3vw, 43px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.artists-filter-drawer__close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--artists-text);
  font-size: 15px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.35s ease;
}

.artists-filter-drawer__close:hover {
  color: var(--artists-accent);
  border-color: var(--artists-accent);
  transform: rotate(90deg);
}

.artists-filter-form {
  display: grid;
  gap: 29px;
}

.artists-filter-form__section {
  min-width: 0;
  padding: 0;
  border: 0;
}

.artists-filter-form__section legend,
.artists-filter-form__label {
  display: block;
  margin-bottom: 14px;
}

.artists-filter-form__genres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.artists-filter-form__genre {
  position: relative;
  min-height: 43px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  color: rgba(244, 241, 236, 0.72);
  background: rgba(255, 255, 255, 0.012);
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.artists-filter-form__genre:hover {
  color: var(--artists-text);
  border-color: rgba(201, 255, 0, 0.36);
}

.artists-filter-form__genre input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.artists-filter-form__genre i {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 3px;
  color: #080908;
  font-size: 8px;
  font-style: normal;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.artists-filter-form__genre input:checked + i {
  border-color: var(--artists-accent);
  background: var(--artists-accent);
}

.artists-filter-form__genre:has(input:checked) {
  color: var(--artists-accent);
  border-color: rgba(201, 255, 0, 0.5);
  background: rgba(201, 255, 0, 0.045);
}

.artists-filter-form__select-wrap {
  position: relative;
}

.artists-filter-form__select-wrap select {
  width: 100%;
  height: 48px;
  padding: 0 45px 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  outline: none;
  appearance: none;
  color: var(--artists-text);
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.artists-filter-form__select-wrap select:focus {
  border-color: rgba(201, 255, 0, 0.55);
}

.artists-filter-form__select-wrap select option {
  color: var(--artists-text);
  background: #090a0b;
}

.artists-filter-form__select-wrap > i {
  position: absolute;
  top: 50%;
  right: 16px;
  color: rgba(244, 241, 236, 0.55);
  font-size: 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

.artists-filter-form__featured {
  min-height: 70px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
}

.artists-filter-form__featured input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.artists-filter-form__switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.artists-filter-form__switch i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(244, 241, 236, 0.65);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease;
}

.artists-filter-form__featured input:checked + .artists-filter-form__switch {
  border-color: var(--artists-accent);
  background: rgba(201, 255, 0, 0.16);
}

.artists-filter-form__featured input:checked + .artists-filter-form__switch i {
  background: var(--artists-accent);
  transform: translateX(20px);
}

.artists-filter-form__featured strong,
.artists-filter-form__featured small {
  display: block;
}

.artists-filter-form__featured strong {
  color: rgba(244, 241, 236, 0.9);
  font-size: 12px;
  letter-spacing: 0.045em;
}

.artists-filter-form__featured small {
  margin-top: 4px;
  color: rgba(244, 241, 236, 0.42);
  font-size: 11px;
}

.artists-filter-form__summary {
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.artists-filter-form__summary strong {
  color: var(--artists-accent);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.artists-filter-form__actions {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 11px;
}

.artists-filter-form__actions button {
  min-height: 47px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.045em;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.artists-filter-form__reset {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(244, 241, 236, 0.75);
}

.artists-filter-form__reset:hover {
  color: var(--artists-text);
  border-color: rgba(255, 255, 255, 0.35);
}

.artists-filter-form__apply {
  color: #080908;
  background: var(--artists-accent);
  box-shadow: 0 0 24px rgba(201, 255, 0, 0.12);
}

.artists-filter-form__apply:hover {
  background: #d5ff24;
  transform: translateY(-2px);
}

@media (max-width: 620px) {
  .artists-filter-drawer {
    grid-template-columns: 1fr;
  }

  .artists-filter-drawer__panel {
    grid-column: 1;
    padding: 25px 20px;
  }

  .artists-filter-form__genres {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artists-filter-drawer__backdrop,
  .artists-filter-drawer__panel {
    transition: none;
  }
}

/* STATUS */

html.artists-page-animations-ready .artists-hero__intro,
html.artists-page-animations-ready .artists-hero__visual,
html.artists-page-animations-ready .artists-hero__stats,
html.artists-page-animations-ready .artists-hero__filters {
  opacity: 0;
}

/* =========================================================
   ARTISTS HERO — ANIMATED STATISTICS
========================================================= */

.artists-hero__stat strong[data-artists-count] {
  display: inline-block;
  min-width: 4.1ch;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  transform-origin: left center;
  backface-visibility: hidden;
}

.artists-hero__stats.is-counter-ready
  .artists-hero__stat strong[data-artists-count] {
  opacity: 1;
}

.artists-hero__stats.is-counting
  .artists-hero__stat strong[data-artists-count] {
  will-change: contents, opacity, filter;
}

.artists-hero__stat strong[data-artists-count].is-count-complete {
  animation: artistsHeroStatComplete 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes artistsHeroStatComplete {
  0% {
    filter: brightness(1);
    transform: translateY(0) scale(1);
  }

  42% {
    filter: brightness(1.15);
    transform: translateY(-1px) scale(1.025);
  }

  100% {
    filter: brightness(1);
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .artists-hero__stat strong[data-artists-count].is-count-complete {
    animation: none;
  }
}

/* RESPONSIVE */

@media (max-width: 1320px) {
  .artists-hero__main {
    grid-template-columns: minmax(390px, 1fr) minmax(270px, 0.76fr) minmax(235px, 0.56fr);
    padding-right: 42px;
    column-gap: 26px;
  }

  .artists-hero__title {
    font-size: clamp(68px, 6.7vw, 92px);
    gap: 15px;
  }

  .artists-filter {
    padding-inline: 18px;
  }
}

@media (max-width: 1120px) {
  .artists-hero {
    min-height: 760px;
  }

  .artists-hero__main {
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.62fr);
    grid-template-rows: auto auto auto;
    padding-top: 42px;
  }

  .artists-hero__intro {
    grid-column: 1;
  }

  .artists-hero__visual {
    grid-column: 1;
    grid-row: 2;
    min-height: 220px;
    justify-items: start;
  }

  .artists-hero__stats {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .artists-hero__filters {
    grid-column: 1 / 3;
    grid-row: 3;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .artists-hero__filters::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 820px) {
  .artists-hero {
    min-height: auto;
  }

  .artists-hero__main {
    margin-left: 0;
    padding: 54px 24px 38px;
    display: block;
  }

  .artists-hero__title {
    white-space: normal;
    flex-wrap: wrap;
    font-size: clamp(58px, 15vw, 88px);
  }

  .artists-hero__lead br {
    display: none;
  }

  .artists-hero__visual {
    min-height: 250px;
    margin: 20px 0;
    justify-items: center;
  }

  .artists-hero__stats {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    border: 1px solid var(--artists-line-soft);
  }

  .artists-hero__stat {
    border-top: 0;
  }

  .artists-hero__stat:nth-child(2) {
    border-left: 1px solid var(--artists-line-soft);
  }

  .artists-hero__stat--sound {
    grid-column: 1 / 3;
    border-top: 1px solid var(--artists-line-soft);
  }

  .artists-hero__filters {
    margin-top: 30px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .artists-hero__filters::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 560px) {
  .artists-hero__main {
    padding-inline: 18px;
  }

  .artists-hero__title {
    gap: 10px;
    font-size: clamp(54px, 17vw, 74px);
  }

  .artists-hero__lead {
    font-size: 17px;
  }

  .artists-hero__visual {
    min-height: 210px;
  }

  .artists-hero__stats {
    display: block;
  }

  .artists-hero__stat:nth-child(2) {
    border-left: 0;
    border-top: 1px solid var(--artists-line-soft);
  }

  .artists-hero__stat--sound {
    border-top: 1px solid var(--artists-line-soft);
  }

  .artists-filter {
    min-height: 42px;
    padding-inline: 17px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artists-filter {
    transition: none;
  }
}

/* =========================================================
   ARTISTS DIRECTORY
========================================================= */

.artists-page-body .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.artists-directory {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 8%, rgba(201, 255, 0, 0.025), transparent 27%),
    linear-gradient(180deg, #050505 0%, #080909 48%, #111211 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.artists-directory__noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("../assets/img/noise.png");
  background-size: 280px 280px;
  mix-blend-mode: screen;
}

.artists-directory__shell {
  width: 100%;
  padding: 26px clamp(28px, 4vw, 68px) 78px calc(var(--side-width) + clamp(18px, 2.2vw, 36px));
}

.artists-directory__toolbar {
  position: relative;
  z-index: 200;
  min-height: 68px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* Menu SORT BY */
.artists-directory__toolbar.is-sort-open {
  margin-bottom: 24px;
}

.artists-directory__search {
  position: relative;
  width: min(100%, 350px);
  flex: 0 1 350px;
}

.artists-directory__search input {
  width: 100%;
  height: 48px;
  padding: 0 96px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  outline: none;
  color: var(--artists-text);
  background:
    linear-gradient(90deg, rgba(201, 255, 0, 0.025), transparent 34%),
    rgba(255, 255, 255, 0.018);
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

/* */
.artists-directory__search input::-webkit-search-cancel-button,
.artists-directory__search input::-webkit-search-decoration {
  appearance: none;
  display: none;
}

.artists-directory__search input::-ms-clear,
.artists-directory__search input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

.artists-directory__search input::placeholder {
  color: rgba(244, 241, 236, 0.42);
  opacity: 1;
}

.artists-directory__search input:focus {
  border-color: rgba(201, 255, 0, 0.5);
  background:
    linear-gradient(90deg, rgba(201, 255, 0, 0.045), transparent 38%),
    rgba(255, 255, 255, 0.027);
  box-shadow:
    0 0 0 3px rgba(201, 255, 0, 0.045),
    inset 0 0 18px rgba(201, 255, 0, 0.018);
}

.artists-directory__search-icon {
  position: absolute;
  top: 50%;
  right: 18px;
  color: rgba(244, 241, 236, 0.8);
  font-size: 16px;
  transform: translateY(-50%);
  transition:
    opacity 0.22s ease,
    transform 0.3s ease,
    color 0.25s ease;
  pointer-events: none;
}

.artists-directory__search.has-value .artists-directory__search-icon {
  opacity: 0;
  transform: translateY(-50%) scale(0.7);
}

.artists-directory__search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 241, 236, 0.2);
  border-radius: 50%;
  color: var(--artists-text);
  background: rgba(5, 6, 7, 0.74);
  transform: translateY(-50%);
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s ease;
}

.artists-directory__search-clear[hidden] {
  display: none;
}

.artists-directory__search-clear span {
  position: absolute;
  width: 10px;
  height: 1px;
  border-radius: 99px;
  background: currentColor;
}

.artists-directory__search-clear span:first-child {
  transform: rotate(45deg);
}

.artists-directory__search-clear span:last-child {
  transform: rotate(-45deg);
}

.artists-directory__search-clear:hover,
.artists-directory__search-clear:focus-visible {
  color: #080908;
  border-color: var(--artists-accent);
  background: var(--artists-accent);
  box-shadow: 0 0 18px rgba(201, 255, 0, 0.22);
  transform: translateY(-50%) rotate(90deg);
  outline: none;
}

.artists-directory__controls,
.artists-directory__sort,
.artists-directory__view {
  display: flex;
  align-items: center;
}

.artists-directory__controls {
  gap: 28px;
}

.artists-directory__sort {
  position: relative;
  gap: 9px;
  color: rgba(244, 241, 236, 0.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.artists-directory__sort-caption {
  white-space: nowrap;
}

.artists-directory__sort-control {
  position: relative;
  z-index: 210;
  min-width: 168px;
}

.artists-directory__sort-control.is-open {
  z-index: 260;
}

.artists-directory__sort-native {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.artists-directory__sort-trigger {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 15px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--artists-text);
  background:
    linear-gradient(90deg, rgba(201, 255, 0, 0.035), transparent 45%),
    rgba(255, 255, 255, 0.014);
  font-family: var(--font-main);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.artists-directory__sort-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 99px;
  background: var(--artists-accent);
  box-shadow: 0 0 9px rgba(201, 255, 0, 0.34);
  opacity: 0.72;
}

.artists-directory__sort-trigger i {
  position: absolute;
  top: 50%;
  right: 15px;
  color: var(--artists-accent);
  font-size: 9px;
  transform: translateY(-50%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.artists-directory__sort-trigger:hover,
.artists-directory__sort-trigger:focus-visible,
.artists-directory__sort-control.is-open .artists-directory__sort-trigger {
  border-color: rgba(201, 255, 0, 0.52);
  background:
    linear-gradient(90deg, rgba(201, 255, 0, 0.07), transparent 52%),
    rgba(255, 255, 255, 0.022);
  box-shadow:
    0 0 0 3px rgba(201, 255, 0, 0.035),
    0 12px 35px rgba(0, 0, 0, 0.18);
  outline: none;
}

.artists-directory__sort-control.is-open .artists-directory__sort-trigger i {
  transform: translateY(-50%) rotate(180deg);
}

.artists-directory__sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 300;
  width: 100%;
  min-width: 190px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid rgba(201, 255, 0, 0.22);
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 255, 0, 0.08), transparent 38%),
    rgba(7, 8, 9, 0.98);
  box-shadow:
    0 22px 58px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
}

.artists-directory__sort-menu[hidden] {
  display: none;
}

.artists-directory__sort-menu button {
  position: relative;
  width: 100%;
  min-height: 39px;
  padding: 0 34px 0 12px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: rgba(244, 241, 236, 0.58);
  font-family: var(--font-main);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  transition:
    color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease;
}

.artists-directory__sort-menu button:hover,
.artists-directory__sort-menu button:focus-visible {
  color: var(--artists-text);
  background: rgba(255, 255, 255, 0.045);
  transform: translateX(2px);
  outline: none;
}

.artists-directory__sort-menu button.is-selected {
  color: var(--artists-accent);
  background: rgba(201, 255, 0, 0.06);
}

.artists-directory__sort-menu button > i {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(244, 241, 236, 0.24);
  transform: translateY(-50%) rotate(45deg);
}

.artists-directory__sort-menu button.is-selected > i {
  border-color: var(--artists-accent);
  background: var(--artists-accent);
  box-shadow: 0 0 10px rgba(201, 255, 0, 0.32);
}

.artists-directory__view {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
}

.artists-directory__view button {
  width: 45px;
  height: 38px;
  display: grid;
  place-items: center;
  color: rgba(244, 241, 236, 0.48);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.artists-directory__view button:last-child {
  border-right: 0;
}

.artists-directory__view button:hover,
.artists-directory__view button.is-active {
  color: var(--artists-accent);
  background: rgba(201, 255, 0, 0.045);
}

.artists-directory__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.25vw, 22px);
}

.artist-directory-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 0.655;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 8px;
  color: var(--artists-text);
  background: #0a0b0c;
  isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    opacity 0.24s ease,
    filter 0.24s ease;
}

.artist-directory-card::before,
.artist-directory-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.artist-directory-card::before {
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.02) 0%, rgba(5, 6, 7, 0.04) 42%, rgba(5, 6, 7, 0.78) 73%, rgba(5, 6, 7, 0.98) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.14), transparent 40%, rgba(0, 0, 0, 0.08));
}

.artist-directory-card::after {
  opacity: 0;
  background: linear-gradient(135deg, rgba(201, 255, 0, 0.09), transparent 42%);
  transition: opacity 0.35s ease;
}

.artist-directory-card:hover {
  z-index: 4;
  border-color: rgba(201, 255, 0, 0.36);
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.artist-directory-card:hover::after {
  opacity: 1;
}

.artist-directory-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.artist-directory-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.06);
  transform: scale(1.015);
  transform-origin: center center;
  transition:
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s ease;
}

.artist-directory-card:hover .artist-directory-card__media img {
  filter: saturate(1.08) contrast(1.1) brightness(1.03);
  transform: scale(1.065);
}

.artist-directory-card__number {
  position: absolute;
  top: 17px;
  left: 15px;
  z-index: 3;
  font-size: clamp(17px, 1.22vw, 22px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 241, 236, 0.88);
}

.artist-directory-card__content {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 14px;
  z-index: 3;
}

.artist-directory-card__content h3 {
  margin-bottom: 7px;
  overflow: hidden;
  color: var(--artists-text);
  font-size: clamp(21px, 1.68vw, 29px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.018em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.artist-directory-card__country,
.artist-directory-card__genre {
  text-transform: uppercase;
}

.artist-directory-card__country {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(244, 241, 236, 0.68);
  font-size: clamp(11px, 0.72vw, 13px);
  font-weight: 600;
  letter-spacing: 0.055em;
}

.artist-directory-card__country img {
  width: clamp(13px, 0.92vw, 17px);
  height: auto;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.artist-directory-card__genre {
  margin-top: 10px;
  color: rgba(244, 241, 236, 0.48);
  font-size: clamp(11px, 0.72vw, 13px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.055em;
}

.artist-directory-card__socials {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 145px;
}

.artist-directory-card__socials a {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(244, 241, 236, 0.82);
  font-size: 15px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.artist-directory-card__socials a:hover {
  color: var(--artists-accent);
  transform: translateY(-2px);
}

.artist-directory-card.is-featured {
  overflow: visible;
  border-color: rgba(201, 255, 0, 0.84);
  box-shadow:
    0 0 0 1px rgba(201, 255, 0, 0.12),
    0 0 30px rgba(201, 255, 0, 0.08);
}

.artist-directory-card.is-featured .artist-directory-card__media,
.artist-directory-card.is-featured::before,
.artist-directory-card.is-featured::after {
  border-radius: 7px;
}

.artist-directory-card__featured {
  position: absolute;
  left: 50%;
  bottom: -16px;
  z-index: 6;
  min-width: 126px;
  padding: 6px 17px 5px;
  border: 1px solid var(--artists-accent);
  border-radius: 999px;
  color: var(--artists-accent);
  background: #090a0a;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.artist-directory-card.is-filtered-out {
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.95);
  pointer-events: none;
}

.artists-directory__empty {
  padding: 90px 20px;
  color: rgba(244, 241, 236, 0.55);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.artists-directory__pagination {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.artists-directory__pagination button,
.artists-directory__pagination span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(244, 241, 236, 0.8);
  font-size: 12px;
  font-weight: 600;
}

.artists-directory__pagination button {
  border: 1px solid transparent;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.artists-directory__pagination button:first-child,
.artists-directory__pagination button:last-child {
  border-color: rgba(255, 255, 255, 0.18);
}

.artists-directory__pagination button:hover {
  color: var(--artists-accent);
  border-color: rgba(201, 255, 0, 0.5);
  transform: translateY(-2px);
}

.artists-directory__pagination button:disabled {
  opacity: 0.28;
  pointer-events: none;
  transform: none;
}

.artists-directory__pagination button.is-active {
  color: var(--artists-accent);
  border-color: var(--artists-accent);
  background: rgba(201, 255, 0, 0.03);
}

/* LIST VIEW */

.artists-directory__grid[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 12px;
}

.artists-directory__grid[data-view="list"] .artist-directory-card {
  min-height: 152px;
  aspect-ratio: auto;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.artists-directory__grid[data-view="list"] .artist-directory-card__media {
  position: relative;
  min-height: 150px;
}

.artists-directory__grid[data-view="list"] .artist-directory-card::before {
  background: linear-gradient(90deg, transparent 0%, rgba(6, 7, 8, 0.36) 185px, rgba(6, 7, 8, 0.98) 280px, rgba(6, 7, 8, 0.98) 100%);
}

.artists-directory__grid[data-view="list"] .artist-directory-card__number {
  left: 16px;
}

.artists-directory__grid[data-view="list"] .artist-directory-card__content {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 3;
  min-width: 0;
  padding: 24px 24px 20px 34px;
  display: grid;
  grid-template-columns: minmax(170px, 1.1fr) minmax(160px, 0.9fr) minmax(130px, 0.7fr) auto;
  align-items: center;
  gap: 24px;
}

.artists-directory__grid[data-view="list"] .artist-directory-card__content h3,
.artists-directory__grid[data-view="list"] .artist-directory-card__country,
.artists-directory__grid[data-view="list"] .artist-directory-card__genre,
.artists-directory__grid[data-view="list"] .artist-directory-card__socials {
  margin: 0;
}

.artists-directory__grid[data-view="list"] .artist-directory-card__socials {
  width: 145px;
}

/* js/animations.js */

html.artists-directory-animations-ready .artists-directory__toolbar,
html.artists-directory-animations-ready .artists-directory__pagination,
html.artists-directory-animations-ready .artist-directory-card {
  opacity: 0;
}

html.artists-directory-animations-ready .artists-directory__toolbar {
  transform: translate3d(0, 18px, 0);
}

html.artists-directory-animations-ready .artist-directory-card {
  transform: translate3d(0, 34px, 0) scale(0.975);
}

html.artists-directory-animations-ready .artists-directory__pagination {
  transform: translate3d(0, 18px, 0);
}

html.artists-directory-animations-ready .artists-directory.is-revealed .artists-directory__toolbar,
html.artists-directory-animations-ready .artists-directory.is-revealed .artists-directory__pagination,
html.artists-directory-animations-ready .artists-directory.is-revealed .artist-directory-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.artists-directory-animations-ready .artists-directory.is-revealed .artists-directory__toolbar {
  transition:
    opacity 0.85s ease 0.05s,
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

html.artists-directory-animations-ready .artists-directory.is-revealed .artist-directory-card {
  transition:
    opacity 0.8s ease calc(0.12s + var(--artist-reveal-order, 0) * 0.055s),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1) calc(0.12s + var(--artist-reveal-order, 0) * 0.055s),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    filter 0.24s ease;
}

html.artists-directory-animations-ready .artists-directory.is-revealed .artists-directory__pagination {
  transition:
    opacity 0.85s ease 0.72s,
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.72s;
}

@media (max-width: 1380px) {
  .artists-directory__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .artists-directory__shell {
    padding-left: 34px;
  }

  .artists-directory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card__content {
    grid-template-columns: minmax(160px, 1fr) minmax(150px, 0.8fr) auto;
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card__genre {
    display: none;
  }
}

@media (max-width: 820px) {
  .artists-directory__shell {
    padding: 24px 24px 64px;
  }

  .artists-directory__toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .artists-directory__search {
    width: 100%;
    flex-basis: auto;
  }

  .artists-directory__controls {
    justify-content: space-between;
  }

  .artists-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card {
    grid-template-columns: 150px 1fr;
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card__content {
    padding-left: 22px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card__country,
  .artists-directory__grid[data-view="list"] .artist-directory-card__genre {
    display: none;
  }
}

@media (max-width: 560px) {
  .artists-directory__shell {
    padding-inline: 18px;
  }

  .artists-directory__controls {
    align-items: flex-end;
    gap: 12px;
  }

  .artists-directory__sort {
    align-items: flex-start;
    flex-direction: column;
  }

  .artists-directory__grid {
    grid-template-columns: 1fr;
  }

  .artist-directory-card {
    aspect-ratio: 0.78;
  }

  .artist-directory-card__content h3 {
    font-size: 26px;
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card {
    min-height: 132px;
    grid-template-columns: 112px 1fr;
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card__media {
    min-height: 130px;
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card__content {
    padding: 18px 16px;
  }

  .artists-directory__grid[data-view="list"] .artist-directory-card__socials {
    width: auto;
    gap: 5px;
  }

  .artists-directory__pagination {
    gap: 5px;
  }

  .artists-directory__pagination button,
  .artists-directory__pagination span {
    width: 34px;
    height: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .artist-directory-card,
  .artist-directory-card__media,
  .artist-directory-card__socials a,
  .artists-directory__pagination button,
  .artists-directory__view button {
    transition: none !important;
  }
}

html.artists-directory-animations-ready .artists-directory.is-revealed .artist-directory-card.is-filtered-out {
  opacity: 0;
  filter: blur(4px);
  transform: scale(0.955);
}

html.artists-directory-animations-ready .artists-directory.is-entry-complete .artist-directory-card {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    opacity 0.24s ease,
    filter 0.24s ease;
}

/* ARTIST PROFILE LINK */
.artist-directory-card__profile-link {
  position: absolute;
  inset: 0;
  z-index: -4;
  border-radius: inherit;
}

.artist-directory-card__profile-link:focus-visible {
  outline: 2px solid var(--artists-accent);
  outline-offset: 5px;
}

.artist-directory-card__socials {
  position: relative;
  z-index: 5;
}
