.boot-sign {
    color: #aaa;
    font-size: 0.85rem;
}

.code-comment {
    color: #aaa;
}


.logo-sign {
    color: #aaa;
    font-size: 0.9rem;
}

.stat-icon {
    color: #00FF8C;
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.4rem;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    will-change: opacity, transform;
}

.nav-links a {
    position: relative;
    padding-bottom: 2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00FF8C;
    transition: width 0.25s ease;
}

.nav-links a.nav-active::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.nav-active {
    color: #00FF8C;
}

.nav-links a.btn-cv {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    background: #00FF8C;
    color: #0a0a0a !important;
    font-weight: bold;
    box-shadow: 0 0 8px rgba(0, 255, 140, 0.2);
    transition: all 0.3s;
}

.nav-links a.btn-cv:hover {
    background: #00e07a;
    color: #0a0a0a !important;
    box-shadow: 0 0 12px rgba(0, 255, 140, 0.35);
}

/* btn-cv gets no underline — it already has a filled background */
.nav-links a.btn-cv::after {
    display: none;
}

/* --- Hero grid --- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
    margin: 2rem auto;
    max-width: 900px;
    height: 380px;
}

/* --- Hero photo --- */
.hero-photo {
    width: 100%;
    height: 80%;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 140, 0.3);
    box-shadow: 0 0 40px rgba(0, 255, 140, 0.25);
}

/* --- Hero terminal --- */
.hero-terminal {
    height: 80%;
    margin: 0;
}

/* --- Terminal nav links --- */
.terminal-nav-link {
    display: block;
    color: #00FF8C;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    padding: 0.3rem 0.5rem;
    border: 1px solid rgba(0, 255, 140, 0.3);
    border-radius: 4px;
    margin: 0.3rem 0;
    transition: all 0.2s;
}

.terminal-nav-link:hover {
    background: rgba(0, 255, 140, 0.1);
    border-color: #00FF8C;
}

/* --- Blinking cursor --- */
.cursor {
    display: inline-block;
    animation: cursor-blink 1s step-end infinite;
}

/* --- About section overrides --- */
.about-content--custom {
    grid-template-columns: 1fr 0.8fr;
}

.about-text-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats--push {
    margin-top: auto;
}

/* --- Code content large variant --- */
.code-content--large {
    overflow-x: auto;
    max-width: 100%;
    font-size: 1.2rem;
}

/* --- Skills section --- */
.skills-terminal {
    max-width: 100%;
    margin-top: 2rem;
}

.skills-terminal-text {
    line-height: 2;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.skills-heading {
    margin-bottom: 1rem;
}

.skills-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 4rem;
}

.skill-cat-heading {
    color: #00D9FF;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.skill-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.skill-name-col {
    min-width: 140px;
}

.skill-name-col--wide {
    min-width: 170px;
    white-space: nowrap;
}

.skill-bar-proficient { color: #00cc88; letter-spacing: 3px; }
.skill-bar-solid      { color: #00a86b; letter-spacing: 3px; }
.skill-bar-basic      { color: #557a55; letter-spacing: 3px; }

.skill-label {
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.skill-label--proficient { color: #00cc88; }
.skill-label--solid      { color: #00a86b; }
.skill-label--basic      { color: #557a55; }

/* --- Project cards --- */
.project-card--col {
    display: flex;
    flex-direction: column;
}

.project-card--delay-1 { animation-delay: 0.1s; }
.project-card--delay-2 { animation-delay: 0.2s; }

.project-card-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.blog-tags--center {
    justify-content: center;
}

/* --- Contact section --- */
.contact-terminal {
    max-width: 780px;
    margin: 3rem auto;
}

.contact-terminal-text {
    line-height: 1.6;
}

.contact-link {
    font-size: 1.05rem;
}

/* --- Copy button --- */
.copy-btn {
    background: transparent;
    border: 1px solid rgba(0, 255, 140, 0.3);
    color: #00FF8C;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 0.6rem;
    transition: all 0.2s;
    vertical-align: middle;
}

.copy-btn:hover {
    background: rgba(0, 255, 140, 0.1);
    border-color: #00FF8C;
}

/* --- Project tags --- */
.blog-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.blog-tag {
    background: rgba(0, 255, 140, 0.1);
    color: #00FF8C;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 140, 0.3);
}

/* --- Footer --- */
.footer-sub {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* --- Mobile overrides --- */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }

    .hero-photo {
        height: 280px;
    }

    .hero-terminal {
        height: auto;
    }

    .about-content--custom {
        grid-template-columns: 1fr;
    }

    .skills-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem 0;
    }

    .skill-name-col {
        min-width: 100px;
    }

    .skill-name-col--wide {
        min-width: 100px;
    }

    .nav-links a::after {
        display: none;
    }
}