/* =============================================
   PROMPT GALLERY AI - ADD PROMPT PAGE STYLES
   ============================================= */

/* Page Load Animation */
#prompts-section {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for category pills */
.category-pill {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.category-pill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-pill:hover::after {
    opacity: 1;
}

/* Enhancements for Live Preview Panel */
.live-preview-panel {
    position: sticky;
    top: 90px;
    z-index: 10;
}

/* AI Title Button sparkle animation */
.btn-ai-generate {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ai-generate:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-ai-generate:active {
    transform: translateY(1px);
}

/* Counter styles */
.char-count-inline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}
