
/* =========================================================
   NIGHTBOX DOMAIN CENTER 1.0
========================================================= */

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.domain-hero {
  position: relative;
  min-height: 740px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 90px;
  border-bottom: 1px solid var(--border);
}

.domain-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(55,182,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55,182,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.domain-hero::before,
.domain-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.domain-hero::before {
  width: 580px;
  height: 580px;
  left: -230px;
  top: 40px;
  background: radial-gradient(circle, rgba(0,140,255,.18), transparent 68%);
}

.domain-hero::after {
  width: 500px;
  height: 500px;
  right: -180px;
  bottom: -80px;
  background: radial-gradient(circle, rgba(0,216,255,.12), transparent 68%);
}

.domain-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: 70px;
  align-items: center;
}

.domain-copy h1 {
  max-width: 880px;
  font-size: clamp(3rem, 6vw, 6.2rem);
}

.domain-copy > p {
  max-width: 760px;
  font-size: 1.08rem;
  color: var(--muted);
}

.domain-search {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  margin-top: 32px;
  padding: 10px;
  border: 1px solid rgba(55,182,255,.25);
  border-radius: 18px;
  background: rgba(4,10,19,.9);
  box-shadow: 0 30px 80px rgba(0,0,0,.34);
}

.domain-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 18px;
}

.domain-input-wrap span {
  color: var(--blue-light);
  font-weight: 900;
}

.domain-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 15px 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 1rem;
}

.domain-search-btn {
  min-width: 150px;
}

.domain-hints,
.domain-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.domain-hints {
  margin-top: 15px;
}

.domain-hints span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #c9d9e8;
  background: rgba(255,255,255,.025);
  font-size: .68rem;
  font-weight: 800;
}

.domain-trust {
  margin-top: 26px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

.domain-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.domain-trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px rgba(99,230,59,.55);
}

.domain-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.domain-orbit {
  position: absolute;
  border: 1px solid rgba(55,182,255,.18);
  border-radius: 50%;
}

.orbit-one {
  width: 370px;
  height: 370px;
}

.orbit-two {
  width: 470px;
  height: 470px;
}

.domain-core {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(55,182,255,.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 30%, rgba(55,182,255,.18), transparent 48%),
    #06101b;
  box-shadow: 0 0 80px rgba(0,140,255,.18), inset 0 0 35px rgba(0,216,255,.08);
}

.domain-core small {
  color: var(--muted);
  font-size: .6rem;
  letter-spacing: .17em;
}

.domain-core strong {
  margin: 10px 0 4px;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 3.6rem;
  line-height: 1;
}

.domain-core span {
  color: var(--blue-light);
  font-size: .72rem;
  font-weight: 800;
}

.domain-node {
  position: absolute;
  z-index: 3;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55,182,255,.28);
  border-radius: 50%;
  background: rgba(5,14,25,.95);
  color: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.36);
  font-family: "Orbitron", sans-serif;
  font-size: .68rem;
}

.node-a { top: 30px; left: 90px; }
.node-b { top: 82px; right: 28px; }
.node-c { bottom: 40px; right: 100px; }
.node-d { bottom: 70px; left: 30px; }

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--muted);
}

.tld-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tld-card {
  position: relative;
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(12,25,42,.92), rgba(5,12,22,.96));
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}

.tld-card:hover {
  transform: translateY(-5px);
  border-color: rgba(55,182,255,.38);
}

.tld-card.featured {
  border-color: rgba(55,182,255,.38);
  background:
    radial-gradient(circle at 100% 0%, rgba(0,216,255,.13), transparent 38%),
    linear-gradient(145deg, rgba(12,31,52,.96), rgba(5,12,22,.98));
}

.tld-card strong {
  display: block;
  margin-bottom: 18px;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 2.7rem;
}

.tld-card p {
  min-height: 74px;
  color: var(--muted);
}

.tld-card a {
  color: var(--blue-light);
  font-weight: 800;
  text-decoration: none;
}

.tld-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #d9f6ff;
  background: rgba(0,140,255,.16);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.domain-feature-grid .card {
  min-height: 270px;
}

.transfer-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.62fr);
  gap: 50px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(55,182,255,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 50%, rgba(0,140,255,.12), transparent 40%),
    linear-gradient(145deg, rgba(8,22,38,.98), rgba(4,10,18,.98));
}

.transfer-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(3,9,17,.85);
}

.transfer-card label {
  color: #d8e5f1;
  font-size: .76rem;
  font-weight: 800;
}

.transfer-card input {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 0;
  color: #fff;
  background: rgba(255,255,255,.03);
}

.transfer-card input:focus {
  border-color: var(--border-strong);
}

.infrastructure-note {
  display: grid;
  grid-template-columns: 180px minmax(0,1fr);
  gap: 34px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.02);
}

.infra-mark {
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(55,182,255,.24);
  border-radius: 18px;
  color: var(--blue-light);
  background: radial-gradient(circle, rgba(0,140,255,.12), transparent 68%);
  font-family: "Orbitron", sans-serif;
  font-size: .8rem;
  letter-spacing: .12em;
}

.infrastructure-note p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
}

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

.domain-help-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

@media (max-width: 980px) {
  .domain-hero-inner,
  .transfer-panel {
    grid-template-columns: 1fr;
  }

  .domain-visual {
    min-height: 420px;
  }

  .tld-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 680px) {
  .domain-hero {
    min-height: auto;
    padding: 95px 0 70px;
  }

  .domain-search {
    grid-template-columns: 1fr;
  }

  .domain-search-btn {
    width: 100%;
  }

  .domain-visual {
    min-height: 340px;
    transform: scale(.82);
    margin: -25px 0;
  }

  .tld-grid {
    grid-template-columns: 1fr;
  }

  .transfer-panel,
  .infrastructure-note {
    padding: 24px;
  }

  .infrastructure-note {
    grid-template-columns: 1fr;
  }

  .domain-help-card {
    position: static;
  }
}
