@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --bg-color: #070709;
    --glow-color: rgba(255, 255, 255, 0.02);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Spotlight behind the image */
.container::before {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 70%);
    z-index: 0;
    animation: pulse 6s infinite alternate ease-in-out;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(50px);
}

.image-wrapper {
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

#puzzle-image {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    mix-blend-mode: screen;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    animation: float 8s infinite ease-in-out;
}

#puzzle-image:hover {
    transform: scale(1.03) translateY(-15px) rotateX(3deg) rotateY(-3deg);
    cursor: pointer;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}