/* internetten çaldığım dehhşet ötesi tooltip */
.void-wrapper {
    position: absolute;
    z-index: 100;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: url("#goo");
}


.void-wrapper.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}


.void-wrapper .singularity {
    position: absolute;
    bottom: 30px;
    width: 22px;
    height: 22px;
    background: #000;
    border-radius: 50%;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(20px) scale(0.1);
    box-sizing: border-box;
}


.void-wrapper .content {
    opacity: 0;
    transition: 0.3s;
    color: #eee;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    letter-spacing: 0.1px;
    text-shadow: none;
}


.void-wrapper .event-horizon {
    position: relative;
    z-index: 2;
    width: 22px;
    height: 22px;
    background: #8546D8;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    outline: none;
}


.void-wrapper:hover .singularity {
    opacity: 1;
    width: 180px;
    height: auto;
    min-height: 70px;
    border-radius: 12px;
    transform: translateY(-20px) scale(1);
    padding: 12px;
}

.void-wrapper:hover .content {
    opacity: 1;
    transition-delay: 0.3s;
}

.void-wrapper:hover .event-horizon {
    box-shadow: 0 0 20px rgba(133, 70, 216, 0.6);
    transform: scale(0.95);
    background: #9b5de5;
}


.void-wrapper .singularity::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff);
    z-index: -1;
    filter: blur(30px);
    animation: rotate 2s linear infinite;
    opacity: 0;
    transition: 0.5s;
}

.void-wrapper:hover .singularity::before {
    opacity: 0.7;
}

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

    to {
        transform: rotate(360deg);
    }
}