/* Interaction Overlay Styles */
#interaction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#interaction-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.overlay-content {
    text-align: center;
    color: white;
    font-family: 'Outfit', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.overlay-emoji-container {
    position: relative;
    display: inline-block;
}

.overlay-emoji {
    font-size: 6rem;
    display: inline-block;
    animation: touchAnimation 1.2s ease-in-out infinite;
    transform-origin: bottom center;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(185, 22, 249, 0.6)) 
            drop-shadow(0 0 40px rgba(185, 22, 249, 0.4)) 
            drop-shadow(0 0 60px rgba(159, 60, 251, 0.3));
}

.overlay-ripple {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid #b916f9;
    border-radius: 50%;
    opacity: 0;
    animation: rippleAnimation 1.2s ease-out infinite;
}

.overlay-ripple:nth-child(2) {
    border-color: #9f3cfb;
    animation-delay: 0.3s;
}

@keyframes touchAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) scale(1.15);
        opacity: 0.9;
    }
}

@keyframes rippleAnimation {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .overlay-emoji {
        font-size: 4rem;
    }
    
    .overlay-ripple {
        width: 80px;
        height: 80px;
    }
}
