:root {
  --green: #ADFF2F;
  --green-dim: #7CFC00;
  --green-dark: #3A6B00;
  --green-glow: rgba(173, 255, 47, 0.3);
  --green-glow-strong: rgba(173, 255, 47, 0.6);
  --bg: #0A0A0A;
  --bg-card: #111111;
  --bg-card-hover: #1A1A1A;
  --border: #1E1E1E;
  --text: #E0E0E0;
  --text-dim: #888888;
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(173, 255, 47, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 10, 0.8);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  filter: drop-shadow(0 0 12px var(--green-glow));
}

h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 20px var(--green-glow);
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.header-links {
  display: flex;
  gap: 12px;
}

.header-links a {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.header-links a:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
}

.btn-primary {
  background: var(--green-dark) !important;
  border-color: var(--green-dim) !important;
  color: var(--green) !important;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--green-dim) !important;
  color: #000 !important;
}

footer a {
  color: var(--green);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* Status Banner */
.status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 32px;
}

.status-banner.bonding {
  border-color: var(--green-dark);
  background: linear-gradient(135deg, rgba(173, 255, 47, 0.05), transparent);
}

.status-banner.burning {
  border-color: var(--green);
  background: linear-gradient(135deg, rgba(173, 255, 47, 0.1), transparent);
  box-shadow: 0 0 30px var(--green-glow);
}

.status-icon { font-size: 2rem; }

.status-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
}

.status-detail {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Stats Grid */
.stat-card-wide {
  margin-bottom: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: var(--green-dark);
  background: var(--bg-card-hover);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.stat-value.green {
  color: var(--green);
  text-shadow: 0 0 15px var(--green-glow);
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 6px;
}

/* Progress Bar */
.progress-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
}

.progress-bar {
  flex: 1;
  height: 12px;
  background: #1A1A1A;
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  border-radius: 6px;
  box-shadow: 0 0 10px var(--green-glow);
  transition: width 0.8s ease;
}

.progress-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  min-width: 50px;
}

/* Info Sections */
.info-section {
  margin-bottom: 40px;
}

.info-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.step:hover { border-color: var(--green-dark); }

.step-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-dark);
  color: var(--green);
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.step strong {
  color: var(--green);
  display: block;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Identity */
.identity-grid {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.id-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.id-row:last-child { border-bottom: none; }

.id-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

.id-value {
  color: var(--text);
  font-size: 0.82rem;
}

.id-value.mono { font-family: 'SF Mono', 'Consolas', monospace; }

a.id-value {
  color: var(--green);
  text-decoration: none;
}

a.id-value:hover {
  text-decoration: underline;
  text-shadow: 0 0 8px var(--green-glow);
}

/* Burn List */
.burn-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-height: 300px;
  overflow-y: auto;
}

.burn-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.burn-item:last-child { border-bottom: none; }

.burn-type {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.burn-type.burn {
  background: rgba(173, 255, 47, 0.15);
  color: var(--green);
}

.burn-type.buy {
  background: rgba(0, 150, 255, 0.15);
  color: #4AC3FF;
}

.burn-time {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.burn-tx a {
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.78rem;
  color: var(--green);
  text-decoration: none;
}

.burn-tx a:hover { text-decoration: underline; }

.empty-state {
  padding: 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Log Box */
.log-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  max-height: 260px;
  overflow-y: auto;
  font-family: 'SF Mono', 'Consolas', monospace;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.log-line-burn { color: var(--green); }
.log-line-error { color: #FF6B6B; }
.log-line-start { color: #4AC3FF; }

/* Footer */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-logo {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 3px; }

/* Responsive */
@media (max-width: 768px) {
  header { flex-direction: column; gap: 16px; padding: 16px; }
  .id-row { flex-direction: column; gap: 6px; align-items: flex-start; }
  .id-value { word-break: break-all; }
  main { padding: 20px 16px 60px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
