
/* ========================================
   NODECORE — GLOBAL DESIGN
======================================== */

:root {
  --bg: #05060c;
  --panel: #080913;
  --panel-light: #0b0c18;
  --border: #202034;
  --muted: #9297c7;
  --cyan: #08f0ef;
  --purple: #7810ff;
  --white: #f8f9ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* ========================================
   BACKGROUND GRID
======================================== */

.site-background {
  position: fixed;
  inset: 82px 0 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle,
      rgba(0, 217, 255, 0.19) 1px,
      transparent 1.2px
    );
  background-size: 10px 10px;
  opacity: 0.65;
}

body > header,
body > main,
body > footer,
body > aside {
  position: relative;
}

body > header {
  z-index: 100;
}

body > main,
body > footer {
  z-index: 1;
}

/* ========================================
   HEADER
======================================== */

.header {
  height: 82px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  background: rgba(5, 6, 12, 0.97);
  border-bottom: 1px solid #161727;
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.9px;
  white-space: nowrap;
}

.brand-name span {
  color: var(--cyan);
}

.brand-logo {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #292443;
  border-radius: 12px;
  background: linear-gradient(140deg, #11182a, #06070d);
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.12);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid #27233f;
  border-radius: 13px;
  background: #0b0b19;
  color: #e0e1f8;
  font-size: 10px;
}

.language span:first-child {
  color: var(--cyan);
  font-size: 15px;
}

.menu-toggle {
  width: 28px;
  border: 0;
  background: transparent;
  color: #a9b0dc;
  font-size: 25px;
}

.nav-menu {
  display: none;
  position: absolute;
  top: 72px;
  right: 12px;
  width: min(260px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #0b0c17;
  box-shadow: 0 15px 45px #000a;
}

.nav-menu.open {
  display: grid;
  gap: 4px;
}

.nav-menu a {
  padding: 13px;
  border-radius: 8px;
  color: #b8bce2;
  font-size: 13px;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: #17152b;
  color: var(--cyan);
}

/* ========================================
   SHARED CONTAINER
======================================== */

.container {
  width: min(100% - 26px, 1000px);
  margin-inline: auto;
}

/* ========================================
   HOME HERO
======================================== */

.hero {
  padding: 76px 0 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(33px, 8.5vw, 58px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -1.8px;
}

.gradient-text {
  background: linear-gradient(
    100deg,
    #c4fcff 0%,
    #00e9ed 48%,
    #7718ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 .gradient-text {
  display: block;
  margin-top: 3px;
}

.hero-description {
  max-width: 660px;
  margin: 32px auto 0;
  color: #989dc7;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

/* ========================================
   NETWORK STATISTICS
======================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 46px auto 0;
}

.stat-card {
  min-width: 0;
  min-height: 81px;
  padding: 16px 6px;
  position: relative;
  overflow: hidden;
  border: 1px solid #202034;
  border-radius: 25px;
  background: rgba(8, 8, 19, 0.96);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 12px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--cyan);
  border-left: 1px solid var(--cyan);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 11px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);
}

.stat-label {
  margin-bottom: 9px;
  color: #626aa8;
  font-family: monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.1px;
  line-height: 1.5;
}

.stat-dot {
  color: var(--cyan);
}

.stat-value {
  color: #f6f7ff;
  font-size: clamp(15px, 3.8vw, 19px);
  font-weight: 800;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}

/* ========================================
   HOME ACTIONS
======================================== */

.actions {
  display: grid;
  gap: 22px;
  max-width: 720px;
  margin: 42px auto 0;
  padding: 0 7px;
}

.primary-button,
.secondary-button {
  width: 100%;
  min-height: 70px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button {
  border: 1px solid #8b27ff;
  background: linear-gradient(
    105deg,
    #7600ff 0%,
    #4358ff 48%,
    #03e6ef 100%
  );
  color: white;
  box-shadow: 0 0 25px rgba(0, 225, 255, 0.15);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 225, 255, 0.25);
}

.button-icon {
  font-size: 21px;
}

.button-arrow {
  margin-left: 5px;
  font-size: 21px;
}

.secondary-button {
  border: 1px solid #252534;
  background: #0a0b11;
  color: #a0a2c9;
}

.secondary-button:hover {
  border-color: #5140a1;
  color: white;
}

/* ========================================
   DIAGNOSTIC CARDS
======================================== */

.diagnostics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 64px auto 90px;
}

.diagnostic-card {
  min-width: 0;
  min-height: 230px;
  padding: 32px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #202035;
  border-radius: 27px;
  background: rgba(8, 8, 19, 0.96);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.diagnostic-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -10px;
  z-index: -1;
  width: 75%;
  height: 120px;
  background: linear-gradient(
    90deg,
    rgba(103, 0, 255, 0.13),
    rgba(0, 225, 255, 0.22)
  );
  filter: blur(30px);
  pointer-events: none;
}

.diagnostic-card::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 13px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);
  pointer-events: none;
}

.diagnostic-card:hover {
  transform: translateY(-3px);
  border-color: #454078;
  box-shadow: 0 8px 35px rgba(76, 24, 145, 0.09);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  border: 1px solid #34204f;
  border-radius: 16px;
  background: rgba(30, 15, 57, 0.88);
  font-size: 29px;
  box-shadow: 0 0 20px rgba(124, 0, 255, 0.08);
}

.card-icon.cyan {
  color: #00f5ff;
}

.card-icon.purple {
  color: #9018ff;
}

.card-icon.pink {
  color: #ff1bc9;
}

.card-icon.green {
  color: #30ff38;
}

.diagnostic-card h2 {
  margin-top: 26px;
  color: #f8f9ff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.diagnostic-card p {
  max-width: 480px;
  margin-top: 14px;
  color: #838bc7;
  font-size: 13px;
  line-height: 1.9;
}

.diagnostic-card.featured {
  border-color: #49317d;
}

.diagnostic-card.featured h2 {
  color: var(--cyan);
}

/* ========================================
   OTHER PAGE HEADINGS
======================================== */

.page-heading {
  padding: 75px 8px 35px;
  text-align: center;
}

.page-heading h1 {
  font-size: clamp(32px, 7vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.7px;
}

.page-heading p {
  max-width: 650px;
  margin: 25px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* ========================================
   DETAIL PAGE PANEL
======================================== */

.detail-panel {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: rgba(8, 8, 19, 0.96);
}

.detail-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 150px;
  background: linear-gradient(
    90deg,
    rgba(103, 0, 255, 0.08),
    rgba(0, 225, 255, 0.13)
  );
  filter: blur(35px);
  pointer-events: none;
}

.detail-panel .card-icon,
.detail-panel h2,
.detail-panel p,
.detail-panel .back-link {
  position: relative;
}

.detail-panel h2 {
  margin-top: 26px;
  margin-bottom: 15px;
  font-size: 22px;
}

.detail-panel p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--cyan);
  font-size: 14px;
}

