/* Dname Sales UK — shared styles
   Layout: glass header over a full-screen animated "digital" canvas; content sits in one
   left-weighted column so the background stays the star. */
:root {
  --deep: #06132a;          /* night-sky navy */
  --ink: #f4f8fc;           /* main text */
  --muted: #cad8ea;         /* secondary text */
  --cyan: #6cc0ff;          /* atmosphere blue */
  --magenta: #ffb454;       /* city-light amber */
  --lime: #ffc266;          /* warm gold highlight */
  --glass: rgba(8, 24, 52, 0.62);
  --glass-strong: rgba(8, 24, 52, 0.84);
  --line: rgba(130, 205, 255, 0.24);

  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.95rem;
  --step-0: 1.125rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 3vw, 2.1rem);
  --step-3: clamp(2.2rem, 6vw, 4.2rem);
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- full-screen background ---------- */
#bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
  display: block;
  background: var(--deep);
}
.bg-photo {
  position: fixed; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
}
.bg-shade {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,19,42,.6) 0%, rgba(6,19,42,.18) 50%, rgba(6,19,42,0) 100%),
    linear-gradient(0deg, rgba(6,19,42,.7) 0%, rgba(6,19,42,0) 35%);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--glass);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 0.7rem 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo svg { height: 54px; width: auto; display: block; }

.nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: rgba(108,192,255,.08); }
.nav a[aria-current="page"] { color: var(--deep); background: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--lime); outline-offset: 2px;
}

/* ---------- main ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 9vh, 7rem) 20px 4rem;
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-3); letter-spacing: -0.02em; color: #eaf5ff; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0; max-width: 62ch; }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }

.glow-text {
  background: linear-gradient(100deg, #ffffff 0%, #d9efff 55%, #a9d8ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.stack { display: flex; flex-direction: column; gap: 1.4rem; }
.panel {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 var(--step-0)/1 var(--f-body);
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--cyan); color: var(--deep); box-shadow: 0 0 28px rgba(108,192,255,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(108,192,255,.55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--cyan); }

.placeholder { color: var(--lime); font-family: var(--f-mono); font-size: .95em; }

/* ---------- home ---------- */
.hero { display: flex; flex-direction: column; gap: 1.6rem; max-width: 820px; }
.rotator { display: inline-block; font-family: var(--f-mono); color: var(--lime); font-weight: 700; min-width: 6ch; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .4rem; }
.ticker {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  font-family: var(--f-mono); font-size: var(--step--1); color: var(--muted);
  margin-top: 1.4rem;
}
.ticker span::before { content: "● "; color: var(--lime); }

