:root {
    --bg: #080808;
    --text: #e8e8e8;
    --muted: #888;
    --dim: #555;
    --accent: #c8b560;
    --accent-dim: rgba(200, 181, 96, .12);
    --border: rgba(255, 255, 255, .07);
    --card-bg: rgba(255, 255, 255, .025);
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;
    --text-xs: .78rem;
    --text-sm: .88rem;
    --text-base: 1.02rem;
    --text-lg: 1.2rem;
    --text-xl: 1.55rem;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: "JetBrains Mono", monospace;
    font-size: var(--text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 0 var(--space-8);
    height: 100dvh;
}

body::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.3) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(600px 600px at top right, black 0%, transparent 60%);
  /*
    animation: move-grid 28s linear infinite;
    */
}

@keyframes move-grid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 800px 800px;
    }
}

.layout {
    position: relative;
    z-index: 1;
}

.layout::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    right: 50%;
    border-right: 1px dashed rgba(255, 255, 255, .04);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 720px;
    margin-inline: auto;
    padding-inline: var(--space-6);
}

a {
    text-decoration: none;
}

/* ======================================================
details 
====================================================== */
* {
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--accent-dim);
    color: #fff;
}

::-moz-selection {
    background: rgba(88, 166, 255, 0.25);
    color: #fff;
}

/* ======================================================
Header — with Minecraft head
====================================================== */
header {
    padding-top: var(--space-7);
    margin-bottom: var(--space-7);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* Canvas wrapper */
.mc-head-wrap {
    flex-shrink: 0;
    width: 82px;
    height: 82px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    /* subtle glow on hover */
    transition: border-color .3s, box-shadow .3s;
}

.mc-head-wrap:hover {
    border-color: rgba(200, 181, 96, .3);
    box-shadow: 0 0 12px rgba(200, 181, 96, .12);
}

.mc-head-wrap canvas {
    display: block;
    width: 82px !important;
    height: 82px !important;
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo {
    font-size: var(--text-xl);
    color: var(--text);
    font-weight: 400;
    letter-spacing: -.01em;
}

.subtitle {
    font-size: var(--text-sm);
    color: var(--muted);
    font-weight: 300;
}

/* ======================================================
Rest of styles (unchanged)
====================================================== */
.hero {
    margin-bottom: var(--space-9);
}

.description {
    max-width: 600px;
    margin-bottom: var(--space-1);
    color: var(--text);
    font-weight: 400;
    opacity: .8;
    font-size: var(--text-sm);
    text-align: justify;
}

.description .highlight {
    color: var(--dim);
    font-weight: 400;
}

.section {
    margin-bottom: var(--space-9);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: var(--text-sm);
    color: var(--dim);
    text-transform: uppercase;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.identity-chip {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: var(--space-3);
    transition: border-color .2s, background .2s;
}

.identity-chip:hover {
    border-color: rgba(200, 181, 96, .2);
    background: var(--accent-dim);
}

.chip-label {
    font-size: var(--text-xs);
    color: var(--dim);

    display: block;
    margin-bottom: var(--space-1);
}

.chip-value {
    font-size: 1.35rem;
    color: var(--text);
    font-weight: 400;

    letter-spacing: -.02em;
}

.commit-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: var(--space-4) var(--space-5);
    display: flex;
    gap: var(--space-4);
    transition: border-color .2s, background .2s;
    min-height: 60px;
    overflow: hidden;
}

.commit-card:hover {
    border-color: rgba(200, 181, 96, .2);
    background: var(--accent-dim);
}

.commit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: .7;
    flex-shrink: 0;
    align-self: center;
}

.commit-meta {
    flex: 1;
    min-width: 0;
}

.commit-label {
    font-size: var(--text-xs);
    color: var(--dim);

    display: block;
    margin-bottom: 2px;
}

.commit-message {
    font-size: var(--text-sm);
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.commit-message.loading {
    color: var(--dim);
    font-style: italic;
}

.commit-time {
    font-size: var(--text-xs);
    color: var(--dim);

    flex-shrink: 0;
    white-space: nowrap;
}

.commit-repo {
    font-size: var(--text-xs);
    color: var(--accent);
    opacity: .7;

    flex-shrink: 0;
}

.btn {
    color: var(--muted);
    height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--text-sm);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color .2s, gap .2s;
    padding: 0;
    position: relative;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width .25s ease;
}

.btn:hover {
    color: var(--text);
    gap: 14px;
}

.btn:hover::after {
    width: 100%;
}

.btn .icon {
    /*   rotate: 180deg; */
    transition: transform .2s ease;
    animation: nudge 1.4s ease-in-out infinite;
}

.btn:hover .icon {
    animation: none;
    transform: translateX(-4px);
}

.arch {

    font-size: .95em;
    color: var(--dim);
}

@keyframes nudge {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}


footer {
    padding: var(--space-3) var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    background: rgba(8, 8, 8, .85);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.footer-links {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    font-size: var(--text-xs);

}

.footer-links a {
    color: var(--dim);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-sep {
    color: var(--border);
}

span {
    position: relative;
}

.navbar_section {
    display: flex;
    position: fixed;
    bottom: var(--space-5);
    left: 50%;
    transform: translateX(-50%);
    gap: var(--space-2);
    z-index: 1000;
}

.navbar {
    background: rgba(10, 10, 10, .85);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: var(--space-2) var(--space-3);
    display: flex;
    gap: var(--space-1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .05) inset;
}

.nav-item {
    padding: 9px 18px;
    border-radius: 9px;
    text-decoration: none;
    color: var(--dim);
    font-size: var(--text-sm);
    transition: all .18s;
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, .07);
    color: var(--text);
}

.nav-item.active {
    background: rgba(255, 255, 255, .1);
    color: var(--text);
}

.nav-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .container {
        padding-inline: var(--space-4);
    }

    .hero,
    .section {
        margin-bottom: var(--space-6);
    }

    .layout::after {
        display: none;
    }

    .nav-text {
        display: none;
    }

    .nav-item {
        padding: 10px 14px;
    }

    .navbar {
        padding: 8px 10px;
    }

    .identity-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .commit-time,
    .commit-repo {
        display: none;
    }

    .mc-head-wrap {
        width: 80px;
        height: 80px;
    }

    .mc-head-wrap canvas {
        width: 80px !important;
        height: 80px !important;
    }
}