:root {
  --bg: #020510;
  --bg-2: #07101f;
  --panel: rgba(9, 19, 36, 0.78);
  --panel-strong: rgba(12, 26, 48, 0.92);
  --line: rgba(170, 182, 197, 0.16);
  --blue: #1e7bff;
  --green: #22f27a;
  --tx-lime: #baff3d;
  --white: #f5f7fa;
  --muted: #aab6c5;
  --warning: #ffd166;
  --danger: #ff5f7a;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 12%, rgba(30, 123, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 86% 4%, rgba(34, 242, 122, 0.12), transparent 26rem),
    linear-gradient(145deg, #000 0%, var(--bg) 44%, #071526 100%);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

main section {
  scroll-margin-top: 96px;
}

a {
  color: inherit;
  text-decoration: none;
}

#network-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.54;
  pointer-events: none;
}

.production-status {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  border: 1px solid rgba(255, 209, 102, 0.34);
  background:
    linear-gradient(160deg, rgba(11, 23, 43, 0.94), rgba(4, 10, 22, 0.86)),
    rgba(2, 5, 16, 0.88);
  color: var(--white);
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.production-status[hidden] {
  display: none;
}

.brand-splash {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(30, 123, 255, 0.2), transparent 26rem),
    radial-gradient(circle at 52% 50%, rgba(34, 242, 122, 0.12), transparent 20rem),
    rgba(0, 4, 12, 0.92);
  opacity: 1;
  transition:
    opacity 620ms ease,
    visibility 620ms ease;
}

.brand-splash.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.brand-splash-card {
  display: grid;
  justify-items: center;
  max-width: min(440px, 78vw);
  animation: brandFadeIn 720ms ease both;
}

.brand-splash-card img {
  width: min(280px, 62vw);
  height: auto;
  filter:
    drop-shadow(0 0 30px rgba(30, 123, 255, 0.4))
    drop-shadow(0 0 20px rgba(34, 242, 122, 0.2));
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 64px;
  border-bottom: 1px solid rgba(170, 182, 197, 0.09);
  background:
    linear-gradient(180deg, rgba(2, 5, 16, 0.88), rgba(2, 5, 16, 0.58)),
    rgba(2, 5, 16, 0.52);
  padding: 8px 0 12px;
  backdrop-filter: blur(18px);
}

.global-wallet {
  position: relative;
  justify-self: end;
  flex: 0 0 auto;
}

.global-wallet-button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 172px;
  min-height: 44px;
  gap: 10px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(30, 123, 255, 0.48);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(13, 27, 50, 0.82), rgba(1, 7, 17, 0.78)),
    rgba(2, 5, 16, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(245, 247, 250, 0.08),
    0 0 0 1px rgba(30, 123, 255, 0.08),
    0 0 24px rgba(30, 123, 255, 0.14);
  padding: 0 15px;
  backdrop-filter: blur(14px);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background 220ms ease;
  will-change: transform;
}

.global-wallet-button::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(30, 123, 255, 0.2), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-110%);
  pointer-events: none;
}

.global-wallet-button:hover,
.global-wallet-button:focus-visible {
  border-color: rgba(34, 242, 122, 0.48);
  background:
    linear-gradient(145deg, rgba(17, 38, 67, 0.9), rgba(1, 9, 20, 0.82)),
    rgba(2, 5, 16, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(245, 247, 250, 0.1),
    0 0 0 1px rgba(34, 242, 122, 0.08),
    0 0 34px rgba(30, 123, 255, 0.24),
    0 0 18px rgba(34, 242, 122, 0.14);
  transform: translateY(-1px);
}

.global-wallet-button.is-disconnected {
  animation: walletIdlePulse 3.8s ease-in-out infinite;
}

.global-wallet-button.is-connected {
  border-color: rgba(34, 242, 122, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(245, 247, 250, 0.1),
    0 0 28px rgba(34, 242, 122, 0.12),
    0 0 18px rgba(30, 123, 255, 0.14);
}

.global-wallet-button:hover::before,
.global-wallet-button:focus-visible::before {
  animation: borderShimmer 1.1s ease;
  opacity: 1;
}

.wallet-device-icon {
  display: grid;
  position: relative;
  z-index: 1;
  width: 34px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(34, 242, 122, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 242, 122, 0.22), transparent 58%),
    linear-gradient(145deg, rgba(30, 123, 255, 0.32), rgba(7, 16, 31, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(245, 247, 250, 0.12),
    0 0 22px rgba(30, 123, 255, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.wallet-device-icon::before {
  position: absolute;
  top: 5px;
  right: -5px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(30, 123, 255, 0.5);
  border-radius: 50%;
  background: rgba(1, 7, 17, 0.95);
  content: "";
}

.wallet-device-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 0 9px rgba(34, 242, 122, 0.4));
}

.wallet-clasp {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(34, 242, 122, 0.22);
  transform: translateY(-50%);
  pointer-events: none;
}

.global-wallet-button .status-dot,
.global-wallet-button .wallet-device-icon,
.global-wallet-button .global-wallet-icon,
.global-wallet-button #global-wallet-label {
  position: relative;
  z-index: 1;
}

.global-wallet-button #global-wallet-label {
  max-width: 142px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.global-wallet-icon {
  display: block;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(34, 242, 122, 0.46);
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(34, 242, 122, 0.22);
}

.global-wallet-icon[hidden] {
  display: none;
}

.wallet-dropdown {
  position: absolute;
  z-index: 13;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(360px, calc(100vw - 24px));
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(30, 123, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(30, 123, 255, 0.12) 0 46px, transparent 46px),
    linear-gradient(160deg, rgba(11, 23, 43, 0.97), rgba(3, 8, 18, 0.94));
  box-shadow:
    0 0 38px rgba(30, 123, 255, 0.14),
    0 26px 80px rgba(0, 0, 0, 0.48);
  padding: 16px;
  backdrop-filter: blur(18px);
  transform-origin: top right;
  animation: dropdownEnter 180ms ease both;
}

.wallet-dropdown::before {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(170, 182, 197, 0.16);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.wallet-dropdown > * {
  position: relative;
  z-index: 1;
}

.wallet-dropdown[hidden] {
  display: none;
}

.wallet-dropdown-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-dropdown-head strong {
  display: block;
  margin-top: 4px;
}

.wallet-dropdown-detail {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(170, 182, 197, 0.14);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(30, 123, 255, 0.1), transparent 42%),
    rgba(1, 7, 17, 0.5);
  padding: 10px;
}

.wallet-dropdown-detail span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-dropdown-detail strong {
  overflow-wrap: anywhere;
}

.wallet-dropdown-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(34, 242, 122, 0.5);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 242, 122, 0.2), transparent 62%),
    rgba(1, 7, 17, 0.72);
  box-shadow:
    0 0 34px rgba(30, 123, 255, 0.34),
    0 0 18px rgba(34, 242, 122, 0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(34, 242, 122, 0.34));
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

