:root {
  --bg: #fdfdfd;
  --text: #1d1d1d;
  --gold: #cc9946;
  --pink: #e70e42;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.py-page {
  min-height: 100vh;
  padding: 20px;
}

.py-shell {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.py-header {
  height: 80px;
  padding: 12px;
  border: 1px solid rgba(29, 29, 29, 0.1);
  border-radius: 16px;
  background: rgba(29, 29, 29, 0.02);
  display: grid;
  grid-template-columns: 161px 636px 313px 147px;
  grid-template-areas: 'brand nav search profile';
  column-gap: 40px;
  align-items: center;
  overflow: hidden;
}

.py-brand {
  grid-area: brand;
  height: 56px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.py-brand-icon {
  width: 24px;
  height: 24px;
}

.py-brand-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.96px;
  line-height: 1;
}

.py-nav {
  grid-area: nav;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.py-nav-item {
  height: 52px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(29, 29, 29, 0.5);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  border-radius: 16px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.py-nav-item.is-current {
  height: 50px;
  background: #fff;
  color: rgba(29, 29, 29, 0.7);
}

.py-nav-current-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.py-nav-dot {
  width: 10px;
  height: 10px;
}

.py-nav-badge {
  height: 26px;
  padding: 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  line-height: 10px;
  white-space: nowrap;
  background: linear-gradient(154.742deg, rgba(255, 255, 255, 0.1) 10.927%, rgba(255, 255, 255, 0.03) 55.697%);
}

.py-search {
  grid-area: search;
  width: 313px;
  height: 56px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(29, 29, 29, 0.03);
}

.py-search-icon {
  width: 24px;
  height: 24px;
}

.py-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: rgba(29, 29, 29, 0.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.py-search input::placeholder {
  color: rgba(29, 29, 29, 0.7);
}

.py-profile {
  grid-area: profile;
  height: 56px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  background: rgba(29, 29, 29, 0.03);
}

.py-profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
}

.py-profile-name {
  color: rgba(29, 29, 29, 0.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

.py-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.py-hero-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.py-hero-card {
  height: 400px;
  border: 1px solid #c7aaa5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(29, 29, 29, 0.05);
}

.py-hero-overlay {
  position: absolute;
  z-index: 2;
  left: -1px;
  top: -1px;
  width: 206px;
  height: 400px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
}

.py-hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.py-hero-play {
  width: 48px;
  height: 48px;
  border-radius: 100px;
  display: grid;
  place-items: center;
  background: rgba(204, 153, 70, 0.75);
  backdrop-filter: blur(22px);
}

.py-hero-play.is-sm {
  width: 42px;
  height: 42px;
}

.py-hero-play img {
  width: 16px;
  height: 16px;
}

.py-pill {
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #fff;
}

.py-pill span {
  font-weight: 500;
  letter-spacing: -0.32px;
}

.py-pill-new {
  height: 40px;
  padding: 8px 16px;
  gap: 4px;
}

.py-pill-new img {
  width: 24px;
  height: 24px;
}

.py-pill-new span {
  color: var(--gold);
  font-size: 16px;
  line-height: 20px;
}

.py-pill-heart {
  height: 36px;
  padding: 8px 16px;
  gap: 4px;
}

.py-pill-heart img {
  width: 20px;
  height: 20px;
}

.py-pill-heart span {
  color: var(--pink);
  font-size: 16px;
  line-height: 20px;
}

.py-hero-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.py-hero-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 304px;
  height: 304px;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  filter: blur(67.5px);
  opacity: 0.18;
}

.py-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.py-reco {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.py-reco-head {
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.py-reco-head h2 {
  margin: 0;
  color: rgba(29, 29, 29, 0.7);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.py-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.py-filter,
.py-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 12px;
  border-radius: 12px;
  color: rgba(29, 29, 29, 0.3);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

.py-filter.is-active,
.py-filters .is-active {
  border: 1px solid #000;
  color: rgba(29, 29, 29, 0.7);
  background: linear-gradient(157.086deg, rgba(255, 255, 255, 0.1) 10.927%, rgba(255, 255, 255, 0.03) 55.697%);
}

.py-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.py-empty-state {
  border: 1px solid rgba(29, 29, 29, 0.1);
  border-radius: 16px;
  background: rgba(29, 29, 29, 0.03);
  padding: 24px;
}

.py-empty-state h2,
.py-empty-state h3,
.py-empty-state p {
  margin: 0;
}

.py-empty-state h2,
.py-empty-state h3 {
  color: rgba(29, 29, 29, 0.8);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.py-empty-state p {
  margin-top: 8px;
  color: rgba(29, 29, 29, 0.6);
  font-size: 15px;
  line-height: 1.5;
}

.py-empty-state--hero {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.py-empty-state--grid {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.py-card {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(29, 29, 29, 0.1);
  background: rgba(29, 29, 29, 0.05);
}

.py-card-top,
.py-card-blur {
  position: absolute;
  left: -1px;
  top: -57px;
  width: calc(100% + 2px);
  height: 171px;
  border-radius: 16px;
  object-fit: cover;
}

.py-card-blur {
  border-radius: 12px;
  filter: blur(44.9px);
}

.py-card-avatar {
  position: absolute;
  left: 23px;
  top: 23px;
  width: 136px;
  height: 136px;
  border-radius: 380px;
  object-fit: cover;
}

.py-card-info {
  position: absolute;
  left: 24px;
  top: 183px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.py-card-info h3 {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.48px;
}

.py-card-info a,
.py-card-info span {
  color: rgba(29, 29, 29, 0.7);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.32px;
}

.py-card-info a {
  text-decoration: underline;
}

.py-card-meta {
  position: absolute;
  right: 45px;
  top: 194px;
  margin: 0;
  color: rgba(29, 29, 29, 0.4);
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.24px;
}

.py-card-divider {
  position: absolute;
  left: 23px;
  top: 251px;
  width: 272px;
  height: 1px;
  background: rgba(29, 29, 29, 0.1);
}

.py-card-desc {
  position: absolute;
  left: 24px;
  top: 266px;
  margin: 0;
  color: rgba(29, 29, 29, 0.7);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.32px;
}

.py-card-play-wrap {
  position: absolute;
  right: 23px;
  top: 23px;
  z-index: 3;
  margin: 0;
}

.py-card-play {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(204, 153, 70, 0.82);
  backdrop-filter: blur(22px);
}

.py-card-play img {
  width: 16px;
  height: 16px;
}


@media (max-width: 1460px) {
  .py-page {
    padding: 16px;
  }

  .py-header {
    grid-template-columns: 161px minmax(0, 1fr) 280px 147px;
    grid-template-areas: 'brand nav search profile';
    column-gap: 16px;
  }

  .py-nav {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .py-nav::-webkit-scrollbar {
    display: none;
  }

  .py-search {
    width: 280px;
  }

}

@media (max-width: 980px) {
  .py-header {
    height: auto;
    grid-template-columns: 161px minmax(0, 1fr) 147px;
    grid-template-areas:
      'brand search profile'
      'nav nav nav';
    row-gap: 12px;
  }

  .py-search {
    width: 100%;
  }

  .py-profile {
    justify-self: end;
  }

  .py-nav {
    width: 100%;
  }

  .py-hero-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .py-hero-row::-webkit-scrollbar {
    display: none;
  }

  .py-hero-card {
    min-width: 458px;
    scroll-snap-align: start;
  }

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

}

@media (max-width: 760px) {
  .py-page {
    padding: 12px;
  }

  .py-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      'brand'
      'search'
      'profile'
      'nav';
    gap: 10px;
  }

  .py-brand {
    padding: 8px 0;
  }

  .py-search,
  .py-profile {
    width: 100%;
    justify-content: flex-start;
  }

  .py-main {
    gap: 24px;
  }

  .py-reco-head h2 {
    font-size: 30px;
  }

  .py-grid {
    grid-template-columns: 1fr;
  }

  .py-card {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .py-brand-title {
    font-size: 24px;
  }

  .py-nav-item {
    font-size: 14px;
  }

  .py-hero-card {
    min-width: 340px;
    height: 300px;
  }

  .py-hero-overlay {
    width: 170px;
    height: 300px;
    padding: 16px;
  }

  .py-hero-play,
  .py-hero-play.is-sm {
    width: 40px;
    height: 40px;
  }

  .py-pill-new,
  .py-pill-heart {
    height: 34px;
    padding: 7px 12px;
  }

  .py-pill-new span,
  .py-pill-heart span {
    font-size: 14px;
    line-height: 18px;
  }

  .py-pill-new img,
  .py-pill-heart img {
    width: 18px;
    height: 18px;
  }

  .py-reco-head {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .py-reco-head h2 {
    font-size: 24px;
  }

  .py-filters {
    width: 100%;
  }

  .py-filter {
    padding: 8px 10px;
    font-size: 14px;
  }

  .py-card {
    max-width: 100%;
  }

  .py-card-info h3 {
    font-size: 22px;
  }

}

@media (max-width: 420px) {
  .py-page {
    padding: 10px;
  }

  .py-hero-card {
    min-width: 320px;
  }

}
