/* Point exchange */
.exchange-page {
  padding: 28px 0 72px;
}

.exchange-shell {
  width: min(94vw, 2080px);
  margin-inline: auto;
}

.exchange-hero,
.exchange-guide,
.exchange-catalog {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 34%, rgba(56, 231, 255, .13), transparent 32%),
    radial-gradient(circle at 24% 18%, rgba(255, 77, 221, .15), transparent 30%),
    linear-gradient(180deg, rgba(20, 6, 34, .94), rgba(7, 2, 12, .96));
  border: 1px solid rgba(205, 116, 255, .26);
  box-shadow:
    0 0 42px rgba(150, 52, 255, .18),
    inset 0 0 0 1px rgba(255,255,255,.03);
}

.exchange-hero::before,
.exchange-guide::before,
.exchange-catalog::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 26px;
  border: 1px solid rgba(255, 113, 232, .13);
  pointer-events: none;
}

.exchange-hero {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(460px, .72fr);
  gap: clamp(24px, 2.5vw, 56px);
  align-items: end;
  padding: clamp(30px, 2.5vw, 56px);
}

.exchange-kicker {
  margin: 0 0 8px;
  color: #ff74e9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .28em;
}

.exchange-hero h1 {
  margin: 0;
  font-size: clamp(58px, 5vw, 116px);
  line-height: .95;
  text-shadow:
    0 0 12px rgba(255,255,255,.44),
    0 0 32px rgba(165, 72, 255, .72),
    7px 0 0 rgba(56, 231, 255, .24),
    -7px 0 0 rgba(255, 77, 221, .25);
}

.exchange-hero-copy,
.exchange-status-panel,
.exchange-guide > article,
.exchange-section-head,
.exchange-category {
  position: relative;
  z-index: 2;
}

.exchange-hero-copy p:not(.exchange-kicker) {
  max-width: 820px;
  margin: 22px 0 0;
  color: #d2bee8;
  font-size: 18px;
  line-height: 1.8;
}

.exchange-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.exchange-hero-actions a,
.exchange-section-head > a,
.exchange-category-head > a,
.exchange-category-card a,
.exchange-product-bottom a {
  display: inline-grid;
  place-items: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #7920e9, #ff4ddd);
  box-shadow: 0 0 30px rgba(255, 77, 221, .26);
}

.exchange-hero-actions a.ghost,
.exchange-category-head > a {
  background: rgba(31, 10, 50, .88);
  border: 1px solid rgba(255, 130, 237, .28);
  box-shadow: none;
}

.exchange-status-panel {
  display: grid;
  gap: 14px;
}

.exchange-status-panel div {
  min-height: 112px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(14, 5, 24, .82);
  border: 1px solid rgba(205, 116, 255, .24);
}

.exchange-status-panel span {
  display: block;
  margin-bottom: 12px;
  color: #bda1da;
  font-size: 13px;
  font-weight: 800;
}

.exchange-status-panel strong {
  color: #fff;
  font-size: clamp(28px, 2vw, 40px);
}

.exchange-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding: clamp(24px, 2vw, 34px);
}

.exchange-guide article {
  min-height: 170px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(13, 5, 22, .76);
  border: 1px solid rgba(205, 116, 255, .18);
}

.exchange-guide span {
  color: #8ff5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
}

.exchange-guide h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.exchange-guide p {
  margin: 0;
  color: #bfa8d8;
  line-height: 1.65;
}

.exchange-catalog {
  margin-top: 28px;
  padding: clamp(24px, 2vw, 38px);
}

.exchange-section-head,
.exchange-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.exchange-section-head {
  margin-bottom: 28px;
}

.exchange-section-head h2 {
  margin: 0;
  font-size: clamp(32px, 2.5vw, 52px);
}

.exchange-category {
  padding: 24px;
  border-radius: 28px;
  background: rgba(12, 4, 20, .62);
  border: 1px solid rgba(205, 116, 255, .18);
}

.exchange-category + .exchange-category {
  margin-top: 22px;
}