/* ---------- about ---------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.two-col > * { min-width: 0; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.values li { display: grid; gap: .2rem; padding-left: 1rem; border-left: 2px solid var(--cyan); }
.values strong { font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.values span { color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 640px); gap: 1.2rem; }
.contact-grid > * { min-width: 0; }
.details { display: grid; gap: 1.1rem; margin: 0; }
.details div { display: grid; gap: .15rem; }
.details dt { font-family: var(--f-mono); font-size: var(--step--1); color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }
.details dd { margin: 0; overflow-wrap: anywhere; }

form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
label { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
input, textarea, select {
  font: inherit; color: var(--ink);
  background: rgba(6,19,42,.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .9rem;
  width: 100%;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--cyan); }
.form-note { font-size: var(--step--1); color: var(--lime); min-height: 1.4em; }

/* ---------- domain listing ---------- */
.listing { display: grid; gap: 1.4rem; }
.domain-hero { display: grid; gap: 1rem; }
.status-pill {
  justify-self: start;
  font-family: var(--f-mono); font-size: var(--step--1);
  color: var(--deep); background: var(--lime);
  padding: .3rem .8rem; border-radius: 999px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.domain-name {
  font-family: var(--f-mono);
  font-weight: 800;
  font-size: clamp(2rem, 8.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  margin: 0;
  text-shadow: 0 0 40px rgba(108,192,255,.35);
}
.domain-name .tld { color: var(--cyan); }
.domain-pitch { font-size: var(--step-1); color: var(--muted); }

.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; align-items: start; }
.buy-grid > * { min-width: 0; }
.price-row { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.price-note { color: var(--muted); font-size: var(--step--1); }
.pp-wrap { display: grid; gap: .7rem; margin-top: 1.2rem; }
.pp-fallback {
  width: 100%; border: 0; border-radius: 6px; cursor: pointer;
  font: 700 1rem/1 var(--f-body); padding: 1rem;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.pp-fallback.gold { background: #ffc439; color: #111; }
.pp-fallback.light { background: #ffffff; color: #111; border: 1px solid #cdd; }
.pp-fallback b { font-style: italic; }
.pp-fallback b .p1 { color: #003087; } .pp-fallback b .p2 { color: #009cde; }
.pp-msg { font-size: var(--step--1); color: var(--muted); min-height: 1.2em; }
.trust { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .45rem; font-size: var(--step--1); color: var(--muted); }
.trust li::before { content: "✓  "; color: var(--lime); font-weight: 700; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.facts div { background: var(--glass-strong); padding: 1rem 1.1rem; display: grid; gap: .2rem; }
.facts dt { font-family: var(--f-mono); font-size: .75rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }
.facts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

details { border-top: 1px solid var(--line); padding: .9rem 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin-top: .6rem; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 1.2rem 20px;
  display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
  font-size: var(--step--1); color: var(--muted);
}
.footer-inner a { color: var(--muted); }

@media (max-width: 560px) {
  .logo svg { height: 44px; }
  .nav a { padding: .45rem .6rem; letter-spacing: .03em; }
}
@media (prefers-reduced-motion: reduce) {
  .glow-text { animation: none; }
  .btn { transition: none; }
}

/* ---------- payment buttons ---------- */
.pay-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: .7rem; align-items: start; }
.pay-row > * { min-width: 0; }
.pp-fallback, .gpay-btn { min-height: 48px; }
.gpay-btn {
  width: 100%; min-height: 48px; border: 1px solid #5f6368; border-radius: 6px; cursor: pointer;
  background: #000; color: #fff; text-decoration: none;
  font: 500 1rem/1 var(--f-body);
  display: flex; align-items: center; justify-content: center; gap: .35rem;
}
.gpay-btn:hover { background: #1f1f1f; }

/* ---------- footer trust strip ---------- */
.trust-strip {
  max-width: 1180px; margin: 0 auto; padding: 1.1rem 20px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1.8rem;
  border-bottom: 1px solid var(--line);
}
.badge { display: flex; align-items: center; gap: .7rem; padding: .55rem 1rem .55rem .7rem; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.badge svg { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.45)); }
.badge span { display: grid; line-height: 1.25; }
.badge strong { font-size: .95rem; color: var(--ink); }
.badge small { font-size: .8rem; color: var(--muted); }

/* keep text crisp where it crosses the bright parts of a background */
h1, h2, .lead, .eyebrow, .hero p, .ticker, .domain-pitch { text-shadow: 0 1px 3px rgba(6,19,42,.9), 0 2px 18px rgba(6,19,42,.85); }
.glow-text, .warm-text { text-shadow: none; filter: drop-shadow(0 2px 10px rgba(6,19,42,.9)) drop-shadow(0 0 22px rgba(95,180,255,.35)); }
.warm-text { background: linear-gradient(100deg, #8fd0ff 0%, #5fb4ff 55%, #3d9bff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pp-logo { height: 30px; width: auto; display: block; }
.pp-word { font-weight: 800; font-style: italic; font-size: 1.25rem; color: #fff; letter-spacing: -.01em; }
.badge.paypal { gap: .9rem; }

/* copyright sits centred directly under the badges */
.trust-strip { border-bottom: 0; padding-bottom: .4rem; }
.footer-inner { justify-content: center; text-align: center; padding-top: .4rem; padding-bottom: 1.2rem; }

/* spam trap field, hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: .7; cursor: progress; }

/* ---------- domain pages (added) ---------- */
.crumbs { margin: 0; font-size: var(--step--1); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.panel-label { font-family: var(--f-mono); font-size: var(--step--1); color: var(--cyan); letter-spacing: .12em; text-transform: uppercase; }
.status-pill.pending { background: var(--magenta); }
.status-pill.sold { background: #ff6b6b; color: #fff; }
.bundle-note { margin-top: .6rem; color: var(--lime); font-size: var(--step--1); }
.bundle-note a { color: var(--ink); }
.domain-pitch strong { color: var(--ink); }

.pay-form { display: grid; gap: .6rem; }
.pp-btn {
  width: 100%; min-height: 50px; border: 0; border-radius: 8px; cursor: pointer;
  font: 700 1.05rem/1 var(--f-body);
  display: flex; align-items: center; justify-content: center; gap: .2rem;
  transition: filter .15s, transform .15s;
}
.pp-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pp-btn.gold { background: #ffc439; color: #111; }
.pp-btn.light { background: #fff; color: #111; border: 1px solid #cdd; }
.pp-btn.dark { background: #2c2e2f; color: #fff; border: 1px solid #5f6368; font-weight: 600; }
.pp-mark { font-style: italic; font-weight: 800; letter-spacing: -.01em; }
.pp-mark i:first-child { color: #003087; } .pp-mark i:last-child { color: #009cde; }

/* ---------- domains list ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dtools { display: grid; gap: .9rem; }
.dtools input[type=search] { font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  font: 600 var(--step--1)/1 var(--f-body); color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem .95rem; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--cyan); color: var(--deep); border-color: var(--cyan); }
.sortrow { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; color: var(--muted); font-size: var(--step--1); }
.sortrow select { width: auto; padding: .5rem .8rem; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .7rem; }
.dgrid > * { min-width: 0; }
.dcard {
  display: grid; gap: .5rem; padding: 1rem 1.1rem;
  background: var(--glass-strong); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .15s, box-shadow .2s;
}
.dcard:hover { border-color: var(--cyan); transform: translateY(-2px); box-shadow: 0 0 24px rgba(108,192,255,.18); }
.dcard[hidden] { display: none; }
.dcard-name { font-weight: 800; font-size: 1.15rem; overflow-wrap: anywhere; line-height: 1.2; }
.dcard-name .tld { color: var(--cyan); }
.dcard-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.dcard-price { font-weight: 700; color: var(--lime); font-variant-numeric: tabular-nums; }
.dcard-badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 999px; background: var(--magenta); color: var(--deep); }
.dcard-badge.sold { background: #ff6b6b; color: #fff; }

/* ---------- pending sold ---------- */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .1rem .8rem; }
.steps li::before { content: counter(s); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: var(--deep); font-weight: 800; }
.steps span { color: var(--muted); }
