@charset "UTF-8";

.zoom-guide {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); /* 배경 어둡게 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.zoom-guide.active {
    opacity: 1;
    visibility: visible;
}

.finger-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

.finger {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    margin-top: -20px;
}

.left { left: 20%; animation: pinchLeft 1.5s ease-in-out infinite; }
.right { right: 20%; animation: pinchRight 1.5s ease-in-out infinite; }

/* 왼쪽 손가락 움직임 */
@keyframes pinchLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(40px); } /* 안으로 모임 */
}

/* 오른쪽 손가락 움직임 */
@keyframes pinchRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-40px); } /* 안으로 모임 */
}

.zoom-guide p {
    color: white;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}