:root {
/* Terminal Color Palette */
--bg-primary: #0a0a0a;
--bg-secondary: #111111;
--bg-terminal: #0d1117;
--bg-elevated: #161b22;
--text-primary: #e6edf3;
--text-secondary: #8b949e;
--text-muted: #484f58;
--accent-green: #00ff00;
--accent-green-dim: #00cc00;
--accent-cyan: #00ffff;
--accent-yellow: #ffdd00;
--accent-red: #ff4444;
--accent-purple: #a855f7;
--border-color: #30363d;
--border-active: #00ff00;
/* Fonts */
--font-mono: "JetBrains Mono", "Fira Code", "Consolas", monospace;
--font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
/* Spacing */
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
/* Animation */
--transition-fast: 150ms ease;
--transition-normal: 250ms ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body,
#root {
height: 100%;
width: 100%;
}
body {
font-family: var(--font-mono);
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
overflow: hidden;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
background: var(--border-color);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* Selection */
::selection {
background: var(--accent-green);
color: var(--bg-primary);
}
/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
color: var(--text-primary);
}
a {
color: var(--accent-cyan);
text-decoration: none;
transition: color var(--transition-fast);
}
a:hover {
color: var(--text-primary);
text-decoration: underline;
}
code {
font-family: var(--font-mono);
background: var(--bg-elevated);
padding: 0.2em 0.4em;
border-radius: 3px;
font-size: 0.9em;
}
/* Utility Classes */
.glow-green {
text-shadow:
0 0 10px var(--accent-green),
0 0 20px var(--accent-green);
}
.glow-cyan {
text-shadow:
0 0 10px var(--accent-cyan),
0 0 20px var(--accent-cyan);
}
/* Animations */
@keyframes blink {
0%,
50% {
opacity: 1;
}
51%,
100% {
opacity: 0;
}
}
@keyframes pulse {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
@keyframes scan-line {
0% {
transform: translateY(-100%);
}
100% {
transform: translateY(100vh);
}
}
.cursor-blink::after {
content: "█";
animation: blink 1s infinite;
color: var(--accent-green);
}
/* Terminal Prompt Effect */
.terminal-prompt::before {
content: "> ";
color: var(--accent-green);
}
/* Status Icons */
.status-pass {
color: var(--accent-green);
}
.status-warn {
color: var(--accent-yellow);
}
.status-block {
color: var(--accent-red);
}
/* ... existing styles ... */
/* ==========================================================================
Security Breach / Soft Jail
========================================================================== */
@keyframes alarmFlash {
0%, 100% { background-color: rgba(255, 0, 0, 0); }
50% { background-color: rgba(255, 0, 0, 0.2); }
}
@keyframes barSlide {
from { transform: translateY(-100%); }
to { transform: translateY(0); }
}
@keyframes crt-flicker {
0% { opacity: 0.9; }
50% { opacity: 1.0; }
100% { opacity: 0.95; }
}
.alarm-active {
animation: alarmFlash 1s infinite;
}
.jail-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 9999;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: #ff0000;
font-family: 'JetBrains Mono', monospace;
pointer-events: all;
backdrop-filter: blur(5px);
}
.jail-bars {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
90deg,
#111,
#111 20px,
#333 40px,
#111 60px
);
opacity: 0.8;
z-index: 10000;
animation: barSlide 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.jail-content {
z-index: 10001;
text-align: center;
background: #000;
border: 4px solid #ff0000;
padding: 3rem;
box-shadow: 0 0 50px rgba(255, 0, 0, 0.5);
animation: crt-flicker 0.1s infinite;
max-width: 600px;
}
.jail-title {
font-size: 3rem;
font-weight: bold;
margin-bottom: 1.5rem;
text-shadow: 2px 2px #fff;
color: #ff0000;
text-transform: uppercase;
}
.jail-message {
font-size: 1.2rem;
color: #ff4444;
margin-bottom: 2rem;
line-height: 1.5;
}
.jail-btn {
background: #ff0000;
color: #000;
border: none;
padding: 1rem 2rem;
font-family: 'JetBrains Mono', monospace;
font-weight: bold;
font-size: 1.2rem;
cursor: pointer;
text-transform: uppercase;
transition: all 0.2s;
}
.jail-btn:hover {
background: #fff;
transform: scale(1.05);
}