/* Homepage curated marketplace grid. Domain order remains controlled by the app. */
html.ns-home-page #featured-domains.ns-domain-marketplace {
  position: relative; padding: clamp(92px,10vw,148px) 0 !important; overflow: hidden;
  background:#050a18; border-block:1px solid rgba(255,255,255,.1);
}
html.ns-home-page #featured-domains.ns-domain-marketplace::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(246,185,29,.04) 1px,transparent 1px),linear-gradient(rgba(246,185,29,.025) 1px,transparent 1px);
  background-size:88px 88px; mask-image:linear-gradient(to bottom,#000,transparent 82%);
}
html.ns-home-page .ns-domain-marketplace__stage>div {
  position:relative; z-index:1; max-width:1380px !important; padding-inline:clamp(16px,3vw,48px) !important;
}
html.ns-home-page .ns-domain-marketplace__heading {
  display:grid !important; grid-template-columns:minmax(0,1fr) minmax(300px,.6fr); gap:40px;
  align-items:end; margin-bottom:54px !important; text-align:left !important;
}
html.ns-home-page .ns-domain-marketplace__heading>div:first-child {
  position:relative; grid-column:1; justify-self:start; margin-bottom:4px !important;
  color:#d8a611 !important; background:transparent !important; border:0 !important;
  border-radius:0 !important; padding:0 0 0 42px !important;
}
html.ns-home-page .ns-domain-marketplace__heading>div:first-child::before {
  content:""; position:absolute; left:0; top:8px; width:28px; height:1px; background:#d8a611;
}
html.ns-home-page .ns-domain-marketplace__heading>div:first-child>span:first-child { display:none; }
html.ns-home-page .ns-domain-marketplace__heading>div:first-child>span:last-child {
  color:#d8a611 !important; font-size:10px !important; letter-spacing:.22em !important;
}
html.ns-home-page .ns-domain-marketplace__heading h2 {
  grid-column:1; margin:0 !important; color:#f8f5ee !important;
  font-size:clamp(45px,6vw,82px) !important; font-weight:650 !important;
  letter-spacing:-.055em !important; line-height:.96 !important;
}
html.ns-home-page .ns-domain-marketplace__heading h2 span {
  color:inherit !important; background:none !important; -webkit-text-fill-color:currentColor !important;
}
.ns-domain-marketplace__copy {
  grid-column:2; grid-row:1/span 2; align-self:end; padding:0 0 4px 30px;
  border-left:1px solid rgba(255,255,255,.13);
}
.ns-domain-marketplace__copy p { max-width:430px; margin:0 0 24px; color:#9ba5b7; font-size:15px; line-height:1.7; }
.ns-domain-marketplace__copy>div { display:flex; flex-wrap:wrap; gap:10px 20px; }
.ns-domain-marketplace__copy span { color:#c9cfda; font-size:9px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.ns-domain-marketplace__copy span::before {
  content:""; display:inline-block; width:5px; height:5px; margin:0 8px 1px 0;
  background:#d8a611; border-radius:50%;
}
html.ns-home-page .ns-domain-marketplace .domain-grid {
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important; align-items:stretch;
}
html.ns-home-page .ns-domain-marketplace__item { position:relative; min-width:0; isolation:isolate; }
html.ns-home-page .ns-domain-marketplace__excluded,
html.ns-home-page .ns-domain-marketplace .domain-grid > :nth-child(n+9) { display:none !important; }
html.ns-home-page .ns-domain-marketplace__item::before {
  content:attr(data-inventory-slot); position:absolute; top:19px; right:20px; z-index:5;
  color:rgba(255,255,255,.28); font-size:9px; font-weight:800; letter-spacing:.16em; pointer-events:none;
}
html.ns-home-page .ns-domain-marketplace__item>div:first-child { display:none !important; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card {
  height:100%; min-height:354px; background:linear-gradient(155deg,rgba(17,25,45,.96),rgba(6,11,25,.98)) !important;
  border:1px solid rgba(255,255,255,.1) !important; border-radius:3px !important;
  box-shadow:none !important; transform:none !important;
  transition:transform 420ms cubic-bezier(.2,.72,.2,1),border-color 300ms ease,background 300ms ease !important;
}
html.ns-home-page .ns-domain-marketplace__item[data-market-row="lead"] .ns-domain-card {
  background:linear-gradient(155deg,rgba(30,27,32,.98),rgba(8,12,24,.98)) !important;
  border-top-color:rgba(246,185,29,.48) !important;
}
html.ns-home-page .ns-domain-marketplace__item:hover .ns-domain-card {
  z-index:3; border-color:rgba(246,185,29,.48) !important;
  background:linear-gradient(155deg,rgba(27,31,47,.99),rgba(8,12,24,.99)) !important;
  transform:translateY(-9px) !important;
}
html.ns-home-page .ns-domain-marketplace .ns-domain-card>div:first-child { height:2px !important; opacity:.68; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card>div:nth-child(2) { opacity:.24; transition:opacity 300ms ease; }
html.ns-home-page .ns-domain-marketplace__item:hover .ns-domain-card>div:nth-child(2) { opacity:.58; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card>div:last-child { padding:25px 22px 22px !important; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card span[class*="rounded-full"] {
  max-width:calc(100% - 34px); padding:5px 9px !important; overflow:hidden;
  font-size:8px !important; letter-spacing:.12em !important; text-overflow:ellipsis;
  white-space:nowrap; background:rgba(255,255,255,.025) !important; border-radius:2px !important;
}
html.ns-home-page .ns-domain-marketplace .ns-domain-name {
  margin-top:9px !important; color:#f8f5ef !important; font-size:clamp(20px,1.75vw,27px) !important;
  font-weight:650 !important; letter-spacing:-.04em !important; overflow-wrap:anywhere;
}
html.ns-home-page .ns-domain-marketplace .ns-domain-name+div { width:30px !important; margin-top:10px; opacity:.75; }
html.ns-home-page .ns-domain-marketplace__item:hover .ns-domain-name+div { width:100% !important; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card p { color:#909bad !important; font-size:12px !important; line-height:1.6 !important; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card .space-y-2 { margin-bottom:18px !important; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card .space-y-2>div { padding-block:2px; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card .space-y-2 span { color:#bcc4d1 !important; font-size:11px !important; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card button {
  min-height:41px; padding:9px 12px !important; font-size:11px !important;
  border-radius:2px !important; box-shadow:none !important;
}
html.ns-home-page .ns-domain-marketplace .ns-domain-card button:first-child { color:#111827 !important; background:#efb419 !important; }
html.ns-home-page .ns-domain-marketplace .ns-domain-card button:first-child:hover { background:#ffd34f !important; }
html.ns-home-page .ns-domain-marketplace__item[data-market-tier="ultra"] .ns-domain-card button:first-child { color:#141827 !important; background:linear-gradient(135deg,#d99405,#ffd34f) !important; }
html.ns-home-page .ns-domain-marketplace__item[data-market-tier="super"] .ns-domain-card button:first-child { color:#fff !important; background:linear-gradient(135deg,#dc354f,#f06b63) !important; }
html.ns-home-page .ns-domain-marketplace__item[data-market-tier="elite"] .ns-domain-card button:first-child { color:#fff !important; background:linear-gradient(135deg,#7048d7,#9a72f2) !important; }
html.ns-home-page .ns-domain-marketplace__item[data-market-tier="prime"] .ns-domain-card button:first-child { color:#fff !important; background:linear-gradient(135deg,#c73582,#eb69ad) !important; }
html.ns-home-page .ns-domain-marketplace__item[data-market-tier] .ns-domain-card button:first-child:hover { filter:brightness(1.12); }
html.ns-home-page .ns-domain-marketplace .ns-domain-card button:last-child {
  color:#d6dbe4 !important; background:transparent !important; border-color:rgba(255,255,255,.15) !important;
}
html.ns-home-page .ns-domain-marketplace .ns-domain-card button:last-child:hover { color:#fff !important; border-color:rgba(246,185,29,.55) !important; }
html.ns-home-page .ns-domain-marketplace__item[data-market-row="discovery"] { grid-column:2/span 2; }
html.ns-home-page .ns-domain-marketplace__item[data-market-row="discovery"] .ns-domain-card { min-height:330px; }
html.ns-home-page .ns-domain-marketplace__stage .text-center.py-8 { display:none !important; }

@media (max-width:1120px) {
  html.ns-home-page .ns-domain-marketplace .domain-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  html.ns-home-page .ns-domain-marketplace__item[data-market-row="discovery"] { grid-column:1/-1; width:calc(50% - 7px); justify-self:center; }
}
@media (max-width:760px) {
  html.ns-home-page .ns-domain-marketplace__heading { grid-template-columns:1fr; gap:28px; }
  .ns-domain-marketplace__copy { grid-column:1; grid-row:auto; padding:22px 0 0; border-top:1px solid rgba(255,255,255,.13); border-left:0; }
  html.ns-home-page .ns-domain-marketplace .domain-grid { grid-template-columns:1fr !important; gap:12px !important; }
  html.ns-home-page .ns-domain-marketplace__item[data-market-row="discovery"] { grid-column:auto; width:100%; }
  html.ns-home-page .ns-domain-marketplace .ns-domain-card { min-height:330px; }
}
@media (prefers-reduced-motion:reduce) {
  html.ns-home-page .ns-domain-marketplace .ns-domain-card { transition-duration:.01ms !important; }
  html.ns-home-page .ns-domain-marketplace__item:hover .ns-domain-card { transform:none !important; }
}
