/* =============================================
   SOLANODES — Dashboard Styles
   ============================================= */

/* ── Variables ──────────────────────────────── */
:root {
  --bg-primary: #141414;
  --bg-secondary: #1a1a1a;
  --bg-card: rgba(30, 30, 30, 0.7);
  --bg-card-solid: #1e1e1e;
  --text-primary: #f0ece4;
  --text-secondary: #888;
  --text-muted: #555;
  --accent: #c41e3a;
  --accent-glow: rgba(196, 30, 58, 0.3);
  --accent-light: #df3355;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.25);
  --yellow: #eab308;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Unbounded', sans-serif;
  --transition: 0.2s ease;
}

/* ── Reset ──────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Film grain texture overlay (matches main site) */
body::after {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ── Navigation ─────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: var(--font-logo);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-block;
  object-fit: contain;
  position: relative;
  top: 1px;
}

@keyframes logoPulse {

  0%,
  100% {
    box-shadow: 0 0 8px var(--accent-glow);
  }

  50% {
    box-shadow: 0 0 18px var(--accent-glow), 0 0 32px rgba(196, 30, 58, 0.15);
  }
}

.network-badge {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--yellow);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 4px;
  padding: 2px 8px;
  background: rgba(234, 179, 8, 0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.wallet-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.wallet-btn:hover {
  border-color: var(--accent-light);
  box-shadow: 0 0 24px var(--accent-glow), 0 0 48px rgba(196, 30, 58, 0.1);
  background: rgba(196, 30, 58, 0.08);
}

.wallet-btn.connected {
  border-color: var(--green);
}

.wallet-btn.connected:hover {
  border-color: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.3);
}

.wallet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
  transition: background var(--transition);
}

.wallet-dot.connected {
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    box-shadow: 0 0 6px var(--green-glow);
  }

  50% {
    box-shadow: 0 0 14px var(--green-glow);
  }
}

/* ── Hamburger ──────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Dashboard Layout ───────────────────────── */
.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px 60px;
}

/* ── Stats Bar ──────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
  animation: fadeInUp 0.5s ease-out both;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.stat-highlight {
  border-color: rgba(196, 30, 58, 0.15);
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.06), var(--bg-card));
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.stat-value.accent,
.accent {
  color: var(--accent-light);
}

.stat-value .ready {
  color: var(--green);
}

.stat-value small {
  font-size: 0.65em;
  color: var(--text-secondary);
  font-weight: 400;
}

.penalized {
  color: var(--yellow) !important;
}

/* ── Grid ───────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Cards ──────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.card-header h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  text-transform: uppercase;
}

.badge.live {
  color: var(--green);
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.06);
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    box-shadow: none;
  }

  50% {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
  }
}

.card-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.note-icon {
  font-size: 0.85rem;
}

/* ── Node Tiers ─────────────────────────────── */
.node-tiers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.node-tier {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition);
}

.node-tier:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.tier-icon {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.tier-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tier-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}

.tier-multiplier {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.tier-count {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}

/* ── Action Buttons ─────────────────────────── */
.action-row {
  display: flex;
  gap: 12px;
}

.btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  flex: 1;
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 24px var(--accent-glow), 0 0 40px rgba(196, 30, 58, 0.15);
  transform: translateY(-2px);
}

.btn-secondary {
  flex: 1;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  box-shadow: 0 0 20px var(--accent-glow);
  background: rgba(196, 30, 58, 0.06);
}

.btn-mint {
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-mint:hover {
  background: var(--accent-light);
  box-shadow: 0 4px 24px var(--accent-glow), 0 0 40px rgba(196, 30, 58, 0.15);
  transform: translateY(-2px);
}

.btn:disabled,
.btn-mint:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn.loading,
.btn-mint.loading {
  pointer-events: none;
}

/* ── Button Spinner ─────────────────────────── */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Calculator ─────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.calc-input label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.input-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.input-stepper.small {
  max-width: 130px;
}

.stepper-btn {
  width: 36px;
  height: 38px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.stepper-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.input-stepper input {
  width: 100%;
  min-width: 36px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
}

.input-stepper input::-webkit-outer-spin-button,
.input-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 28px;
}

.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.calc-result-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-result-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.calc-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 4px;
}

/* ── Mint Section ───────────────────────────── */
.mint-tiers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mint-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.015);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mint-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.mint-card[data-tier="0"]:hover {
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.15), 0 0 60px rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.3);
}

.mint-card[data-tier="1"]:hover {
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), 0 0 60px rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
}

.mint-card[data-tier="2"]:hover {
  box-shadow: 0 0 30px rgba(196, 30, 58, 0.18), 0 0 60px rgba(196, 30, 58, 0.08);
  border-color: rgba(196, 30, 58, 0.3);
}

.mint-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mint-tier-badge {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 4px;
}

.mint-tier-badge.seed {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.mint-tier-badge.growth {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.mint-tier-badge.apex {
  color: var(--accent-light);
  background: rgba(196, 30, 58, 0.1);
  border: 1px solid rgba(196, 30, 58, 0.2);
}

.mint-multiplier {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mint-costs {
  display: flex;
  gap: 20px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.mint-cost strong {
  color: var(--text-primary);
}

.mint-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mint-qty label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Protocol Stats ─────────────────────────── */
.protocol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.proto-stat {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proto-stat:nth-child(odd) {
  padding-right: 18px;
}

.proto-stat:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.proto-stat:nth-last-child(-n+2) {
  border-bottom: none;
}

.proto-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.proto-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ── Footer ─────────────────────────────────── */
.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* =============================================
   TOAST NOTIFICATION SYSTEM
   ============================================= */
#toasts {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 320px;
  max-width: 420px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  pointer-events: all;
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.toast-show {
  transform: translateX(0);
  opacity: 1;
}

.toast-hide {
  transform: translateX(120%);
  opacity: 0;
}

.toast-success {
  border-color: rgba(34, 197, 94, 0.25);
}

.toast-error {
  border-color: rgba(239, 68, 68, 0.25);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.toast-content a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.toast-content a:hover {
  color: #fff;
}

.toast-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.toast-error .toast-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.toast-info .toast-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast-progress {
  height: 3px;
  background: var(--accent);
  animation: toastProgress 4.5s linear forwards;
  transform-origin: left;
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

/* =============================================
   REINVEST MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.modal-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reinvest-tier-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.reinvest-tier-btn:hover {
  border-color: var(--accent);
  background: rgba(196, 30, 58, 0.06);
  transform: translateX(4px);
}

.reinvest-tier-icon {
  font-size: 1.3rem;
}

.reinvest-tier-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reinvest-tier-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.reinvest-tier-detail {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dashboard-grid .col-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.dashboard-grid .col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-right {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 20px;
    transition: right 0.3s ease;
    z-index: 150;
  }

  .nav-right.nav-open {
    right: 0;
  }

  .nav-link {
    display: block;
    font-size: 1rem;
    padding: 8px 0;
  }

  .wallet-btn {
    width: 100%;
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    padding: 18px 20px;
  }

  .stat-card .stat-value {
    font-size: 1.3rem;
  }

  .card {
    padding: 24px;
  }

  .calc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calc-results {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .calc-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  .calc-result {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .action-row {
    flex-direction: column;
  }

  .mint-costs {
    flex-direction: column;
    gap: 6px;
  }

  .protocol-grid {
    grid-template-columns: 1fr;
  }

  .proto-stat:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .proto-stat:nth-child(odd) {
    padding-right: 0;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #toasts {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .toast {
    min-width: unset;
    max-width: unset;
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .wallet-btn {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
}