/* Main.css additions */

/* 1. Gentle Swing Animation for Emojis */
@keyframes gentle-swing {
    0% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg);
    }

    100% {
        transform: rotate(-8deg);
    }
}

/* Apply to main icons */
.shuffle-icon,
.modal-icon,
.list-icon {
    transform-origin: bottom center;
    animation: gentle-swing 3s ease-in-out infinite;
    display: inline-block;
    /* Ensure transform works */
}

/* 2. Shatter Particle Styles */
.shatter-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10001;
    /* Above everything */
    overflow: hidden;
}

.shatter-shard {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(125, 95, 255, 0.3);
    opacity: 1;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    /* Start with some random shapes later in JS */
    pointer-events: none;
}