/* Animations */
@keyframes pop {
    0% {
        transform: scale(.96);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

.pop {
    animation: pop .18s ease-out forwards;
}

.floaty {
    animation: floaty 4s ease-in-out infinite;
}

/* Fallback for line clamp when using CDN (no plugin) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Focus ring for keyboard users */
:focus-visible {
    outline: 2px solid #6366f1;
    /* indigo-500 */
    outline-offset: 2px;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    .pop,
    .floaty {
        animation: none !important;
    }
}

/* Typography tweaks */
.leading-tight {
    line-height: 2rem;
}

/* Utility override */
.pt-5 {
    padding-top: 1rem;
}

/* Tailwind color override */
.bg-fuchsia-600 {
  background-color: #064d3c;
}

.max-h-20 {
  max-height: 7rem;
}

.max-w-\[75\%\] {
  max-width: 90%;
}