:root {
  --tetra-bg: #020617;
  --tetra-surface: rgba(15, 23, 42, 0.94);
  --tetra-border: rgba(148, 163, 184, 0.18);

  --tetra-primary: #00e5ff;
  --tetra-accent: #38bdf8;
  --tetra-purple: #6366f1;

  --tetra-text: #e5edff;
  --tetra-text-muted: #64748b;

  --tetra-nav-bg: rgba(2, 6, 23, 0.96);
}


body {
  background-color: #000000;

  background-image:
    radial-gradient(at 0% 0%, color-mix(in srgb, var(--logo-cyan) 30%, transparent) 0, transparent 55%),
    radial-gradient(at 50% 0%, color-mix(in srgb, var(--logo-deepnavy) 30%, transparent) 0, transparent 55%),
    radial-gradient(at 100% 40%, color-mix(in srgb, var(--logo-metal) 30%, transparent) 0, transparent 60%);
  background-attachment: fixed;
  color: white;
  -webkit-tap-highlight-color: transparent;
}




.bg-tetra {
  background-color: var(--tetra-bg);
  color: var(--tetra-text);
}

.text-muted {
  color: var(--tetra-text-muted);
}

.text-primary {
  color: var(--tetra-primary);
}

.profile-ring {
  background-image: linear-gradient(135deg,
      var(--tetra-primary),
      var(--tetra-accent),
      var(--tetra-purple));
}

.glass-panel,
.glass-card {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.16), transparent 55%),
    var(--tetra-surface);
  border: 1px solid var(--tetra-border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
}

.glass-card {
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  transition: transform 0.2s, background 0.2s;
}

.glass-card:active {
  transform: scale(0.96);
  background: rgba(15, 23, 42, 0.9);
}

.blob-primary {
  background: radial-gradient(circle at 30% 30%, var(--tetra-primary), transparent 60%);
}

.blob-secondary {
  background: radial-gradient(circle at 60% 20%, var(--tetra-purple), transparent 60%);
}

.blob-tertiary {
  background: radial-gradient(circle at 40% 80%, var(--tetra-accent), transparent 65%);
}

.btn-ghost-small {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tetra-text);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(14px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}

.btn-ghost-small:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: var(--tetra-primary);
  transform: translateY(-1px);
}

.bottom-nav {
  background: var(--tetra-nav-bg);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--tetra-border);
}

.text-nav-muted {
  color: rgba(148, 163, 184, 0.8);
}

.center-action-btn {
  background-image: linear-gradient(135deg,
      var(--tetra-primary),
      var(--tetra-accent),
      var(--tetra-purple));
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.45);
}

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

* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#transition-overlay {
  clip-path: circle(0% at 50% 50%);
  opacity: 0;
  pointer-events: none;
  transition:
    clip-path 0.6s cubic-bezier(0.7, 0, 0.3, 1),
    opacity 0.25s ease;
}

#transition-overlay.active {
  clip-path: circle(150% at 50% 50%);
  opacity: 1;
  pointer-events: auto;
}


.assets-panel {
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.35), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.20), transparent 55%),
    linear-gradient(135deg, #020617 0%, #020617 28%, #050b1f 60%, #020617 100%);
  border-color: rgba(148, 163, 184, 0.40);
  box-shadow:
    0 24px 80px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.assets-panel .text-muted {
  color: rgba(148, 163, 184, 0.9);
}

.assets-panel strong,
.assets-panel .text-white {
  color: #f9fbff;
}


.bg-primary {
  background-color: var(--tetra-primary);
}


.hub-header-wrap {
  position: relative;
  padding-top: 40px;
  padding-bottom: 10px;
}


.hub-header-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgb(35 36 79), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}


.hub-logo-box {
  width: 58px;
  height: 58px;
  border-radius: 22px;
  background: linear-gradient(135deg, #21244f, #21244f);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgb(33 36 79), 0 0 40px rgb(33 35 77);
}

.hub-logo-box img {
  height: 58px;
  width: 58px;
  object-fit: contain;
}



.hub-logo-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0.35;
  pointer-events: none;
}

.hub-title {
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(90deg, #00e5ff, #3bbef7);
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  text-shadow: 0px 0px 15px rgba(0, 229, 255, 0.25);
}

.hub-subtitle {
  font-size: 16px;
  color: #b5eaff;
  margin-top: 4px;
  opacity: .7;
  letter-spacing: 0.5px;
}




.status-on {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(22, 163, 74, 0.9);
  color: #bbf7d0;
}

.status-off {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

#airdrop-chip {
  z-index: 99;
  display: flex;
  justify-content: center;
  border-radius: 1rem;
}



.card-custom-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 14px;
}

#airdrop-chip {
  z-index: 99;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#user-count-chip {
  width: 100%;
  z-index: 99;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  padding: 8px 14px 10px;
  gap: 12px;
  background: transparent;
  color: #3bbef7;
}

#user-count-chip .uc-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
}

#user-count-chip .uc-count {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

#user-count-chip i {
  font-size: 13px;
}



.tf-stats-users-block {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  position: relative;
  width: fit-content;
  transition: all .2s ease;
  margin: 0 auto;
  margin-bottom: 8px;
}

.tf-stats-users-block::before {
  content: "";
  position: absolute;
  right: -25px;
  top: -25px;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.25), transparent 60%);
  filter: blur(10px);
  opacity: 0.4;
}

.tf-stats-users-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #00eaff;
  backdrop-filter: blur(6px);
}

.tf-stats-users-count {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5ff;
  line-height: 1;
}

.tf-stats-users-label {
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  margin-top: 2px;
}

.tf-stats-users-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}