.back-link:hover {
  color: white;
}

/* ========================================
   FLOATING CHAT WIDGET
======================================== */

.chat-widget {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 150;
}

.chat-label {
  position: absolute;
  right: -2px;
  bottom: 53px;
  width: 115px;
  color: white;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transform: rotate(-19deg);
  text-shadow:
    0 0 5px var(--cyan),
    1px 2px 0 var(--cyan);
  pointer-events: none;
}

.chat-label::before {
  content: "👋";
  position: absolute;
  top: 8px;
  left: -22px;
  font-size: 22px;
}

.chat-button {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  background: #00b85c;
  color: white;
  font-size: 28px;
  box-shadow: 0 0 18px rgba(0, 220, 210, 0.15);
}

/* ========================================
   FOOTER
======================================== */

.footer {
  padding: 28px 15px;
  border-top: 1px solid #17182a;
  background: rgba(5, 6, 12, 0.92);
  color: #777da8;
  font-size: 12px;
  text-align: center;
}

/* ========================================
   TABLET AND DESKTOP
======================================== */

@media (min-width: 700px) {
  .header {
    padding-inline: 30px;
  }

  .hero {
    padding-top: 90px;
  }

  .hero-description {
    font-size: 18px;
  }

  .stats {
    gap: 20px;
  }

  .actions {
    padding: 0;
  }

  .diagnostics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 24px;
  }

  .diagnostic-card {
    min-height: 245px;
  }

  .page-heading {
    padding-top: 90px;
  }
}

/* ========================================
   SMALL MOBILE SCREENS
======================================== */

@media (max-width: 380px) {
  .brand {
    gap: 8px;
    font-size: 19px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .header-actions {
    gap: 9px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: -1.3px;
  }

  .hero-description {
    font-size: 15px;
  }

  .stat-card {
    padding-inline: 4px;
  }

  .stat-label {
    font-size: 8px;
    letter-spacing: 0.7px;
  }

  .stat-value {
    font-size: 15px;
  }

  .diagnostic-card {
    padding: 26px 22px;
  }

  .primary-button,
  .secondary-button {
    font-size: 12px;
  }
}

/* ========================================
   REDUCED MOTION ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}



/* =========================================
   NODECORE WALLET SELECTION PAGE
========================================= */

.wallet-selection-page {
  min-height: 100vh;
}

.wallet-page {
  position: relative;
  z-index: 1;
  padding-top: 32px;
  padding-bottom: 72px;
}

.wallet-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
  color: #8490a5;
  font-size: 13px;
}

.wallet-breadcrumb a {
  color: #67e8f9;
  text-decoration: none;
}

.wallet-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.wallet-heading .section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #67e8f9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.wallet-heading h1 {
  margin: 0 0 16px;
  color: #f8fafc;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.wallet-heading p {
  max-width: 600px;
  margin: 0 auto;
  color: #9ca9bd;
  font-size: 15px;
  line-height: 1.8;
}

.wallet-search-section {
  max-width: 900px;
  margin: 0 auto 26px;
}

.wallet-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  padding: 0 18px;
  border: 1px solid #28364b;
  border-radius: 14px;
  background: rgba(13, 20, 34, 0.94);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wallet-search-box:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.wallet-search-icon {
  color: #67e8f9;
  font-size: 27px;
  line-height: 1;
}

.wallet-search-box input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-size: 14px;
}

.wallet-search-box input::placeholder {
  color: #8793a8;
  opacity: 1;
}

