/* ============================================
   LIVE DJ DETECTION STYLES
   ============================================ */

.live-dj-container {
    display: none;
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.2), rgba(255, 107, 157, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    animation: slideDown 0.4s ease;
}

.live-dj-container.active {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Pulse animation when DJ goes live */
.live-dj-container.pulse {
    animation: pulseGlow 0.6s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 10px rgba(255, 45, 85, 0.2);
    }
}

/* Live Badge */
.live-dj-badge {
    position: absolute;
    top: -10px;
    right: 10px;
}

.live-indicator {
    background: #ff0000;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.5);
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* DJ Avatar */
.live-dj-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), #FF6B9D);
}

.live-dj-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-dj-avatar i {
    font-size: 35px;
    color: white;
}

/* DJ Info */
.live-dj-info {
    flex: 1;
}

.live-dj-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.live-dj-show {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 3px;
}

.live-dj-time {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .live-dj-container {
        padding: 12px;
    }
    
    .live-dj-avatar {
        width: 50px;
        height: 50px;
    }
    
    .live-dj-avatar i {
        font-size: 25px;
    }
    
    .live-dj-name {
        font-size: 16px;
    }
    
    .live-dj-show {
        font-size: 13px;
    }
    
    .live-indicator {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* Integration with existing player */
.radio-player .live-dj-container,
.player .live-dj-container {
    position: relative;
    margin-bottom: 20px;
}
