*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, p, figure, blockquote, ul, ol, fieldset, legend {
  margin: 0;
  padding: 0;
}

fieldset { border: 0; }

ul, ol { list-style: none; }

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

button, input, textarea, select { font: inherit; color: inherit; }

:root {
  --u: 1px;

  --content: 1514px;
  --gutter: 43px;

  --c-black: #000;
  --c-ink: #101010;
  --c-ink-soft: #070707;
  --c-card-dark: #1a1a1a;
  --c-muted: #909090;
  --c-muted-2: #696969;
  --c-muted-3: #6b6b6b;
  --c-placeholder: #9a9a9a;
  --c-line: #e8e8e8;
  --c-line-2: #e9e9e9;
  --c-line-3: #e5e5e5;
  --c-surface: #f6f6f6;
  --c-surface-2: #f0f0f0;

  --r-block: 14px;
  --r-pill: 22px;
  --r-chip: 24px;
}

body {
  background:var(--glass);
  color: var(--c-black);
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.17;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 0 0 var(--r-block) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.shell {
  width: min(var(--content), 100% - var(--gutter) * 2);
  margin-inline: auto;
  container-type: inline-size;
}

.shell--wide {
  --content: 1440px;
  --gutter: 80px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(4 * var(--u));
  padding: calc(13 * var(--u)) calc(23 * var(--u));
  border: 0;
  border-radius: calc(22 * var(--u));
  font-size: calc(17.5 * var(--u));
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--light { background:var(--glass); color: var(--c-black); }
.btn--dark  { background: var(--c-ink); color: #fff; }
.btn--outline {
  background:var(--glass);
  color: var(--c-black);
  box-shadow: inset 0 0 0 1px var(--c-line);
}

.btn__caret {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  flex: none;
}

.nav { background:var(--glass); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 29px;
  height: 112px;
}

.nav__logo img { width: 92.44px; height: 33px; }

.search {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 45px;
  padding: 0 15px;
  background:var(--glass);
  border: 1.2px solid var(--c-line);
  border-radius: var(--r-pill);
}
.search__icon { width: 24px; height: 24px; flex: none; }

.search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: none;
  font: 500 17.5px/1.2 inherit;
  color: var(--c-ink);
}
.search__input::placeholder { color: var(--c-placeholder); opacity: 1; }
.search__input:focus { outline: none; }
.search:focus-within { border-color: #c9c9c9; }
.search__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 29px;
  flex: none;
}

.nav__balance {
  font-size: 17.5px;
  font-weight: 600;
  white-space: nowrap;
}

.nav__avatar {
  display: block;
  flex: none;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1.2px solid var(--c-line);
  background: var(--c-surface);
  overflow: hidden;
}
.nav__avatar img { width: 100%; height: 100%; object-fit: cover; }

.nav__avatar--lg {
  width: 47px;
  height: 47px;
  border: 0;
  background: none;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.17;
}
.section__title img { width: 24px; height: 24px; flex: none; }

.grad {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.grad--cool {
  background-image: linear-gradient(270deg, #e8d0d0 .59%, #cbc6f4 30.87%, #f1e0e0 68.33%, #ddd9fa 95.29%);
}
.grad--warm {
  background-image: linear-gradient(90deg, #fbffba 0%, #d5ffb5 34.87%, #ffee93 66.67%, #ffeca4 100%);
}
.grad--lime {
  background-image: linear-gradient(90deg, #e6ee68 0%, #a1f361 34.87%, #ffee93 66.67%, #ffdb53 100%);
}
.grad--mint {
  background-image: linear-gradient(90deg, #f9ffba, #d7ffb5);
}

.chip {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, .25);
  border-radius: calc(24 * var(--u));
}

.chip--rank {
  gap: calc(2 * var(--u));
  padding: calc(3 * var(--u)) calc(14 * var(--u));
}
.chip--rank img {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
}
.chip__num {
  font-family: "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: calc(21 * var(--u));
  line-height: 1.24;
}

.chip--handle {
  padding: calc(7 * var(--u)) calc(14 * var(--u));
  font-size: calc(16 * var(--u));
  font-weight: 500;
  letter-spacing: calc(.48 * var(--u));
  line-height: 1.17;
}

.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 54px 36px;
}

.cat {
  flex: 0 1 333px;
  max-width: 333px;
  container-type: inline-size;
}

.cat__link {
  --u: min(1px, 0.3003cqw);

  position: relative;
  display: block;
  height: calc(229 * var(--u));
  border-radius: calc(14 * var(--u));
  overflow: hidden;
}

.cat__thumbs {
  position: absolute;
  left: calc(22 * var(--u));
  top: calc(22 * var(--u));
  width: calc(289 * var(--u));
  height: calc(173 * var(--u));
}

.cat__thumb {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: calc(15 * var(--u));
}
.cat__thumb img {
  position: absolute;
  top: 0;
  max-width: none;
}

.cat__thumb--right {
  left: calc(153 * var(--u));
  top: calc(8 * var(--u));
  width: calc(136 * var(--u));
  height: calc(165 * var(--u));
}
.cat__thumb--right img { left: -71.47%; width: 215.66%; height: 100%; }

.cat__thumb--left {
  left: 0;
  top: calc(8 * var(--u));
  width: calc(136 * var(--u));
  height: calc(165 * var(--u));
}
.cat__thumb--left img { left: -90.15%; width: 215.66%; height: 100%; }

.cat__thumb--mid {
  left: calc(75 * var(--u));
  top: 0;
  width: calc(136 * var(--u));
  height: calc(166 * var(--u));
}
.cat__thumb--mid img { left: -108.16%; width: 216.99%; height: 100%; }

.cat__bar {
  position: absolute;
  left: 0;
  top: calc(175 * var(--u));
  width: 100%;
  height: calc(54 * var(--u));
  background: var(--c-surface);
  overflow: hidden;
}

.cat__name {
  position: absolute;
  left: calc(22 * var(--u));
  top: calc(14 * var(--u));
  font-size: calc(21 * var(--u));
  font-weight: 400;
  line-height: 1.17;
  color: var(--c-ink-soft);
}

.gcard {
  flex: none;
  width: calc(312 * var(--u));
  height: calc(468 * var(--u));
  display: flex;
  flex-direction: column;
  background:var(--glass);
  border-radius: calc(14 * var(--u));
  overflow: hidden;
}

.gcard__media {
  position: relative;
  flex: 1 1 auto;
  aspect-ratio: 312 / 346;
  overflow: hidden;
}
.gcard__media img {
  position: absolute;
  left: -1.63%;
  top: -.87%;
  width: 153.4%;
  height: 103.76%;
  max-width: none;
}

.gcard__info {
  flex: none;
  height: calc(122 * var(--u));
  display: flex;
  flex-direction: column;
  padding: calc(15 * var(--u)) calc(20 * var(--u)) 0;
  background:var(--glass);
  color: var(--c-black);
}
.gcard__info--dark {
  background: var(--c-card-dark);
  color: #fff;
}

.byline {
  display: flex;
  align-items: center;
  gap: calc(5 * var(--u));
  padding: calc(4 * var(--u)) 0;
  font-size: calc(14 * var(--u));
  letter-spacing: calc(.42 * var(--u));
  line-height: 1.17;
}
.byline__by { font-weight: 400; }
.byline__name { font-weight: 500; }
.byline__avatar {
  flex: none;
  width: calc(19 * var(--u));
  height: calc(19 * var(--u));
  border-radius: 50%;
  object-fit: cover;
}

.gcard__row {
  margin-top: calc(10 * var(--u));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(10 * var(--u));
}
.gcard__row--auction { margin-top: calc(18 * var(--u)); }

.gcard__title {
  width: calc(134 * var(--u));
  font-size: calc(16 * var(--u));
  font-weight: 600;
  line-height: 1.17;
}

.gcard__price,
.gcard__col { display: flex; flex-direction: column; }
.gcard__col--end { align-items: flex-end; }

.gcard__label {
  font-size: calc(16 * var(--u));
  font-weight: 600;
  line-height: 1.17;
  color: var(--c-muted);
}

.gcard__value {
  margin-top: calc(2.3 * var(--u));
  font-size: calc(24 * var(--u));
  font-weight: 600;
  letter-spacing: calc(-.36 * var(--u));
  line-height: 1.17;
}

.gcard__timer {
  margin-top: calc(7.3 * var(--u));
  font-size: calc(16 * var(--u));
  font-weight: 500;
  letter-spacing: calc(.48 * var(--u));
  line-height: 1.17;
}

.gcard__amount {
  margin-top: calc(.3 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  font-size: calc(24 * var(--u));
  font-weight: 600;
  letter-spacing: calc(-.36 * var(--u));
  line-height: 1.17;
}
.gcard__dot {
  flex: none;
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
}

.gcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(312px, 1fr));
  justify-content: center;
  gap: 24px;
}
.gcard-grid .gcard {
  width: 100%;
  height: auto;
}
.gcard-grid .gcard__info { height: auto; padding-bottom: calc(20 * var(--u)); }

.teaser {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-card-dark);
}
.teaser span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .42px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.scard-grid {
  max-width: 1436px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.scard-item { container-type: inline-size; }

.scard {
  --u: min(1px, 0.298507cqw);

  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(420 * var(--u));
  background:var(--glass);
  border-radius: calc(14 * var(--u));
  overflow: hidden;
}
.scard--buy { border: 1px solid #353638; }

.scard__media {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
}
.scard__media img {
  position: absolute;
  left: -1.52%;
  top: -.87%;
  width: 142.9%;
  height: 103.76%;
  max-width: none;
}

.scard__info {
  flex: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(10 * var(--u));
  padding: calc(14 * var(--u)) calc(20 * var(--u)) 0;
}
.scard__info--auction {
  height: calc(74 * var(--u));
  background: var(--c-card-dark);
  color: #fff;
}
.scard__info--buy {
  height: calc(74 * var(--u));
  background:var(--glass);
  color: var(--c-black);
}

.scard__col { display: flex; flex-direction: column; }
.scard__col--end { align-items: flex-end; }

.scard__label {
  font-size: calc(16 * var(--u));
  font-weight: 600;
  line-height: 1.17;
  color: var(--c-muted);
}

.scard__timer {
  margin-top: calc(7.3 * var(--u));
  font-size: calc(16 * var(--u));
  font-weight: 500;
  letter-spacing: calc(.48 * var(--u));
  line-height: 1.17;
}

.scard__amount {
  margin-top: calc(.3 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  font-size: calc(24 * var(--u));
  font-weight: 600;
  letter-spacing: calc(-.36 * var(--u));
  line-height: 1.17;
}
.scard__dot {
  flex: none;
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
}

.scard__title {
  margin-top: calc(5 * var(--u));
  width: calc(134 * var(--u));
  font-size: calc(16 * var(--u));
  font-weight: 600;
  line-height: 1.17;
}

.scard__value {
  margin-top: calc(.3 * var(--u));
  font-size: calc(24 * var(--u));
  font-weight: 600;
  letter-spacing: calc(-.36 * var(--u));
  line-height: 1.17;
}

.footer {
  min-height: 385px;
  padding: 90px 0 60px;
  background: var(--c-black);
  color: #fff;
}

.footer__inner {
  width: min(1268px, 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  display: block;
  width: 152px;
  height: 123px;
}
.footer__logo img { width: 92.44px; height: 33px; }

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__links {
  display: grid;
  grid-template-columns: 186px 211px 116px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer__heading {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.17;
  color: var(--c-muted-3);
}

.footer__legal a,
.footer__col a {
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.2;
  opacity: .8;
  transition: opacity .15s ease;
}
.footer__legal a:hover,
.footer__col a:hover { opacity: 1; }

@media (max-width: 1279px) {
  :root { --gutter: 32px; }
  .shell--wide { --gutter: 40px; }
}

@media (max-width: 1023px) {
  :root { --gutter: 20px; }

  .nav__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 18px 0;
    gap: 16px;
  }
  .search { order: 3; flex-basis: 100%; }
  .nav__actions { margin-left: auto; gap: 12px; }

  .section { gap: 36px; }
  .cat-grid { gap: 32px 24px; }

  .gcard {
    width: min(312px, 100%);
    height: auto;
  }
  .gcard__info { height: auto; padding-bottom: 20px; }

  .gcard-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
  }

  .shell--wide { --gutter: 20px; }
  .scard-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .footer {
    min-height: 0;
    padding: 56px 0 48px;
  }
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .footer__logo { height: auto; }
  .footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav__actions { gap: 10px; }
  .nav__actions .btn { padding: 11px 16px; font-size: 15px; }

  .section__title { font-size: 20px; padding-left: 0; }
  .cat-grid { gap: 20px 16px; }
  .cat { flex-basis: 100%; }

  .gcard-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .scard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}
