/* --- Interactive Sparkle Logo Styles --- */

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.03em;
    cursor: pointer;
}

.dot-grid {
    width: 48px;
    height: 36px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
    gap: 0.5px;
    position: relative;
    transform: perspective(200px) rotateY(-15deg);
}

.dot {
    width: 2px;
    height: 2px;
    background: #8b5cf6;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    opacity: 0.7;
    transform: scale(0.8);
    background: linear-gradient(90deg, #6d28d9 0%, #8b5cf6 50%, #a78bfa 100%);
}

.logo:hover .dot-grid {
    transform: perspective(200px) rotateY(-15deg);
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.3));
}

/* Sparkle Pop Animation */
@keyframes sparkle-pop {
    0% {
        transform: scale(1);
        background: #52525b;
        /* zinc-600 */
        box-shadow: none;
    }

    50% {
        transform: scale(1.6);
        background: var(--pop-color, #ffffff);
        box-shadow: 0 0 12px var(--pop-color, #ffffff), 0 0 20px rgba(255, 255, 255, 0.4);
    }

    100% {
        transform: scale(1);
        background: #52525b;
        box-shadow: none;
    }
}

.dot.sparkle-active {
    animation: sparkle-pop 1s ease-out forwards;
}