
.mn-hero {
  text-align: center;
  padding: 28px 16px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.mn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.mn-hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22d3ee;
  animation: mnPulse 1.5s ease infinite;
}
@keyframes mnPulse { 50% { opacity: 0.4; } }
.mn-hero h1 {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mn-hero-desc {
  font-size: 14px;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 20px;
}
.mn-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;   
  gap: 14px;
  margin-bottom: 28px;
}
.mn-hero-actions > .mn-btn-primary,
.mn-hero-actions > .mn-btn-outline {
  width: 100%;
  box-sizing: border-box;
}
.mn-btn-primary {
  padding: 16px 18px;
  min-height: 52px;
  border: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  cursor: pointer;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: #fff;
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform .18s cubic-bezier(.34,1.4,.64,1), box-shadow .18s, filter .18s;
  position: relative;
  overflow: hidden;
}
.mn-btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  opacity: 0;
  transition: opacity .18s;
}
.mn-btn-primary > * { position: relative; z-index: 1; }
.mn-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(59,130,246,.6), inset 0 1px 0 rgba(255,255,255,.22); }
.mn-btn-primary:hover::after { opacity: 1; }
.mn-btn-primary:active { transform: translateY(0) scale(.985); }
.mn-btn-outline {
  padding: 16px 18px;
  min-height: 52px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  background: rgba(59, 130, 246, 0.08);
  border: 1.5px solid rgba(96, 165, 250, 0.55);
  color: #bfdbfe;
  transition: transform .18s cubic-bezier(.34,1.4,.64,1), background .18s, border-color .18s;
}
.mn-btn-outline:hover { transform: translateY(-2px); background: rgba(59,130,246,.16); border-color: rgba(147,197,253,.8); }
.mn-btn-outline:active { transform: translateY(0) scale(.985); }
.mn-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 620px;
  margin: 0 auto 8px;
}
.mn-metric {
  background: linear-gradient(160deg, rgba(30,41,59,.92), rgba(15,23,42,.92));
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05);
  transition: border-color .2s, transform .2s;
}
.mn-metric:hover { border-color: rgba(147,197,253,.5); transform: translateY(-2px); }
.mn-metric strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #7dd3fc;
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.mn-metric span {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}
.mn-section-title {
  text-align: center;
  font-size: 21px;
  font-weight: 800;
  margin: 32px 0 18px;
  color: #f1f5f9;
  letter-spacing: .3px;
}
.mn-nodes {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
@media (min-width: 640px) {
  .mn-nodes { grid-template-columns: repeat(3, 1fr); }
}
.mn-node {
  background: linear-gradient(165deg, rgba(30,41,59,.94), rgba(15,23,42,.94));
  border: 1.5px solid rgba(96, 165, 250, 0.3);
  border-radius: 18px;
  padding: 22px 18px;
  position: relative;
  box-shadow: 0 6px 26px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .22s cubic-bezier(.34,1.3,.64,1), border-color .22s, box-shadow .22s;
}
.mn-node::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(96,165,250,.10), transparent 55%);
  pointer-events: none;
}
.mn-node:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.65);
  box-shadow: 0 14px 38px rgba(37,99,235,.28), inset 0 1px 0 rgba(255,255,255,.08);
}
.mn-node.hot {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.2), inset 0 1px 0 rgba(255,255,255,.06);
}
.mn-node.hot:hover {
  box-shadow: 0 16px 44px rgba(251, 191, 36, 0.32), inset 0 1px 0 rgba(255,255,255,.09);
}
.mn-node-tag {
  position: absolute;
  top: -12px;
  right: 14px;
  font-size: 11px;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(245,158,11,.45);
}
.mn-node h4 { font-size: 16px; margin: 0 0 10px; color: #f1f5f9; font-weight: 700; }
.mn-node .rate {
  font-size: 27px;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 6px;
  letter-spacing: -.5px;
  text-shadow: 0 0 22px rgba(52,211,153,.35);
}
.mn-node .apy {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 14px;
}
.mn-node ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.85;
}
.mn-activity {
  margin: 20px 0;
}
.mn-activity .live-data {
  margin: 0;
}
.mn-activity-list {
  max-height: 220px;
  overflow: hidden;
}
.mn-activity-scroll {
  animation: scrollUp 25s linear infinite;
}
.mn-act-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-size: 13px;
}
.mn-act-item .addr { font-family: monospace; color: #94a3b8; }
.mn-act-item .amt { color: #34d399; font-weight: 600; }
.mn-act-item .time { font-size: 11px; color: #64748b; }

.mn-topbar .header-content {
  flex-wrap: nowrap;
  gap: 12px;
  justify-content: space-between;
  
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 14px;
  padding-right: 14px;
}

.mn-topbar .logo {
  margin-right: auto;
  margin-left: 0;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.mn-topbar .wallet-section {
  margin-left: auto;
  margin-right: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
@media (min-width: 900px) {
  .mn-topbar .header-content { padding-left: 26px; padding-right: 26px; }
}
@media (min-width: 900px) {
  .mn-topbar .header-content { padding-left: 34px; padding-right: 34px; }
}
.mn-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  margin-right: 8px;
}
.mn-topbar .logo {
  display: flex;
  align-items: center;
}
.mn-topbar .logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mn-nav {
  display: none;
  gap: 22px;
  font-size: 14px;
}
.mn-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.mn-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  border-radius: 2px;
  transition: width .22s ease;
}
.mn-nav a:hover { color: #e2e8f0; }
.mn-nav a:hover::after { width: 100%; }
.mn-connect-btn {
  border-radius: 999px !important;
  padding: 11px 22px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  min-height: 44px;
  box-shadow: 0 4px 16px rgba(59,130,246,.38) !important;
  transition: transform .18s cubic-bezier(.34,1.4,.64,1), box-shadow .18s !important;
}
.mn-connect-btn:hover { transform: translateY(-1px); box-shadow: 0 7px 22px rgba(59,130,246,.5) !important; }
.mn-connect-btn:active { transform: scale(.97); }
@media (min-width: 768px) {
  .mn-nav { display: flex; flex: 1; justify-content: center; }
}

.mn-partner {
  margin: 32px 0;
  padding: 26px 18px;
  text-align: center;
  background: linear-gradient(165deg, rgba(30,41,59,.92), rgba(15,23,42,.92));
  border: 1.5px solid rgba(129, 140, 248, 0.4);
  border-radius: 18px;
  box-shadow: 0 6px 26px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.05);
}
.mn-partner h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  color: #f1f5f9;
}
.mn-partner > p {
  margin: 0 0 18px;
  font-size: 14px;
  color: #94a3b8;
}
.mn-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.mn-partner-grid div {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 14px;
  padding: 18px 8px;
  transition: transform .2s, border-color .2s;
}
.mn-partner-grid div:hover { transform: translateY(-3px); border-color: rgba(147,197,253,.55); }
.mn-partner-grid strong {
  display: block;
  font-size: 25px;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 6px;
  text-shadow: 0 0 20px rgba(52,211,153,.3);
}
.mn-partner-grid span {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}
.mn-partner-note {
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.6;
}

.mn-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 200;
  padding: 0;
}
.mn-modal-bg.open { display: flex; }
@media (min-width: 520px) {
  .mn-modal-bg { align-items: center; padding: 20px; }
}
.mn-modal {
  background: linear-gradient(170deg, #0e1a28, #0a121c);
  border: 1.5px solid rgba(96, 165, 250, 0.25);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 420px;
  padding: 24px 20px 30px;
  box-shadow: 0 -8px 40px rgba(0,0,0,.6);
}
@media (min-width: 520px) {
  .mn-modal { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.65); }
}
.mn-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.mn-modal-head h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #eef4ff;
}
.mn-modal-x {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(10,18,28,.9);
  color: #8b9cb3;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s, color .18s, transform .18s;
}
.mn-modal-x:hover { background: rgba(239,68,68,.18); color: #fca5a5; transform: rotate(90deg); }
.wallet-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  min-height: 60px;
  margin-bottom: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(10, 18, 28, 0.85);
  cursor: pointer;
  text-align: left;
  color: #eef4ff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  transition: border-color .18s, background .18s, transform .18s;
}
.wallet-opt:hover {
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(30, 58, 95, 0.5);
  transform: translateX(3px);
}
.wallet-opt:active { transform: translateX(3px) scale(.99); }
.wallet-opt img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

