.cat-page {
  max-width: 1280px;
  margin: 88px auto 140px;
  padding: 0 28px;
  font-family: 'Nunito', sans-serif;
}
.cat-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 195px;
}
.cat-kicker {
  margin: 0 0 18px;
  color: #9b99e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cat-page h1 {
  margin: 0;
  padding-top: 10px;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 56px;
  letter-spacing: normal;
  text-transform: uppercase;
}
.cat-page h1 span {
  color: #fff;
}
.cat-lead {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.cat-hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}
.cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 30px;
  border: none;
  border-radius: 37px;
  background: #7775D1;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}
.cat-btn:hover {
  color: #7775D1;
  background: #7775D1;
  text-decoration: none;
}
.cat-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 700;
}
.cat-stage {
  position: relative;
  height: 440px;
}
.cat-float {
  position: absolute;
  width: 250px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1A1D26;
}
.cat-float img {
  display: block;
  width: 100%;
  height: 156px;
  object-fit: cover;
  object-position: center 20%;
  background: #15171D;
}
.cat-float span {
  display: block;
  padding: 14px 16px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.cat-float--a {
  left: 0;
  top: 36px;
  transform: rotate(-7deg);
}
.cat-float--b {
  right: 8px;
  top: 0;
  transform: rotate(5deg);
  border-color: #7775D1;
}
.cat-float--c {
  left: 78px;
  bottom: 8px;
  transform: rotate(3deg);
}
.cat-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}
.cat-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.cat-filters__track {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  height: 54px;
  padding: 0;
  border-radius: 37px;
  background: #1A1D26;
}
.cat-filters__blob {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 37px;
  background: #fff;
  pointer-events: none;
}
.cat-filter {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  height: 54px;
  padding: 0 30px;
  border-radius: 37px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.18s ease 0.14s;
}
.cat-filter:hover {
  color: #fff;
  transition-delay: 0s;
}
.cat-filter.is-on,
.cat-filter.is-on:hover {
  color: #15171D;
  background: transparent;
  transition: color 0.2s ease 0.16s;
}
.cat-page h2 {
  margin: 0;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}
