html {
  font-family: Nunito, sans-serif;
  font-size: 16px;
}

body {
  background-color: #160829;
  color: #fff;
  margin: 0;
}

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

img {
  max-width: 100%;
}

.fancy-link {
  background-image: linear-gradient(90deg, currentColor 50%, transparent 50%);
  background-position: 100% 100%;
  background-repeat: no-repeat;
  background-size: 200% 1px;
  transition: background-position-x 0.2s ease;
}
.fancy-link:hover {
  background-position: 0 100%;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  width: calc(100% - 30px);
}

.btn {
  background: #33adff linear-gradient(90deg, rgba(0, 0, 0, 0.2) 50%, transparent 50%) center no-repeat;
  background-size: 200%;
  background-position-x: 100%;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  padding: 17px 25px;
  text-align: center;
  transition: background-position 0.2s ease;
}
.btn:hover {
  background-position-x: 0;
}

.collection {
  padding: 80px 0;
}
.collection--alt .collection__img-container {
  mask-image: linear-gradient(180deg, #000 4.43%, transparent 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 4.43%, transparent 100%);
}
.collection__title {
  font-size: 2rem;
  margin: 0 0 40px;
  text-align: center;
}
.collection__list {
  display: grid;
  grid-gap: 24px;
  grid-template-columns: repeat(auto-fill, 384px);
  grid-template-rows: repeat(auto-fit, 100px);
  justify-content: center;
}
.collection__item {
  border-radius: 8px;
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.collection__item:hover .collection__name {
  background-position-x: 0;
}
.collection__item:hover .collection__img {
  transform: scale(1.05);
}
.collection__name {
  background: linear-gradient(90deg, #33adff 50%, #160829 50%) 100% 50%;
  background-size: 205% 100%;
  border-radius: 0 8px 8px 0;
  font-size: 1.125rem;
  font-weight: 700;
  left: 0;
  padding: 6px 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background-position-x 0.2s ease;
  z-index: 3;
}
.collection__img-container {
  height: 100%;
  width: 100%;
  z-index: 1;
}
.collection__img {
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.2s ease;
  width: 100%;
}

.products {
  margin-bottom: 60px;
}
.products__list-name {
  font-size: 2rem;
  margin: 40px 0;
  text-align: center;
}
.products__list {
  margin: 0 -15px;
  position: relative;
}
@media (min-width: 810px) {
  .products__list {
    margin: 0 auto;
    max-width: 710px;
  }
}
@media (min-width: 1052px) {
  .products__list {
    max-width: 952px;
  }
}
@media (min-width: 1297px) {
  .products__list {
    max-width: 1197px;
  }
}
@media (min-width: 1540px) {
  .products__list {
    max-width: 1440px;
  }
}
.products__btn {
  aspect-ratio: 1/1;
  backdrop-filter: blur(100px);
  background: rgba(0, 0, 0, 0.2) url(../img/chevron.24a15657.svg) center no-repeat;
  background-size: 28px 28px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 1;
  position: absolute;
  top: 110px;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  visibility: visible;
  width: 46px;
  z-index: 2;
}
.products__btn:disabled {
  opacity: 0;
  visibility: hidden;
}
.products__btn:hover {
  transform: translateY(-50%) scale(1.15);
}
.products__btn--prev {
  left: 15px;
  transform: translateY(-50%) scale(-1);
}
.products__btn--prev:hover {
  transform: translateY(-50%) scale(-1.15);
}
.products__btn--next {
  right: 15px;
}
@media (min-width: 810px) {
  .products__btn--prev {
    left: -23px;
  }
  .products__btn--next {
    right: -23px;
  }
}
.products__list-wrapper {
  column-gap: 24px;
  display: flex;
  flex-wrap: nowrap;
  height: 325px;
  overflow: auto visible;
  padding: 0 15px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  z-index: 1;
}
.products__list-wrapper::-webkit-scrollbar {
  height: 0;
  width: 0;
}
@media (min-width: 810px) {
  .products__list-wrapper {
    padding: 0;
  }
}
.products__item {
  display: block;
  flex-shrink: 0;
  font-size: 0;
  scroll-snap-align: center;
  width: 220px;
}
.products__item:hover .products__cover-img {
  transform: scale(1.05);
}
.products__item:hover .products__title {
  background-position-x: 0;
}
@media (min-width: 810px) {
  .products__item {
    scroll-snap-align: start;
  }
}
.products__cover {
  aspect-ratio: 1/1;
  border-radius: 4px;
  display: block;
  overflow: hidden;
  width: 100%;
}
.products__cover-img {
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.2s ease;
  width: 100%;
}
.products__title {
  background: linear-gradient(90deg, currentColor 50%, transparent 50%) 100% 100% no-repeat;
  background-size: 200% 1px;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-position-x 0.2s ease;
  white-space: nowrap;
  width: fit-content;
}
.products__author {
  display: block;
  font-size: 0.875rem;
  margin: 4px 0 10px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.products__rating {
  align-items: center;
  color: #bbb7c5;
  column-gap: 4px;
  display: flex;
  font-size: 0.875rem;
}
.products__rating::before {
  content: url(../img/star.c5b0fa92.svg);
  height: 18px;
  width: 18px;
}

@keyframes accordion-reveal {
  from {
    height: 0;
    overflow: hidden;
  }
  to {
    height: var(--accordion-body-height, auto);
    overflow: hidden;
  }
}
@keyframes accordion-hide {
  from {
    height: var(--accordion-body-height, auto);
    overflow: hidden;
  }
  to {
    height: 0;
    overflow: hidden;
  }
}
.accordion {
  background: #fff;
  border-radius: 8px;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.08);
}
.accordion__title {
  align-items: center;
  background: transparent;
  border: 0;
  color: #000;
  column-gap: 15px;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  justify-content: space-between;
  margin: 0;
  padding: 9px 16px;
  text-align: left;
  width: 100%;
}
.accordion__arrow {
  fill: #000;
  flex-shrink: 0;
  height: 24px;
  transition: fill 0.2s ease, transform 0.2s ease;
  width: 24px;
}
.accordion__body {
  animation-duration: 0.2s;
  animation-timing-function: ease;
  height: 0;
  overflow: hidden;
  transition: height 0.2s ease;
}
.accordion__content {
  font-size: 16px;
  padding: 0 16px 9px;
}
.accordion__content a {
  color: #33adff;
}
.accordion__content > *:first-child {
  margin-top: 0 !important;
}
.accordion__content > *:last-child {
  margin-bottom: 0 !important;
}
.accordion[data-state=open] .accordion__arrow {
  fill: #33adff;
  transform: rotateZ(180deg);
}
.accordion[data-state=open] .accordion__body {
  animation-name: accordion-reveal;
  height: auto;
  overflow: visible;
}
.accordion[data-state=closed] .accordion__body {
  animation-name: accordion-hide;
}
@media (min-width: 992px) {
  .accordion__title {
    font-size: 22px;
    padding: 20px 24px;
  }
  .accordion__content {
    padding: 0 24px 20px;
  }
}

.header {
  background: url(../img/person.fafc43e1.png) 50% 100% no-repeat, url(../img/ellipse.5fba7afa.png) 50% 100% no-repeat, linear-gradient(53deg, #380089 0%, #24173F 100%);
  background-size: auto 350px, auto 300px, 100%;
  box-shadow: 0px 4px 50px 0px rgba(0, 0, 0, 0.25);
}
.header__container {
  align-items: center;
  display: grid;
  grid-template-rows: auto auto 350px;
  justify-content: center;
  justify-items: center;
}
.header__logo {
  display: block;
  margin-top: 56px;
}
.header__logo-img {
  height: 32px;
  width: auto;
}
.header__slogan {
  text-align: center;
}
@media (min-width: 1024px) {
  .header {
    background: url(../img/person.fafc43e1.png) calc(50% + 250px) 100% no-repeat, url(../img/ellipse.5fba7afa.png) calc(50% + 250px) 100% no-repeat, linear-gradient(145deg, #380089 0%, #24173F 86%);
  }
  .header__container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 500px;
    grid-auto-flow: column;
    justify-content: start;
    justify-items: start;
  }
  .header__logo-img {
    height: 40px;
  }
  .header__slogan {
    font-size: 3.5rem;
    text-align: left;
  }
}

.footer {
  background: #160829;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.offer__text {
  font-size: 0.875rem;
  margin: 40px auto 32px;
  max-width: 1000px;
  text-align: center;
}
.offer__text a {
  color: #D619FF;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.offer__text a:hover {
  color: #eb8cff;
}
.offer__list {
  display: grid;
  grid-gap: 32px 24px;
  margin: 0 auto 48px;
  max-width: 480px;
}
.offer__item {
  display: grid;
  grid-gap: 24px;
}
.offer__item-body {
  --bg-color: #4d04b355;
  align-content: center;
  background: url(../img/item-bottom.6a279072.png) center bottom no-repeat, linear-gradient(11.26deg, #4C04B3 -23.73%, transparent 91.23%);
  border-radius: 8px;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  display: grid;
  grid-gap: 24px;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 40px 20px 210px;
  position: relative;
  transition: all 0.5s ease;
}
.offer__item-body:hover {
  background-color: var(--bg-color);
}
.offer__item-body--club {
  --bg-color: #d519ff3f;
  background: url(../img/item-bottom-club.ea702d76.png) center bottom no-repeat, linear-gradient(11.26deg, #D619FF -23.73%, transparent 91.23%);
}
.offer__item-logo {
  height: 40px;
  width: auto;
}
.offer__item-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
}
.offer__item-points {
  display: grid;
  grid-gap: 8px;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  width: fit-content;
}
.offer__item-point {
  backdrop-filter: blur(8px);
  background: hsla(0, 0%, 100%, 0.05);
  border-radius: 8px;
  font-size: 1.125rem;
  padding: 9px 12px;
}
.offer__item-btn {
  display: none;
}
@media (min-width: 1024px) {
  .offer__text {
    font-size: 1.25rem;
    margin: 100px auto;
  }
  .offer__list {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 64px;
    max-width: 960px;
  }
  .offer__item-btn {
    background-color: transparent;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.0666666667) 50%, rgba(0, 0, 0, 0) 50%);
    border: 1px solid #fff;
    border-radius: 4px;
    display: block;
    padding: 16px;
    text-align: center;
  }
}

.gift {
  background-color: #170332;
  padding: 1px 0;
}
.gift__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px auto 32px;
  text-align: center;
}
.gift__list {
  margin-bottom: 40px;
}
.gift__item:not(:last-child)::after {
  background: rgba(255, 255, 255, 0.5333333333);
  content: "";
  display: block;
  height: 1px;
  margin: 32px auto 0;
  max-width: 340px;
}
.gift__item-title {
  font-size: 1.25rem;
  margin: 24px 0;
  text-align: center;
}
.gift__item-btns {
  display: grid;
  grid-gap: 16px;
  margin: 0 auto;
  max-width: 420px;
}
.gift__item-btn {
  align-items: center;
  background-color: #33155d;
  border-radius: 4px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 16px 24px;
}
@media (min-width: 1024px) {
  .gift__title {
    font-size: 2rem;
    margin-top: 76px;
  }
  .gift__list {
    margin-bottom: 76px;
  }
  .gift__item:not(:last-child)::after {
    max-width: 220px;
  }
  .gift__item-title {
    font-size: 1.5rem;
  }
  .gift__item-btns {
    grid-auto-flow: column;
    max-width: 100%;
    width: fit-content;
  }
}

.logos__container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 20px;
}
.logos__logo {
  display: block;
  transition: transform 0.2s ease;
}
.logos__logo:hover {
  transform: scale(1.1);
}
.logos__logo--audioteka {
  width: 120px;
}
.logos__logo--givery {
  width: 77px;
}
@media (min-width: 1024px) {
  .logos__container {
    gap: 48px;
    padding: 8px;
  }
  .logos__logo--audioteka {
    width: 195px;
  }
  .logos__logo--givery {
    width: 125px;
  }
}

body {
  background: linear-gradient(107deg, #2C0E5C 0%, #251840 100%);
  color: #fff;
  overflow-x: hidden;
}