:root {
    --bg: #0a0a0a;
    --fg: #d4d4d4;
    --accent: #FFC400;
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

main {
    width: 100%;
    max-width: 650px;
}

header {
    margin-bottom: 2rem; 
    border-bottom: 1px dashed #333; 
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.title-group {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.title-group .cursor {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

.langs { font-size: 0.9rem; }
.langs a {
    text-decoration: none;
    margin-left: 0.5rem;
    color: #444; 
    transition: all 0.1s ease;
    padding: 0 2px;
}

.langs a:hover { 
    background-color: var(--accent);
    color: #000 !important; 
}

.langs a.active { color: var(--accent); font-weight: 700; }

h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.05em; color: #fff; }
h2 { font-size: 1.1rem; color: var(--accent); margin-bottom: 1rem; margin-top: 1.5rem; font-weight: bold; }

section {
    margin-bottom: 1.5rem; 
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed #333;
}

section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sys-info { 
    display: grid; 
    grid-template-columns: max-content auto; 
    gap: 0.25rem 1.5rem; 
    margin-bottom: 1rem; 
}

.key { color: #555; font-weight: bold; }
.val { color: var(--fg); }

ul { list-style: none; }
li { margin-bottom: 1.5rem; }

a { color: var(--fg); text-decoration: none; transition: all 0.1s ease; }
a:hover {
    background-color: var(--accent);
    color: #000 !important; 
}

li > a, .degree, .proj-title {
    display: inline-block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

li p, .edu-project p {
    color: #888; 
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 95%;
}

.edu-block { margin-bottom: 1.5rem; }
.edu-header {
    display: flex;
    flex-wrap: wrap; 
    align-items: baseline;
    gap: 0 10px;
    margin-bottom: 0.5rem;
}
.uni { color: var(--accent); font-weight: bold; font-size: 0.85rem; text-transform: uppercase; }
.year { color: #555; font-size: 0.85rem; white-space: nowrap; }
.edu-project { margin-top: 1rem; }
.edu-project .label {
    display: block;
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.contact-grid { 
    display: grid; 
    grid-template-columns: 80px auto; 
    gap: 0.5rem 1rem;
    align-items: baseline;
}

.secondary-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #222; 
}

.secondary-contact .note {
    display: block;
    margin-bottom: 0.75rem;
    color: #555;
    font-size: 1rem; 
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

footer {
    border-top: 1px dashed #333;
    padding-top: 1rem;
    margin-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.3;
}

@keyframes blink { 50% { opacity: 0; } }
