/* terminal.css - Terminal-style components and sections */
.terminal {
    background: var(--terminal-bg);
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.terminal-header {
    background: #2a2a2a;
    padding: 10px 15px;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red { background: #ff5f56; }
.terminal-button.yellow { background: #ffbd2e; }
.terminal-button.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    font-size: 0.9em;
    opacity: 0.7;
}

.terminal-body {
    padding: 20px;
}

.terminal-line {
    margin-bottom: 10px;
}

.prompt {
    color: var(--terminal-green);
    margin-right: 10px;
}

.command {
    color: var(--accent-purple);
}

.output {
    margin-left: 20px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill {
    background: rgba(154, 89, 182, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid var(--accent-purple);
    transition: all 0.3s;
}

.skill:hover {
    background: rgba(154, 89, 182, 0.4);
    transform: translateY(-2px);
}

/* Games Section Styles */
.games {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'Courier New', monospace;
}

.process-header {
    display: flex;
    font-weight: bold;
    color: var(--accent-green);
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    margin-bottom: 8px;
}

.game-item {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(0, 255, 0, 0.03);
    border-left: 2px solid transparent;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9em;
}

.game-item:hover {
    background: rgba(0, 255, 0, 0.08);
    border-left-color: var(--accent-green);
    transform: translateX(3px);
}

.ps-col {
    min-width: 60px;
    text-align: left;
    margin-right: 15px;
    color: var(--text-color);
}

.ps-col:first-child {
    min-width: 50px;
}

.ps-col:nth-child(2), .ps-col:nth-child(3), .ps-col:nth-child(4) {
    min-width: 45px;
    text-align: right;
}

.game-name {
    font-weight: bold;
    color: var(--accent-green);
    min-width: 120px;
    margin-right: 15px;
}

.game-desc {
    color: var(--terminal-green);
    font-style: italic;
    opacity: 0.9;
}

/* Projects Section */
.section-title {
    color: var(--accent-green);
    margin-bottom: 20px;
}

.commit {
    background: var(--terminal-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-green);
    transition: transform 0.3s;
}

.commit:hover {
    transform: translateX(5px);
}

.commit-hash {
    color: var(--accent-purple);
    font-size: 0.9em;
    margin-bottom: 5px;
}

.commit-message {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.commit-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9em;
    opacity: 0.7;
}

.commit-tags {
    color: var(--accent-green);
}

/* Social Section */
.social {
    margin-top: 40px;
}

.code-block {
    background: var(--terminal-bg);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
}

.comment { color: #6a9955; }
.keyword { color: #c586c0; }
.variable { color: #9cdcfe; }
.property { color: #9cdcfe; }
.string { color: #ce9178; }

.string a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.string a:hover {
    color: var(--accent-green);
}

/* JSON output styling for jq command */
.json-output {
    margin: 0;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.json-key { color: #9cdcfe; }
.json-string { color: #ce9178; }
.json-brace { color: #ffd700; }
.json-colon { color: #ffffff; }
.json-comma { color: #ffffff; }

.json-string a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.json-string a:hover {
    color: var(--accent-green);
}

/* Projects section styling */
.projects {
    font-family: 'Fira Code', 'Courier New', monospace;
    margin-top: 10px;
}

.projects-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 20px;
    padding: 8px 0;
    border-bottom: 1px solid var(--terminal-green);
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--terminal-green);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

.project-col {
    text-align: left;
}

.project-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 20px;
    padding: 8px 0;
    align-items: center;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.project-item:hover {
    border-left: 3px solid var(--accent-purple);
    background: rgba(138, 43, 226, 0.1);
    padding-left: 10px;
    margin-left: -13px;
    border-radius: 0 4px 4px 0;
}

.project-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95em;
}

.project-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.project-status.running {
    background: rgba(39, 201, 63, 0.2);
    color: #27c93f;
    border: 1px solid #27c93f;
}

.project-status.healthy {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    border: 1px solid #00ffff;
}

.project-status.beta {
    background: rgba(255, 189, 46, 0.2);
    color: #ffbd2e;
    border: 1px solid #ffbd2e;
}

.project-status.audited {
    background: rgba(138, 43, 226, 0.2);
    color: var(--accent-purple);
    border: 1px solid var(--accent-purple);
}

.project-status.maintenance {
    background: rgba(255, 95, 86, 0.2);
    color: #ff5f56;
    border: 1px solid #ff5f56;
}

.project-role {
    color: var(--accent-green);
    font-style: italic;
    font-size: 0.9em;
}

.project-link a {
    color: var(--terminal-green);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid var(--terminal-green);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-link a:hover {
    background: var(--terminal-green);
    color: #000000;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
}

.project-description {
    grid-column: 1 / -1;
    color: #888888;
    font-size: 0.85em;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-left: 20px;
    border-left: 2px solid #333333;
    line-height: 1.4;
}

.project-item:hover + .project-description {
    color: #aaaaaa;
    border-left-color: var(--accent-purple);
}

/* Responsive design for projects */
@media (max-width: 768px) {
    .projects-header,
    .project-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }
    
    .projects-header {
        display: none;
    }
    
    .project-item {
        background: rgba(0, 0, 0, 0.3);
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 6px;
        border-left: 3px solid var(--terminal-green);
    }
    
    .project-name {
        font-size: 1.1em;
        margin-bottom: 8px;
        display: block;
    }
    
    .project-status,
    .project-role,
    .project-link {
        display: block;
        margin-bottom: 8px;
    }
    
    .project-description {
        margin-top: 10px;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #333333;
        padding-top: 10px;
    }
}
