.hub-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
   /*margin: 20px auto;*/
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, #f8f9fa, #e9ecef);
    border: 2px solid #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    padding: 5px;
    font-weight: bold;
    color: #343a40;
}

.spoke-arm {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px; /* Radius length */
    height: 0;
    border-top: 1px solid #adb5bd;
    transform-origin: 0 0;
    z-index: 1;
}

.spoke-node {
    position: absolute;
    right: -10px;
    top: -12px;
}

@keyframes fadeInSpoke {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.spoke-card {
    display: block;
    background: #fd7e14;
    border: 1px solid #dee2e6;
    padding: 3px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: #212529;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.75rem;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: fadeInSpoke 0.5s ease-out backwards;
}

.spoke-card:hover {
    background: #e9ecef;
    text-decoration: none;
    color: #0056b3;
    transform: scale(1.1);
    z-index: 20;
}

.spoke-node a:link, .spoke-node a:visited {  
    color: black;
    text-decoration: none;
}

@media (max-width: 576px) {
    .hub-wrapper {
        width: 280px;
        height: 280px;
    }
    .hub-center {
        width: 70px;
        height: 70px;
        font-size: 0.7rem;
    }
    .spoke-arm {
        width: 100px;
    }
}