:root {
  --bg: #08080b;
  --panel: #12131d;
  --panel-hover: #171927;
  --text: #f7f7fb;
  --muted: #a7acd0;
  --accent: #6a67ff;
  --accent-magenta: #f220ff;
  --accent-blue: #2f78ff;
  --container: 1360px;
  --header-offset: 112px;
  --header-main-offset: 126px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.pd-gate-pending body > :not(script) {
  visibility: hidden;
}

body {
  margin: 0;
  background: #08080b;
  color: var(--text);
  font-family: "Inter", "Roboto", "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.pd-container {
  width: calc(100% - 64px);
  max-width: var(--container);
  margin: 0 auto;
}

.pd-main {
  padding-top: var(--header-main-offset);
}

.pd-section {
  margin-bottom: 34px;
  scroll-margin-top: var(--header-offset);
}

.pd-section-head {
  margin-bottom: 18px;
}

.pd-section-title {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 680;
  letter-spacing: 0;
}

.pd-section-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.pd-empty-box {
  padding: 15px;
  border: 1px dashed rgba(255, 255, 255, .09);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  color: var(--muted);
}

.pd-bottom-note {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px 14px;
  margin: 54px auto 24px;
  padding: 16px 0 30px;
  color: rgba(245, 246, 255, .42);
  font-size: 12px;
  text-align: center;
}

.pd-bottom-note strong,
.pd-bottom-note span {
  grid-column: 2;
}

.pd-bottom-note strong {
  color: rgba(255, 255, 255, .92);
  font-weight: 760;
}

.pd-bottom-contact {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  grid-column: 3;
  justify-self: start;
  margin-left: clamp(46px, 5vw, 82px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .92);
  font-size: 14px;
  font-weight: 620;
  line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.pd-bottom-contact:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 0 12px rgba(255, 255, 255, .06);
}

.pd-scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: none;
  transition: opacity .25s ease, transform .25s ease, color .2s ease;
}

.pd-scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
}

.pd-scroll-top:hover {
  transform: scale(1.04);
  color: rgba(255, 255, 255, .76);
}

.pd-chips-wrap {
  max-width: 1180px;
  margin: 0 auto 26px;
}

.pd-categories-grid,
.pd-categories-grid-all {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pd-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  aspect-ratio: 1 / .76;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(237, 36, 255, .08);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 15, 23, .98), rgba(10, 10, 17, .98));
  color: #fff;
  cursor: pointer;
  text-align: left;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .03),
    0 0 0 1px rgba(255, 0, 255, .02),
    0 0 12px rgba(242, 32, 255, .07);
  transition: background .22s ease, box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}

.pd-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 18, .06) 0%, rgba(10, 10, 18, .22) 58%, rgba(10, 10, 18, .46) 100%);
  opacity: 1;
  pointer-events: none;
}

.pd-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 38%);
  pointer-events: none;
}

.pd-category-card-title {
  max-width: 100%;
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, .96);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  text-transform: uppercase;
}

.pd-category-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: .5;
}

.pd-category-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1.01);
}

@media (hover: hover) and (pointer: fine) {
  .pd-category-card:hover {
    border-color: rgba(242, 32, 255, .22);
    background:
      linear-gradient(180deg, rgba(17, 17, 26, .98), rgba(12, 12, 20, .98));
    transform: none;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .035),
      0 0 0 1px rgba(255, 0, 255, .06),
      0 0 26px rgba(242, 32, 255, .22);
  }

  .pd-category-card:hover .pd-category-visual {
    opacity: 1;
  }

  .pd-category-card:hover .pd-category-card-title {
    text-shadow:
      0 2px 10px rgba(0, 0, 0, .35),
      0 0 14px rgba(242, 32, 255, .16);
  }
}

.pd-category-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
  color: rgba(215, 219, 245, .52);
  font-size: 12px;
  font-weight: 520;
  line-height: 1;
}

.pd-category-card-go {
  color: rgba(222, 225, 255, .82);
  font-size: 20px;
  line-height: .7;
  transform: translateY(-1px);
}

.pd-categories-more {
  grid-column: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 2 / .9;
  padding: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: center;
}

.pd-categories-more strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 620;
  line-height: 1;
  animation: pdTextPulse 1.8s ease-in-out infinite;
}

.pd-categories-more strong::after {
  content: "›";
  display: inline-block;
  font-weight: 500;
  animation: pdArrowSlide 1.25s ease-in-out infinite;
}

.pd-categories-more:hover strong {
  opacity: 1;
}

@keyframes pdTextPulse {
  0%, 100% {
    opacity: .78;
    text-shadow: 0 0 0 rgba(116, 120, 242, 0);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 18px rgba(242, 32, 255, .12);
  }
}

@keyframes pdArrowSlide {
  0%, 100% {
    opacity: .45;
    transform: translateX(0);
  }

  50% {
    opacity: 1;
    transform: translateX(6px);
  }
}

.pd-reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity .55s ease, transform .55s ease, filter .55s ease;
  transition-delay: var(--pd-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.pd-reveal.pd-reveal--visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .pd-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .pd-categories-more strong {
    animation: none;
  }
}

@media (max-width: 760px) {
  .pd-container {
    width: calc(100% - 24px);
  }

  body .pd-main {
    padding-top: var(--header-main-offset);
  }

  .pd-section-title {
    font-size: 22px;
  }

  body .pd-section {
    scroll-margin-top: var(--header-offset);
  }

  .pd-categories-grid,
  .pd-categories-grid-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pd-category-card {
    aspect-ratio: 1 / .86;
    padding: 14px;
    border-radius: 12px;
    border-color: rgba(237, 36, 255, .07);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .03),
      0 0 0 1px rgba(255, 0, 255, .02),
      0 0 10px rgba(242, 32, 255, .05);
  }

  .pd-category-card-title {
    font-size: 12px;
  }

  .pd-category-visual {
    width: 100%;
    opacity: .5;
  }

  .pd-bottom-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 44px;
    padding-bottom: 26px;
    gap: 10px 8px;
  }

  .pd-bottom-note strong,
  .pd-bottom-note span,
  .pd-bottom-contact {
    grid-column: auto;
  }

  .pd-bottom-contact {
    display: inline-flex;
    margin-left: 0;
    justify-self: center;
    min-height: 38px;
    padding: 0 18px;
    border-color: rgba(0, 255, 255, .42);
    background:
      radial-gradient(circle at 12% 100%, rgba(0, 255, 255, .12), transparent 44%),
      linear-gradient(180deg, rgba(12, 28, 34, .88), rgba(8, 18, 24, .9));
    color: #fff;
    font-weight: 680;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .035),
      0 0 14px rgba(0, 255, 255, .14);
  }
}
