/* ===================================
   EDITOR'S PICKS SECTION
   Handpicked premium articles
   =================================== */

.editors-picks-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1) 0%, rgba(0, 229, 255, 0.1) 100%);
}

.editors-picks-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.editors-picks-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary, #ffffff);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.editors-picks-section .section-title i {
    color: #ffd700;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
    50% { 
        transform: scale(1.1) rotate(10deg);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
    }
}

.editors-picks-section .section-subtitle {
    color: var(--text-muted, #8b9dc3);
    font-size: 1.1rem;
}

.editors-picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.editor-pick-card {
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.editor-pick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.editor-pick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7c4dff, #ffd700, #00e5ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.editor-pick-card:hover::before {
    opacity: 1;
}

.editor-pick-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.editor-pick-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.editor-pick-card:hover .editor-pick-image img {
    transform: scale(1.1);
}

.editor-pick-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    z-index: 2;
    animation: glow-badge 2s ease-in-out infinite;
}

@keyframes glow-badge {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    }
    50% { 
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.8);
    }
}

.editor-pick-content {
    padding: 1.5rem;
}

.editor-pick-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.editor-pick-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted, #8b9dc3);
    font-weight: 600;
}

.editor-pick-category i {
    color: #7c4dff;
}

.editor-pick-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted, #8b9dc3);
    font-size: 0.85rem;
}

.editor-pick-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.editor-pick-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.editor-pick-title a:hover {
    color: #ffd700;
}

.editor-pick-excerpt {
    color: var(--text-muted, #8b9dc3);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.editor-pick-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.editor-pick-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted, #8b9dc3);
    font-size: 0.85rem;
}

.editor-pick-author i {
    color: #7c4dff;
}

.editor-pick-read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.editor-pick-card:hover .editor-pick-read-more {
    gap: 0.75rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .editors-picks-section {
        padding: 2.5rem 0;
    }
    
    .editors-picks-section .section-title {
        font-size: 2rem;
    }
    
    .editors-picks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
