/* ===== WHISP STYLES ===== */
.whisp {
    position: fixed;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 50;
    pointer-events: auto;
    will-change: transform, opacity;
}

.whisp:hover .whisp-glow {
    opacity: 0.5 !important;
    background: radial-gradient(circle, #ffffcc44 0%, transparent 70%) !important;
}

.whisp-body {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    filter: drop-shadow(0 0 8px var(--whisp-glow));
    will-change: transform;
    animation: whisp-bob 2s ease-in-out infinite;
}

@keyframes whisp-bob {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

.whisp-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--whisp-glow) 0%, transparent 70%);
    will-change: transform, opacity;
    animation: whisp-glow-pulse 1.5s ease-in-out infinite;
}

@keyframes whisp-glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.whisp-trail {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--whisp);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

@keyframes whisp-trail-fade {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.3); }
}

/* Whisp catch animation */
.whisp-catch {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    animation: whisp-catch-burst 1s ease-out forwards;
}

@keyframes whisp-catch-burst {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(2); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.whisp-catch-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--whisp);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--whisp);
}

/* Whisp blessing message (displayed inside shared fortune box) */
.whisp-blessing-text {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--whisp);
    text-shadow: 0 0 20px var(--whisp-glow), 0 2px 4px rgba(0,0,0,0.8);
    line-height: 1.5;
    max-width: 350px;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .whisp {
        width: 50px;
        height: 50px;
    }

    .whisp-blessing-text {
        font-size: 1.1rem;
        max-width: 85vw;
    }
}
