/* yukh.net — shared styles */

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

body {
    background: #0d1117;
    color: #00ff41;
    font-family: 'Courier New', 'Lucida Console', monospace;
    font-size: 15px;
    line-height: 1.7;
    min-height: 100vh;
    padding: 20px;
}

/* --- Terminal chrome --- */

.terminal { max-width: 860px; margin: 0 auto; }

.terminal-bar {
    background: #161b22;
    border: 1px solid #30363d;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-btn { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.btn-red { background: #ff5f57; }
.btn-yellow { background: #febc2e; }
.btn-green { background: #28c840; }

.terminal-title { color: #8b949e; font-size: 13px; margin-left: 8px; flex-grow: 1; }
.terminal-title a { color: #8b949e; }
.terminal-title a:hover { color: #ffa657; }

.terminal-body {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 0 0 8px 8px;
    padding: 24px;
}

/* --- Language switch --- */

.lang-switch { display: flex; gap: 8px; font-size: 12px; }
.lang-switch a { color: #8b949e; text-decoration: none; cursor: pointer; transition: color 0.2s; }
.lang-switch a:hover { color: #58a6ff; }
.lang-switch a.active { color: #00ff41; font-weight: bold; }

/* --- Sections --- */

.section { margin: 28px 0; padding-top: 12px; border-top: 1px solid #21262d; }
.section:first-child { border-top: none; margin-top: 0; padding-top: 0; }

.cmd { color: #58a6ff; margin-bottom: 10px; }
.cmd::before { content: 'yukh@net:~$ '; color: #7ee787; }

.output { color: #c9d1d9; padding-left: 4px; }
.highlight { color: #00ff41; }
.dim { color: #8b949e; }
.accent { color: #ffa657; }
.info { color: #58a6ff; }

/* --- Typography --- */

h1 { font-size: 22px; font-weight: bold; color: #00ff41; margin-bottom: 4px; }
h2 { font-size: 16px; color: #8b949e; margin-bottom: 8px; font-weight: normal; }

/* --- Header --- */

.ascii-art {
    color: #00ff41;
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 24px;
    overflow-x: auto;
    text-align: center;
}

.header-row { display: flex; align-items: center; gap: 20px; margin-bottom: 8px; }

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #00ff41;
    box-shadow: 0 0 12px rgba(0, 255, 65, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

/* --- Links (unified) --- */

a {
    color: #58a6ff;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #ffa657;
}

/* --- Links list --- */

.links-list { list-style: none; }
.links-list li { padding: 6px 0; }
.links-list li::before { content: '> '; color: #00ff41; }
.links-list .link-desc { color: #8b949e; font-size: 13px; margin-left: 20px; }

/* --- Back link --- */

.back-link { margin-bottom: 16px; }
.back-link::before { content: '< '; color: #00ff41; }

/* --- Contacts --- */

.contacts-inline { margin-top: 6px; font-size: 13px; }

/* --- Jobs / Experience --- */

.job { margin: 16px 0; padding: 12px 0; border-bottom: 1px dashed #21262d; }
.job:last-child { border-bottom: none; }
.job-company { color: #ffa657; font-weight: bold; }
.job-company a { color: #ffa657; }
.job-company a:hover { opacity: 0.6; }
.job-period { color: #8b949e; font-size: 13px; }
.job-position { color: #7ee787; }
.job-desc { color: #c9d1d9; margin-top: 4px; font-size: 14px; }
.job-desc li { margin-left: 16px; padding: 1px 0; }
.job-desc li::marker { color: #00ff41; }

/* --- Skill tags --- */

.skill-group { margin-bottom: 18px; }
.skill-group-title { color: #7ee787; font-size: 13px; margin-bottom: 4px; }

.skill-tag {
    display: inline-block;
    background: #161b22;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 2px 8px;
    margin: 3px 2px;
    font-size: 13px;
    border-radius: 4px;
}

/* --- Skill bars (index page) --- */

.skill-bar { display: flex; align-items: center; margin: 4px 0; gap: 8px; }
.skill-name { width: 220px; flex-shrink: 0; color: #c9d1d9; }
.bar { color: #00ff41; }
.bar-dim { color: #21262d; }

/* --- Print button --- */

.print-btn {
    display: inline-block;
    background: #161b22;
    border: 1px solid #30363d;
    color: #58a6ff;
    padding: 8px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.print-btn:hover {
    background: #1f2937;
    color: #ffa657;
    border-color: #ffa657;
}

/* --- Copyright --- */

.copyright {
    max-width: 860px;
    margin: 12px auto 0;
    color: #8b949e;
    font-size: 14px;
    text-align: center;
    padding: 8px 0 20px;
}
.copyright a { color: #58a6ff; }
.copyright a:hover { color: #ffa657; }

/* --- Responsive --- */

@media (max-width: 600px) {
    body { font-size: 13px; padding: 10px; }
    .terminal-body { padding: 16px; }
    .ascii-art { font-size: 8px; }
    h1 { font-size: 18px; }
}