.exchange-category-head {
  margin-bottom: 18px;
}

.exchange-category-head h3 {
  margin: 0;
  font-size: clamp(26px, 2vw, 40px);
}

.exchange-category-head span {
  display: block;
  margin-top: 8px;
  color: #bfa8d8;
  line-height: 1.65;
}

.exchange-category-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 24px);
}

.exchange-category-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 10px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 18%, rgba(56, 231, 255, .13), transparent 30%),
    linear-gradient(180deg, rgba(27, 9, 41, .96), rgba(10, 3, 18, .96));
  border: 1px solid rgba(205, 116, 255, .25);
  box-shadow: 0 0 28px rgba(116, 16, 201, .16);
}

.exchange-category-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(56, 231, 255, .10);
  border: 1px solid rgba(56, 231, 255, .28);
  font-size: 34px;
  box-shadow: 0 0 24px rgba(56, 231, 255, .12);
}

.exchange-category-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 2vw, 38px);
}

.exchange-category-card p:not(.exchange-kicker) {
  margin: 0;
  color: #d2bee8;
  line-height: 1.7;
}

.exchange-category-card span {
  display: block;
  min-height: 44px;
  color: #fff0ad;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.exchange-category-card a {
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
}

.exchange-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.4vw, 24px);
}

.exchange-product-card {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-rows: 250px 1fr auto;
  padding: 20px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 77, 221, .16), transparent 36%),
    linear-gradient(180deg, rgba(27, 9, 41, .96), rgba(10, 3, 18, .96));
  border: 1px solid rgba(205, 116, 255, .25);
  box-shadow: 0 0 28px rgba(116, 16, 201, .16);
}

.exchange-product-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 113, 232, .11);
  pointer-events: none;
}

.exchange-product-tag {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff0ad;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  background: rgba(255, 197, 109, .13);
  border: 1px solid rgba(255, 197, 109, .36);
}

.exchange-product-image {
  display: grid;
  place-items: center;
  min-height: 250px;
}

.exchange-product-image img {
  display: block;
  width: min(82%, 280px);
  height: 220px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(255, 77, 221, .20))
    drop-shadow(0 0 54px rgba(163, 61, 255, .24));
}

.exchange-product-copy small {
  color: #8ff5ff;
  font-weight: 900;
  letter-spacing: .12em;
}

.exchange-product-copy h4 {
  min-height: 72px;
  margin: 10px 0 8px;
  color: #fff;
  font-size: clamp(22px, 1.55vw, 30px);
  line-height: 1.2;
}

.exchange-product-copy p {
  margin: 0;
  color: #bfa8d8;
}

.exchange-product-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.exchange-product-bottom strong {
  color: #fff0ad;
  font-size: clamp(22px, 1.5vw, 30px);
}

.exchange-product-bottom a {
  min-height: 46px;
  padding-inline: 14px;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .exchange-hero {
    grid-template-columns: 1fr;
  }

  .exchange-status-panel,
  .exchange-guide,
  .exchange-category-grid,
  .exchange-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .exchange-page {
    padding-top: 14px;
  }

  .exchange-hero,
  .exchange-catalog,
  .exchange-guide {
    border-radius: 24px;
  }

  .exchange-hero {
    padding: 24px 18px;
  }

  .exchange-hero h1 {
    font-size: 50px;
  }

  .exchange-status-panel,
  .exchange-guide,
  .exchange-category-grid,
  .exchange-product-grid {
    grid-template-columns: 1fr;
  }

  .exchange-section-head,
  .exchange-category-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .exchange-section-head > a,
  .exchange-category-head > a,
  .exchange-hero-actions a {
    width: 100%;
  }

  .exchange-category {
    padding: 18px 14px;
  }

  .exchange-product-card {
    min-height: 460px;
    grid-template-rows: 210px 1fr auto;
  }

  .exchange-product-image {
    min-height: 210px;
  }

  .exchange-product-image img {
    height: 185px;
  }

  .exchange-product-bottom {
    grid-template-columns: 1fr;
  }
}
