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

:root {
  --bg: #0b0f1a;
  --bg2: #101626;
  --panel: rgba(255,255,255,.06);
  --panel-strong: rgba(255,255,255,.12);
  --border: rgba(255,255,255,.14);
  --text: #f2f5fb;
  --text-dim: rgba(242,245,251,.62);
  --accent: #f7931a;
  --accent-2: #ffb84d;
  --green: #22d38a;
  --red: #ff5c7a;
  --radius: 16px;

  /* theme-overridable surfaces (component-level colors) */
  --glass: rgba(11,15,26,.72);
  --on-accent: #fff;
  --ghost-border: rgba(255,255,255,.35);
  --hover-surface: rgba(255,255,255,.2);
  --chain-bg: rgba(255,255,255,.06);
  --chain-hover: rgba(255,255,255,.1);
  --ctrl-fg: rgba(255,255,255,.72);
  --ctrl-bg: rgba(255,255,255,.07);
  --ctrl-border: rgba(255,255,255,.16);
  --opt-bg: #12151f;
  --grid-item-bg: rgba(255,255,255,.05);
  --grid-item-border: rgba(255,255,255,.12);
  --grid-btn-bg: rgba(255,255,255,.08);
  --grid-btn-border: rgba(255,255,255,.16);
  --arrow-border: rgba(255,255,255,.22);
  --arrow-bg: rgba(255,255,255,.06);
  --pf-dim: rgba(255,255,255,.55);
  --pf-dark: rgba(255,255,255,.35);
  --pf-text: #fff;
  --soc-bg: rgba(255,255,255,.06);
  --soc-border: rgba(255,255,255,.18);
  --soc-fg: rgba(255,255,255,.7);
  --icon-white: #fff;
  --overlay-scrim: rgba(11,15,26,.82);
  --overlay-glow-a: rgba(247,147,26,.22);
  --overlay-glow-b: rgba(255,184,77,.12);
  --overlay-scrim-a: rgba(11,15,26,.30);
  --overlay-scrim-b: rgba(11,15,26,.52);
  --btn-shadow: rgba(247,147,26,.35);
  --btn-shadow-hover: rgba(247,147,26,.5);
  --btn-site-bg: rgba(247,147,26,.18);
  --btn-site-border: rgba(247,147,26,.45);
  --share-hover-bg: rgba(247,147,26,.25);
  --arrow-glow: rgba(255,184,77,.4);
  --dot-glow: rgba(247,147,26,.7);
  --card-accent-tint: rgba(247,147,26,.12);
  --pf-logo-filter: brightness(0) invert(1);
  --pf-icann-filter: brightness(0) invert(1);
}

html, body { height: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Scroll snap slider ---------- */
.slider {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.slider.no-snap { scroll-snap-type: none; scroll-behavior: auto; }

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 56px 20px 96px;
}

/* ---------- Sold badge ---------- */
.sold-badge {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e24b3b, #c2382a);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(194,56,42,.4);
}
body.sold .actions { opacity: .45; pointer-events: none; }
body.sold .pricetag { opacity: .55; }
.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../assets/other/bg-default.jpg");
  z-index: 0;
}
.bg canvas, .bg svg {
  position: absolute;
  inset: 0;
  mix-blend-mode: screen;
  width: 100%;
  height: 100%;
}
.bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, var(--overlay-glow-a), transparent 62%),
    radial-gradient(ellipse 60% 50% at 20% 80%, var(--overlay-glow-b), transparent 62%),
    linear-gradient(180deg, var(--overlay-scrim-a) 0%, var(--overlay-scrim-b) 50%, var(--overlay-scrim) 100%);
}
.content { position: relative; z-index: 2; width: 100%; max-width: 860px; }

/* ---------- Brand / logo ---------- */
.brand {
  position: absolute;
  top: 20px; left: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18.94px;
  letter-spacing: .2px;
}
.brand-logo { width: 45px; height: 45px; }
.brand-tld { color: var(--accent); }

/* ---------- Top-right menu (every page) ---------- */
.menu {
  position: fixed;
  top: 20px; right: 22px;
  z-index: 25;
  display: flex;
  gap: 4px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 6px;
}
.menu-link {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: all .15s ease;
}
.menu-link:hover { color: var(--text); background: var(--panel-strong); }
.menu-link.active { color: var(--accent-2); background: var(--panel); }

