/* Baby Name Generator - Custom Styles */

/* Name card animations */
.name-card {
    animation: cardFadeIn 0.4s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.name-card:nth-child(1) { animation-delay: 0.05s; }
.name-card:nth-child(2) { animation-delay: 0.1s; }
.name-card:nth-child(3) { animation-delay: 0.15s; }
.name-card:nth-child(4) { animation-delay: 0.2s; }
.name-card:nth-child(5) { animation-delay: 0.25s; }
.name-card:nth-child(6) { animation-delay: 0.3s; }
.name-card:nth-child(7) { animation-delay: 0.35s; }
.name-card:nth-child(8) { animation-delay: 0.4s; }
.name-card:nth-child(9) { animation-delay: 0.45s; }
.name-card:nth-child(10) { animation-delay: 0.5s; }
.name-card:nth-child(11) { animation-delay: 0.55s; }
.name-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;
}

/* Numerology badge */
.numerology-badge {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    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);
    }
}
