
    @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');

    body {
      background: #000000;
      color: #0f0;
      font-family: 'Source Code Pro', monospace;
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }

    .terminal {
      background: linear-gradient(180deg, #000000 0%, #010d00 90%);
      border: 3px solid #00ff00;
      border-radius: 12px;
      box-shadow: 0 0 40px #00ff00;
      width: 100%;
      max-width: 480px;
      padding: 2rem 2.5rem;
      position: relative;
    }

    .flicker-overlay {
      pointer-events: none;
      position: fixed;
      inset: 0;
      background: repeating-linear-gradient(
        0deg,
        rgba(0,255,0,0.04),
        rgba(0,255,0,0.04) 2px,
        transparent 2px,
        transparent 4px
      );
      animation: flicker 3s infinite;
      mix-blend-mode: screen;
      z-index: 1000;
    }

    @keyframes flicker {
      0%, 100% { opacity: 0.1; }
      50% { opacity: 0.3; }
    }

    .glitch {
      position: relative;
      color: #0f0;
      font-weight: 700;
      font-size: 2rem;
      letter-spacing: 3px;
      text-align: center;
      user-select: none;
      margin-bottom: 1.5rem;
    }
    .glitch::before,
    .glitch::after {
      content: attr(data-text);
      position: absolute;
      left: 0;
      right: 0;
      opacity: 0.6;
      clip: rect(0, 900px, 0, 0);
    }
    .glitch::before {
      animation: glitchTop 2s infinite linear alternate-reverse;
      color: #0f0;
      top: -2px;
      left: 2px;
    }
    .glitch::after {
      animation: glitchBottom 2s infinite linear alternate-reverse;
      color: #0f0;
      top: 2px;
      left: -2px;
    }

    @keyframes glitchTop {
      0% { clip: rect(0, 900px, 5px, 0); transform: translate(0); }
      50% { clip: rect(5px, 900px, 10px, 0); transform: translate(-2px, -2px); }
      100% { clip: rect(0, 900px, 5px, 0); transform: translate(0); }
    }
    @keyframes glitchBottom {
      0% { clip: rect(15px, 900px, 20px, 0); transform: translate(0); }
      50% { clip: rect(10px, 900px, 15px, 0); transform: translate(2px, 2px); }
      100% { clip: rect(15px, 900px, 20px, 0); transform: translate(0); }
    }

    label {
      display: block;
      font-size: 0.875rem;
      margin-bottom: 0.25rem;
      color: #0f0;
      user-select: none;
    }

    input[type="text"],
    input[type="number"] {
      background: transparent;
      border: 1.5px solid #0f0;
      color: #0f0;
      font-family: 'Source Code Pro', monospace;
      font-size: 1rem;
      padding: 0.5rem 0.75rem;
      border-radius: 8px;
      outline: none;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
      width: 100%;
      user-select: text;
    }
    input[type="text"]:focus,
    input[type="number"]:focus {
      border-color: #00ff00;
      box-shadow: 0 0 8px #00ff00;
    }

    button {
      background: #0f0;
      color: #000;
      font-family: 'Source Code Pro', monospace;
      font-weight: 700;
      letter-spacing: 1.5px;
      padding: 0.75rem;
      border-radius: 10px;
      width: 100%;
      cursor: pointer;
      transition: background 0.3s ease, box-shadow 0.3s ease;
      border: none;
      user-select: none;
      text-transform: uppercase;
      margin-top: 1rem;
    }
    button:hover {
      background: #00ff00;
      box-shadow: 0 0 20px #00ff00;
    }

    #output {
      margin-top: 1.5rem;
      font-size: 0.95rem;
      min-height: 4rem;
      white-space: pre-wrap;
      border: 1px solid #0f0;
      padding: 1rem;
      border-radius: 10px;
      background: #011001;
      box-shadow: 0 0 15px #008000;
      font-family: 'Source Code Pro', monospace;
      position: relative;
      user-select: text;
    }

    #output.blinking-cursor::after {
      content: '|';
      animation: blink 1s infinite;
      margin-left: 4px;
      color: #0f0;
      position: absolute;
      right: 1rem;
      bottom: 1rem;
      font-weight: bold;
    }

    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0; }
    }