/* ============================================================
   WISH ANIMATION STYLES
   ============================================================ */

.wish-animation-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: #000;
}

.wish-animation-overlay canvas {
    width: 100%;
    height: 100%;
}

.wish-skip {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    transition: all 0.3s;
    z-index: 52;
}

.wish-skip:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Screen shake classes */
.shake-light {
    animation: shake-light 0.3s ease;
}

.shake-heavy {
    animation: shake-heavy 0.5s ease;
}

@keyframes shake-light {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    60% { transform: translate(-1px, 2px); }
    80% { transform: translate(1px, -2px); }
}

@keyframes shake-heavy {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-6px, 3px); }
    20% { transform: translate(6px, -3px); }
    30% { transform: translate(-4px, 6px); }
    40% { transform: translate(4px, -6px); }
    50% { transform: translate(-6px, 4px); }
    60% { transform: translate(6px, -4px); }
    70% { transform: translate(-3px, 6px); }
    80% { transform: translate(3px, -6px); }
    90% { transform: translate(-2px, 2px); }
}

/* Flash overlay for golden/purple bursts */
.flash-overlay {
    position: fixed;
    inset: 0;
    z-index: 51;
    opacity: 0;
    pointer-events: none;
}

.flash-gold {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(232, 166, 48, 0.4) 40%, transparent 70%);
    animation: flash-burst 0.6s ease-out forwards;
}

.flash-purple {
    background: radial-gradient(circle, rgba(180, 135, 208, 0.6) 0%, rgba(90, 50, 150, 0.3) 40%, transparent 70%);
    animation: flash-burst 0.4s ease-out forwards;
}

.flash-rainbow {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 105, 180, 0.6) 20%, 
        rgba(255, 215, 0, 0.4) 40%, 
        rgba(0, 255, 255, 0.3) 60%, 
        transparent 80%);
    animation: flash-burst 1s ease-out forwards;
}

@keyframes flash-burst {
    0% { opacity: 1; transform: scale(0.8); }
    100% { opacity: 0; transform: scale(1.5); }
}
