* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #0f0;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    height: 100vh;
}

#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.login-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    text-align: center;
    background: rgba(0, 0, 0, 0.95);
    padding: 60px;
    border: 2px solid #0f0;
    border-radius: 10px;
    box-shadow: 0 0 40px #0f0;
}

.matrix-title {
    color: #0f0;
    font-size: 48px;
    margin-bottom: 40px;
    text-shadow: 0 0 20px #0f0;
    letter-spacing: 8px;
}

.login-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #0f0;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    text-align: center;
}

.login-form input::placeholder {
    color: rgba(0, 255, 0, 0.5);
}

.login-form button {
    width: 100%;
    padding: 15px;
    background: #0f0;
    color: #000;
    border: none;
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.login-form button:hover {
    background: #0c0;
    box-shadow: 0 0 20px #0f0;
}

.terminal {
    position: relative;
    z-index: 10;
    width: 80%;
    max-width: 1000px;
    height: 75vh;
    margin: 10vh auto;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #0f0;
    border-radius: 8px;
    box-shadow: 0 0 30px #0f0;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    background: #0f0;
    color: #000;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px 6px 0 0;
}

.terminal-title {
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 2px;
}

.terminal-buttons span {
    margin-left: 15px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    color: #0f0;
    font-size: 14px;
    line-height: 1.8;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #0f0;
}

.prompt {
    color: #0f0;
    margin-right: 10px;
    font-weight: bold;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
}

.terminal-input::selection {
    background: #0f0;
    color: #000;
}

.command-line {
    color: #0c0;
    font-weight: bold;
}

.output-line {
    color: #0f0;
    margin: 5px 0;
}

.error-line {
    color: #f00;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #0f0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0c0;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-input {
    animation: none;
}

.terminal-input:focus {
    caret-color: #0f0;
}