.wallet-search-box input::-webkit-search-cancel-button {
  display: none;
}

.wallet-search-box button {
  border: 0;
  background: transparent;
  color: #aab6cb;
  font-size: 25px;
  cursor: pointer;
}

.wallet-search-box button[hidden] {
  display: none;
}

.wallet-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #8490a5;
  font-size: 12px;
}

.wallet-list-meta strong {
  color: #67e8f9;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 78px;
  padding: 15px;
  border: 1px solid #202b3d;
  border-radius: 13px;
  background: rgba(13, 19, 32, 0.88);
  color: #f1f5f9;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.wallet-option:hover {
  transform: translateY(-3px);
  border-color: #38bdf8;
  background: rgba(17, 35, 52, 0.98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.wallet-option:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 3px;
}

.wallet-symbol {
  display: flex;
  flex: 0 0 39px;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 11px;
  background: rgba(34, 211, 238, 0.08);
  color: #67e8f9;
  font-size: 16px;
  font-weight: 800;
}

.wallet-option-name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.wallet-option-arrow {
  color: #64748b;
  font-size: 16px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wallet-option:hover .wallet-option-arrow {
  transform: translateX(3px);
  color: #67e8f9;
}

.wallet-option[hidden] {
  display: none;
}

.wallet-no-results {
  padding: 55px 20px;
  border: 1px dashed #28364b;
  border-radius: 16px;
  text-align: center;
}

.wallet-no-results[hidden] {
  display: none;
}

.wallet-no-results-icon {
  color: #67e8f9;
  font-size: 34px;
}

.wallet-no-results h2 {
  margin: 14px 0 8px;
  color: #f8fafc;
  font-size: 21px;
}

.wallet-no-results p,
.wallet-help-note {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.8;
}

.wallet-help-note {
  max-width: 650px;
  margin: 35px auto 0;
  text-align: center;
}

.wallet-back-link {
  font-size: 12px;
}

@media (max-width: 1000px) {
  .wallet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .wallet-page {
    padding-top: 24px;
  }

  .wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wallet-option {
    gap: 9px;
    min-height: 72px;
    padding: 11px;
  }

  .wallet-symbol {
    flex-basis: 33px;
    width: 33px;
    height: 33px;
    border-radius: 9px;
  }

  .wallet-option-name {
    font-size: 12px;
  }

  .wallet-breadcrumb {
    margin-bottom: 26px;
  }

  .wallet-search-box {
    min-height: 56px;
    padding: 0 13px;
  }

  .wallet-search-box input {
    font-size: 12px;
  }

  .wallet-list-meta {
    align-items: flex-start;
    font-size: 11px;
  }
}

@media (max-width: 380px) {
  .wallet-grid {
    grid-template-columns: 1fr;
  }
}



/* TRANSACTION ISSUE PAGE */

.selected-wallet-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 460px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid #29384d;
  border-radius: 14px;
  background: rgba(13, 20, 34, 0.9);
  text-align: left;
}

.selected-wallet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(103, 232, 249, 0.1);
  color: #67e8f9;
  font-size: 24px;
}

.selected-wallet-panel > div {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.selected-wallet-caption {
  color: #8b9ab0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.selected-wallet-panel strong {
  overflow-wrap: anywhere;
  color: #f8fafc;
  font-size: 14px;
}

.selected-wallet-panel > a {
  color: #67e8f9;
  font-size: 12px;
  text-decoration: none;
}

.error-grid {
  margin-top: 30px;
}

.error-option {
  min-height: 100px;
}

.error-option-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.error-description {
  color: #93a1b5;
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .error-option {
    min-height: 100px;
  }

  .error-description {
    font-size: 10px;
  }
}


/* Wallet logos */
.wallet-symbol {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.wallet-logo {
  display: block;
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
}

.wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-option-name {
  flex: 1;
  min-width: 0;
}



/* ==========================================
   NODECORE — WALLET & TRANSACTION REDESIGN
   ========================================== */

.wallet-selection-page {
  background: #03040a;
  color: #f5f7ff;
}

.wallet-selection-page .site-background {
  background:
    radial-gradient(ellipse at 50% 35%, rgba(0, 229, 255, 0.045), transparent 55%),
    radial-gradient(circle, rgba(0, 229, 255, 0.10) 1px, transparent 1px);
  background-size: auto, 8px 8px;
  opacity: 0.65;
}

.wallet-selection-page .header {
  background: rgba(4, 5, 12, 0.96);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  backdrop-filter: blur(18px);
}

.wallet-selection-page .brand-name {
  font-weight: 800;
  letter-spacing: -0.8px;
}

.wallet-selection-page .brand-name span {
  color: #00e5ff;
}

.wallet-selection-page .wallet-page {
  max-width: 1120px;
  padding-top: 34px;
  padding-bottom: 65px;
}

.wallet-selection-page .wallet-breadcrumb {
  color: #7f8aa8;
  font-size: 12px;
}

.wallet-selection-page .wallet-heading {
  margin-bottom: 30px;
}

.wallet-selection-page .section-eyebrow {
  color: #00e5ff;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 800;
}

.wallet-selection-page .wallet-heading h1 {
  color: #f8faff;
  font-size: clamp(29px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.wallet-selection-page .gradient-text {
  background: linear-gradient(100deg, #00e5ff 0%, #8d65ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wallet-selection-page .wallet-heading > p {
  max-width: 650px;
  color: #a5b0d0;
  line-height: 1.8;
}

/* Search field */

.wallet-selection-page .wallet-search-box {
  min-height: 56px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 14px;
  background: rgba(8, 10, 22, 0.92);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.035);
}

.wallet-selection-page #wallet-search {
  color: #f5f7ff;
  background: transparent;
}

.wallet-selection-page #wallet-search::placeholder {
  color: #667294;
}

.wallet-selection-page .wallet-list-meta {
  color: #7f8bb0;
  font-size: 11px;
}

/* Wallet cards: two columns on mobile, more on desktop */

.wallet-selection-page .wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.wallet-selection-page .wallet-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 10px;
  overflow: hidden;
  border: 1px solid rgba(116, 132, 174, 0.15);
  border-radius: 25px;
  background: rgba(7, 8, 18, 0.94);
  color: #f5f7ff;
  text-align: center;
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.wallet-selection-page .wallet-option::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 12px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #00e5ff;
  border-left: 1px solid #00e5ff;
  opacity: 0.8;
}

.wallet-selection-page .wallet-option::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #8b35ff;
  border-bottom: 1px solid #8b35ff;
}

