@font-face { font-family: 'Share Tech Mono'; font-weight: 400; font-display: swap; src: url('/fonts/share-tech-mono-400.ttf') format('truetype'); }
@font-face { font-family: 'VT323'; font-weight: 400; font-display: swap; src: url('/fonts/vt323-400.ttf') format('truetype'); }

.wrap {
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: 'Share Tech Mono', monospace;
}

.screen {
  background: #111;
  border: 2px solid #333;
  border-radius: 4px;
  width: 540px;
  min-height: 960px;
  overflow: hidden;
  box-shadow: 0 0 0 6px #1a1a1a, 0 0 0 7px #2a2a2a;
  display: flex;
  flex-direction: column;
}

.titlebar {
  background: #1e1e1e;
  border-bottom: 1px solid #333;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #28c840; }

.tab-label {
  margin-left: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.05em;
}

.body {
  padding: 1rem 3.2rem 3rem;
  flex: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 32px,
    rgba(255,255,255,0.012) 32px,
    rgba(255,255,255,0.012) 33px
  );
  display: flex;
  flex-direction: column;
}

.error-code {
  font-family: 'VT323', monospace;
  font-size: 148px;
  color: #ff4d6d;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0;
  text-shadow: 4px 4px 0 #7a0020;
}

.error-sub {
  font-family: 'VT323', monospace;
  font-size: 32px;
  color: #666;
  margin: 0.2rem 0 2.2rem;
  letter-spacing: 2px;
}

.divider {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 0 0 2rem;
}

.terminal-block {
  background: #0d0d0d;
  border: 1px solid #2a2a2a;
  border-radius: 3px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}

.t-line {
  font-size: 12.5px;
  color: #4ade80;
  line-height: 2;
  display: block;
}
.t-line .dim { color: #4a4a4a; }
.t-line .val { color: #a78bfa; }
.t-line .warn { color: #fb923c; }
.t-line .ok { color: #4ade80; }

.progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.progress-bar {
  flex: 1;
  height: 4px;
  background: #1e1e1e;
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 94%;
  background: linear-gradient(90deg, #a78bfa, #ff4d6d);
  border-radius: 2px;
}
.progress-pct {
  font-size: 11px;
  color: #fb923c;
  min-width: 30px;
}

.aard-img {
  display: block;
  width: 320px;
  margin: 0 auto 2rem;
  filter: brightness(0.92);
}

.show-name {
  font-family: 'VT323', monospace;
  font-size: 54px;
  color: #e2e8f0;
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 1px;
  text-align: center;
}

.show-name .accent { color: #ff4d6d; }

.show-detail {
  font-size: 13px;
  color: #6b7280;
  line-height: 2;
  margin: 0 0 1.2rem;
  text-align: center;
}
.show-detail strong { color: #a78bfa; font-weight: normal; }

.cta-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.cta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #0a0a0a;
  background: #ff4d6d;
  padding: 10px 28px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  text-decoration: none;
}
.cta:hover {
  background: #ff6b84;
}

.countdown-block {
  text-align: center;
  margin-bottom: 1.2rem;
}
.countdown-label {
  font-size: 11px;
  color: #4a4a4a;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.countdown-digits {
  font-family: 'VT323', monospace;
  font-size: 48px;
  color: #a78bfa;
  line-height: 1;
  letter-spacing: 2px;
  margin: 0;
}
.countdown-live {
  font-family: 'VT323', monospace;
  font-size: 36px;
  color: #4ade80;
  letter-spacing: 2px;
  animation: blink 1s step-end infinite;
  margin: 0;
}

.caveat {
  text-align: center;
  font-size: 11px;
  color: #6e6e6e;
  letter-spacing: 0.06em;
  margin-top: auto;
  padding-top: 1rem;
}

.ticker {
  border-top: 2px solid #ff4d6d;
  background: #1a0008;
  padding: 10px 16px;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-inner {
  display: inline-block;
  animation: aard-scroll 26s linear infinite;
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.1em;
  font-weight: bold;
}

@keyframes aard-scroll {
  from { transform: translateX(100%); }
  to { transform: translateX(-160%); }
}

.aard-blink { animation: aard-blink 1.2s step-end infinite; }
@keyframes aard-blink { 50% { opacity: 0; } }

.countdown-live {
  animation: aard-blink 1s step-end infinite;
}
