/* Wrapper fixed positioning */
.hcn-e9c71b08-wrapper {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 9999;
    /* Sensible fallbacks if vars aren't injected yet */
    --ring-radius: 200px; 
    --ring-thickness: 70px; 
    --angle-span: 160;
}

/* Semi-circle ring container on desktop */
.hcn-e9c71b08-container {
    position: relative;
    width: var(--ring-radius);
    height: calc(var(--ring-radius) * 2);
    background-color: transparent; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none; 
}

/* The visual semi-circle ring with the hole */
.hcn-e9c71b08-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: var(--ring-thickness) solid rgba(0, 0, 0, 0.75); 
    border-right: none;
    border-radius: var(--ring-radius) 0 0 var(--ring-radius);
    box-sizing: border-box;
    pointer-events: auto; 
}

/* Base item styling */
.hcn-e9c71b08-item {
    position: absolute;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    transform-origin: center;
    pointer-events: auto;
    z-index: 10; /* Keep above everything */
}

/* Icon styling */
.hcn-e9c71b08-item .my-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.hcn-e9c71b08-item .my-icon svg {
    width: 22px;
    height: 22px;
}

/* Text hidden by default */
.hcn-e9c71b08-text {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    right: 50px; /* Position to the left of the icon */
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.9);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #fff;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 11; /* Ensure text is above items */
}

/* Hover effects */
.hcn-e9c71b08-item:hover .my-icon {
    transform: scale(1.15);
}

.hcn-e9c71b08-item:hover .hcn-e9c71b08-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Mobile responsive - bottom center semi-circle */
@media (max-width: 767px) {
    .hcn-e9c71b08-wrapper {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        --ring-radius: 120px; /* default mobile */
        --ring-thickness: 55px;
    }

    .hcn-e9c71b08-container {
        width: calc(var(--ring-radius) * 2);
        height: var(--ring-radius);
    }
    
    .hcn-e9c71b08-container::before {
        border: var(--ring-thickness) solid rgba(0, 0, 0, 0.75);
        border-bottom: none;
        border-radius: var(--ring-radius) var(--ring-radius) 0 0;
    }
    
    .hcn-e9c71b08-text {
        right: auto;
        bottom: 50px; /* Position above the icon */
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }
    
    .hcn-e9c71b08-item:hover .hcn-e9c71b08-text {
        transform: translateX(-50%) translateY(0);
    }
}