nav a {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a:hover,
nav a:focus-visible {
  border-color: rgba(30, 123, 255, 0.4);
  color: var(--white);
  outline: none;
}

.nav-social-link,
.x-social-link {
  position: relative;
  gap: 7px;
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  border-color: rgba(245, 247, 250, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.x-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.nav-social-link:hover,
.nav-social-link:focus-visible,
.x-social-link:hover,
.x-social-link:focus-visible {
  border-color: rgba(34, 242, 122, 0.46);
  color: var(--white);
  box-shadow:
    0 0 0 1px rgba(30, 123, 255, 0.08),
    0 0 22px rgba(30, 123, 255, 0.16),
    0 0 14px rgba(34, 242, 122, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(340px, 0.52fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: stretch;
  justify-content: space-between;
  min-height: 330px;
  padding: 28px 0 18px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
  min-width: 0;
}

.hero-brand-logo {
  width: min(620px, 100%);
  height: auto;
  margin: 0 0 14px;
  border: 1px solid rgba(30, 123, 255, 0.18);
  border-radius: 8px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(30, 123, 255, 0.28))
    drop-shadow(0 0 18px rgba(34, 242, 122, 0.14));
  animation:
    brandFadeIn 720ms ease both,
    heroGlobePulse 8.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: filter, transform;
}

.brand-slogan {
  max-width: 520px;
  margin: 0;
  color: rgba(245, 247, 250, 0.88);
  font-size: clamp(0.72rem, 1.5vw, 0.94rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  text-shadow:
    0 0 12px rgba(30, 123, 255, 0.26),
    0 0 9px rgba(34, 242, 122, 0.12);
  animation:
    brandFadeIn 720ms ease both,
    sloganGlowPulse 4.8s ease-in-out infinite;
}

.hero-slogan {
  display: grid;
  gap: 2px;
  max-width: min(100%, 640px);
  margin-bottom: 18px;
  color: var(--white);
  line-height: 1.24;
  text-shadow:
    0 0 10px rgba(30, 123, 255, 0.18),
    0 0 9px rgba(34, 242, 122, 0.1);
}

.hero-slogan span {
  display: block;
  width: max-content;
  max-width: 100%;
  background: linear-gradient(92deg, #1e7bff 0%, #6fe7ff 46%, #22f27a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 3.05vw, 2.95rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-title {
  display: grid;
  gap: 6px;
  max-width: min(100%, 680px);
  line-height: 0.96;
  text-shadow:
    0 0 7px rgba(30, 144, 255, 0.055),
    0 0 18px rgba(57, 255, 136, 0.24);
}

.hero-title span {
  display: block;
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(90deg, #1e90ff 0%, #42dfff 20%, #39ff88 40%, #7dff4d 100%);
  background-size: 150% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
  overflow-wrap: normal;
  animation: heroTitleShimmer 8s ease-in-out infinite;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.42rem, 3vw, 2.25rem);
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: min(100%, 620px);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-panel,
.metric-card,
.tool-panel,
.lookup-result,
.wallet-panel,
.modal,
.infra-row,
.cta {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(11, 23, 43, 0.9), rgba(4, 10, 22, 0.82)),
    rgba(2, 5, 16, 0.54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 386px;
  padding: 22px;
  overflow: hidden;
}

.hero-ops-panel::before,
.hero-ops-panel::after {
  display: none;
}

.hero-ops-panel {
  justify-content: flex-start;
  padding-top: 14px;
}

.hero-panel::before,
.hero-panel::after {
  position: absolute;
  border-radius: 999px;
  content: "";
  pointer-events: none;
}

.hero-panel::before {
  inset: 32px 30px auto auto;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(34, 242, 122, 0.24);
  box-shadow:
    0 0 22px rgba(30, 123, 255, 0.14),
    inset 0 0 18px rgba(34, 242, 122, 0.06);
  animation: heroOrbitalSpin 24s linear infinite;
}

.hero-panel::after {
  top: 62px;
  right: 104px;
  width: 6px;
  height: 6px;
  background: var(--green);
  box-shadow:
    0 0 11px rgba(34, 242, 122, 0.62),
    0 0 20px rgba(30, 123, 255, 0.32);
  animation: twinkle 7s ease-in-out infinite;
}

.pulse-orbit {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 150px;
  height: 150px;
  opacity: 0.82;
}

.pulse-orbit span {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(30, 123, 255, 0.35);
  transform: translate(-50%, -50%);
  animation:
    orbitPulse 5.4s infinite ease-out,
    slowRotate 24s linear infinite;
}

.pulse-orbit span:nth-child(2) {
  animation-delay: 0.8s;
  border-color: rgba(34, 242, 122, 0.3);
}

.pulse-orbit span:nth-child(3) {
  animation-delay: 1.6s;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
}

.hero-panel strong {
  font-size: 3rem;
  line-height: 1;
}

.hero-panel .hero-metric {
  display: block;
  color: var(--white);
  font-size: clamp(3.4rem, 7vw, 5.15rem);
  letter-spacing: 0;
  text-shadow:
    0 0 22px rgba(30, 123, 255, 0.24),
    0 0 14px rgba(34, 242, 122, 0.12);
}

.build-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 209, 102, 0.32);
  background: rgba(255, 209, 102, 0.08);
  color: var(--warning);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 5px 7px;
  text-transform: uppercase;
}

.hero-ops-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 22px;
  border-top: 1px solid rgba(170, 182, 197, 0.12);
  padding-top: 16px;
}

.hero-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.hero-status-grid article {
  min-height: 76px;
  border: 1px solid rgba(170, 182, 197, 0.13);
  background:
    linear-gradient(160deg, rgba(11, 23, 43, 0.78), rgba(4, 10, 22, 0.58)),
    rgba(1, 7, 17, 0.46);
  padding: 11px;
  box-shadow: inset 0 0 18px rgba(30, 123, 255, 0.035);
}

.hero-status-grid span {
  display: block;
  color: rgba(170, 182, 197, 0.78);
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-status-grid b {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hero-ops-strip span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(170, 182, 197, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-ops-strip b {
  color: var(--white);
  font-weight: 900;
  text-align: right;
}

.hero-panel small {
  margin-top: 8px;
  color: var(--muted);
}

.tx-globe-fallback {
  display: none;
  min-height: 210px;
  place-items: center;
  border: 1px solid rgba(30, 123, 255, 0.22);
  background: rgba(1, 7, 17, 0.5);
  text-align: center;
}

.tx-globe-fallback strong,
.tx-globe-fallback span {
  display: block;
}

.tx-globe-fallback strong {
  color: var(--white);
  font-size: 3rem;
}

.tx-globe-fallback span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tx-globe-module {
  display: grid;
  position: relative;
  min-height: 244px;
  place-items: center;
  margin: -8px 0 10px;
}

.tx-globe-module {
  transform: translateZ(0);
}

.tx-globe-module + .tx-module-status {
  margin-top: 0;
}

.tx-globe {
  display: grid;
  position: relative;
  width: 188px;
  height: 188px;
  place-items: center;
  border: 1px solid rgba(30, 123, 255, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(245, 247, 250, 0.22), transparent 12%),
    radial-gradient(circle at 58% 62%, rgba(34, 242, 122, 0.18), transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(30, 123, 255, 0.2), rgba(1, 7, 17, 0.64) 64%, rgba(1, 7, 17, 0.94));
  box-shadow:
    inset -18px -22px 42px rgba(0, 0, 0, 0.36),
    inset 16px 12px 42px rgba(30, 123, 255, 0.1),
    0 0 26px rgba(30, 123, 255, 0.14);
  overflow: hidden;
  animation: txGlobeDrift 18s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.tx-globe::before,
.tx-globe::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(34, 242, 122, 0.14);
  border-radius: 50%;
  content: "";
}

.tx-globe::after {
  inset: 38px 20px;
  border-color: rgba(30, 123, 255, 0.14);
  transform: rotate(90deg);
}

.tx-latitude,
.tx-longitude {
  position: absolute;
  border: 1px solid rgba(170, 182, 197, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.tx-latitude {
  width: 78%;
  height: 34%;
}

.tx-latitude.mid {
  width: 88%;
  height: 58%;
  border-color: rgba(34, 242, 122, 0.13);
}

.tx-longitude {
  width: 34%;
  height: 84%;
}

.tx-longitude.alt {
  width: 58%;
  height: 88%;
  border-color: rgba(30, 123, 255, 0.13);
  transform: rotate(42deg);
}

.tx-logo-core {
  display: grid;
  position: relative;
  z-index: 2;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(186, 255, 61, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 24%, rgba(245, 247, 250, 0.28), transparent 18%),
    var(--tx-lime);
  color: #0b1115;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  transform: none;
  text-transform: lowercase;
  box-shadow:
    inset 0 -8px 18px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(186, 255, 61, 0.18);
}

.tx-logo-core::before {
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 255, 61, 0.18), transparent 68%);
  content: "";
  animation: txLogoGlowPulse 6.8s ease-in-out infinite;
}

.tx-orbit-ring {
  position: absolute;
  width: 248px;
  height: 70px;
  border: 1px solid rgba(30, 123, 255, 0.28);
  border-radius: 50%;
  transform: rotate(-16deg);
  animation: txOrbitSweep 20s linear infinite;
}

.tx-orbit-ring.ring-two {
  width: 260px;
  height: 92px;
  border-color: rgba(34, 242, 122, 0.22);
  transform: rotate(20deg);
  animation-duration: 26s;
  animation-direction: reverse;
}

.tx-orbit-ring.ring-three {
  width: 222px;
  height: 56px;
  border-color: rgba(245, 247, 250, 0.13);
  transform: rotate(58deg);
  animation-duration: 32s;
}

.tx-node {
  position: absolute;
  z-index: 3;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(34, 242, 122, 0.46);
  animation: txNodePulse 4.8s ease-in-out infinite;
}

.tx-node.node-one { top: 26%; left: 24%; }
.tx-node.node-two { top: 40%; right: 19%; animation-delay: 0.6s; }
.tx-node.node-three { right: 30%; bottom: 22%; animation-delay: 1.2s; }
.tx-node.node-four { bottom: 34%; left: 18%; background: var(--blue); animation-delay: 1.8s; }
.tx-node.node-five { top: 17%; right: 40%; background: var(--blue); animation-delay: 2.4s; }
.tx-node.node-six { bottom: 17%; left: 46%; animation-delay: 3s; }

.tx-pulse-line {
  position: absolute;
  width: 258px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 242, 122, 0.4), rgba(30, 123, 255, 0.28), transparent);
  opacity: 0.52;
  transform: rotate(-14deg);
  animation: txPulseLine 5.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.tx-pulse-line.line-two {
  width: 222px;
  opacity: 0.42;
  transform: rotate(22deg);
  animation-delay: 2.4s;
}

.tx-module-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tx-module-title strong,
.tx-module-title small {
  display: block;
}

.tx-module-title strong {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tx-module-title small {
  margin-top: 3px;
  color: rgba(170, 182, 197, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.tx-uptime-strip {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(170, 182, 197, 0.12);
  background: rgba(1, 7, 17, 0.42);
  padding: 11px 12px;
}

.tx-uptime-strip span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tx-uptime-strip strong {
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
}

.tx-pulse-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: auto;
  min-height: 112px;
  border: 1px solid rgba(30, 123, 255, 0.18);
  background:
    radial-gradient(circle at 12% 50%, rgba(34, 242, 122, 0.08), transparent 8rem),
    linear-gradient(160deg, rgba(11, 23, 43, 0.7), rgba(4, 10, 22, 0.56));
  padding: 12px;
  box-shadow:
    inset 0 0 18px rgba(30, 123, 255, 0.045),
    0 0 18px rgba(30, 123, 255, 0.06);
}

.tx-mini-orbit {
  display: grid;
  position: relative;
  width: 54px;
  height: 54px;
  place-items: center;
}

.tx-mini-orbit span {
  position: absolute;
  width: 48px;
  height: 18px;
  border: 1px solid rgba(30, 123, 255, 0.34);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: txOrbitSweep 18s linear infinite;
}

.tx-mini-orbit span:nth-child(2) {
  width: 44px;
  height: 24px;
  border-color: rgba(34, 242, 122, 0.25);
  transform: rotate(38deg);
  animation-duration: 22s;
  animation-direction: reverse;
}

.tx-mini-orbit i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tx-lime);
  box-shadow:
    inset 0 -4px 8px rgba(0, 0, 0, 0.1),
    0 0 14px rgba(186, 255, 61, 0.16);
}

.tx-pulse-content strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tx-pulse-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  margin-top: 10px;
}

.tx-pulse-rows span {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) max-content;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.tx-pulse-rows em {
  min-width: 0;
  color: rgba(170, 182, 197, 0.76);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.tx-pulse-rows b {
  color: rgba(245, 247, 250, 0.9);
  text-align: right;
  white-space: nowrap;
}

.section-grid,
.two-column {
  margin-top: 34px;
}

.trust-command {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 123, 255, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(30, 123, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 88% 18%, rgba(34, 242, 122, 0.08), transparent 20rem),
    rgba(1, 7, 17, 0.18);
  padding: 20px;
  box-shadow: inset 0 0 54px rgba(30, 123, 255, 0.04);
}

.trust-command-grid,
.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-command-grid article,
.readiness-grid article {
  position: relative;
  min-height: 142px;
  border: 1px solid rgba(170, 182, 197, 0.14);
  background:
    linear-gradient(160deg, rgba(11, 23, 43, 0.86), rgba(4, 10, 22, 0.7)),
    rgba(2, 5, 16, 0.5);
  padding: 16px;
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.25),
    inset 0 0 24px rgba(30, 123, 255, 0.035);
}

.trust-command-grid article::after,
.readiness-grid article::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  height: 1px;
  background: linear-gradient(90deg, rgba(30, 123, 255, 0.7), rgba(34, 242, 122, 0.36), transparent);
  content: "";
  opacity: 0.68;
}

.trust-command-grid span,
.readiness-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trust-command-grid strong,
.readiness-grid strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.28;
}

.trust-command-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.readiness-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.readiness-grid article {
  min-height: 112px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading.compact {
  display: block;
}

.section-kicker {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: right;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  padding: 20px;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
  will-change: transform;
}

.metric-card::before,
.analytics-block::before,
.intelligence-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(30, 123, 255, 0.12), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-115%);
  pointer-events: none;
}

.metric-card:hover {
  border-color: rgba(30, 123, 255, 0.34);
  box-shadow:
    0 0 0 1px rgba(34, 242, 122, 0.05),
    0 0 26px rgba(30, 123, 255, 0.12);
  transform: translateY(-2px);
}

.metric-card:hover::before,
.analytics-block:hover::before,
.intelligence-card:hover::before {
  animation: borderShimmer 1.15s ease;
  opacity: 1;
}

.metric-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.metric-card strong {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.metric-note {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.validator-status-panel {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(34, 242, 122, 0.3);
  background:
    radial-gradient(circle at 14% 0%, rgba(34, 242, 122, 0.12), transparent 22rem),
    radial-gradient(circle at 90% 20%, rgba(30, 123, 255, 0.1), transparent 18rem),
    linear-gradient(160deg, rgba(7, 18, 34, 0.92), rgba(2, 7, 18, 0.86));
  padding: 20px;
  box-shadow:
    0 0 0 1px rgba(30, 123, 255, 0.08),
    0 18px 54px rgba(0, 0, 0, 0.34),
    inset 0 0 30px rgba(34, 242, 122, 0.045);
  backdrop-filter: blur(20px);
}

.validator-status-panel::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent, rgba(34, 242, 122, 0.1), rgba(30, 123, 255, 0.08), transparent);
  content: "";
  opacity: 0.58;
  transform: translateX(-58%);
  pointer-events: none;
}

.validator-status-head {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.validator-status-head .eyebrow {
  margin-bottom: 7px;
}

.validator-status-head h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  letter-spacing: 0;
}

.validator-status-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.validator-status-grid article {
  position: relative;
  min-height: 104px;
  border: 1px solid rgba(170, 182, 197, 0.12);
  background:
    linear-gradient(160deg, rgba(6, 17, 32, 0.78), rgba(1, 7, 17, 0.58)),
    rgba(1, 7, 17, 0.42);
  padding: 15px;
  box-shadow:
    inset 0 0 22px rgba(30, 123, 255, 0.035),
    0 10px 28px rgba(0, 0, 0, 0.2);
}

.validator-status-grid article::after {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 242, 122, 0.72), rgba(30, 123, 255, 0.34), transparent);
  content: "";
  opacity: 0.58;
}

