/* Featured Tattoo Badge Styles */
.featured-badge-container {
    position: relative;
    display: inline-block;
}

.featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff5722, #e65100);
}

.featured-badge i {
    font-size: 14px;
    margin-right: 2px;
}

.featured-badge-text {
    font-size: 11px;
    font-weight: 700;
}

/* Badge variations for different contexts */
.featured-badge.compact {
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 15px;
}

.featured-badge.compact .featured-badge-text {
    display: none;
}

.featured-badge.large {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 25px;
}

/* Tooltip for badge hover details */
.featured-badge-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-bottom: 5px;
}

.featured-badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.featured-badge:hover .featured-badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
    .featured-badge {
        top: 6px;
        right: 6px;
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .featured-badge-text {
        display: none;
    }
    
    .featured-badge-tooltip {
        right: -10px;
        font-size: 11px;
    }
}

/* Animation for new featured items */
@keyframes featuredPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.featured-badge.new {
    animation: featuredPulse 2s ease-in-out 3;
}

/* Badge for different featured types */
.featured-badge.admin-pick {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.featured-badge.trending {
    background: linear-gradient(135deg, #e91e63, #ad1457);
}

.featured-badge.editor-choice {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
}

/* Gallery grid integration */
.tattoo-grid-item .featured-badge {
    top: 10px;
    right: 10px;
}

.tattoo-card .featured-badge {
    top: 12px;
    right: 12px;
}

/* List view integration */
.tattoo-list-item .featured-badge {
    position: relative;
    top: 0;
    right: 0;
    margin-left: 10px;
    display: inline-flex;
}

/* Profile page integration */
.artist-portfolio .featured-badge {
    top: 8px;
    right: 8px;
}

/* Search results integration */
.search-result-item .featured-badge {
    top: 6px;
    right: 6px;
}