/* ---------- Typography ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: clamp(16px, 3vw, 21px);
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.domain-name {
  font-size: clamp(24.31px, 5.47vw, 53.48px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.dn-right { color: var(--accent); }
.subline { color: var(--accent-2); font-weight: 700; font-size: clamp(15px, 2.4vw, 18px); margin-bottom: 26px; }

/* ---------- Property badges (same pill style/size/color as features) ---------- */

.page-text { color: var(--text-dim); font-size: clamp(15px, 2.6vw, 18px); line-height: 1.6; max-width: 640px; margin-top: 10px; }
.page h2 { font-size: clamp(30px, 5.5vw, 52px); font-weight: 900; letter-spacing: -1px; }
.page h2 span { color: var(--accent); }
.page-2, .page-3 { text-align: center; }
.page-2 .content, .page-3 .content { display: flex; flex-direction: column; align-items: center; }
.page-2 .page-text, .page-3 .page-text { margin: 0 auto; }

/* ---------- Page 2 (why own / uses / ecosystem) ---------- */
/* Pin page-2 to exactly one viewport so scroll-snap lands it identically
   from either direction (pages matching the scrollport size snap the same
   way both ways; a taller page mis-snaps and can drop the heading under the
   fixed top menu). Content scrolls inside only as a fallback. */
