:root {
    --size: 1.3;
    --color: #00ff41;
    --background: #0d0d0d;
    --font: 'Fira Code', 'Courier New', monospace;
}

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap');

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: var(--background);
}

.terminal {
    --color: #00ff41;
    --background: #0d0d0d;
    --link-color: #00d4ff;
    --font: 'Fira Code', 'Courier New', monospace;
}

.terminal .cmd .cmd-cursor {
    background-color: #00ff41;
}

.terminal .cmd .cmd-cursor.cmd-blink {
    animation: terminal-blink 1s infinite;
}

@keyframes terminal-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal a {
    color: #00d4ff !important;
}

.terminal a:hover {
    text-decoration: underline;
}

.ascii-art {
    color: #00ff41;
    line-height: 1.2;
}

.command {
    cursor: pointer;
}

.command:hover {
    text-decoration: underline;
}

.directory {
    cursor: pointer;
}

/* Video Modal */
#video-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

#video-modal video {
    max-width: 80vw;
    max-height: 70vh;
    border: 2px solid #00ff41;
    position: relative;
    z-index: 1000000;
}

#video-modal .video-close {
    position: fixed;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #00ff41;
    cursor: pointer;
    z-index: 1000001;
    font-weight: bold;
}

#video-modal .video-close:hover {
    color: #fff;
}

/* Scanline effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
}

