/**
 * Random Picks Section
 */

.random-picks-section {
    padding: 20px 0;
    background-color: var(--color-bg);
}

.random-picks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.random-pick-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.random-pick-card:hover {
    transform: translateY(-4px);
}

.random-pick-card:hover .random-pick-title {
    color: #FF5722;
}

.random-pick-image {
    width: 100%;
    height: 155px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    margin-bottom: 10px;
}

.random-pick-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.random-pick-card:hover .random-pick-image img {
    transform: scale(1.05);
}

.random-pick-time {
    font-size: 12px;
    color: #FF5722;
    font-weight: 600;
    margin-bottom: 8px;
}

.random-pick-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

/* Loading Skeleton */
.random-picks-skeleton {
    height: 250px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1200px) {
    .random-picks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .random-picks-section {
        padding: 30px 0;
    }

    .random-picks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .random-pick-image {
        height: 150px;
    }

    .random-pick-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .random-picks-grid {
        grid-template-columns: 1fr;
    }

    .random-pick-image {
        height: 225px;
    }
}