:root {
  --green: #00ff66;
  --green-dim: rgba(0, 255, 102, 0.65);
  --bg: #000000;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  overflow: hidden;
}

#matrix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.banner {
  margin: 0;
  display: inline-block;
  text-align: center;
  font-size: clamp(14px, 2.4vw, 22px);
  line-height: 1.15;
  text-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
  user-select: none;
  white-space: pre;
}

.boot-title {
  margin-top: 2px;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-shadow: 0 0 12px rgba(0, 255, 102, 0.18);
}

.stack {
  margin-top: 6px;
  display: grid;
  gap: 8px;
  align-items: center;
  justify-items: center;
}

.line {
  font-size: 14px;
}

.dim {
  color: var(--green-dim);
}

.loading-gif {
  margin-top: 10px;
  max-width: 280px;
  width: min(70vw, 280px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px rgba(0, 255, 102, 0.18));
}

.gif-link {
  display: inline-block;
  cursor: pointer;
}

/* Reduced motion: disable matrix rain */
@media (prefers-reduced-motion: reduce) {
  #matrix {
    display: none;
  }
}
