/* --- CORE DISABLES --- */
body {
    overscroll-behavior: none;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    font-family: 'Mouse Memoirs', sans-serif;
    background-color: #dbeafe;
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* --- PAPERCRAFT AESTHETIC --- */
.paper-texture-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.2; 
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.5'/%3E%3C/svg%3E");
    z-index: 0;
    mix-blend-mode: overlay;
}

.paper-emoji {
    /* BWA-B07: Uniform outline sticker filter */
    filter: url(#outline) drop-shadow(3px 5px 2px rgba(0,0,0,0.2));
}

.paper-title {
    color: #fff;
    text-shadow: 
        3px 3px 0px #88c0eb, 
        -1px -1px 0px rgba(0,0,0,0.1);
    filter: drop-shadow(0 4px 3px rgba(0,0,0,0.3)); 
}

.paper-layer {
    filter: drop-shadow(0px -4px 6px rgba(0,0,0,0.1));
}

.paper-cutout-shadow {
    filter: drop-shadow(2px 4px 2px rgba(0,0,0,0.15));
}

/* --- ZONES --- */
.drop-zone {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.drop-zone.hovered {
    transform: scale(1.15) !important;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
}

.zone-bg {
    background-color: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(2px);
    border-radius: 50%;
    padding: 0;
    border: 2px solid rgba(255,255,255,0.6); 
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    width: clamp(5.4rem, 12vw, 10.8rem);
    height: clamp(5.4rem, 12vw, 10.8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; 
}

.zone-icon {
    font-size: clamp(4.5rem, 10.8vw, 9rem);
    line-height: 1.1; 
    margin-top: 0; 
    transform: scale(1.1); 
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 5%; 
}

/* --- ANIMATIONS --- */
@keyframes happyBounce {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); }
    60% { transform: scale(0.9); }
    80% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.happy-bounce { animation: happyBounce 0.5s ease-in-out; }

@keyframes dragWiggle {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg) scale(1.1); }
    75% { transform: rotate(8deg) scale(1.1); }
    100% { transform: rotate(0deg); }
}
.wiggle-drag { animation: dragWiggle 0.4s ease-in-out infinite; }

@keyframes idleShimmy {
    0%, 90% { transform: rotate(0deg); }
    92% { transform: rotate(-10deg); }
    94% { transform: rotate(10deg); }
    96% { transform: rotate(-10deg); }
    98% { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }
}
.wiggle-idle { animation: idleShimmy 4s ease-in-out infinite; }

@keyframes drift {
    from { transform: translateX(-150px); }
    to { transform: translateX(120vw); } 
}
.cloud-slow { animation: drift 60s linear infinite; }
.cloud-medium { animation: drift 40s linear infinite; }
.cloud-fast { animation: drift 25s linear infinite; }

@keyframes snowfall {
    0% { transform: translateY(0) translateX(0); opacity: 1; }
    100% { transform: translateY(80vh) translateX(20px); opacity: 0; }
}
.snowflake {
    position: absolute;
    color: white;
    pointer-events: none;
    animation: snowfall 4s linear forwards;
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    z-index: 100;
}

@keyframes rainfall {
    0% { transform: translateY(0) scaleY(1); opacity: 1; }
    90% { transform: translateY(80vh) scaleY(1.2); opacity: 0.8; }
    100% { transform: translateY(82vh) scale(1.5, 0.2); opacity: 0; }
}
.raindrop {
    position: absolute;
    color: #4fc3f7;
    pointer-events: none;
    animation: rainfall 1s linear forwards;
    font-size: 28px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    z-index: 100;
}

/* --- ITEM STYLES --- */
.draggable-item {
    touch-action: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(3.5rem, 12vw, 7rem); 
    z-index: 1000; 
    transition: none;
    position: absolute; 
}

.draggable-item::after {
    content: '';
    position: absolute;
    top: -40px; bottom: -40px; left: -40px; right: -40px;
    border-radius: 50%;
}

.emoji-content {
    display: block;
    pointer-events: none; 
    /* BWA-B07: Uniform outline sticker filter */
    filter: url(#outline) drop-shadow(4px 8px 4px rgba(0,0,0,0.25));
}

.toy-box-reject { animation: happyBounce 0.3s ease-in-out; }

.unlock-ring {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 5s linear;
}

.scroller::-webkit-scrollbar { width: 8px; }
.scroller::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.scroller::-webkit-scrollbar-thumb { background: #E60026; border-radius: 4px; }

.deco-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45%; 
    pointer-events: none;
    overflow: hidden;
    z-index: 1; 
}

.blocked-item { opacity: 0.2; filter: grayscale(100%); }

@media (orientation: portrait) {
    .title-fade {
        opacity: 0;
        transition: opacity 0.5s ease;
    }
}

/* --- CONFETTI STYLES --- */
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 2000;
    pointer-events: none;
}