.page-2 { height: 100vh; height: 100dvh; }
.page-2 .content {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
/* Shrink page-2 content a touch on large screens as well so it fits the
   pinned viewport without its own scrollbar (mirrors the mobile zoom). */
@media (min-width: 641px) {
  .page-2 .content { zoom: .92; }
}
.page-2 .eyebrow { font-size: clamp(10.26px, 1.93vw, 13.46px); margin-bottom: 6px; }
  .page-2 h2 { font-size: clamp(10.7px, 1.96vw, 18.5px); margin-bottom: 4px; }
.p2-intro {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 12.35px;
  line-height: 1.6;
  color: var(--text-dim);
}
.page-2 .p2-cols {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 980px;
  text-align: left;
}
.page-2 .p2-col { flex: 1 1 0; min-width: 0; }
.p2-divider {
  flex: 0 0 1px;
  background: linear-gradient(180deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}
.p2-sec {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: .2px;
  margin: 0 0 12px;
}
.p2-sec:first-child { margin-top: 4px; }
.page-2 .email-clients + .p2-sec { margin-top: 20px; }
.p2-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.p2-list .li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  transition: border-color .15s ease, transform .15s ease;
}
.p2-list .li:hover { border-color: var(--accent); transform: none; }
.p2-list .li .c-icon { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; }
.p2-list .li .c-icon svg { width: 100%; height: 100%; }
.p2-list .li .logos { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.p2-list .li .logos img { width: 20px; height: 20px; box-sizing: border-box; padding: 0; object-fit: contain; background: transparent; border-radius: 5px; display: block; vertical-align: middle; }
.p2-list .li .logos img.wh { background: #fff; padding: 2px; }
.client img.wh { background: #fff; border-radius: 4px; }
.p2-list .li .logos img.chr { margin-right: 4px; }
.p2-list .li .rarr { margin-left: auto; margin-right: 8px; color: var(--accent-2); flex-shrink: 0; animation: arrNudge 1.6s ease-in-out infinite; }
.p2-list .li .rarr svg { width: 18px; height: 18px; display: block; }
@keyframes arrNudge { 0%, 100% { transform: translateX(0); opacity: .65; } 50% { transform: translateX(4px); opacity: 1; } }
.p2-list .li:hover .rarr { animation: none; transform: translateX(6px); }
.p2-list .li div { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.p2-list .li b { font-size: 13px; font-weight: 700; color: var(--text); }
.p2-list .li span { font-size: 11.5px; color: var(--text-dim); line-height: 1.35; display: block; }
.p2-list a.link { display: flex; align-items: center; justify-content: flex-start; gap: 12px; text-decoration: none; width: 100%; }
.page-2 .chains {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  justify-content: flex-start;
}
.chain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: var(--chain-bg);
  border: 1px solid var(--border);
  transition: all .15s ease;
}
.chain img { width: 19px; height: 19px; object-fit: contain; display: block; }
.chain:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--chain-hover); }
.page-2 .email-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.client {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all .15s ease;
}
.client img { width: 18px; height: 18px; object-fit: contain; margin-right: 7px; border-radius: 3px; vertical-align: middle; }
.client:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }

/* ---------- Features ---------- */
.features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 30px;
  max-width: 860px;
}
.features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.fi, .bi { width: 12px; height: 12px; color: var(--accent-2); flex-shrink: 0; }
.fi svg, .bi svg { width: 100%; height: 100%; display: block; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 23px;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
#btnAftermarket svg { display: none; }
.btn .afm-logo { display: inline-block; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  box-shadow: 0 10px 30px var(--btn-shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px var(--btn-shadow-hover); }
.btn-secondary {
  background: var(--panel-strong);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: var(--hover-surface); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  border: 1px dashed var(--ghost-border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); transform: translateY(-2px); }

/* ---------- Price ---------- */
.pricetag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 13px 23px;
  border-radius: 13px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  font-size: 15.5px;
}
.price-logo, .price-eth { width: 19px; height: 19px; flex-shrink: 0; color: var(--icon-white); }
.price-logo svg, .price-eth svg { width: 100%; height: 100%; display: block; }
.price-tag-label { font-size: 15.5px; color: var(--text-dim); font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.price-amount { font-size: 15.5px; font-weight: 800; color: var(--text); letter-spacing: 0; line-height: 1; }
.price-curr { font-size: 15.5px; font-weight: 800; color: var(--accent-2); }

/* ---------- Share ---------- */
.share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.share-label { font-size: 13px; color: var(--text-dim); font-weight: 600; margin-right: 4px; }
.share-btn {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
  text-decoration: none;
  cursor: pointer;
}
.share-btn svg { width: 19px; height: 19px; display: block; }
.share-btn:hover { background: var(--share-hover-bg); border-color: var(--accent); transform: translateY(-2px); }
.share-btn.copied { background: rgba(34,211,138,.25); border-color: var(--green); }

/* ---------- Trust strip (bottom-left of page 1) ---------- */
.trust {
  position: absolute;
  bottom: 18px;
  left: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.trust-icon svg { width: 18px; height: 18px; display: block; }
a.trust-icon:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.trust-icon .trust-logo { height: 20px; width: auto; opacity: .62; }
a.trust-icon:hover .trust-logo { opacity: 1; }
.powered { font-size: 12px; color: var(--text-dim); font-weight: 600; }
.powered strong { color: var(--text); font-weight: 800; }

/* ---------- Center bottom navigation (vertical, small) ---------- */
.nav {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 6px;
}
.nav-arrow {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-arrow:hover { color: var(--text); background: var(--panel-strong); }
.nav-arrow:disabled { opacity: .25; pointer-events: none; }
.nav-arrow:not(:disabled) { color: var(--accent-2); }
.nav-arrow:not(:disabled):hover { box-shadow: 0 0 10px var(--arrow-glow); }
.nav-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: var(--panel);
}
.nav-square .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: .4;
  transition: all .2s ease;
}
.nav-square .dot.active { background: var(--accent); opacity: 1; transform: scale(1.3); box-shadow: 0 0 8px var(--dot-glow); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 92px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
  z-index: 30;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 735px) {
  .nav { display: none; }
}
/* On ≤760px screens, trim page-2 blocks that don't fit: hide the mb-hide
   rows/sections (Supported Blockchains heading + chain logos, Web3 Extension,
   Noto Protocol, WHOIS Lookup, Web3 Explorer). */
@media (max-width: 760px) {
  .p2-list .li.mb-hide,
  .p2-sec.mb-hide,
  .chains.mb-hide { display: none; }
  /* Left-align the "About this domain" heading block (eyebrow, title,
     intro) instead of centering it. */
  .page-2 { text-align: left; }
  .page-2 .content { align-items: flex-start; }
  .page-2 .p2-intro { margin-left: 0; margin-right: auto; }
}
/* .metaverse wraps under "futuredimensions" in the top-left brand from
   740px and below. */
@media (max-width: 740px) {
  .brand { flex-wrap: wrap; row-gap: 0; align-items: flex-start; }
  .brand-name { line-height: 1; }
  .brand .brand-tld { flex-basis: 100%; margin-left: 53px; margin-top: -18px; line-height: 1; }
}
@media (max-width: 640px) {
  .page { overflow: hidden; }
  .page-3 .content { padding-top: 22px; padding-bottom: 118px; }
  /* Top-align page-2 inside its flex parent (the .page centers items
     vertically, so a collapsed accordion used to push the content down).
     Height pinning now lives in the base .page-2 rule above. */
  .page-2 { align-items: flex-start; }
  .page-2 .content { justify-content: flex-start; }
  .content { zoom: .72; }
  .menu { top: 14px; right: 14px; gap: 1.8px; padding: 3.6px; }
  .menu-link { padding: 5.4px 8.1px; font-size: 9px; letter-spacing: .36px; }
  .brand { gap: 0px 8px; max-width: 46%; font-size: 12.49px; --logo: 41.4px; --menu-h: 31px; top: calc(14px + (var(--menu-h) - var(--logo)) / 2); }
  .brand-name { margin-top: calc(var(--logo) / 2 - 1em); }
  .brand-logo { width: 41.4px; height: 41.4px; }
  .brand .brand-tld { margin-left: 49.4px; margin-top: calc(var(--logo) / -2); }
  .domain-name { letter-spacing: -1px; }
  .actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; padding: 15px 18px; }
  .share { justify-content: center; }
  .trust {
    gap: 6px 10px;
    bottom: 16px;
    left: 18px;
    max-width: calc(100% - 150px);
  }
  .trust .powered { flex-basis: 100%; font-size: 11px; }
  .nav { display: none; }
  .page-1 { padding: 128px 20px 94px; }
  .page-2 .p2-cols { flex-direction: column; gap: 0; }
  /* On single-column layout, the hover X-nudges (li translateX + arrow
     animation) push rows past the narrow container and create a horizontal
     scroll, so keep the rows static on small screens. */
  .page-2 .p2-list .li:hover { transform: none; }
  .page-2 .p2-list .li:hover .rarr,
  .page-2 .p2-list .li .rarr { animation: none; transform: none; }
  .p2-divider {
    flex: none;
    width: 60%;
    height: 1px;
    margin: 12px auto;
    background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  }
  .client { padding: 8px 12px; font-size: 11px; }
  /* Keep page-2 headings proportionally sized on small screens:
     .content zoom (.72 with a fallback .57 below 400px) shrinks vw-based
     clamp() values too much, so use fixed px here that counter the zoom. */
  .page-2 .eyebrow { font-size: 12.83px; margin-bottom: 6px; }
  .page-2 h2 { font-size: 18.5px; }
  /* Left column accordion on small screens: + / − toggles expand one section
     at a time (Why own it open by default, What you can do with it closed). */
  .page-2 .acc {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 4px 0;
    user-select: none;
  }
  .page-2 .acc::before { content: '+'; font-weight: 800; color: var(--accent-2); font-size: 1.2em; line-height: 1; margin-right: 10px; }
  .page-2 .acc.acc-open::before { content: '−'; }
  .page-2 .acc-panel { display: none; }
  .page-2 .acc-panel.open { display: flex; }
}
@media (max-width: 500px) {
  .page-2 .p2-cols { gap: 0; }
}
@media (max-width: 400px) {
  .content { zoom: .57; }
  .page-2 .eyebrow { font-size: 16.65px; margin-bottom: 6px; }
  .page-2 h2 { font-size: 24.2px; }
  .brand { max-width: 56%; --logo: 32.2px; }
  .brand-logo { width: 32.2px; height: 32.2px; }
  .brand .brand-tld { margin-left: 36px; }
  .trust { max-width: calc(100% - 110px); }
}
@media (min-width: 641px) and (max-width: 900px) {
  .btn { padding: 14px 20px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .slider { scroll-behavior: auto; }
  .btn, .share-btn, .trust-icon, .nav-arrow { transition: none; }
}

/* ---------- Page 3 listings ---------- */
.page.page-3 { height: 100vh; height: 100dvh; align-items: stretch; }
.page-3 .content { max-width: 1200px; height: 100%; min-height: 0; padding-top: 34px; padding-bottom: 39px; }
.page-3 .eyebrow { font-size: clamp(11.4px, 2.14vw, 14.95px); margin-bottom: 6px; }
.page-3 h2 { font-size: clamp(12.75px, 1.8vw, 21px); margin-bottom: 6px; }
.page-3 .l-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 6px; }
.page-3 .l-head h2 { margin: 0; text-align: left; }
.l-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.l-ctrl { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--ctrl-fg); letter-spacing: 0.01em; white-space: nowrap; }
.l-ctrl select {
  background: var(--ctrl-bg);
  border: 1px solid var(--ctrl-border);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: border-color .15s, background .15s;
}
.l-ctrl select:hover { border-color: var(--accent); }
.l-ctrl select:focus { border-color: var(--accent); }
.l-ctrl select option { background: var(--opt-bg); color: var(--text); }
.page-3 h2 span { color: var(--accent-2); }

