/* ── claim-dex-node-nft.css ── Dex Node™ claim page (Base Mainnet) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #03070f;
  --surface:  #080f1e;
  --border:   #0e2040;
  --accent:   #00c2ff;
  --accent2:  #0066ff;
  --green:    #00ffaa;
  --red:      #ff3b5c;
  --yellow:   #ffc847;
  --text:     #cde4ff;
  --muted:    #3a5a80;
  --mono:     'Share Tech Mono', monospace;
  --sans:     'Syne', sans-serif;
}

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,194,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 30s linear infinite;
  pointer-events: none;
}
@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}

body::after {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,.15) 2px, rgba(0,0,0,.15) 4px
  );
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: inline-block;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }

/* Site .header is used; keep claim card below fixed header */
.page-wrap {
  position: relative; z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 2rem;
}

.card {
  width: 100%; max-width: 480px;
  background: rgba(8,15,30,.95);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  animation: cardIn .5s ease forwards;
  overflow: hidden;
  z-index: 3;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  animation: scanEdge 3s ease-in-out infinite;
}
@keyframes scanEdge {
  0%,100% { opacity: .4; }
  50%      { opacity: 1; }
}

.card-header {
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.node-icon {
  width: 100px; height: 100px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 2px solid rgba(0,194,255,.3);
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,194,255,.2);
  animation: avatarGlow 3s ease-in-out infinite;
  background: radial-gradient(circle at 40% 35%, #0a2a4a 0%, #041018 70%);
  display: flex; align-items: center; justify-content: center;
}
@keyframes avatarGlow {
  0%,100% { box-shadow: 0 0 20px rgba(0,194,255,.2); }
  50%      { box-shadow: 0 0 40px rgba(0,194,255,.5); }
}
.node-icon svg { width: 58px; height: 58px; }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .12em;
  color: var(--accent); border: 1px solid rgba(0,194,255,.25);
  background: rgba(0,194,255,.06); border-radius: 2px;
  padding: .25rem .8rem; margin-bottom: 1rem;
  text-transform: uppercase;
}

h1 {
  font-family: var(--sans); font-size: 1.6rem; font-weight: 800;
  line-height: 1.2; color: #fff;
}
h1 span { color: var(--accent); }
.subtitle {
  font-size: .85rem; color: var(--muted); margin-top: .6rem; line-height: 1.6;
  font-family: var(--mono);
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat {
  padding: .85rem .65rem; text-align: center;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-label {
  font-family: var(--mono); font-size: .55rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
}
.stat-value {
  font-family: var(--mono); font-size: .8rem; color: var(--text);
  margin-top: .25rem; font-weight: 600;
}
.stat-value.green  { color: var(--green); }
.stat-value.blue   { color: var(--accent); }
.stat-value.yellow { color: var(--yellow); }

.progress-wrap {
  padding: 1.1rem 2rem;
  border-bottom: 1px solid var(--border);
}
.progress-labels {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: .65rem; color: var(--muted); margin-bottom: .5rem;
}
.progress-bar {
  background: rgba(255,255,255,.05); border-radius: 2px; height: 5px; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  transition: width 1s ease;
}

.tier-callout {
  margin: 1.25rem 2rem;
  padding: .85rem 1.1rem;
  background: rgba(0,194,255,.06);
  border: 1px solid rgba(0,194,255,.25);
  border-radius: 3px;
}
.tier-callout-row { display: flex; justify-content: space-between; align-items: center; }
.tier-label { font-family: var(--mono); font-size: .6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.tier-price { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--text); margin-top: .2rem; }
.tier-price span { font-size: .85rem; color: var(--accent); }
.tier-note { font-family: var(--mono); font-size: .65rem; color: var(--muted); margin-top: .35rem; }
.tier-badge {
  font-family: var(--mono); font-size: .6rem;
  background: rgba(255,200,71,.06); border: 1px solid rgba(255,200,71,.25);
  color: var(--yellow); border-radius: 2px; padding: .25rem .65rem;
}

.paused-banner {
  margin: 0 2rem 1rem;
  padding: .65rem 1rem;
  border-radius: 3px;
  font-family: var(--mono); font-size: .72rem; line-height: 1.5;
  background: rgba(255,200,71,.07);
  border: 1px solid rgba(255,200,71,.25);
  color: var(--yellow);
}

.benefits { padding: 0 2rem 1.25rem; }
.benefits-title {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .15em;
  color: var(--muted); text-transform: uppercase; margin-bottom: .75rem;
}
.benefit {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .45rem 0; font-family: var(--mono); font-size: .75rem;
  color: var(--text); border-bottom: 1px solid rgba(14,32,64,.6);
  line-height: 1.5;
}
.benefit:last-child { border-bottom: none; }
.benefit-icon { flex-shrink: 0; font-size: .95rem; margin-top: .05rem; }

.cta-wrap { padding: 0 2rem 1.75rem; }
#connect-btn {
  width: 100%; padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border: none; border-radius: 3px;
  color: #fff; font-family: var(--mono); font-size: .9rem; font-weight: 700;
  letter-spacing: .05em; cursor: pointer;
  transition: all .2s; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
}
#connect-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.1), transparent);
  opacity: 0; transition: opacity .2s;
}
#connect-btn:hover::after { opacity: 1; }
#connect-btn:active { transform: scale(.98); }
#connect-btn:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }

.cta-note {
  text-align: center; font-family: var(--mono); font-size: .62rem;
  color: var(--muted); margin-top: .75rem;
}

#status-msg {
  margin: 0 2rem 1.25rem;
  padding: .65rem 1rem;
  border-radius: 3px;
  font-family: var(--mono); font-size: .72rem; line-height: 1.5;
  display: none;
}
#status-msg.info    { background: rgba(0,194,255,.07); border: 1px solid rgba(0,194,255,.2); color: var(--accent); }
#status-msg.success { background: rgba(0,255,170,.07); border: 1px solid rgba(0,255,170,.2); color: var(--green); }
#status-msg.error   { background: rgba(255,59,92,.07);  border: 1px solid rgba(255,59,92,.2);  color: var(--red); }

footer {
  position: relative; z-index: 3;
  margin-top: 1.5rem;
  font-family: var(--mono); font-size: .65rem; color: var(--muted); text-align: center;
  max-width: 480px; line-height: 1.7;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}
