
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-500: #84cc16;
    --secondary-500: #f97316;
}
* {
    font-family: 'Poppins', sans-serif;
}

.recipe-card {
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: #1f2937;
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #111827;
}
.video-thumbnail {
    position: relative;
}

.video-thumbnail img {
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.recipe-card a {
    display: block;
    height: 100%;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .recipe-card {
        margin-bottom: 1.5rem;
    }
}
.difficulty-easy {
    color: var(--primary-500);
}

.difficulty-medium {
    color: var(--secondary-500);
}

.difficulty-hard {
    color: #ef4444;
}

/* Loading skeleton */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 70%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.skeleton-text {
    width: 100%;
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

.skeleton-text:last-child {
    margin-bottom: 0;
    width: 80%;
}

/* Dark mode adjustments */
.dark .skeleton {
    animation: skeleton-loading-dark 1s linear infinite alternate;
}

@keyframes skeleton-loading-dark {
    0% {
        background-color: hsl(200, 20%, 20%);
    }
    100% {
        background-color: hsl(200, 20%, 35%);
    }
}
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}