.terminal {
    width: 100%;
    max-width: 800px;
    background-color: rgba(12, 12, 12, 0.95);
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.08), 
                0 0 15px rgba(255, 255, 255, 0.05),
                0 2px 5px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
    margin: 30px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.terminal:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.12), 
                0 0 20px rgba(255, 255, 255, 0.08),
                0 5px 10px rgba(0, 0, 0, 0.6);
}

.terminal::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.terminal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: glitch 2s infinite;
    pointer-events: none;
    z-index: -1;
}

.terminal-header {
    background-color: rgba(20, 20, 20, 0.9);
    padding: 10px 15px;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    font-size: 14px;
    color: #f0f0f0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.terminal-title::before {
    content: "//";
    margin-right: 6px;
    color: rgba(255, 255, 255, 0.6);
}

.terminal-header::after {
    content: "SEC LVL: 5";
    font-size: 10px;
    color: #ff3366;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    font-family: 'Press Start 2P', 'Courier New', monospace;
    letter-spacing: 0px;
}

.terminal-content {
    padding: 25px;
    background-image: repeating-linear-gradient(
        rgba(20, 20, 20, 0.05) 0px,
        rgba(20, 20, 20, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
}

.command-line {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 14px;
    position: relative;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.4;
    transition: opacity 0.3s ease;
}

.command-line::before {
    content: "";
    color: #f0f0f0;
    font-weight: bold;
}

.cmd-prompt {
    color: #e0e0e0;
    font-weight: bold;
}

.cmd-function {
    color: #ff3366;
    font-weight: bold;
}

.cmd-param {
    color: #e0e0e0;
    font-style: italic;
}

.cmd-value {
    color: #cccccc;
}

.cmd-number {
    color: #ff3366;
}

.cmd-comment {
    color: #888888;
    font-style: italic;
}

.cursor-blink {
    animation: cursor-blink 1s step-end infinite;
    display: inline-block;
    color: #f0f0f0;
    font-weight: bold;
}