.mn-footer {
  text-align: center;
  padding: 36px 16px 52px;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  margin-top: 28px;
}
.mn-footer-brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .5px;
  color: #93c5fd;
  margin-bottom: 10px;
}
.mn-footer p {
  font-size: 12px;
  color: #64748b;
  margin: 4px 0;
}
.mn-footer-risk {
  max-width: 640px;
  margin: 14px auto 0 !important;
  line-height: 1.7;
  font-size: 12px !important;
}
.mn-metric-audit span {
  font-size: 11px !important;
  line-height: 1.45;
}

:root {
  --glow-cyan:   0 0 24px rgba(56, 189, 248, .35);
  --glow-green:  0 0 24px rgba(52, 211, 153, .35);
  --glow-amber:  0 0 24px rgba(251, 191, 36, .32);
  --edge-top:    inset 0 1px 0 rgba(255,255,255,.09);
  --edge-bot:    inset 0 -1px 0 rgba(0,0,0,.35);
  --card-face:   linear-gradient(158deg, rgba(34,46,66,.96) 0%, rgba(20,30,46,.96) 46%, rgba(13,20,33,.98) 100%);
  --ease-pop:    cubic-bezier(.34, 1.42, .64, 1);
}

.mn-node,
.mn-metric,
.mn-partner,
.mn-partner-grid > div,
.mn-modal {
  position: relative;
  isolation: isolate;
}