.wallet-selection-page .wallet-option:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.65);
  background: rgba(8, 15, 28, 0.98);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.07);
}

.wallet-selection-page .wallet-symbol {
  display: flex;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: #080b14;
  color: #00e5ff;
  font-size: 25px;
  font-weight: 800;
}

.wallet-selection-page .wallet-symbol img,
.wallet-selection-page .wallet-logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.wallet-selection-page .wallet-option-name {
  color: #f5f7ff;
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.wallet-selection-page .wallet-option-arrow {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #9c35ff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.wallet-selection-page .wallet-option:hover .wallet-option-arrow {
  opacity: 1;
}

/* Selected wallet panel on the transaction page */

.wallet-selection-page .selected-wallet-panel {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 380px;
  margin: 28px auto 0;
  padding: 19px;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 24px;
  background: rgba(7, 9, 19, 0.95);
  box-shadow: 0 0 28px rgba(0, 229, 255, 0.035);
}

.wallet-selection-page .selected-wallet-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(0, 229, 255, 0.24);
  border-radius: 14px;
  background: #0a101c;
  color: #00e5ff;
  font-size: 24px;
}

.wallet-selection-page .selected-wallet-caption {
  display: block;
  margin-bottom: 5px;
  color: #657393;
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 800;
}

.wallet-selection-page .selected-wallet-panel strong {
  color: #f5f7ff;
  font-size: 15px;
}

.wallet-selection-page .selected-wallet-panel a {
  margin-left: auto;
  color: #00e5ff;
  font-size: 12px;
  text-decoration: none;
}

/* Transaction issue cards */

.wallet-selection-page .error-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 42px;
}

.wallet-selection-page .error-option {
  min-height: 180px;
  align-items: stretch;
  justify-content: flex-start;
  gap: 20px;
  padding: 26px;
  text-align: left;
}

.wallet-selection-page .error-option .wallet-symbol {
  width: 48px;
  height: 48px;
  min-height: 48px;
  flex-basis: 48px;
  border-color: rgba(139, 53, 255, 0.2);
  color: #00e5ff;
  font-size: 22px;
}

.wallet-selection-page .error-option-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.wallet-selection-page .error-option .wallet-option-name {
  font-size: 17px;
}

.wallet-selection-page .error-description {
  color: #8490b5;
  font-size: 12px;
  line-height: 1.8;
}

.wallet-selection-page .error-option .wallet-option-arrow {
  top: 26px;
  right: 22px;
  bottom: auto;
  font-size: 22px;
}

.wallet-selection-page .wallet-no-results {
  color: #a5b0d0;
  text-align: center;
}

.wallet-selection-page .wallet-help-note {
  margin-top: 35px;
  color: #8590b0;
  font-size: 12px;
  line-height: 1.8;
}

.wallet-selection-page .footer {
  border-top: 1px solid rgba(0, 229, 255, 0.12);
  color: #737e9f;
}

/* Desktop layout */

