.header {
  background: rgba(19, 22, 31, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--pulse));
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

.brand h1 {
  font-size: 18px;
}

.tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 22px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--positive);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.dashboard-main,
.dashboard-side {
  min-height: 400px;
}

.dashboard h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.table-container {
  min-height: 300px;
}

.dashboard-grid.two-col {
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

.chart-container {
  min-height: 250px;
  width: 100%;
}

.chart-tall {
  height: 400px;
}

.chart-medium {
  height: 300px;
}

.why-pulsechain {
  margin-top: 40px;
}

.why-pulsechain h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.token-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.token-title {
  display: flex;
  align-items: center;
  gap: 16px;
}

.token-icon.large {
  width: 56px;
  height: 56px;
  font-size: 28px;
}

.token-symbol {
  color: var(--text-muted);
  font-size: 18px;
}

.token-address-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 13px;
}

.token-address-bar .btn-sm {
  padding: 4px 10px;
  font-size: 12px;
}

.token-price {
  text-align: right;
}

.token-price .stat-value {
  font-size: 28px;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer a {
  text-decoration: underline;
}

.footer-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 260px;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 110;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
}

.mobile-nav a:hover {
  background: var(--bg-card);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 105;
}

body.mobile-nav-open .mobile-nav {
  transform: translateX(0);
}

body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .dashboard-grid,
  .dashboard-grid.two-col {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: grid;
    place-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
    gap: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .token-header {
    flex-direction: column;
  }

  .token-price {
    text-align: left;
    width: 100%;
  }
}