.mn-node::after,
.mn-metric::after,
.mn-partner-grid > div::after {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147,197,253,.55), transparent);
  pointer-events: none;
  opacity: .8;
  transition: opacity .25s;
}
.mn-node:hover::after,
.mn-metric:hover::after,
.mn-partner-grid > div:hover::after { opacity: 1; }

.mn-node {
  background: var(--card-face);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 8px 28px rgba(0,0,0,.4), var(--edge-bot);
}
.mn-node:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 18px 44px rgba(37,99,235,.3), var(--glow-cyan), var(--edge-bot);
}
.mn-node.hot {
  background:
    linear-gradient(158deg, rgba(52,44,30,.96) 0%, rgba(30,26,26,.97) 50%, rgba(18,17,22,.98) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 10px 34px rgba(0,0,0,.42), var(--glow-amber), var(--edge-bot);
}
.mn-node.hot:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 20px 50px rgba(251,191,36,.34), var(--glow-amber), var(--edge-bot);
}

.mn-node-tag {
  overflow: hidden;
}
.mn-node-tag::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  animation: tagSheen 3.4s ease-in-out infinite;
}
@keyframes tagSheen {
  0%, 62%  { left: -60%; }
  100%     { left: 130%; }
}

.mn-btn-primary,
.mn-btn-outline,
.experience-btn,
.connect-wallet-btn {
  position: relative;
  isolation: isolate;
  letter-spacing: .4px;
}
.mn-btn-primary {
  background: linear-gradient(160deg, #60a5fa 0%, #4f46e5 55%, #7c3aed 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.28),
    0 10px 26px rgba(79,70,229,.45),
    0 0 0 1px rgba(147,197,253,.25),
    var(--edge-bot);
}
.mn-btn-primary:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.34),
    0 16px 40px rgba(99,102,241,.6),
    0 0 0 1px rgba(165,180,252,.42),
    var(--edge-bot);
}

