.circular-text-container {
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    /* Remove fixed width/height to let JS control it via radius, or set reasonable defaults */
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.circular-text {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    pointer-events: none;
    will-change: transform;
}

.circular-text span {
    position: absolute;
    display: inline-block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.circular-profile-img {
    position: absolute;
    /* Slightly smaller size to ensure it clears the text ring (User request) */
    width: 58%;
    height: 58%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background-color: #1a1a1a;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.circular-text-container:hover .circular-profile-img {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 20px rgba(47, 107, 255, 0.3);
}

/* Header Integration Container */
.header-profile-wrapper {
    /* No more scaling hack */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure it doesn't collapse */
    width: max-content;
    height: max-content;
    margin-left: 0.5rem;
}