/* === Hover Animations === */

/* Scale up images, buttons, and cards on hover */
img,
.btn,
.merch-card,
.credit-tier-card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

img:hover {
    transform: scale(1.03);
}

.merch-card:hover,
.credit-tier-card:hover {
    transform: scale(1.04);
    box-shadow: var(--glow-sm);
    border-color: var(--border-hover);
}

/* Neon glow pulse on focus */
.btn:focus-visible,
.form-input:focus-visible,
.tab-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: var(--glow-md);
}

/* === Live indicator pulse === */

.schedule-banner.is-live {
    border-color: var(--secondary);
    animation: livePulse 2s ease-in-out infinite;
}

.schedule-banner.is-live .schedule-text {
    color: var(--secondary);
    text-shadow: 0 0 12px rgba(255, 0, 170, 0.5);
}

@keyframes livePulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(255, 0, 170, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 0, 170, 0.4);
    }
}

/* === Subscriber name pulse === */

@keyframes subPulse {
    0%, 100% { color: #00cc66; }
    25% { color: #00ccaa; }
    50% { color: #3399ff; }
    75% { color: #00ccaa; }
}

.subscriber-name {
    animation: subPulse 2s ease-in-out infinite;
}

/* === Card entrance animation (optional, subtle) === */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card,
.store-card {
    animation: fadeInUp 0.4s ease-out both;
}

.dashboard-card:nth-child(2) { animation-delay: 0.08s; }
.dashboard-card:nth-child(3) { animation-delay: 0.16s; }
.store-card:nth-child(2) { animation-delay: 0.08s; }
.store-card:nth-child(3) { animation-delay: 0.16s; }