.l-grid {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--lcols, 4), 1fr);
  grid-template-rows: repeat(var(--lrows, 4), minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: var(--lgap, 10px);
  margin: 8px 0;
}
.l-item {
  background: var(--grid-item-bg);
  border: 1px solid var(--grid-item-border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.l-cover { position: relative; flex: 1 1 auto; min-height: 60px; overflow: hidden; }
.l-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}
.l-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.l-cname {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 14px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}
.l-cname .l-cname-t {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-cname .l-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-2);
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.l-cname .l-price img { width: 11px; height: 11px; display: block; }
.l-center {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-58%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
  color: #fff;
}
.l-center .l-nm b {
  display: block;
  font-size: 22.95px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}
.l-center .l-nm .l-tld {
  display: block;
  font-size: 17.2px;
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.l-chain {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.l-chain img { width: 11px; height: 11px; display: block; }
.l-body { padding: 6px 8px 8px; display: flex; flex-direction: column; }
.l-name {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-btns { display: flex; gap: 4px; padding: 6px 8px; min-width: 0; }
.l-btn {
  flex: 1 1 0;
  min-width: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 2px;
  text-align: center;
  text-decoration: none;
  color: var(--pf-text);
  border-radius: 6px;
  background: var(--grid-btn-bg);
  border: 1px solid var(--grid-btn-border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.l-btn:hover { border-color: var(--accent); color: var(--accent-2); }
.l-btn.site { background: var(--btn-site-bg); border-color: var(--btn-site-border); }

.l-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.l-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--arrow-border);
  background: var(--arrow-bg);
  color: var(--pf-text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .15s, color .15s, opacity .15s;
}
.l-arrow svg { width: 16px; height: 16px; display: block; }
.l-arrow:hover { border-color: var(--accent); color: var(--accent-2); }
.l-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.l-page { font-size: 12px; color: var(--ctrl-fg); min-width: 64px; text-align: center; letter-spacing: 0.04em; }

/* ---------- Page-3 footer ---------- */
.page-3 .page-foot {
  position: absolute;
  left: 32px; right: 32px;
  bottom: 5vh;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  pointer-events: none;
}
.page-foot a { pointer-events: auto; }
.pf-left { display: flex; flex-direction: column; gap: 3px; min-width: 0; text-align: left; }
.pf-left p, .pf-left span { text-align: left; }
.pf-powered { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; text-align: left; }
.pf-pby { font-size: 12.65px; color: var(--pf-dim); }
.pf-logo { height: 17px; width: auto; filter: var(--pf-logo-filter); opacity: .95; }
.pf-amp { font-size: 12.65px; color: var(--pf-dim); }
.pf-icann { height: 18px; width: auto; filter: var(--pf-icann-filter); opacity: .95; }
.pf-icann-txt { font-size: 12.65px; color: var(--pf-dim); letter-spacing: 0.02em; }
.pf-note { font-size: 11.5px; color: var(--pf-dim); }
.pf-copy { font-size: 11.5px; color: var(--pf-dark); }
.pf-copy a.pf-tb { color: var(--pf-text); text-decoration: none; }
.pf-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.pf-soclabel { font-size: 10px; color: var(--pf-dim); letter-spacing: 0.06em; }
.pf-socials { display: flex; gap: 7px; }
.pf-social {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--soc-border);
  background: var(--soc-bg);
  display: grid;
  place-items: center;
  color: var(--soc-fg);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
}
.pf-social svg { width: 13px; height: 13px; display: block; }
.pf-social:hover { border-color: var(--accent); color: var(--accent-2); background: rgba(247, 147, 26, 0.14); }


@media (max-width: 640px) {
  .page-3 .eyebrow { font-size: 14.25px; }
  .page-3 h2 { font-size: 20px; }
  .page-3 .l-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .l-controls { width: 100%; justify-content: space-between; }
  .l-ctrl { flex: none; }
  .l-ctrl.sort { margin-left: auto; }
  .l-grid { gap: 6px; }
  .l-name { font-size: 12px; }
  .l-btn { font-size: 9px; padding: 5px 1px; }
  .l-center .l-nm b { font-size: 16.1px; }
  .l-center .l-nm .l-tld { font-size: 12.6px; }
  .l-chain { font-size: 9px; }
  .l-chain img { width: 9px; height: 9px; }
  .l-nav { gap: 12px; }
  .l-arrow { width: 30px; height: 30px; }
  .page-3 .page-foot {
    left: 14px; right: 14px;
    bottom: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .pf-right { align-items: flex-start; }
  .pf-logo { height: 13px; }
  .pf-icann { height: 14px; }
  .pf-social { width: 24px; height: 24px; }
  .pf-social svg { width: 12px; height: 12px; }
}
@media (max-width: 400px) {
  .page-3 h2 { font-size: 19.5px; }
}