@media (min-width: 700px) {
  .wallet-selection-page .wallet-grid:not(.error-grid) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .wallet-selection-page .wallet-grid:not(.error-grid) .wallet-option {
    min-height: 190px;
  }

  .wallet-selection-page .error-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .wallet-selection-page .wallet-grid:not(.error-grid) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Mobile refinements */

@media (max-width: 480px) {
  .wallet-selection-page .wallet-page {
    padding-top: 22px;
  }

  .wallet-selection-page .wallet-heading {
    margin-bottom: 23px;
  }

  .wallet-selection-page .wallet-heading h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .wallet-selection-page .wallet-grid {
    gap: 10px;
    margin-top: 18px;
  }

  .wallet-selection-page .wallet-grid:not(.error-grid) .wallet-option {
    min-height: 174px;
    padding: 17px 7px;
    border-radius: 24px;
  }

  .wallet-selection-page .wallet-symbol {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
  }

  .wallet-selection-page .wallet-option-name {
    font-size: 12px;
  }

  .wallet-selection-page .error-option {
    min-height: 190px;
    padding: 20px 16px;
    gap: 14px;
  }

  .wallet-selection-page .error-option .wallet-option-name {
    font-size: 15px;
  }

  .wallet-selection-page .selected-wallet-panel {
    padding: 15px;
  }
}


/* ==========================================
   NODECORE HOMEPAGE — NEW CONTENT SECTIONS
========================================== */

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-family: monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-heading h2,
.cta-content h2 {
  color: var(--white);
  font-size: clamp(28px, 6vw, 43px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -1.3px;
}

.section-heading p,
.cta-content > p {
  max-width: 610px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Network intelligence */

.network-section {
  padding-top: 30px;
  padding-bottom: 80px;
}

.network-panel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background:
    radial-gradient(
      ellipse at 50% 48%,
      rgba(0, 229, 255, 0.075),
      transparent 48%
    ),
    rgba(8, 8, 19, 0.97);
}

.network-panel-header,
.network-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 21px;
}

.network-panel-header {
  border-bottom: 1px solid rgba(146, 151, 199, 0.12);
}

.network-panel-header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(8, 240, 239, 0.7);
}

.network-label,
.panel-caption {
  color: #a0a6ca;
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.network-badge {
  padding: 8px 10px;
  border: 1px solid rgba(8, 240, 239, 0.22);
  border-radius: 20px;
  color: var(--cyan);
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.5px;
}

.network-visual {
  position: relative;
  display: grid;
  width: min(100%, 440px);
  aspect-ratio: 1;
  margin: 0 auto;
  place-items: center;
  overflow: hidden;
  background-image: radial-gradient(
    rgba(8, 240, 239, 0.16) 1px,
    transparent 1px
  );
  background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(
    ellipse,
    black 35%,
    transparent 75%
  );
  mask-image: radial-gradient(
    ellipse,
    black 35%,
    transparent 75%
  );
}

.orbit {
  position: absolute;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid rgba(8, 240, 239, 0.3);
  border-radius: 50%;
}

.orbit-one {
  width: 42%;
}

.orbit-two {
  width: 65%;
  border-color: rgba(120, 16, 255, 0.4);
}

.orbit-three {
  width: 88%;
  border-color: rgba(8, 240, 239, 0.15);
}

.network-core {
  z-index: 2;
  display: grid;
  width: 94px;
  height: 94px;
  place-content: center;
  gap: 6px;
  border: 1px solid rgba(8, 240, 239, 0.5);
  border-radius: 25px;
  background: #090e1b;
  box-shadow:
    0 0 35px rgba(8, 240, 239, 0.12),
    inset 0 0 25px rgba(120, 16, 255, 0.12);
  text-align: center;
}

.core-symbol {
  color: var(--cyan);
  font-size: 36px;
  font-weight: 800;
}

.core-caption {
  color: #a5afd0;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 1px;
}

.network-node {
  position: absolute;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 2px solid #070a14;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(8, 240, 239, 0.75);
}

.node-one {
  top: 21%;
  left: 49%;
}

.node-two {
  top: 42%;
  right: 17%;
  background: #a35cff;
  box-shadow: 0 0 18px rgba(120, 16, 255, 0.8);
}

.node-three {
  bottom: 20%;
  left: 29%;
}

.node-four {
  top: 62%;
  left: 15%;
  background: #a35cff;
}

.node-five {
  right: 31%;
  bottom: 17%;
}

.network-panel-footer {
  border-top: 1px solid rgba(146, 151, 199, 0.12);
}

.network-panel-footer > div {
  display: grid;
  gap: 8px;
}

.network-panel-footer strong {
  color: var(--white);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* Platform capabilities */

.capabilities-section {
  padding-top: 25px;
  padding-bottom: 85px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 17px;
}

.capability-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 23px;
  background: rgba(8, 8, 19, 0.95);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 240, 239, 0.38);
  background: #0a0c19;
}

.capability-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #0c1020;
  font-size: 28px;
}

.cyan-icon {
  color: var(--cyan);
}

.purple-icon {
  color: #a66bff;
}

.green-icon {
  color: #58ff9d;
}

.capability-number {
  color: #7d85ad;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 1px;
}

.capability-card h3 {
  margin-top: 13px;
  color: var(--white);
  font-size: 19px;
  letter-spacing: -0.4px;
}

.capability-card p {
  flex: 1;
  margin: 13px 0 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* Final call to action */

.home-cta {
  position: relative;
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 80px;
  padding: 35px 28px;
  overflow: hidden;
  border: 1px solid rgba(8, 240, 239, 0.22);
  border-radius: 27px;
  background:
    radial-gradient(
      ellipse at 90% 45%,
      rgba(120, 16, 255, 0.16),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 10% 80%,
      rgba(8, 240, 239, 0.08),
      transparent 45%
    ),
    #080914;
}

.cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 570px;
}

.cta-content .section-eyebrow {
  margin-bottom: 14px;
}

.cta-content h2 {
  font-size: clamp(28px, 5vw, 40px);
}

.cta-content > p {
  margin-inline: 0;
}

