/* ══════════════════════════════
   OUTRO - S07
══════════════════════════════ */
#sec-outro {
  background: #000; color: #00cc00;
  font-family: 'Courier New', Courier, monospace;
}

#outro-prog { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 9000; background: rgba(0,200,0,0.1); }
#outro-prog-fill { height: 100%; width: 0; background: #00cc00; transition: width 0.4s; }

#outro-restart-btn {
  position: absolute; top: 10px; right: 12px; z-index: 9001;
  font-family: 'Courier New', monospace; font-size: 11px;
  padding: 5px 12px; background: transparent; cursor: pointer;
  border: 1px solid rgba(0,200,0,0.2); color: rgba(0,200,0,0.35);
  transition: all 0.2s;
}
#outro-restart-btn:hover { color: #00cc00; border-color: rgba(0,200,0,0.5); }

#outro-terminal {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  overflow: hidden;
}

#outro-term-lines {
  width: 100%;
  max-width: 750px;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  max-height: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#outro-term-lines::-webkit-scrollbar {
  display: none;
}

.outro-tl {
  font-size: clamp(13px, 1.5vw, 17px);
  line-height: 1.9;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: pre;
}
.outro-tl.show { opacity: 1; }
.outro-tl.dim  { opacity: 0.25; color: #004400; }
.outro-tl.bright { color: #00ff41; text-shadow: 0 0 8px rgba(0,255,60,0.4); }
.outro-tl.gold { color: #c8a800; }
.outro-tl.gap { line-height: 0.9; }

.outro-caret {
  display: inline-block; width: 10px; height: 1.1em;
  background: #00cc00; vertical-align: middle;
  animation: outro-blink 1.1s step-end infinite;
  margin-left: 2px;
}
@keyframes outro-blink { 50% { opacity: 0; } }

/* ══════════════════════════════
   CRT TURN-ON EFFECT
══════════════════════════════ */
#outro-crt-flash {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  background: #00ff41;
  box-shadow: 0 0 50px #00ff41;
  transform: translate(-50%, -50%) scale(0, 0);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}

.play-crt-on {
  animation: crt-on-anim 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes crt-on-anim {
  0%   { transform: translate(-50%, -50%) scale(0.005, 0.002); opacity: 1; }
  40%  { transform: translate(-50%, -50%) scale(1, 0.002); opacity: 1; }
  75%  { transform: translate(-50%, -50%) scale(1, 1); opacity: 1; background: #00ff41; }
  100% { transform: translate(-50%, -50%) scale(1, 1); opacity: 0; background: transparent; }
}