.landing-match-card {
  --match-card-gold: #d5ad56;
  --match-card-gold-soft: #a8843b;
  --match-card-purple: #b54ce7;
  --match-card-purple-soft: #6e2f91;
  --match-card-text: #f0e6d2;
  --match-card-muted: #aa9c86;
  --match-card-panel: rgba(12, 9, 15, 0.88);
  display: grid;
  gap: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: var(--match-card-text);
  border: 1px solid var(--match-card-gold-soft);
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 10%, rgba(117, 44, 143, 0.3), transparent 38%),
    linear-gradient(145deg, #171018 0%, #21152a 48%, #0b090d 100%);
  box-shadow:
    inset 0 0 0 3px rgba(9, 7, 8, 0.92),
    inset 0 0 0 4px rgba(213, 173, 86, 0.42),
    0 18px 36px rgba(0, 0, 0, 0.48);
  font-family: system-ui, sans-serif;
}

.landing-match-card__header,
.landing-match-card__footer,
.landing-match-card__attributes-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.landing-match-card__header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(213, 173, 86, 0.5);
}

.landing-match-card__brand {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.landing-match-card__brand-name,
.landing-match-card__item-name,
.landing-match-card__attributes-heading h5 {
  font-family: "Cinzel", Georgia, serif;
}

.landing-match-card__brand-name {
  color: #f5e5bb;
  font-size: clamp(1.05rem, 2.4vw, 1.48rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.landing-match-card__brand-label,
.landing-match-card__proof-label,
.landing-match-card__facts dt,
.landing-match-card__attributes-heading span,
.landing-match-card__footer {
  color: var(--match-card-muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.landing-match-card__proof-label {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #f2dc9e;
  border: 1px solid rgba(213, 173, 86, 0.65);
  border-radius: 3px;
  background: rgba(77, 51, 12, 0.35);
}

.landing-match-card__item {
  display: grid;
  grid-template-areas:
    "art details"
    "art facts";
  grid-template-columns: minmax(128px, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
  padding: 18px 20px 16px;
}

.landing-match-card__artwork-frame {
  display: grid;
  grid-area: art;
  place-items: center;
  align-self: start;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 2px solid var(--match-card-purple);
  border-radius: 10px;
  background: #08070a;
  box-shadow:
    inset 0 0 0 3px rgba(213, 173, 86, 0.64),
    0 0 22px rgba(119, 44, 151, 0.2);
}

.landing-match-card__artwork {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.64));
}

.landing-match-card__details {
  display: grid;
  grid-area: details;
  align-content: center;
  min-width: 0;
}

.landing-match-card__item-name {
  margin: 0;
  color: #f5eddf;
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  line-height: 1.03;
  overflow-wrap: anywhere;
}

.landing-match-card__rarity {
  display: inline-block;
  margin-top: 7px;
  color: #cd65f2;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-match-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 9px 0 0;
  padding: 0;
  color: #c2b5a1;
  font-size: 0.82rem;
  line-height: 1.4;
  list-style: none;
}

.landing-match-card__meta li + li::before {
  margin: 0 7px;
  color: var(--match-card-gold);
  content: "•";
}

.landing-match-card__facts {
  display: grid;
  grid-area: facts;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 9px;
  min-width: 0;
  margin: 0;
}

.landing-match-card__fact {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(213, 173, 86, 0.42);
  border-radius: 6px;
  background: var(--match-card-panel);
}

.landing-match-card__facts dd {
  margin: 5px 0 0;
  color: #f4eee2;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.1;
}

.landing-match-card__fact--price dd {
  color: #eec84d;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.22rem, 3vw, 1.75rem);
}

.landing-match-card__attributes {
  padding: 0 20px 16px;
}

.landing-match-card__attributes-heading {
  align-items: baseline;
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(213, 173, 86, 0.34);
}

.landing-match-card__attributes-heading h5 {
  margin: 0;
  color: #f0dfb3;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-match-card__attribute-list {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.landing-match-card__attribute {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(181, 76, 231, 0.38);
  border-left: 3px solid var(--match-card-purple);
  border-radius: 5px;
  background: rgba(8, 7, 11, 0.72);
}

.landing-match-card__match-badge {
  padding: 4px 6px;
  color: #f4e7c6;
  border: 1px solid rgba(213, 173, 86, 0.7);
  border-radius: 3px;
  background: rgba(96, 64, 17, 0.44);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.landing-match-card__match-badge.is-unmatched {
  color: #c4bacb;
  border-color: rgba(174, 161, 184, 0.55);
  background: rgba(65, 55, 69, 0.45);
}

.landing-match-card__attribute-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.landing-match-card__attribute-name {
  color: #f0e8da;
  font-size: 0.88rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.landing-match-card__attribute-detail {
  color: #a99b87;
  font-size: 0.72rem;
  line-height: 1.25;
}

.landing-match-card__attribute-value {
  min-width: 45px;
  color: #f0c84c;
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.15rem;
  text-align: right;
}

.landing-match-card__footer {
  align-items: flex-start;
  padding: 12px 20px 15px;
  border-top: 1px solid rgba(213, 173, 86, 0.36);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: none;
}

.landing-match-card__footer span:last-child {
  color: #d1b56f;
  text-align: right;
}

@media (min-width: 601px) {
  .landing-match-card__header {
    padding-top: 14px;
    padding-bottom: 11px;
  }

  .landing-match-card__item {
    padding-top: 14px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .landing-match-card__attributes {
    padding-bottom: 12px;
  }

  .landing-match-card__attribute {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .landing-match-card__footer {
    padding-top: 9px;
    padding-bottom: 10px;
  }
}

@media (max-width: 1099px) {
  .landing-match-card__item {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 13px;
  }

  .landing-match-card__item-name {
    font-size: clamp(1.45rem, 3.6vw, 2rem);
  }
}

@media (max-width: 600px) {
  .landing-match-card {
    border-radius: 9px;
  }

  .landing-match-card__header,
  .landing-match-card__item,
  .landing-match-card__attributes,
  .landing-match-card__footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .landing-match-card__header {
    padding-top: 14px;
    padding-bottom: 11px;
  }

  .landing-match-card__brand-name {
    font-size: 1rem;
  }

  .landing-match-card__proof-label {
    padding: 4px 6px;
    font-size: 0.58rem;
  }

  .landing-match-card__item {
    grid-template-areas:
      "art details"
      "facts facts";
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .landing-match-card__artwork-frame {
    padding: 7px;
    border-radius: 8px;
  }

  .landing-match-card__item-name {
    font-size: clamp(1.35rem, 7vw, 1.72rem);
  }

  .landing-match-card__rarity {
    margin-top: 5px;
    font-size: 0.72rem;
  }

  .landing-match-card__meta {
    margin-top: 6px;
    font-size: 0.76rem;
  }

  .landing-match-card__facts {
    gap: 7px;
  }

  .landing-match-card__fact {
    padding: 9px 10px;
  }

  .landing-match-card__facts dt {
    font-size: 0.6rem;
  }

  .landing-match-card__facts dd {
    font-size: 1rem;
  }

  .landing-match-card__fact--price dd {
    font-size: 1.3rem;
  }

  .landing-match-card__attributes-heading h5 {
    font-size: 0.87rem;
  }

  .landing-match-card__attribute {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 8px;
  }

  .landing-match-card__match-badge {
    padding: 4px 5px;
    font-size: 0.58rem;
  }

  .landing-match-card__attribute-name {
    font-size: 0.8rem;
  }

  .landing-match-card__attribute-detail {
    font-size: 0.66rem;
  }

  .landing-match-card__attribute-value {
    min-width: 37px;
    font-size: 1rem;
  }

  .landing-match-card__footer {
    flex-direction: column;
    gap: 5px;
    font-size: 0.62rem;
  }

  .landing-match-card__footer span:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-match-card__artwork {
    filter: none;
  }
}