.cta-actions {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.cta-actions .primary-button,
.cta-actions .secondary-button {
  min-height: 55px;
  margin: 0;
  border-radius: 13px;
  font-size: 11px;
}

.cta-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #8d96ba;
  font-family: monospace;
  font-size: 9px;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

.cta-decoration {
  position: absolute;
  top: 50%;
  right: -75px;
  display: grid;
  width: 300px;
  aspect-ratio: 1;
  place-items: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.cta-ring {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid rgba(8, 240, 239, 0.18);
  border-radius: 50%;
}

.ring-one {
  width: 45%;
}

.ring-two {
  width: 70%;
  border-color: rgba(120, 16, 255, 0.24);
}

.ring-three {
  width: 95%;
}

.cta-center {
  display: grid;
  width: 85px;
  height: 85px;
  place-items: center;
  border: 1px solid rgba(8, 240, 239, 0.4);
  border-radius: 25px;
  background: #0b0d1a;
  color: var(--cyan);
  font-size: 29px;
  font-weight: 800;
  box-shadow: 0 0 35px rgba(8, 240, 239, 0.1);
}

.cta-center span {
  color: #a35cff;
}

/* Responsive layout */

@media (min-width: 700px) {
  .network-section {
    padding-top: 45px;
    padding-bottom: 100px;
  }

  .network-panel-header,
  .network-panel-footer {
    padding: 24px 30px;
  }

  .capabilities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .capability-card {
    min-height: 290px;
    padding: 25px 22px;
  }

  .home-cta {
    padding: 48px;
  }

  .cta-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cta-decoration {
    right: -30px;
    width: 340px;
  }
}

@media (min-width: 1000px) {
  .cta-decoration {
    right: 10px;
    width: 360px;
  }

  .cta-content {
    max-width: 600px;
  }
}

@media (max-width: 480px) {
  .network-section,
  .capabilities-section {
    padding-bottom: 65px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2 {
    font-size: 29px;
    letter-spacing: -0.9px;
  }

  .section-heading p {
    font-size: 13px;
  }

  .network-panel {
    border-radius: 21px;
  }

  .network-panel-header,
  .network-panel-footer {
    padding: 16px 13px;
  }

  .network-label {
    font-size: 9px;
    letter-spacing: 0.7px;
  }

  .network-badge {
    padding: 7px;
    font-size: 8px;
  }

  .network-visual {
    width: 100%;
  }

  .network-core {
    width: 78px;
    height: 78px;
    border-radius: 21px;
  }

  .core-symbol {
    font-size: 30px;
  }

  .network-panel-footer strong {
    font-size: 12px;
  }

  .network-panel-footer .text-link {
    font-size: 10px;
  }

  .capability-card {
    padding: 23px;
  }

  .home-cta {
    min-height: 0;
    margin-bottom: 60px;
    padding: 29px 21px;
    border-radius: 23px;
  }

  .cta-content h2 {
    font-size: 30px;
  }

  .cta-decoration {
    top: 15px;
    right: -150px;
    width: 250px;
    opacity: 0.45;
    transform: none;
  }

  .cta-content > p {
    font-size: 13px;
  }

  .cta-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .capability-card,
  .text-link span {
    transition: none;
  }
}


/* =========================================
   NODECORE GLASS NAVIGATION
   Append this block to the bottom of style.css
========================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);

  background: rgba(5, 6, 12, 0.82);
  border-bottom: 1px solid rgba(8, 240, 239, 0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.16),
    0 1px 18px rgba(8, 240, 239, 0.025);
}

/* Brand */

.header .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  text-decoration: none;
}

.header .brand-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(8, 240, 239, 0.22);
  border-radius: 12px;
  background: rgba(8, 240, 239, 0.06);
  box-shadow: 0 0 18px rgba(8, 240, 239, 0.07);
}

.header .brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header .brand-name {
  color: #f8f9ff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.header .brand-name span {
  color: #08f0ef;
}

/* Language and menu controls */

.header .header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header .language,
.header .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  color: #e8eafa;
  border: 1px solid rgba(133, 145, 183, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.header .language {
  padding: 0 13px;
  font: inherit;
  font-size: 0.83rem;
}

.header .menu-toggle {
  width: 44px;
  padding: 0;
  font-size: 1.25rem;
}

.header .language:hover,
.header .menu-toggle:hover,
.header .menu-toggle[aria-expanded="true"] {
  border-color: rgba(8, 240, 239, 0.55);
  background: rgba(8, 240, 239, 0.075);
  box-shadow: 0 0 18px rgba(8, 240, 239, 0.08);
}

.header .menu-toggle:focus-visible,
.header .language:focus-visible,
.header .nav-menu a:focus-visible {
  outline: 2px solid #08f0ef;
  outline-offset: 4px;
}

.header .menu-icon {
  line-height: 1;
}

/* Dropdown panel */

.header .nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(18px, 4vw, 56px);

  display: flex;
  flex-direction: column;
  gap: 5px;

  width: min(340px, calc(100vw - 36px));
  padding: 10px;

  background: rgba(9, 11, 23, 0.96);
  border: 1px solid rgba(8, 240, 239, 0.2);
  border-radius: 16px;

  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.48),
    0 0 25px rgba(8, 240, 239, 0.055);

  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.985);
  transform-origin: top right;

  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.header .nav-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.header .nav-menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 11px 13px;

  color: #bfc4df;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;

  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header .nav-menu a:hover {
  color: #ffffff;
  background: rgba(8, 240, 239, 0.065);
  border-color: rgba(8, 240, 239, 0.12);
}