.validator-status-grid article.is-healthy {
  border-color: rgba(34, 242, 122, 0.24);
  box-shadow:
    inset 0 0 20px rgba(34, 242, 122, 0.05),
    0 0 20px rgba(34, 242, 122, 0.055);
}

.validator-status-grid span {
  display: block;
  color: rgba(170, 182, 197, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.validator-status-value {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  min-width: 0;
}

.validator-status-value strong {
  display: block;
  color: var(--green);
  font-size: clamp(1.12rem, 1.65vw, 1.55rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-shadow:
    0 0 12px rgba(34, 242, 122, 0.24),
    0 0 7px rgba(125, 255, 77, 0.12);
}

.validator-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 14px;
}

.validator-identity,
.validator-actions,
.chart-card,
.insight-grid article {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(11, 23, 43, 0.92), rgba(4, 10, 22, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.validator-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 220px;
  padding: 22px;
}

.validator-brand-lock {
  display: grid;
  flex: 0 0 auto;
  gap: 10px;
  justify-items: center;
  max-width: 190px;
}

.validator-logo {
  display: block;
  width: 152px;
  height: 188px;
  padding: 7px;
  border: 1px solid rgba(34, 242, 122, 0.48);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 44%, rgba(30, 123, 255, 0.18), transparent 62%),
    rgba(1, 7, 17, 0.54);
  object-fit: contain;
  box-shadow:
    0 0 44px rgba(30, 123, 255, 0.2),
    0 0 26px rgba(34, 242, 122, 0.14);
}

.validator-slogan {
  max-width: 176px;
  color: rgba(170, 182, 197, 0.86);
  font-size: 0.66rem;
  line-height: 1.4;
  text-align: center;
}

.validator-identity strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.validator-identity p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: var(--muted);
}

.trust-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(34, 242, 122, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(34, 242, 122, 0.09), rgba(30, 123, 255, 0.08)),
    rgba(1, 7, 17, 0.48);
  color: rgba(245, 247, 250, 0.88);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(30, 123, 255, 0.08);
}

