/* AI Caption Generator - Custom Styles */

/* Caption card animations */
.caption-card {
    animation: cardFadeIn 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.caption-card:nth-child(1) { animation-delay: 0.05s; }
.caption-card:nth-child(2) { animation-delay: 0.1s; }
.caption-card:nth-child(3) { animation-delay: 0.15s; }
.caption-card:nth-child(4) { animation-delay: 0.2s; }
.caption-card:nth-child(5) { animation-delay: 0.25s; }
.caption-card:nth-child(6) { animation-delay: 0.3s; }
.caption-card:nth-child(7) { animation-delay: 0.35s; }
.caption-card:nth-child(8) { animation-delay: 0.4s; }
.caption-card:nth-child(9) { animation-delay: 0.45s; }
.caption-card:nth-child(10) { animation-delay: 0.5s; }
.caption-card:nth-child(11) { animation-delay: 0.55s; }
.caption-card:nth-child(12) { animation-delay: 0.6s; }

/* Copy button pulse */
.copy-btn:active {
    transform: scale(0.92);
}

.copy-btn.copied {
    background-color: #166534;
    color: #fff;
}

/* Emoji badge */
.emoji-badge {
    font-size: 1.25rem;
    line-height: 1;
}

/* Hashtag pills */
.hashtag-pill {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 9999px;
    transition: all 0.2s;
}

.hashtag-pill:hover {
    transform: scale(1.05);
}

/* Result section entrance */
.results-appear {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