.cat-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 54px;
  flex: 0 0 auto;
  padding: 0 4px 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.cat-search-wrap:focus-within {
  border-color: #7775D1;
  color: #7775D1;
}
.cat-search__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}
.cat-search {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}
.cat-search::placeholder {
  color: rgba(255, 255, 255, 0.34);
}
.cat-search::-webkit-search-cancel-button {
  filter: invert(1);
  opacity: 0.4;
}
.cat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  perspective: 1200px;
}
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 25px;
  background: #15171D;
  color: #fff;
  text-decoration: none;
}
.cat-card:hover {
  color: #fff;
  text-decoration: none;
}
.cat-card__media {
  position: absolute;
  inset: 0;
}
.cat-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 52%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 11, 16, 0.94) 0%, rgba(15, 16, 22, 0.72) 38%, rgba(21, 23, 29, 0) 100%);
}
.cat-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  background: #15171D;
  transition: transform 0.45s ease;
}
.cat-card:hover img {
  transform: scale(1.04);
}
.cat-card--char img {
  position: absolute;
  width: 82%;
  height: 82%;
  left: 50%;
  bottom: 0;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  transform-origin: center bottom;
}
.cat-card--char:hover img {
  transform: translateX(-50%) scale(1.04);
}
.cat-aim {
  position: absolute;
  width: 82%;
  height: 82%;
  left: 0;
  bottom: 0;
  z-index: 0;
  transform-origin: left bottom;
  transition: transform 0.45s ease;
}
.cat-card--char .cat-aim img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  transform: none;
  transition: none;
}
.cat-card--char:hover .cat-aim {
  transform: scale(1.04);
}
.cat-card--char:hover .cat-aim img {
  transform: none;
}
.cat-lock {
  position: absolute;
  left: var(--lock-l);
  top: var(--lock-t);
  width: var(--lock-w);
  height: var(--lock-h);
  z-index: 1;
  padding: var(--lock-stroke, 1.5px);
  border-radius: var(--lock-radius, 4px);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  filter:
    drop-shadow(0 0 2px rgba(200, 198, 255, 0.7))
    drop-shadow(0 0 5px rgba(119, 117, 209, 0.4));
}
.cat-lock::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 420%;
  height: 420%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    #3d3b86 0deg,
    #7775d1 70deg,
    #f7f6ff 118deg,
    #b9b7f4 156deg,
    #7775d1 210deg,
    #4a4894 280deg,
    #3d3b86 360deg
  );
  animation: cat-lock-spin 2.6s linear infinite;
}
@keyframes cat-lock-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.cat-card__top,
.cat-card__body {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}
.cat-card__top {
  top: 0;
  padding: 22px 18px 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
.cat-card__body {
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 22px 22px;
}
.cat-card__name {
  font-size: 34px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.cat-card__text {
  margin: 0;
  color: #9097bf;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.cat-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding-left: 12px;
  border-left: 2px solid #7775D1;
}
.cat-price__from {
  color: #9b99e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}
.cat-price__amount {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.cat-price__value {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cat-price__period {
  color: #9097bf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.cat-card:hover .cat-price {
  border-left-color: #c8c6ff;
}
.cat-card:hover .cat-price__value {
  color: #c8c6ff;
}
.cat-card.is-folding {
  z-index: 2;
  pointer-events: none;
  transform-origin: center center;
  animation: cat-fold 0.34s cubic-bezier(.4, 0, .75, .4) forwards;
}
.cat-card.is-unfolding {
  transform-origin: center top;
  animation: cat-unfold 0.46s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cat-fold {
  to {
    opacity: 0;
    transform: rotateX(8deg) scale(0.94) translateY(16px);
  }
}
@keyframes cat-unfold {
  from {
    opacity: 0;
    transform: rotateX(-10deg) scale(0.94) translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cat-empty {
  display: none;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}
.cat-empty.is-on {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .cat-filters__blob,
  .cat-card.is-folding,
  .cat-card.is-unfolding,
  .cat-lock::before {
    transition: none;
    animation: none;
  }
}
@media (max-width: 1100px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .cat-hero {
    grid-template-columns: 1fr;
    margin-bottom: 64px;
  }
  .cat-stage {
    display: none;
  }
}
@media (max-width: 720px) {
  .cat-page h1 {
    font-size: 34px;
    line-height: 36px;
  }
}
@media (max-width: 640px) {
  .cat-page {
    margin: 48px auto 96px;
    padding: 0 16px;
  }
  .cat-page h1 {
    font-size: 34px;
    line-height: 36px;
  }
  .cat-lead {
    font-size: 16px;
  }
  .cat-hero__actions {
    flex-wrap: wrap;
  }
  .cat-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .cat-filters {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .cat-filters__track {
    flex-wrap: wrap;
    height: auto;
  }
  .cat-filter {
    height: 54px;
    padding: 0 22px;
  }
  .cat-search-wrap {
    width: 100%;
  }
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .cat-card__name {
    font-size: 40px;
  }
  .cat-page h2 {
    font-size: 28px;
  }
}
.cat-crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  font-weight: 700;
}
.cat-crumbs a {
  color: inherit;
  text-decoration: none;
}
.cat-crumbs a:hover {
  color: #c8c6ff;
}
.cat-seo {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 36px;
  align-items: start;
  margin-top: 88px;
}
.cat-seo__copy p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}
.cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.cat-links a {
  padding: 8px 14px;
  border: 1px solid rgba(119, 117, 209, 0.45);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.cat-links a:hover {
  background: rgba(119, 117, 209, 0.2);
  color: #fff;
}
.cat-seo__kinds {
  display: grid;
  gap: 14px;
}
.cat-seo__kind {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: transparent;
}
.cat-seo__kind--aim {
  border-color: rgba(119, 117, 209, 0.45);
}
.cat-seo__kind h3 {
  margin: 0 0 12px;
  color: #c8c6ff;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}
.cat-seo__kind p {
  margin: 0;
  color: #9097bf;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.cat-seo__games {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, 0.38) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}
.cat-seo__kind .cat-price {
  margin-top: 18px;
}
.cat-page > section.ques {
  margin-top: 48px;
}
.cat-page > section.ques .wrapper h2.title {
  padding-top: 10px;
}
@media (max-width: 860px) {
  .cat-seo {
    grid-template-columns: 1fr;
    margin-top: 64px;
  }
}
@media (max-width: 640px) {
  .cat-seo__copy p {
    font-size: 15px;
  }
}