.trust-badge span {
  color: var(--green);
  text-shadow: 0 0 12px rgba(34, 242, 122, 0.5);
}

.validator-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.validator-actions button[disabled] {
  min-height: 58px;
  margin: 0;
  border-color: rgba(170, 182, 197, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(245, 247, 250, 0.72);
  cursor: not-allowed;
  opacity: 0.84;
}

.validator-actions button span {
  margin-left: 8px;
  color: var(--green);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--muted);
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 18px rgba(34, 242, 122, 0.75);
  animation: livePulse 2.2s ease-in-out infinite;
}

.status-dot.pending,
.status-dot.syncing {
  background: var(--warning);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.55);
  animation: livePulse 2.6s ease-in-out infinite;
}

.status-dot.offline {
  background: var(--danger);
  box-shadow: 0 0 18px rgba(255, 95, 122, 0.55);
}

.health-score {
  color: var(--green);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  align-items: stretch;
}

.tool-panel {
  padding: 24px;
}

label {
  display: block;
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(170, 182, 197, 0.2);
  background: rgba(1, 7, 17, 0.82);
  color: var(--white);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

select {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(170, 182, 197, 0.2);
  background: rgba(1, 7, 17, 0.82);
  color: var(--white);
  font: inherit;
  outline: none;
  padding: 0 14px;
}

select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 123, 255, 0.18);
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 123, 255, 0.18);
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(170, 182, 197, 0.2);
  background: rgba(1, 7, 17, 0.82);
}

.input-row:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 123, 255, 0.18);
}

.input-row input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.input-row span {
  padding: 0 16px;
  color: var(--green);
  font-weight: 800;
}

.disclaimer {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.reward-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card.reward {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.analytics-dashboard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 123, 255, 0.2);
  background:
    radial-gradient(circle at 18% 4%, rgba(30, 123, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(34, 242, 122, 0.09), transparent 22rem),
    rgba(1, 7, 17, 0.16);
  padding: 22px;
  box-shadow: inset 0 0 60px rgba(30, 123, 255, 0.05);
}

.analytics-heading {
  margin-bottom: 20px;
}

.analytics-dashboard h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.42rem);
}

