#hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
    gap: 6rem;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    position: relative;
    border-radius: 50%;
    isolation: isolate;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.3s;
    position: relative;
    z-index: 1;
}

.hero-avatar::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(var(--blue), transparent, var(--blue));
    z-index: 0;
    animation: spin 4s linear infinite;
}

.hero-avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--bg);
    z-index: 0;
    margin: -1px;
}

.hero-avatar:hover img {
    filter: grayscale(0%) contrast(1.1);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-tag {
    font-family: var(--mono);
    color: var(--blue);
    font-size: 0.85rem;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s forwards;
}

.hero-name {
    font-size: clamp(3.5rem, 9vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.4s forwards;
}

.hero-name .accent {
    color: var(--blue);
    text-shadow:
        0 0 40px var(--blue-glow),
        0 0 80px rgba(0, 170, 255, 0.15);
}

.hero-desc {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-dim);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.6s forwards;
}

.hero-desc strong {
    color: var(--blue);
    font-weight: 600;
}

.hero-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s 0.8s forwards;
}

@media (max-width: 600px) {
    #hero {
        flex-direction: column-reverse;
        padding: 6rem 1.5rem 3rem;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
    .hero-links {
        justify-content: center;
    }
    .hero-avatar {
        width: 130px;
        height: 130px;
    }
}
