* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      height: 100%;
      
      color: #c00;                /* blood red */
      font-family: 'VT323', monospace;
      font-size: 20px;            /* large pixels feel */
      image-rendering: optimizeSpeed; /* keep any future images crisp */
      overflow: hidden;
    }

    body {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      padding: 2rem;
      background:
        radial-gradient(circle at 30% 20%, #200000 0%, transparent 40%),
        radial-gradient(circle at 70% 80%, #400000 0%, transparent 50%),
        #000;
    }

    header {
      text-align: center;
      margin-top: -4rem;
      margin-bottom: 4rem;
    }

    h1 {
      font-size: 3.2rem;
      letter-spacing: 0.35em;
      text-shadow:
        0 0 8px #800,
        0 0 16px #c00,
        0 0 32px #800;
      animation: glitch 3s infinite steps(2);
      animation-delay: var(--glitch-delay, 5s);
      margin-bottom: 0.4em;
    }

    .subtitle {
      font-size: 1.8rem;
      letter-spacing: 0.25em;
      opacity: 0.85;
      text-shadow: 0 0 10px #400;
    }

    .menu {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      max-width: 900px;
      width: 100%;
      padding: 0 1rem;
    }

    .btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      background: transparent;
      border: 3px solid #c00;
      color: #c00;
      font-size: 1.4rem;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      transition: all 0.15s;
      box-shadow: 0 0 12px rgba(200,0,0,0.3);
      overflow: hidden;
    }

    .btn:hover,
    .btn:focus {
      background: #c00;
      color: #000;
      box-shadow: 0 0 30px #f00,
                  inset 0 0 20px #800;
      transform: scale(1.05);
    }

    .btn::before {
      content: ">";
      position: absolute;
      right: 18px;
      opacity: 0.4;
      font-size: 1.6rem;
    }

    .btn:hover::before {
      opacity: 1;
      right: 12px;
    }

    .retroline {
      position: fixed;                /* top/right/bottom/left = 0 */
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      pointer-events: none;
      background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(255, 0, 0, 0.1) 2px,
        rgba(255, 0, 0, 0.05) 4px
      );
      z-index: 10;
    }

    .scanline {
      position: fixed;                /* top/right/bottom/left = 0 */
      height: 60px;               /* ← this controls bar thickness */
      top: -120px;                 /* start fully above viewport */
      left: 0;
      right: 0;
      pointer-events: none;
      background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(255, 0, 0, 0.3) 2px,
        rgba(255, 0, 0, 0.14) 4px
      );
      animation: scan 6s linear infinite;
      z-index: 10;
    }
    
    @keyframes scan {
      0%   { transform: translateY(0);    }
      100% { transform: translateY(600vh); }   /* or calc(100vh + 120px) if you want no cutoff */
    }

    @keyframes glitch {
      0%, 100% { transform: translate(0); }
      0.1%  { transform: translate(-128px, 8px); }
      0.2%  { transform: translate(128px, -16px); }
      0.3%  { transform: translate(-512px, 16px); }
      0.4%  { transform: translate(512px, 16px); }
      0.5%  { transform: translate(-128px, -8px); }
      0.6%  { transform: translate(128px, 0px); }
      0.7%  { transform: translate(0px, 0px); }
    }

    footer {
      position: fixed;
      bottom: 1rem;
      font-size: 1.1rem;
      opacity: 0.5;
      letter-spacing: 0.15em;
    }