:root { --neon:#00ff88; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  overflow: hidden;
}


#matrix-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #000;
}


.bg-image {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
    url('../img/hunterneo-bg.jpg') no-repeat center center;
  background-size: contain;
  background-attachment: fixed;
  transform: scale(1);
  animation: bgZoom 18s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

@keyframes bgZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}


.content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

h1 {
  font-size: 3em;
  margin: 0;
  color: var(--neon);
  text-shadow: 0 0 5px var(--neon), 0 0 10px var(--neon), 0 0 20px var(--neon);
  animation: neonPulse 2s infinite alternate;
}

.terminal {
  margin-top: 14px;
  font-size: 1.15em;
  opacity: .95;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.terminal::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 1.1em;
  margin-left: 6px;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  vertical-align: -2px;
  animation: blink .9s steps(1) infinite;
}


a.button {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 30px;
  font-size: 1.05em;
  font-weight: bold;
  color: var(--neon);
  background: transparent;
  border: 2px solid var(--neon);
  border-radius: 8px;
  text-decoration: none;
  text-shadow: 0 0 5px var(--neon);
  box-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon) inset;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;

  
  animation: glowPulse 7s infinite;
}
a.button:hover {
  background: var(--neon);
  color: #000;
  box-shadow: 0 0 20px var(--neon), 0 0 40px var(--neon);
  transform: translateY(-1px);
}

@keyframes neonPulse {
  from { text-shadow: 0 0 5px var(--neon), 0 0 10px var(--neon), 0 0 20px var(--neon); }
  to   { text-shadow: 0 0 20px var(--neon), 0 0 40px var(--neon), 0 0 60px var(--neon); }
}
@keyframes blink { 50% { opacity: 0; } }

@keyframes glowPulse {
  0%, 85%, 100% {
    box-shadow: 0 0 10px var(--neon), 0 0 20px var(--neon) inset;
  }
  90% {
    box-shadow: 0 0 20px var(--neon), 0 0 40px var(--neon),
                0 0 60px var(--neon), 0 0 80px var(--neon);
  }
  95% {
    box-shadow: 0 0 15px var(--neon), 0 0 30px var(--neon),
                0 0 50px var(--neon);
  }
}


@media (prefers-reduced-motion: reduce) {
  .bg-image { animation: none !important; transform: none !important; }
  .terminal::after { display: none; }
  a.button { animation: none !important; }
}

.site-footer {
  position: fixed;          
  left: 0; right: 0; bottom: 0;
  z-index: 3;               
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  border-top: 1px solid rgba(0,255,136,.25);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  text-align: center;
  font-size: .9em;
  color: #cde;
}

.site-footer strong {
  color: var(--neon);
  text-shadow: 0 0 6px var(--neon);
}


@media (max-width: 420px) {
  .footer-inner { font-size: .8em; padding: 8px 12px; }
}
