/* ===== GLOBAL VARIABLES ===== */

:root {

  --matrix-green: #00ff41;

  --matrix-dark: #050a05;

  --cyan: #00f0ff;

  --red: #ff2a2a;

  --bg-color: #020202;

}

 

body {

  font-family: 'Share Tech Mono', monospace;

  background-color: var(--bg-color);

  color: var(--matrix-green);

  overflow-x: hidden;

  margin: 0;

}

 

/* ===== CRT MONITOR EFFECT ===== */

.crt::before {

  content: " ";

  display: block;

  position: fixed;

  top: 0; left: 0; bottom: 0; right: 0;

  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));

  z-index: 9999;

  background-size: 100% 2px, 3px 100%;

  pointer-events: none;

}

.relative-z { position: relative; z-index: 10; }

 

/* ===== TEXT STYLES & GLOWS ===== */

.text-matrix { color: var(--matrix-green) !important; }

.text-cyan { color: var(--cyan) !important; }

.text-danger { color: var(--red) !important; }

 

.glow-text { text-shadow: 0 0 5px var(--matrix-green); }

.glow-text-cyan { text-shadow: 0 0 8px var(--cyan); }

.glow-text-red { text-shadow: 0 0 8px var(--red); }

 

/* ===== OVERLAYS (Modale) ===== */

.overlay {

  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;

  background: rgba(0, 0, 0, 0.90);

  backdrop-filter: blur(5px);

}

.ceo-overlay { background: rgba(20, 0, 0, 0.95); }

 

/* ===== PANELS ===== */

.hacker-panel {

  background: var(--matrix-dark);

  border: 1px solid rgba(0, 255, 65, 0.3);

  box-shadow: inset 0 0 15px rgba(0, 255, 65, 0.05), 0 0 10px rgba(0, 255, 65, 0.1);

  border-radius: 2px;

  position: relative;

}

.hacker-panel::after { /* Dekoratot rogu */

  content: ''; position: absolute; top: -1px; right: -1px;

  width: 10px; height: 10px; border-top: 2px solid var(--matrix-green); border-right: 2px solid var(--matrix-green);

}

 

/* ===== INPUTS ===== */

.hacker-input {

  background: #000 !important;

  border: 1px solid rgba(0, 255, 65, 0.5) !important;

  color: var(--matrix-green) !important;

  font-family: inherit;

  box-shadow: none !important;

}

.hacker-input:focus { border-color: var(--matrix-green) !important; box-shadow: 0 0 10px rgba(0, 255, 65, 0.3) !important; }

 

/* ===== BUTTONS ===== */

.hacker-btn {

  background: rgba(0, 255, 65, 0.1);

  border: 1px solid var(--matrix-green);

  color: var(--matrix-green);

  font-weight: bold;

  transition: all 0.2s;

  text-transform: uppercase;

}

.hacker-btn:hover { background: var(--matrix-green); color: #000; box-shadow: 0 0 15px var(--matrix-green); }

 

.hacker-btn-outline { background: transparent; border: 1px solid var(--cyan); color: var(--cyan); }

.hacker-btn-outline:hover { background: var(--cyan); color: #000; box-shadow: 0 0 10px var(--cyan); }

 

.hacker-btn-danger { background: rgba(255, 42, 42, 0.1); border: 1px solid var(--red); color: var(--red); }

.hacker-btn-danger:hover { background: var(--red); color: #000; box-shadow: 0 0 15px var(--red); }

 

.choice-btn { text-align: left; padding: 12px 15px; border-left: 4px solid var(--matrix-green); }

.choice-btn:hover { padding-left: 20px; }

 

/* ===== TERMINAL ===== */

.terminal-window {

  height: 180px; overflow-y: auto; font-size: 0.85rem; padding: 10px;

  background: #020202; font-family: 'Share Tech Mono', monospace;

  border-top: 1px solid rgba(0, 255, 65, 0.2);

}

.terminal-window div { margin-bottom: 3px; }

 

/* ===== STATS ===== */

.stat-box { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(0, 255, 65, 0.3); padding-bottom: 6px; font-size: 1.1rem; }

.hacker-progress { background-color: #111; border: 1px solid var(--red); overflow: hidden; }

.threat-bar { box-shadow: 0 0 10px var(--red); transition: width 0.5s ease; }

 

/* ===== ANIMATIONS ===== */

.blink { animation: blinker 1.2s cubic-bezier(0.5, 0, 1, 1) infinite alternate; }

@keyframes blinker { to { opacity: 0; } }

 

.ceo-box { border: 2px solid var(--red); box-shadow: 0 0 30px rgba(255, 0, 0, 0.3); animation: shake 0.4s infinite; background: #0a0000; }

@keyframes shake { 0% { transform: translate(1px, 1px) rotate(0deg); } 20% { transform: translate(-1px, -2px) rotate(-1deg); } 40% { transform: translate(-3px, 0px) rotate(1deg); } 60% { transform: translate(3px, 2px) rotate(0deg); } 80% { transform: translate(1px, -1px) rotate(1deg); } 100% { transform: translate(-1px, 2px) rotate(-1deg); } }

 

.glitch-text { font-size: 2.5rem; font-weight: bold; text-shadow: 3px 3px var(--cyan), -3px -3px var(--red); animation: glitch 2s infinite; }

@keyframes glitch { 2%, 64% { transform: translate(2px,0) skew(0deg); } 4%, 60% { transform: translate(-2px,0) skew(0deg); } 62% { transform: translate(0,0) skew(5deg); } }

 

/* SCROLLBAR */

::-webkit-scrollbar { width: 6px; }

::-webkit-scrollbar-track { background: #050a05; border-left: 1px solid rgba(0,255,65,0.2); }

::-webkit-scrollbar-thumb { background: var(--matrix-green); border-radius: 0; }

::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

 