* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 20%, #172554, transparent 35%),
    #050816;
  color: #e8f0ff;
  font-family: Inter, system-ui, sans-serif;
  min-height: 100vh;
}

#particles {
  position: fixed;
  inset: 0;
  opacity: .5;
}

.console {
  position: relative;
  max-width: 1200px;
  margin: auto;
  padding: 48px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 32px;
}

.orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #8ff, #2563eb 45%, transparent 70%);
  animation: pulse 3s infinite;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148,163,184,.15);
  border-radius: 24px;
  padding: 28px;
  transition: transform .3s, border-color .3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
}

.metric {
  font-size: 48px;
  color: #67e8f9;
}

.timeline-item,
.memory-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #1e293b;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.muted {
  color: #94a3b8;
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    opacity: .8;
  }
}

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

.core {
  position: relative;
  overflow: hidden;
}

.core-orb {
  width: 88px;
  height: 88px;
  position: absolute;
  right: 30px;
  top: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #cffafe, #0ea5e9 45%, transparent 72%);
  opacity: .75;
}

.core.motion-ready .core-orb {
  animation: core-pulse 2.8s ease-in-out infinite;
}

.core.warning .core-orb {
  filter: hue-rotate(70deg);
}

.timeline-item {
  opacity: 0;
  animation: timeline-in .45s ease forwards;
}

@keyframes core-pulse {
  50% {
    transform: scale(1.2);
    opacity: .45;
  }
}

@keyframes timeline-in {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wallet-card {
  overflow: hidden;
}

.orbit {
  position: relative;
  height: 90px;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 35px #38bdf8;
  animation: orbit-core-pulse 2.5s infinite;
}

.orbit-ring {
  position: absolute;
  left: calc(50% - 38px);
  top: calc(50% - 38px);
  width: 76px;
  height: 76px;
  border: 1px solid rgba(103,232,249,.5);
  border-radius: 50%;
  animation: orbit-spin 8s linear infinite;
}

.activity-enter {
  animation: slide-in .45s ease both;
}

.memory-float {
  animation: float-in 1.2s ease both;
}

.motion-ready .orb {
  animation: pulse 3s infinite, glow 4s infinite;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit-core-pulse {
  50% { scale: 1.25; }
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(-18px); }
}

@keyframes float-in {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes glow {
  50% { filter: brightness(1.35); }
}

.core.motion-ready {
  animation: core-breathe 3s ease-in-out infinite;
}

.orbit {
  animation: orbit-spin 12s linear infinite;
}

.timeline-item,
.memory-item {
  animation: item-enter .45s ease both;
}

@keyframes core-breathe {
  50% {
    filter: brightness(1.35);
    transform: scale(1.06);
  }
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes item-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
