/* tokens: bg #050505, console glow #4ec8ff, ink #f2f2f0, spacing 12/20/32px, radius 0, motion: one z-drift loop */

@font-face {
  font-family: "Chewy";
  src: url("assets/fonts/chewy-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("assets/fonts/azeret-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: #050505;
  overflow: hidden;
}

body {
  font-family: "Azeret Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #f2f2f0;
}

.stage {
  position: relative;
  height: 100svh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 16px;
}

.bug {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: "Chewy", cursive;
  font-size: 15px;
  letter-spacing: 1px;
  color: #4ec8ff;
  opacity: 0.55;
  text-shadow: 0 0 6px rgba(78, 200, 255, 0.4);
  pointer-events: none;
}

.frame {
  position: relative;
  width: 100%;
  max-width: min(620px, 72svh, 72vh);
  aspect-ratio: 1 / 1;
  flex: 0 1 auto;
}

.frame-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zdrift {
  position: absolute;
  top: 20%;
  right: 6%;
  font-family: "Chewy", cursive;
  font-size: clamp(20px, 4vw, 34px);
  color: #6fd6ff;
  text-shadow: 0 0 10px rgba(111, 214, 255, 0.6);
  opacity: 0;
  animation: rise 3.6s ease-in infinite;
  animation-delay: 1.2s;
}

@keyframes rise {
  0%   { opacity: 0; transform: translate(0, 0) scale(0.8); }
  12%  { opacity: 0.85; }
  100% { opacity: 0; transform: translate(14px, -70px) scale(1.15); }
}

.cc-bar {
  width: 100%;
  max-width: 620px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(78, 200, 255, 0.25);
  padding: 12px 16px;
  flex: 0 0 auto;
}

.cc-line {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #f2f2f0;
}

.cc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.ticker {
  font-weight: 500;
  color: #6fd6ff;
  font-size: 13px;
}

.ca {
  font: inherit;
  font-family: "Azeret Mono", monospace;
  font-size: 13px;
  color: #f2f2f0;
  background: transparent;
  border: 1px solid rgba(242, 242, 240, 0.35);
  padding: 4px 8px;
  cursor: pointer;
}
.ca:hover { border-color: #6fd6ff; }
.ca.copied { color: #6fd6ff; border-color: #6fd6ff; }

.link {
  font-size: 12px;
  color: #f2f2f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 242, 240, 0.35);
}
.link:hover { color: #6fd6ff; border-color: #6fd6ff; }

@media (prefers-reduced-motion: reduce) {
  .zdrift { animation: none; opacity: 0; }
}

@media (max-width: 480px) {
  .stage { gap: 14px; padding: 14px 10px; }
  .cc-line { font-size: 11px; }
}