.analytics-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  align-items: stretch;
}

.analytics-calculator,
.analytics-block,
.analytics-list article {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(11, 23, 43, 0.9), rgba(4, 10, 22, 0.72)),
    rgba(2, 5, 16, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.analytics-output-grid,
.analytics-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-kpi {
  position: relative;
  min-height: 168px;
  overflow: hidden;
}

.analytics-kpi::after {
  position: absolute;
  inset: auto 18px 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green), transparent);
  box-shadow: 0 0 18px rgba(34, 242, 122, 0.28);
  content: "";
  opacity: 0.72;
}

.analytics-block {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  padding: 18px;
}

.analytics-chart-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chart-card.wide {
  grid-column: 1 / -1;
}

.chart-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(30, 123, 255, 0.22);
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 242, 122, 0.08), transparent 16rem),
    linear-gradient(160deg, rgba(11, 23, 43, 0.92), rgba(4, 10, 22, 0.78));
  box-shadow:
    var(--shadow),
    inset 0 0 32px rgba(30, 123, 255, 0.04);
  contain: content;
}

.chart-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(30, 123, 255, 0.12), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-110%);
  animation: borderShimmer 2.8s ease 1;
  pointer-events: none;
}

.analytics-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.analytics-list {
  display: grid;
  gap: 10px;
}

.analytics-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 13px;
}

.analytics-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.analytics-list strong {
  color: var(--white);
  text-align: right;
  overflow-wrap: anywhere;
}

.chart-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.chart-card {
  min-height: 280px;
  padding: 18px;
}

.chart-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.chart-card strong,
.insight-grid strong {
  font-size: 1.05rem;
}

.chart-card span {
  color: var(--muted);
  font-size: 0.84rem;
  text-align: right;
}

.chart-card canvas {
  display: block;
  width: 100%;
  height: 210px;
  border: 1px solid rgba(170, 182, 197, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(30, 123, 255, 0.08), rgba(34, 242, 122, 0.08), rgba(30, 123, 255, 0.08)),
    rgba(1, 7, 17, 0.26);
  background-size: 220% 100%;
  box-shadow:
    inset 0 0 28px rgba(30, 123, 255, 0.08),
    0 0 20px rgba(34, 242, 122, 0.06);
  animation: skeletonPulse 1.8s ease-in-out infinite;
  opacity: 0.86;
  transition:
    opacity 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.chart-card canvas.chart-rendered,
.intelligence-card canvas.chart-rendered {
  animation: none;
  background:
    linear-gradient(90deg, rgba(30, 123, 255, 0.07), rgba(34, 242, 122, 0.06)),
    rgba(1, 7, 17, 0.3);
  border-color: rgba(34, 242, 122, 0.16);
  opacity: 1;
}

.chart-tooltip {
  position: fixed;
  z-index: 40;
  border: 1px solid rgba(34, 242, 122, 0.3);
  background:
    linear-gradient(160deg, rgba(11, 23, 43, 0.96), rgba(3, 9, 20, 0.92)),
    rgba(2, 5, 16, 0.9);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 8px 10px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 120ms ease;
  white-space: nowrap;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.36),
    0 0 18px rgba(30, 123, 255, 0.14);
}

.chart-tooltip.is-visible {
  opacity: 1;
}

.insight-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.insight-grid article {
  min-height: 168px;
  padding: 18px;
}

.insight-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.launch-status-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.roadmap-grid,
.trust-grid,
.learn-grid {
  display: grid;
  gap: 14px;
}

.roadmap-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid,
.learn-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.roadmap-card,
.trust-grid article,
.learn-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 0%, rgba(30, 123, 255, 0.12), transparent 16rem),
    linear-gradient(160deg, rgba(11, 23, 43, 0.92), rgba(4, 10, 22, 0.78));
  box-shadow: var(--shadow);
  padding: 18px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.roadmap-card::before,
.trust-grid article::before,
.learn-grid article::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(34, 242, 122, 0.1), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-115%);
  pointer-events: none;
}

.roadmap-card:hover,
.trust-grid article:hover,
.learn-grid article:hover {
  border-color: rgba(34, 242, 122, 0.32);
  box-shadow:
    var(--shadow),
    0 0 30px rgba(30, 123, 255, 0.14);
  transform: translateY(-3px);
}

.roadmap-card:hover::before,
.trust-grid article:hover::before,
.learn-grid article:hover::before {
  animation: borderShimmer 1.15s ease;
  opacity: 1;
}

.roadmap-card span,
.trust-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid rgba(34, 242, 122, 0.32);
  background: rgba(34, 242, 122, 0.08);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 5px 7px;
  text-transform: uppercase;
}

.roadmap-card.is-active span {
  border-color: rgba(30, 123, 255, 0.52);
  background: rgba(30, 123, 255, 0.12);
}

.roadmap-card strong,
.trust-grid strong,
.learn-grid strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
}