.header .nav-menu a[aria-current="page"] {
  color: #08f0ef;
  background: linear-gradient(
    100deg,
    rgba(8, 240, 239, 0.1),
    rgba(120, 16, 255, 0.07)
  );
  border-color: rgba(8, 240, 239, 0.15);
}

.header .nav-menu a[aria-current="page"]::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  margin-right: 10px;
  border-radius: 50%;
  background: #08f0ef;
  box-shadow: 0 0 10px rgba(8, 240, 239, 0.65);
}

/* Smaller screens */

@media (max-width: 480px) {
  .header {
    min-height: 72px;
    gap: 10px;
    padding: 12px 16px;
  }

  .header .brand-logo {
    width: 38px;
    height: 38px;
  }

  .header .brand-name {
    font-size: 1.08rem;
  }

  .header .header-actions {
    gap: 8px;
  }

  .header .language {
    min-height: 40px;
    padding: 0 10px;
  }

  .header .menu-toggle {
    width: 40px;
    min-height: 40px;
  }

  .header .nav-menu {
    right: 16px;
    width: calc(100vw - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header .language,
  .header .menu-toggle,
  .header .nav-menu,
  .header .nav-menu a {
    transition: none;
  }
}


/* =========================================
   NODECORE — NODE DIRECTORY PAGE
========================================= */

.node-directory-page {
  background: #03040a;
  color: #f8f9ff;
}

.node-directory-page .site-background {
  top: 72px;
  background:
    radial-gradient(
      ellipse at 50% 30%,
      rgba(0, 229, 255, 0.035),
      transparent 60%
    ),
    radial-gradient(
      circle,
      rgba(0, 217, 255, 0.12) 1px,
      transparent 1.2px
    );
  background-size: auto, 8px 8px;
  opacity: 0.7;
}

.node-directory-container {
  max-width: 1000px;
  padding-bottom: 70px;
}

/* Hero */

.node-hero {
  padding: 10px 0 55px;
  text-align: center;
}

.node-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  margin-bottom: 22px;
  padding: 0 22px;
  border: 1px solid #25273b;
  border-radius: 30px;
  background: rgba(9, 10, 19, 0.95);
  color: #08f0ef;
  font-size: 12px;
  font-weight: 700;
}

.node-eyebrow span {
  font-size: 17px;
}

.node-hero h1 {
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.2;
}

.node-hero h1 .gradient-text {
  background: linear-gradient(100deg, #c4fcff, #08e8ef 55%, #791cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.node-hero > p {
  max-width: 680px;
  margin: 22px auto 0;
  color: #9ca4d1;
  font-size: clamp(14px, 3.6vw, 17px);
  line-height: 1.8;
}

/* Shared panels */

.node-search-panel,
.node-filter-panel,
.node-status-panel,
.node-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #202034;
  background: rgba(7, 8, 18, 0.96);
}

.node-search-panel::before,
.node-filter-panel::before,
.node-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 11px;
  width: 6px;
  height: 6px;
  border-top: 1px solid #08f0ef;
  border-left: 1px solid #08f0ef;
  opacity: 0.65;
  pointer-events: none;
}

.node-search-panel {
  margin-bottom: 21px;
  padding: 22px;
  border-radius: 25px;
}

.node-search-box {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid #1b1d2d;
  border-radius: 16px;
  background: #05060d;
}

.node-search-box:focus-within {
  border-color: rgba(8, 240, 239, 0.5);
  box-shadow: 0 0 24px rgba(8, 240, 239, 0.045);
}

.node-search-icon {
  color: #747dc2;
  font-size: 29px;
  line-height: 1;
}

.node-search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8f9ff;
  font-family: inherit;
  font-size: 14px;
}

.node-search-box input::placeholder {
  color: #656ba9;
  opacity: 1;
}

.node-search-box button {
  border: 0;
  background: transparent;
  color: #a7b1d5;
  font-size: 24px;
}

.node-search-box button[hidden] {
  display: none;
}

/* Category filters */

.node-filter-panel {
  margin-bottom: 21px;
  padding: 23px 22px 24px;
  border-color: rgba(8, 240, 239, 0.45);
  border-radius: 25px;
}

.node-filter-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
  color: #f4f5ff;
  font-size: 14px;
  font-weight: 700;
}

.node-filter-title span {
  color: #08f0ef;
  font-size: 21px;
}

