.fake-scroll {
    height: 500px;
}

.design-container {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    pointer-events: none;
}

.point {
    position: absolute;
    width: 40px;
    height: 40px;
    background: red;
    color: white;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
    pointer-events: auto;
    overflow: hidden;
    z-index: 2;
}

.point span {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.point:hover,
.point.active {
    width: 100px;
    height: 100px;
    font-size: 18px;
}

.point:hover span,
.point.active span {
    opacity: 1;
    text-align: center;
    padding: 0 3px;
}

.line {
    position: absolute;
    height: 2px;
    background: white;
    transform-origin: left center;
    width: 0;
    z-index: 1;
}

.success-ring {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid lime;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.6);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}

@media (max-width: 768px) {
    .point:hover,
    .point.active {
        width: 80px;
        height: 80px;
        font-size: 17px;
    }
}