.roadmap-card p,
.trust-grid p,
.learn-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.intelligence-card,
.intelligence-stack article {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 123, 255, 0.12), transparent 18rem),
    linear-gradient(160deg, rgba(11, 23, 43, 0.92), rgba(4, 10, 22, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intelligence-card {
  position: relative;
  overflow: hidden;
  min-height: 286px;
  padding: 18px;
}

.intelligence-card strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.intelligence-card p {
  min-height: 58px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.intelligence-card canvas {
  display: block;
  width: 100%;
  height: 130px;
  border: 1px solid rgba(170, 182, 197, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(30, 123, 255, 0.08), rgba(34, 242, 122, 0.08), rgba(30, 123, 255, 0.08)),
    rgba(1, 7, 17, 0.26);
  background-size: 220% 100%;
  box-shadow: inset 0 0 24px rgba(30, 123, 255, 0.08);
  animation: skeletonPulse 1.8s ease-in-out infinite;
  opacity: 0.86;
  transition:
    opacity 220ms ease,
    border-color 220ms ease;
}

.intelligence-stack {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.intelligence-stack article {
  min-height: 112px;
  padding: 16px;
}

.intelligence-stack span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intelligence-stack strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.35;
}

.skeleton-text {
  background: linear-gradient(90deg, rgba(170, 182, 197, 0.1), rgba(170, 182, 197, 0.24), rgba(170, 182, 197, 0.1));
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s infinite;
}

.lookup-result {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 100%;
  padding: 26px;
}

.lookup-result strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.lookup-result p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.wallet-panel {
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
}

.wallet-status-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.wallet-status-row .metric-label {
  display: block;
  margin-bottom: 6px;
}

.wallet-status-row strong {
  display: block;
  font-size: 1.45rem;
}

.mode-badge {
  border: 1px solid rgba(34, 242, 122, 0.4);
  background: rgba(34, 242, 122, 0.1);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 8px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hardware-badge {
  border-color: rgba(30, 123, 255, 0.52);
  background: rgba(30, 123, 255, 0.12);
  color: var(--white);
}

.hardware-badge[hidden] {
  display: none;
}

.live-badge {
  display: inline-flex;
  position: relative;
  top: -0.18em;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  border: 1px solid rgba(34, 242, 122, 0.5);
  background: rgba(34, 242, 122, 0.1);
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 3px 7px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(34, 242, 122, 0.12);
}

.live-badge::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(34, 242, 122, 0.72);
  content: "";
  animation: livePulse 2s ease-in-out infinite;
}

.wallet-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wallet-details div {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(170, 182, 197, 0.14);
  background: rgba(1, 7, 17, 0.46);
  padding: 12px;
}

.wallet-details span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-details strong {
  overflow-wrap: anywhere;
}

.wallet-error {
  min-height: 22px;
  margin: 0;
  color: var(--danger);
  line-height: 1.5;
}

.connected-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.connected-actions[hidden] {
  display: none;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 18px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

button {
  width: 100%;
  margin-top: 14px;
  background: var(--blue);
}

button:hover,
.button:hover {
  transform: translateY(-1px);
}

.button.compact {
  width: auto;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  font-size: 0.86rem;
}

.button.is-loading {
  cursor: wait;
  opacity: 0.78;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 38%, rgba(30, 123, 255, 0.18), transparent 24rem),
    rgba(0, 4, 12, 0.74);
  backdrop-filter: blur(16px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(540px, 100%);
  max-height: min(720px, calc(100dvh - 36px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px;
  border-color: rgba(30, 123, 255, 0.34);
  background:
    linear-gradient(160deg, rgba(10, 22, 43, 0.86), rgba(3, 8, 18, 0.72)),
    rgba(2, 5, 16, 0.7);
  box-shadow:
    0 0 0 1px rgba(34, 242, 122, 0.08),
    0 0 44px rgba(30, 123, 255, 0.18),
    0 26px 80px rgba(0, 0, 0, 0.58);
  scrollbar-width: none;
}

.modal::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.modal::before {
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(30, 123, 255, 0.55), transparent 35%, rgba(34, 242, 122, 0.36)) border-box;
  content: "";
  mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.modal-brand-logo {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(34, 242, 122, 0.42);
  border-radius: 9px;
  object-fit: cover;
  box-shadow:
    0 0 26px rgba(30, 123, 255, 0.24),
    0 0 16px rgba(34, 242, 122, 0.16);
}

.modal-header h2 {
  margin-bottom: 6px;
  font-size: clamp(1.55rem, 5vw, 2.05rem);
  font-weight: 800;
}

.modal-subtitle {
  max-width: 390px;
  margin: 0;
  color: rgba(170, 182, 197, 0.88);
  font-size: 0.92rem;
  line-height: 1.45;
}

.icon-button {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0;
  border-color: rgba(170, 182, 197, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.icon-button span {
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.icon-button span:first-child {
  transform: rotate(45deg);
}

.icon-button span:last-child {
  transform: rotate(-45deg);
}

.icon-button:hover {
  border-color: rgba(30, 123, 255, 0.55);
  color: var(--white);
  box-shadow: 0 0 20px rgba(30, 123, 255, 0.16);
}

.wallet-options {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.wallet-group {
  display: grid;
  gap: 7px;
}

.wallet-group-heading {
  border: 1px solid rgba(170, 182, 197, 0.12);
  background: rgba(1, 7, 17, 0.34);
  padding: 8px 11px;
}

.wallet-group-heading span {
  display: block;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wallet-group-heading p {
  margin: 4px 0 0;
  color: rgba(170, 182, 197, 0.82);
  font-size: 0.82rem;
  line-height: 1.4;
}

.ledger-guide {
  margin-top: 12px;
  border: 1px solid rgba(30, 123, 255, 0.26);
  background:
    radial-gradient(circle at 20% 0%, rgba(30, 123, 255, 0.16), transparent 18rem),
    rgba(1, 7, 17, 0.58);
  padding: 13px;
  box-shadow: inset 0 0 24px rgba(30, 123, 255, 0.08);
}

.ledger-guide[hidden] {
  display: none;
}

.ledger-guide ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 9px 0 10px;
  padding: 0;
  list-style: none;
}

.ledger-guide li {
  min-height: 44px;
  border: 1px solid rgba(170, 182, 197, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 8px;
}

.ledger-guide li.active {
  border-color: rgba(255, 209, 102, 0.48);
  color: var(--warning);
  box-shadow: 0 0 18px rgba(255, 209, 102, 0.1);
}

.ledger-guide li.done {
  border-color: rgba(34, 242, 122, 0.42);
  color: var(--green);
}

.ledger-guide li.error {
  border-color: rgba(255, 95, 122, 0.42);
  color: var(--danger);
}

.ledger-guide p {
  margin: 0;
  color: rgba(170, 182, 197, 0.82);
  font-size: 0.82rem;
  line-height: 1.42;
}

.ledger-setup-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(11, 23, 43, 0.9), rgba(4, 10, 22, 0.74)),
    rgba(2, 5, 16, 0.72);
  box-shadow: var(--shadow);
  padding: 22px;
}

.ledger-setup-panel ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ledger-setup-panel li {
  border: 1px solid rgba(30, 123, 255, 0.22);
  background: rgba(1, 7, 17, 0.52);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 12px;
}

.ledger-setup-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.wallet-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 58px;
  margin: 0;
  overflow: hidden;
  border-color: rgba(30, 123, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(30, 123, 255, 0.055)),
    rgba(2, 8, 20, 0.72);
  padding: 8px 11px;
  text-align: left;
  transform: translateZ(0);
  transition:
    border-color 170ms ease,
    box-shadow 170ms ease,
    transform 170ms ease,
    background 170ms ease;
  will-change: transform;
}

.wallet-option::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(30, 123, 255, 0.22), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-110%);
}

.wallet-option:hover,
.wallet-option:focus-visible {
  border-color: rgba(34, 242, 122, 0.36);
  box-shadow:
    0 0 0 1px rgba(30, 123, 255, 0.12),
    0 0 28px rgba(30, 123, 255, 0.16);
  outline: none;
  transform: scale(1.012);
}

.wallet-option:hover::before,
.wallet-option:focus-visible::before {
  animation: borderShimmer 1.15s ease;
  opacity: 1;
}

.wallet-icon,
.wallet-copy,
.wallet-state,
.spinner {
  position: relative;
  z-index: 1;
}

.wallet-icon {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(245, 247, 250, 0.14);
  border-radius: 9px;
  object-fit: cover;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 242, 122, 0.16), transparent 60%),
    rgba(1, 7, 17, 0.7);
  box-shadow:
    0 0 18px rgba(30, 123, 255, 0.18),
    0 0 12px rgba(34, 242, 122, 0.12);
}

.wallet-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.provider-label {
  color: rgba(170, 182, 197, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.wallet-copy strong {
  color: var(--white);
  font-size: 1rem;
}

.wallet-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.wallet-badge {
  border: 1px solid rgba(170, 182, 197, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  padding: 4px 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.wallet-badge.recommended {
  border-color: rgba(34, 242, 122, 0.44);
  background: rgba(34, 242, 122, 0.1);
  color: var(--green);
}

.wallet-badge.hardware {
  border-color: rgba(30, 123, 255, 0.5);
  background: rgba(30, 123, 255, 0.12);
  color: var(--white);
}

.wallet-badge.installed {
  border-color: rgba(34, 242, 122, 0.42);
  color: var(--green);
}

.wallet-badge.missing {
  border-color: rgba(255, 95, 122, 0.34);
  color: var(--danger);
}

.wallet-state {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.option-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warning);
}

.option-dot.ready {
  background: var(--green);
  box-shadow: 0 0 11px rgba(34, 242, 122, 0.52);
}

.option-dot.missing {
  background: var(--danger);
  box-shadow: 0 0 11px rgba(255, 95, 122, 0.36);
}

.option-dot.connecting,
.option-dot.pending {
  background: var(--warning);
  box-shadow: 0 0 11px rgba(255, 209, 102, 0.38);
}

.wallet-option.is-missing {
  border-color: rgba(255, 95, 122, 0.2);
}

.wallet-option.is-connecting .wallet-state {
  padding-right: 24px;
}

.spinner {
  display: none;
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(170, 182, 197, 0.24);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 760ms linear infinite;
}

.wallet-option.is-connecting .spinner {
  display: block;
}

.modal-note {
  margin: 10px 0 0;
  color: rgba(170, 182, 197, 0.78);
  font-size: 0.8rem;
  line-height: 1.48;
}

.infra-list {
  display: grid;
  gap: 12px;
}

.infra-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 82px;
  padding: 18px 20px;
}

.infra-row strong,
.infra-row small {
  display: block;
}

.infra-row small {
  margin-top: 5px;
  color: var(--muted);
}

.infra-row b {
  color: var(--green);
}

.diagnostics-panel .infra-row b {
  color: var(--white);
}

.cta {
  position: relative;
  overflow: hidden;
  margin-top: 34px;
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 242, 122, 0.12), transparent 22rem),
    radial-gradient(circle at 18% 100%, rgba(30, 123, 255, 0.16), transparent 20rem),
    linear-gradient(160deg, rgba(11, 23, 43, 0.94), rgba(4, 10, 22, 0.82));
}

.cta::before {
  position: absolute;
  inset: -1px;
  background: linear-gradient(100deg, transparent, rgba(34, 242, 122, 0.18), rgba(30, 123, 255, 0.16), transparent);
  content: "";
  transform: translateX(-110%);
  animation: ctaGlowSweep 6s ease-in-out infinite;
  pointer-events: none;
}

.cta h2 {
  position: relative;
  font-size: clamp(2rem, 5vw, 4rem);
}

.cta-confidence {
  position: relative;
  max-width: 720px;
  margin: 12px auto 0;
  color: rgba(170, 182, 197, 0.94);
  font-size: 1.02rem;
  line-height: 1.65;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.button.primary {
  background: var(--green);
  color: #001321;
  box-shadow:
    0 0 0 1px rgba(34, 242, 122, 0.18),
    0 0 22px rgba(34, 242, 122, 0.12);
  animation: premiumButtonGlow 5.8s ease-in-out infinite;
}

.button.secondary {
  border-color: rgba(30, 123, 255, 0.58);
  background: rgba(30, 123, 255, 0.14);
}

.button.ghost {
  border-color: rgba(170, 182, 197, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  border-top: 1px solid rgba(170, 182, 197, 0.14);
  padding: 22px 0 0;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(34, 242, 122, 0.34);
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(30, 123, 255, 0.2);
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  max-width: 520px;
  margin-top: 3px;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(170, 182, 197, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(245, 247, 250, 0.84);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 10px;
}

.footer-links a[aria-disabled="true"] {
  color: rgba(170, 182, 197, 0.54);
  cursor: default;
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(170, 182, 197, 0.74);
  font-size: 0.82rem;
  line-height: 1.55;
}

@keyframes orbitPulse {
  0% {
    width: 20px;
    height: 20px;
    opacity: 1;
  }

  100% {
    width: 190px;
    height: 190px;
    opacity: 0;
  }
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

@keyframes slowRotate {
  to {
    rotate: 360deg;
  }
}

@keyframes heroOrbitalSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.7);
  }

  45% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes ctaGlowSweep {
  0%,
  35% {
    transform: translateX(-110%);
  }

  70%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes premiumButtonGlow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(34, 242, 122, 0.16),
      0 0 20px rgba(34, 242, 122, 0.1);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(34, 242, 122, 0.28),
      0 0 28px rgba(34, 242, 122, 0.18);
  }
}

@keyframes borderShimmer {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(110%);
  }
}

@keyframes walletIdlePulse {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(245, 247, 250, 0.08),
      0 0 0 1px rgba(30, 123, 255, 0.08),
      0 0 20px rgba(30, 123, 255, 0.12);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(245, 247, 250, 0.1),
      0 0 0 1px rgba(34, 242, 122, 0.1),
      0 0 30px rgba(30, 123, 255, 0.22),
      0 0 14px rgba(34, 242, 122, 0.12);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes txGlobeDrift {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.015);
  }
}

@keyframes txOrbitSweep {
  to {
    rotate: 360deg;
  }
}

@keyframes txNodePulse {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

@keyframes txLogoGlowPulse {
  0%,
  100% {
    opacity: 0.34;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.58;
    transform: scale(1.06);
  }
}

@keyframes txPulseLine {
  0%,
  100% {
    opacity: 0;
    translate: -12px 0;
  }

  45% {
    opacity: 0.5;
  }

  70% {
    opacity: 0.22;
    translate: 12px 0;
  }
}

@keyframes dropdownEnter {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes brandFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sloganGlowPulse {
  0%,
  100% {
    text-shadow:
      0 0 10px rgba(30, 123, 255, 0.2),
      0 0 8px rgba(34, 242, 122, 0.1);
  }

  50% {
    text-shadow:
      0 0 16px rgba(30, 123, 255, 0.32),
      0 0 12px rgba(34, 242, 122, 0.15);
  }
}

@keyframes heroGlobePulse {
  0%,
  100% {
    filter:
      drop-shadow(0 0 22px rgba(30, 123, 255, 0.24))
      drop-shadow(0 0 14px rgba(34, 242, 122, 0.11));
    transform: translateY(0);
  }

  50% {
    filter:
      drop-shadow(0 0 30px rgba(30, 123, 255, 0.32))
      drop-shadow(0 0 20px rgba(34, 242, 122, 0.16));
    transform: translateY(-2px);
  }
}

@keyframes heroTitleShimmer {
  0%,
  72%,
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 0 rgba(34, 242, 122, 0));
  }

  84% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 8px rgba(34, 242, 122, 0.12));
  }
}

@keyframes skeletonPulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section-grid,
  .two-column,
  .cta,
  .metric-card,
  .chart-card,
  .intelligence-card,
  .infra-row {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  .section-grid.is-visible,
  .two-column.is-visible,
  .cta.is-visible,
  .metric-card.is-visible,
  .chart-card.is-visible,
  .intelligence-card.is-visible,
  .infra-row.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .metric-grid .metric-card:nth-child(2),
  .analytics-card-grid .metric-card:nth-child(2),
  .chart-grid .chart-card:nth-child(2),
  .infra-list .infra-row:nth-child(2) {
    transition-delay: 80ms;
  }

  .metric-grid .metric-card:nth-child(3),
  .analytics-card-grid .metric-card:nth-child(3),
  .chart-grid .chart-card:nth-child(3),
  .infra-list .infra-row:nth-child(3) {
    transition-delay: 150ms;
  }

  .metric-grid .metric-card:nth-child(4),
  .analytics-card-grid .metric-card:nth-child(4),
  .chart-grid .chart-card:nth-child(4) {
    transition-delay: 220ms;
  }

  .metric-card.is-visible:hover,
  .chart-card.is-visible:hover,
  .intelligence-card.is-visible:hover,
  .infra-row.is-visible:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .global-wallet {
    grid-column: 2;
    grid-row: 1;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .wallet-dropdown {
    right: auto;
    left: 0;
  }

  .hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero-brand-logo {
    width: min(100%, 560px);
  }

  .brand-slogan {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  .hero-slogan {
    font-size: clamp(0.68rem, 2.6vw, 0.86rem);
    letter-spacing: 0.045em;
  }

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

  .validator-hero-card,
  .chart-grid,
  .analytics-hero-grid,
  .analytics-split,
  .intelligence-grid,
  .intelligence-stack,
  .launch-status-grid,
  .roadmap-grid,
  .trust-grid,
  .learn-grid,
  .trust-command-grid,
  .readiness-grid {
    grid-template-columns: 1fr;
  }

  .analytics-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .section-kicker {
    max-width: 100%;
    text-align: left;
  }

  .validator-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 22px, 1180px);
    padding-top: 8px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-bottom: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(6, max-content);
    width: 100%;
    max-width: calc(100vw - 22px);
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    border-color: rgba(170, 182, 197, 0.13);
    min-width: max-content;
    text-align: center;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(2rem, 10.2vw, 3rem);
    line-height: 0.98;
  }

  .hero-title {
    gap: 5px;
    max-width: 100%;
    font-size: clamp(1.9rem, 9vw, 2.95rem);
    line-height: 0.98;
  }

  .hero-title span {
    white-space: normal;
  }

  h2 {
    font-size: clamp(1.24rem, 8vw, 1.72rem);
  }

  .hero {
    gap: 18px;
    padding: 22px 0 12px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .section-grid,
  .two-column {
    margin-top: 24px;
  }

  .trust-command,
  .analytics-dashboard {
    padding: 14px;
  }

  .trust-command-grid article,
  .readiness-grid article {
    min-height: 116px;
  }

  .hero-panel {
    min-height: 330px;
    padding: 20px;
  }

  .validator-status-panel {
    padding: 16px;
  }

  .validator-status-head {
    flex-direction: column;
    gap: 10px;
  }

  .validator-status-grid {
    grid-template-columns: 1fr;
  }

  .hero-ops-panel {
    padding-top: 12px;
  }

  .hero-panel .hero-metric {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
    text-shadow:
      0 0 14px rgba(30, 123, 255, 0.2),
      0 0 9px rgba(34, 242, 122, 0.1);
  }

  .hero-brand-logo {
    animation-duration: 10s;
    filter:
      drop-shadow(0 0 16px rgba(30, 123, 255, 0.2))
      drop-shadow(0 0 10px rgba(34, 242, 122, 0.08));
  }

  .pulse-orbit {
    opacity: 0.55;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .tx-globe-module {
    min-height: 188px;
    margin: -6px 0 8px;
  }

  .tx-globe {
    width: 144px;
    height: 144px;
    animation-duration: 24s;
  }

  .tx-logo-core {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }

  .tx-orbit-ring {
    width: 190px;
    height: 54px;
    opacity: 0.68;
  }

  .tx-orbit-ring.ring-two {
    width: 200px;
    height: 72px;
  }

  .tx-orbit-ring.ring-three {
    width: 168px;
    height: 44px;
  }

  .tx-pulse-line {
    width: 188px;
    opacity: 0.34;
  }

  .tx-pulse-line.line-two {
    width: 160px;
  }

  .tx-node {
    width: 5px;
    height: 5px;
  }

  .tx-module-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .tx-pulse-card {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    margin-top: 14px;
  }

  .tx-mini-orbit {
    justify-self: center;
  }

  .tx-pulse-rows {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .tool-panel,
  .wallet-panel,
  .infra-row,
  .chart-card,
  .intelligence-card {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  }

  .metric-grid,
  .reward-grid,
  .analytics-output-grid,
  .analytics-card-grid,
  .analytics-chart-grid {
    grid-template-columns: 1fr;
  }

  .analytics-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-list strong {
    text-align: left;
  }

  .chart-card div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .chart-card span {
    text-align: left;
  }

  .trust-badge-row {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-badge {
    justify-content: center;
  }

  .validator-actions,
  .insight-grid,
  .intelligence-stack {
    grid-template-columns: 1fr;
  }

  .validator-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .validator-logo {
    width: min(168px, 62vw);
    height: auto;
    max-height: 210px;
  }

  .validator-brand-lock {
    align-self: center;
    max-width: min(190px, 70vw);
  }

  .modal-brand-logo {
    width: 38px;
    height: 38px;
  }

  .infra-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .infra-row b {
    grid-column: 2;
  }

  .wallet-status-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .mode-badge,
  .hardware-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .ledger-guide ol {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-setup-panel ol {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 26px 18px;
  }

  .cta-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .global-wallet,
  .global-wallet-button {
    width: auto;
  }

  .global-wallet-button {
    min-width: 150px;
    justify-content: center;
    padding: 0 12px;
  }

  .global-wallet-button #global-wallet-label {
    max-width: 94px;
  }

  .wallet-device-icon {
    width: 30px;
    height: 26px;
  }

  .wallet-dropdown {
    right: 0;
    left: auto;
    width: min(340px, calc(100vw - 22px));
  }

  .modal-backdrop {
    align-items: center;
    padding: 12px;
  }

  .modal {
    max-height: calc(100dvh - 24px);
    padding: 16px;
  }

  .wallet-option {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 74px;
  }

  .wallet-icon {
    width: 38px;
    height: 38px;
  }

  .wallet-state {
    grid-column: 2;
    justify-content: flex-start;
  }

  .spinner {
    top: 50%;
    transform: translateY(-50%);
  }

  .wallet-option.is-connecting .spinner {
    animation: spinMobile 760ms linear infinite;
  }
}

@keyframes spinMobile {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
