/* Template 57 — Terminal Hacker: scan line + CRT lines + glow effects */
@keyframes terminalScanLine {
  0%   { top: -2px; }
  100% { top: 100%; }
}

@keyframes terminalBlink {
  0%, 49%  { opacity: 1; }
  50%, 100% { opacity: 0.6; }
}

.profile-preview {
  position: relative;
  overflow: hidden;
}

/* Scan line */
.profile-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 255, 65, 0.4) 50%, transparent 100%);
  animation: terminalScanLine 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* CRT horizontal lines */
.profile-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 255, 65, 0.02) 3px,
    rgba(0, 255, 65, 0.02) 6px
  );
  pointer-events: none;
  z-index: 1;
}

.profile-container {
  z-index: 10;
}

.profile-header {
  animation: terminalBlink 2s step-end infinite;
}

.btn {
  transition: all 0.2s ease;
}

.btn:hover {
  background-color: rgba(0, 255, 65, 0.12) !important;
  box-shadow: 0 0 12px rgba(0, 255, 65, 0.4), 0 0 24px rgba(0, 255, 65, 0.15);
}
