/* AI Invitation Wording Generator - Custom Styles */

/* Invitation card animations */
.invitation-card {
    animation: cardFadeIn 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invitation-card:nth-child(1) { animation-delay: 0.1s; }
.invitation-card:nth-child(2) { animation-delay: 0.25s; }
.invitation-card:nth-child(3) { animation-delay: 0.4s; }

/* Invitation text styling */
.invitation-text {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    white-space: pre-wrap;
    text-align: center;
}

/* Decorative border for invitation cards */
.invitation-border {
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.invitation-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, #b8860b22, #8b000022, #b8860b22);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
}

/* Copy button pulse */
.copy-btn:active {
    transform: scale(0.92);
}

.copy-btn.copied {
    background-color: #166534;
    color: #fff;
}

/* Variation badge */
.variation-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}

/* 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);
    }
}
