/* =========================================================
   FONT: DOS / Fixedsys
   ========================================================= */
@font-face {
  font-family: 'DOS';
  font-style: normal;
  font-weight: normal;
  src: url('fonts/Fixedsys500c.eot');
  src: local('☺'),
       url('fonts/Fixedsys500c.woff') format('woff'),
       url('fonts/Fixedsys500c.ttf') format('truetype'),
       url('fonts/Fixedsys500c.svg') format('svg');
}

/* =========================================================
   BASE
   ========================================================= */
:root {
  --bg: #000000;
  --lime: #00ff00;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--lime);
  font-family: 'DOS', monospace;
  -webkit-font-smoothing: none;
  font-smooth: never;
}

/* =========================================================
   LAYOUT
   ========================================================= */
.full-center {
  display: grid;
  place-items: center;
  height: 100vh;
  width: 100%;
  text-align: center;
  overflow: visible;
}

/* =========================================================
   PURE LIME NEON TITLE
   ========================================================= */
.page_title {
  position: relative;
  margin: 0;
  font-size: clamp(3rem, 20vw, 10rem);
  letter-spacing: 1px;
  color: var(--lime);
  -webkit-font-smoothing: none;
  text-rendering: geometricPrecision;

  /* ✳️ reduced glow — sharper letter shapes */
  text-shadow:
    0 0 1px  var(--lime),
    0 0 3px  rgba(0,255,0,0.9),
    0 0 6px  rgba(0,255,0,0.6),
    0 0 12px rgba(0,255,0,0.4),
    0 0 24px rgba(0,255,0,0.25);

  animation:
    lime-breathe 3.8s ease-in-out infinite,
    lime-drift 6s ease-in-out infinite alternate;
  will-change: text-shadow, transform;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes lime-breathe {
  0%, 100% {
    text-shadow:
      0 0 1.5px var(--lime),
      0 0 4px  rgba(0,255,0,0.9),
      0 0 10px rgba(0,255,0,0.7),
      0 0 20px rgba(0,255,0,0.45),
      0 0 36px rgba(0,255,0,0.3),
      0 0 60px rgba(0,255,0,0.15);
  }
  50% {
    text-shadow:
      0 0 2px  var(--lime),
      0 0 6px  rgba(0,255,0,1),
      0 0 14px rgba(0,255,0,0.9),
      0 0 28px rgba(0,255,0,0.7),
      0 0 48px rgba(0,255,0,0.5),
      0 0 80px rgba(0,255,0,0.3);
  }
}



/* Slight horizontal/vertical “CRT drift” */
@keyframes lime-drift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-0.02em, 0.01em); }
  40%  { transform: translate(0.02em, -0.01em); }
  60%  { transform: translate(-0.01em, 0.02em); }
  80%  { transform: translate(0.01em, -0.02em); }
  100% { transform: translate(0, 0); }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .page_title {
    animation: none !important;
    transform: none !important;
  }
}

/* Fix glow on iOS / small screens (less blur, more sharp) */
@media screen and (max-width: 800px) {
  .page_title {
    text-shadow:
      0 0 1px  var(--lime),
      0 0 3px  rgba(0,255,0,0.8),
      0 0 6px  rgba(0,255,0,0.6),
      0 0 10px rgba(0,255,0,0.4),
      0 0 20px rgba(0,255,0,0.3);
  }

  @keyframes lime-breathe {
    0%, 100% {
      text-shadow:
        0 0 1px  var(--lime),
        0 0 3px  rgba(0,255,0,0.7),
        0 0 6px  rgba(0,255,0,0.5),
        0 0 10px rgba(0,255,0,0.3);
    }
    50% {
      text-shadow:
        0 0 2px  var(--lime),
        0 0 5px  rgba(0,255,0,1),
        0 0 12px rgba(0,255,0,0.6),
        0 0 22px rgba(0,255,0,0.4);
    }
  }
}
