/* ===========================
   NoirStack Domain Hero
   =========================== */

.domain-hero {
  position: relative;
  padding: 5rem 1.5rem 3rem;
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(0,1,255,.12), transparent 70%),
    radial-gradient(1000px 600px at 80% -20%, rgba(102,163,255,.08), transparent 70%),
    linear-gradient(180deg, var(--ns-bg), #0b0d0f);
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
  isolation: isolate;
}

.domain-hero::before {
  /* faint animated grid */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px) 0 0/40px 100%,
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px) 0 0/100% 40px;
  opacity: .25;
  animation: hero-grid-pan 60s linear infinite;
  pointer-events: none;
}
@keyframes hero-grid-pan { to { background-position: 40px 40px; } }

.domain-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Title with neon/glitch flicker */
.domain-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: .5px;
  background: linear-gradient(90deg, var(--ns-primary), #5a7bff 45%, #9cc7ff 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(0,1,255,.35);
  animation: glitch-flicker 3s infinite;
}
@keyframes glitch-flicker {
  0%, 19%, 21%, 23%, 100% { opacity: 1; }
  20%, 22% { opacity: .6; text-shadow: 0 0 24px rgba(0,1,255,.6); }
}

.domain-hero-subtitle {
  font-size: 1.25rem;
  color: var(--ns-muted);
  margin: 1rem auto 2rem;
  opacity: .85;
}

/* Form with glass effect */
.domain-form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(20, 22, 30, 0.65);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--ns-radius);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  flex-wrap: wrap;
}

.domain-form input[type="text"] {
  flex: 1;
  font-size: 1.1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(45, 48, 60, 0.85);
  color: var(--ns-text);
  transition: border .2s, box-shadow .25s;
}
.domain-form input[type="text"]:focus {
  outline: none;
  border-color: var(--ns-primary);
  box-shadow: 0 0 14px rgba(0,1,255,.45);
}

/* Search button (blue glow) */
.btn-domain-search {
  padding: 1rem 2rem;
  background: linear-gradient(180deg, var(--ns-primary), #3a4dff);
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform .1s ease, box-shadow .25s ease, filter .2s ease;
  box-shadow: 0 12px 30px rgba(0,1,255,.35);
}
.btn-domain-search:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(0,1,255,.45), 0 0 20px rgba(102,163,255,.35);
}
.btn-domain-search:active { transform: translateY(0); }

/* Suggestions dropdown */
.domain-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: rgba(15,15,20,.95);
  border: 1px solid rgba(255,255,255,.05);
  border-top: none;
  z-index: 10;
  display: none;
  max-height: 220px;
  overflow-y: auto;
  border-radius: 0 0 8px 8px;
  backdrop-filter: blur(12px);
}

.suggestion-item {
  padding: 0.85rem 1rem;
  cursor: pointer;
  color: var(--ns-text);
}
.suggestion-item:hover {
  background: rgba(0,1,255,.15);
}

/* Popular domains */
.domain-popular {
  margin-top: 1.5rem;
}
.domain-popular span {
  font-style: italic;
  color: var(--ns-muted);
  opacity: .4;
}
