*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #050816 0, #050816 40%, #020308 100%);
  color: #f7f7ff;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 24px 32px 40px;
  display: flex;
  flex-direction: column;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  pointer-events: none;
  z-index: -2;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(88, 166, 255, 0.18), transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(236, 72, 153, 0.22), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(45, 212, 191, 0.18), transparent 55%),
    linear-gradient(140deg, #020617 0%, #020617 40%, #020617ee 100%);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  z-index: -1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-orb {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: conic-gradient(
    from 160deg,
    #60a5fa,
    #22d3ee,
    #a855f7,
    #f97316,
    #60a5fa
  );
  box-shadow:
    0 0 24px rgba(59, 130, 246, 0.8),
    0 0 40px rgba(236, 72, 153, 0.4);
}

.nav__title {
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
  color: #e5e7eb;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__network-badge {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top left, #0f172a 0, #020617 60%);
  color: #e5e7eb;
  white-space: nowrap;
}

.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.18s ease-out,
    color 0.18s ease-out,
    border-color 0.18s ease-out,
    box-shadow 0.18s ease-out,
    transform 0.08s ease-out;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.btn--outline {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.72);
  color: #e5e7eb;
}

.btn--outline:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.9);
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.9),
    0 0 24px rgba(148, 163, 184, 0.45);
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(120deg, #4f46e5, #06b6d4, #ec4899);
  background-size: 200% 200%;
  color: #f9fafb;
  box-shadow:
    0 12px 35px rgba(59, 130, 246, 0.55),
    0 0 40px rgba(236, 72, 153, 0.7);
}

.btn--primary:hover:not(:disabled) {
  animation: gradientShift 1.4s ease alternate infinite;
  transform: translateY(-1px) scale(1.01);
}

.btn--full {
  width: 100%;
  padding-block: 14px;
  font-size: 13px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.glass {
  border-radius: 26px;
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.92),
      rgba(15, 23, 42, 0.88)
    ),
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 60%);
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
}

.hero__card {
  padding: 28px 26px 26px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(75, 85, 99, 0.85);
  background: radial-gradient(circle at top left, #020617 0, #020617 60%);
  margin-bottom: 18px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #bef264, #22c55e);
  box-shadow: 0 0 14px rgba(74, 222, 128, 0.9);
}

.hero__title {
  font-size: clamp(28px, 3.2vw, 34px);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero__title-gradient {
  background: linear-gradient(120deg, #e0f2fe, #a5b4fc, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 20px;
}

.hero__status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: radial-gradient(circle at top left, #020617, #020617 60%);
  border: 1px solid rgba(55, 65, 81, 0.9);
  margin-bottom: 22px;
}

.status__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}

.status__value {
  font-size: 13px;
  font-weight: 550;
  color: #e5e7eb;
}

.status__value--accent {
  color: #38bdf8;
}

.hero__controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 12px;
  color: #9ca3af;
}

.field__control {
  position: relative;
}

.select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  background: radial-gradient(circle at top left, #020617, #020617 60%);
  color: #e5e7eb;
  font-size: 13px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.select:focus {
  border-color: rgba(96, 165, 250, 0.95);
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.8),
    0 0 24px rgba(37, 99, 235, 0.6);
}

.field__hint {
  font-size: 11px;
  color: #6b7280;
}

.field__wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field__wallet-address {
  font-size: 13px;
  color: #e5e7eb;
  opacity: 0.9;
  max-width: 60%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pill--neutral {
  background: rgba(31, 41, 55, 0.9);
  color: #9ca3af;
}

.pill--success {
  background: rgba(22, 163, 74, 0.16);
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.6);
}

.pill--warning {
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.7);
}

.pill--error {
  background: rgba(220, 38, 38, 0.16);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.8);
}

.status-message {
  font-size: 12px;
  color: #9ca3af;
  min-height: 18px;
}

.hero__footer {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: #6b7280;
  border-top: 1px dashed rgba(55, 65, 81, 0.8);
  padding-top: 10px;
}

.hero__footer-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
}

.dot--green {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

.dot--blue {
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.orb {
  border-radius: 999px;
  position: absolute;
  inset: 8%;
  margin: auto;
}

.orb--outer {
  background: radial-gradient(circle at 30% 0, #3b82f6, transparent 55%),
    radial-gradient(circle at 80% 100%, #ec4899, transparent 60%),
    radial-gradient(circle at 0 100%, #22d3ee, transparent 55%);
  opacity: 0.5;
  filter: blur(40px);
}

.orb--middle {
  inset: 18%;
  background: radial-gradient(circle at 50% 0, #eff6ff, transparent 60%);
  opacity: 0.8;
  filter: blur(18px);
}

.orb--inner {
  inset: 28%;
  background: radial-gradient(circle at 50% 50%, #f9fafb, transparent 65%);
  opacity: 0.9;
}

.hero__metrics {
  position: relative;
  padding: 18px 18px 16px;
  max-width: 320px;
  width: 100%;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 0;
}

.metric + .metric {
  border-top: 1px dashed rgba(55, 65, 81, 0.8);
}

.metric__label {
  font-size: 11px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.metric__value {
  font-size: 13px;
  color: #e5e7eb;
}

.metric__value--warning {
  color: #f97316;
}

.metric__value--ok {
  color: #22c55e;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (max-width: 960px) {
  .page {
    padding-inline: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .hero__card {
    padding-inline: 18px;
  }
}

@media (max-width: 640px) {
  .page {
    padding-inline: 16px;
    padding-top: 16px;
  }

  .nav {
    margin-bottom: 20px;
  }

  .hero__card {
    padding: 18px 14px 16px;
  }

  .hero__status {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__footer {
    flex-direction: column;
  }
}