.mn-btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 48%);
  pointer-events: none;
}
.mn-btn-outline {
  background: linear-gradient(160deg, rgba(96,165,250,.14), rgba(59,130,246,.06));
  border: 1px solid rgba(147,197,253,.45);
  box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 6px 18px rgba(0,0,0,.22);
  color: #dbeafe;
}
.mn-btn-outline:hover {
  background: linear-gradient(160deg, rgba(96,165,250,.24), rgba(59,130,246,.12));
  border-color: rgba(191,219,254,.7);
  box-shadow: 0 1px 0 rgba(255,255,255,.16), 0 10px 26px rgba(59,130,246,.3), var(--glow-cyan);
}

.mn-modal-bg {
  background: radial-gradient(ellipse at 50% 40%, rgba(11,20,34,.72), rgba(2,5,12,.92));
  backdrop-filter: blur(14px) saturate(1.2);
}
.mn-modal {
  background: linear-gradient(168deg, rgba(24,36,56,.99), rgba(12,19,32,.99));
  border: 1px solid rgba(125,211,252,.22);
  box-shadow:
    0 1px 0 rgba(255,255,255,.1),
    0 30px 80px rgba(0,0,0,.75),
    0 0 60px rgba(37,99,235,.16),
    var(--edge-bot);
  animation: sheetUp .34s var(--ease-pop);
}
@keyframes sheetUp {
  from { opacity: 0; transform: translateY(26px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.mn-modal-head h3 {
  font-size: 19px;
  letter-spacing: .3px;
  background: linear-gradient(100deg, #f0f9ff, #a5d8ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wallet-opt {
  background: linear-gradient(150deg, rgba(38,52,74,.9), rgba(20,30,46,.9));
  border: 1px solid rgba(148,163,184,.16);
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 4px 14px rgba(0,0,0,.26);
  position: relative;
  overflow: hidden;
}
.wallet-opt::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(96,165,250,.16), transparent 62%);
  opacity: 0;
  transition: opacity .22s;
  pointer-events: none;
}
.wallet-opt:hover {
  border-color: rgba(147,197,253,.62);
  box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 10px 26px rgba(37,99,235,.32), var(--glow-cyan);
  transform: translateX(4px);
}
.wallet-opt:hover::before { opacity: 1; }
.wallet-opt img {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.mn-node .rate,
.mn-metric strong,
.mn-partner-grid strong,
.pool-info-item p,
.dashboard-value {
  font-variant-numeric: tabular-nums;
  letter-spacing: -.4px;
}
.mn-metric strong {
  background: linear-gradient(100deg, #bae6fd, #67e8f9 55%, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 19px;
}
.mn-node .rate {
  background: linear-gradient(100deg, #6ee7b7, #34d399 50%, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(52,211,153,.42));
}
.mn-node.hot .rate {
  background: linear-gradient(100deg, #fde68a, #fbbf24 50%, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(251,191,36,.45));
}
.mn-partner-grid strong {
  background: linear-gradient(100deg, #6ee7b7, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(52,211,153,.35));
}

.mn-topbar {
  border-bottom: 1px solid rgba(56,189,248,.14);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 8px 26px rgba(2,6,23,.5);
}
.mn-logo-mark {
  box-shadow: 0 1px 0 rgba(255,255,255,.2), 0 4px 14px rgba(37,99,235,.45);
}

.mn-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.mn-section-title::before,
.mn-section-title::after {
  content: '';
  height: 2px;
  width: 42px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(125,211,252,.75));
}
.mn-section-title::after {
  background: linear-gradient(90deg, rgba(125,211,252,.75), transparent);
}

@media (prefers-reduced-motion: reduce) {
  .mn-node-tag::before,
  .mn-modal { animation: none; }
  * { transition-duration: .01ms !important; }
}