.node-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.node-filter {
  min-height: 31px;
  padding: 7px 15px;
  border: 1px solid #242538;
  border-radius: 12px;
  background: #0b0c17;
  color: #9ba1ca;
  font-size: 10px;
  font-weight: 700;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.node-filter:hover {
  border-color: #08dfe9;
  color: #fff;
}

.node-filter.active {
  border-color: transparent;
  background: linear-gradient(105deg, #851cff, #05e8f2);
  color: #fff;
}

/* Directory status */

.node-status-panel {
  display: grid;
  gap: 11px;
  margin: 0 0 35px;
  padding: 20px 16px;
  border-radius: 18px;
  text-align: center;
}

.node-status-panel p {
  color: #7f8ac2;
  font-size: 11px;
  line-height: 1.7;
}

.node-status-panel strong {
  color: #e4e8ff;
}

.status-terminal {
  margin-right: 9px;
  color: #08f0ef;
  font-family: monospace;
  font-size: 16px;
}

.validator-status {
  font-family: monospace;
  letter-spacing: 0.1px;
}

.validator-status > span:first-child {
  color: #44ff59;
}

.validator-status > span:last-child {
  color: #777cff;
}

/* Node card grid */

.node-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.node-card {
  min-width: 0;
  min-height: 235px;
  padding: 27px 26px;
  border-radius: 25px;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.node-card::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #7810ff;
  border-bottom: 1px solid #7810ff;
  pointer-events: none;
}

.node-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 240, 239, 0.45);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.node-card.purple-card {
  border-color: rgba(120, 16, 255, 0.6);
}

.node-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.node-card-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid #2a1c43;
  border-radius: 13px;
  background: #0b0a19;
  font-size: 23px;
  box-shadow: 0 0 18px rgba(120, 16, 255, 0.08);
}

.node-card-icon.cyan {
  color: #08f0ef;
}

.node-category {
  max-width: 55%;
  padding: 6px 10px;
  overflow-wrap: anywhere;
  border: 1px solid rgba(120, 16, 255, 0.35);
  border-radius: 20px;
  background: rgba(120, 16, 255, 0.055);
  color: #8f28ff;
  font-family: monospace;
  font-size: 9px;
  text-align: center;
  text-transform: uppercase;
}

.node-card h2 {
  margin-bottom: 10px;
  color: #f5f6ff;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.35px;
  line-height: 1.5;
}

.node-card.purple-card h2 {
  color: #08e9ef;
}

.node-card > p {
  margin-bottom: 24px;
  color: #858cbe;
  font-size: 11px;
  line-height: 1.9;
}

.node-action {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #08f0ef;
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15px;
  line-height: 1.8;
}

.node-action span {
  font-size: 17px;
  transition: transform 0.2s ease;
}

.node-action:hover {
  color: #fff;
}

.node-action:hover span {
  transform: translateX(4px);
}

/* Search empty state */

.node-empty-state {
  padding: 50px 20px;
  border: 1px dashed #303149;
  border-radius: 22px;
  text-align: center;
}

.node-empty-state[hidden] {
  display: none;
}

.node-empty-state > div {
  color: #08f0ef;
  font-size: 38px;
}

.node-empty-state h2 {
  margin: 12px 0;
  font-size: 19px;
}

.node-empty-state p {
  margin-bottom: 20px;
  color: #9297c7;
  font-size: 13px;
  line-height: 1.8;
}

.node-empty-state button {
  padding: 11px 17px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(105deg, #7810ff, #08dfe9);
  color: white;
  font-weight: 700;
}

/* Responsive layout */

@media (min-width: 700px) {
  .node-directory-container {
    padding-top: 10px;
  }

  .node-hero {
    padding-top: 0;
    padding-bottom: 58px;
  }

  .node-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }

  .node-card {
    min-height: 245px;
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .node-hero {
    padding-top: 10px;
    padding-bottom: 56px;
  }

  .node-hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .node-hero > p {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.9;
  }

  .node-eyebrow {
    min-height: 42px;
    margin-bottom: 22px;
    padding-inline: 18px;
    font-size: 11px;
  }

  .node-search-panel {
    padding: 21px;
    border-radius: 24px;
  }

  .node-search-box {
    min-height: 63px;
    gap: 10px;
    padding-inline: 17px;
  }

  .node-search-box input {
    font-size: 13px;
  }

  .node-filter-panel {
    padding: 22px 21px 23px;
  }

  .node-filter-list {
    gap: 8px;
  }

  .node-filter {
    min-height: 31px;
    padding: 7px 14px;
    font-size: 10px;
  }

  .node-status-panel {
    margin-bottom: 35px;
    padding: 20px 10px;
  }

  .node-status-panel p {
    font-size: 10px;
  }

  .node-grid {
    gap: 16px;
  }

  .node-card {
    min-height: 235px;
    padding: 28px;
  }

  .node-card h2 {
    font-size: 15px;
  }

  .node-card > p {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .node-card,
  .node-filter,
  .node-action span {
    transition: none;
  }
}

/* Restore the original NodeCore language button appearance */
.language {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  max-width: 77px;
}

.language-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: inherit;
  cursor: pointer;
}

.language option {
  background: transparent;
  color: #070707;
  
}

.language:focus-visible {
  outline: 1px solid #8b5cf6;
  outline-offset: 4px;
  border-radius: 4px;
}


/* ========================================
   NODECORE — FULLY CLICKABLE SERVICE CARDS
======================================== */

#node-grid .node-card {
  position: relative;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

#node-grid .node-card:hover {
  transform: translateY(-4px);
}

#node-grid .node-card:focus-visible {
  outline: 2px solid #00e5ff;
  outline-offset: 4px;
}

#node-grid .node-card .node-action {
  position: relative;
  z-index: 2;
}


